Content interaction method and apparatus, electronic device, and computer storage medium
Patent Information
- Application Number
- CN202410111560.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-25
- Publication Date
- 2026-10-16
- Estimated Expiration
- 2044-01-25
AI Technical Summary
[0004]本申请实施例提供一种内容交互方法、装置、电子设备及计算机存储介质,可以解决用户查找到自己所需要的数据的效率的技术问题
[0015] Furthermore, this application also provides a computer program product, including a computer program, which, when executed by a processor, implements any of the content interaction methods provided in this application.
Smart Images

Figure CN119202349B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of Internet technology, specifically to a content interaction method, device, electronic device, and computer storage medium. Background Technology
[0002] With the development of the internet, there is an increasing amount of data online. Users can search on content interaction platforms to obtain the data they need from the internet.
[0003] However, current content interaction platforms display a relatively limited range of data types based on each search, resulting in longer search times for users and reducing the efficiency of finding the data they need. Summary of the Invention
[0004] This application provides a content interaction method, apparatus, electronic device, and computer storage medium, which can solve the technical problem of improving the efficiency of users finding the data they need.
[0005] This application provides a content interaction method, including:
[0006] Receive the target query term;
[0007] Obtain media content associated with the aforementioned target query term and obtain interactive objects associated with the aforementioned target query term within the target area, wherein the aforementioned target area is determined based on at least one of the query location information indicated by the aforementioned target query term and / or user location information;
[0008] The response interface corresponding to the above target query term is displayed. The response interface includes a content card and a map card. The content card is used to display the above media content. The map card is used to display a first part of the digital map of the above target area and a first interactive object. The first interactive object is at least one of the above interactive objects.
[0009] Accordingly, embodiments of this application provide a content interaction device, including:
[0010] The receiving module is used to receive the target query terms;
[0011] The acquisition module is used to acquire media content associated with the target query term and to acquire interactive objects associated with the target query term within a target area. The target area is determined based on at least one of the query location information indicated by the target query term and / or user location information.
[0012] The display module is used to display the response interface corresponding to the target query term. The response interface includes a content card and a map card. The content card is used to display the media content, and the map card is used to display a first part of the digital map of the target area and a first interactive object. The first interactive object is at least one of the interactive objects.
[0013] Furthermore, this application also provides an electronic device, including a processor and a memory, wherein the memory stores a computer program, and the processor is used to run the computer program in the memory to implement the content interaction method provided in this application.
[0014] Furthermore, embodiments of this application also provide a computer-readable storage medium storing a computer program adapted for loading by a processor to execute any of the content interaction methods provided in embodiments of this application.
[0015] Furthermore, this application also provides a computer program product, including a computer program, which, when executed by a processor, implements any of the content interaction methods provided in this application.
[0016] In this embodiment, a target query term is received; media content associated with the target query term and interactive objects associated with the target query term within a target area are obtained, wherein the target area is determined based on at least one of the query location information indicated by the target query term and / or user location information; a response interface corresponding to the target query term is displayed, the response interface including a content card and a map card, the content card being used to display the media content, the map card being used to display a first part of the digital map of the target area and a first interactive object, wherein the first interactive object is at least one of the interactive objects, so that media content and the first interactive object can be displayed simultaneously on the response interface, enriching the types of information displayed on the response interface, so that when the user needs to enter the digital map, they can enter the digital map from the first interactive object, improving the efficiency of the user entering the digital map, and when the user needs to view the media content, they can click on the media content, improving the efficiency of the user viewing the media content. Attached Figure Description
[0017] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0018] Figure 1 This is a schematic diagram of a content interaction process provided in an embodiment of this application;
[0019] Figure 2 This is a flowchart illustrating the content interaction method provided in an embodiment of this application;
[0020] Figure 3 This is a schematic diagram of the response interface provided in an embodiment of this application;
[0021] Figure 4 This is another schematic diagram of the response interface provided in the embodiments of this application;
[0022] Figure 5 This is another schematic diagram of the response interface provided in the embodiments of this application;
[0023] Figure 6 This is another schematic diagram of the response interface provided in the embodiments of this application;
[0024] Figure 7 This is a schematic diagram of the first suspension layer provided in the embodiments of this application;
[0025] Figure 8 This is a schematic diagram of the second levitation layer provided in the embodiments of this application;
[0026] Figure 9 This is a flowchart illustrating another content interaction method provided in an embodiment of this application;
[0027] Figure 10 This is another schematic diagram of the response interface provided in the embodiments of this application;
[0028] Figure 11 This is a schematic diagram of the third suspension layer provided in the embodiments of this application;
[0029] Figure 12 This is a schematic diagram of the object interface provided in an embodiment of this application;
[0030] Figure 13 This is a schematic diagram of the fifth suspension layer provided in the embodiments of this application;
[0031] Figure 14 This is a schematic diagram of the fourth suspension layer provided in the embodiments of this application;
[0032] Figure 15 This is a flowchart illustrating another content interaction method provided in an embodiment of this application;
[0033] Figure 16 This is a flowchart illustrating another content interaction method provided in an embodiment of this application;
[0034] Figure 17 This is a schematic diagram of the structure of the content interaction device provided in the embodiments of this application;
[0035] Figure 18This is a schematic diagram of the structure of the content interaction device provided in the embodiments of this application;
[0036] Figure 19 This is a schematic diagram of the structure of the content interaction device provided in the embodiments of this application;
[0037] Figure 20 This is a schematic diagram of the structure of the content interaction device provided in the embodiments of this application;
[0038] Figure 21 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application. Detailed Implementation
[0039] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0040] This application provides a content interaction method, apparatus, electronic device, and computer storage medium. The content interaction apparatus can be integrated into an electronic device, which may be a server or a terminal, etc.
[0041] The server can be a standalone physical server, a server cluster or distributed system consisting of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, network acceleration services (Content Delivery Network, CDN), as well as big data and artificial intelligence platforms.
[0042] The terminal can be a smartphone, tablet, laptop, desktop computer, smart speaker, smartwatch, etc., but is not limited to these. The terminal and the server can be connected directly or indirectly through wired or wireless communication, which is not limited herein.
[0043] For example, such as Figure 1As shown, the terminal obtains the target query term and sends it to the server. The server receives the target query term, obtains the media content associated with the target query term, and obtains the interactive object associated with the target query term within the target area. The target area is determined based on at least one of the query location information indicated by the target query term and / or user location information. The server then returns the media content and interactive object to the terminal. The terminal displays a response interface corresponding to the target query term. The response interface includes a content card and a map card. The content card displays the media content, and the map card displays a first portion of the digital map of the target area and a first interactive object, which is at least one of the interactive objects.
[0044] Furthermore, in the embodiments of this application, "multiple" refers to two or more. The terms "first" and "second," etc., in the embodiments of this application are used for distinguishing descriptions and should not be construed as implying relative importance.
[0045] The following sections provide detailed descriptions of each example. It should be noted that the order in which the embodiments are described is not intended to limit the preferred order of the embodiments.
[0046] In this embodiment, the description will be from the perspective of the content interaction device. In order to facilitate the explanation of the content interaction method of this application, the following will describe the content interaction device integrated into the terminal in detail, that is, the terminal will be used as the execution subject in the detailed explanation.
[0047] Please see Figure 2 , Figure 2 This is a flowchart illustrating a content interaction method provided in an embodiment of this application. The content interaction method may include:
[0048] S201, Receive the target query term.
[0049] The terminal can receive target query terms through the client corresponding to the content interaction platform. The content interaction platform refers to a platform that can be used to upload and view media content, and it may include at least one terminal and at least one server.
[0050] The type of content interaction platform can be set according to the actual situation. For example, the content interaction platform can be a video community platform or a social platform. This application embodiment does not limit this.
[0051] The form of the client corresponding to the content interaction platform can be set according to the actual situation. For example, the client corresponding to the content interaction platform can be an application, a mini-program or a webpage. This application embodiment does not limit this.
[0052] The terminal can display a media content interface, which includes a first search control. In response to a first input operation on the first search control, the target query term is obtained from the first input operation.
[0053] Alternatively, the terminal can collect the target user's voice, recognize the voice, obtain the recognition result, and extract the target query term from the recognition result. The target user refers to the user using the terminal.
[0054] Alternatively, the terminal can also display the original digital map interface, which includes a second search control. In response to a second input operation on the second search control, the target query term is obtained from the second input operation.
[0055] Alternatively, the terminal can display a details interface for the media content. In response to the selection operation of the target text in the details interface, the target query term can be obtained from the selection operation. The target text can be text describing the media content or comments on the media content.
[0056] The method by which the terminal receives the target query term can be set according to the actual situation, and this application embodiment does not limit it here.
[0057] S202, Obtain media content associated with the target query term and obtain interactive objects associated with the target query term within the target area, wherein the target area is determined based on at least one of the query location information indicated by the target query term and / or user location information.
[0058] Media content refers to a medium used to store and transmit information. It can be at least one of text content, video content, image content, and audio content. Text content can be, for example, user notes, message boards, and group chats. Video content can be, for example, group chats, videos, or live streams.
[0059] The media content associated with the target query term can refer to media content that has a certain relationship with the target query term. The certain relationship can be set according to the actual situation. For example, the certain relationship can be an inclusion relationship, that is, the media content associated with the target query term can be media content that contains the target query term. Or, the certain relationship can be a type relationship, that is, the type of the media content associated with the target query term is the target query term. This application embodiment does not limit this.
[0060] Optionally, when there is a large amount of media content associated with the target query term, a first target number of media content can be filtered from the media content associated with the target query term. The first target number can be set according to the actual situation, and this embodiment of the application does not limit it.
[0061] The method for selecting a first target number of media contents from media contents associated with the target query term can be set according to the actual situation. For example, a first target number of media contents whose relevance to the target query term meets a preset relevance can be used as media contents associated with the target query term. Alternatively, a first target number of media contents associated with the target query term whose interaction count (interaction count may include at least one of the number of likes, comments, favorites, and reposts) meets a preset number can be used as media contents associated with the target query term. This application embodiment does not limit this.
[0062] Interactive objects refer to things that can interact with users. Interactive objects can be set according to actual conditions and may include at least one of the following: Points of Interest (POIs), virtual objects (such as virtual pets), products, discussions, group chats, media content, activities, and group buying. This application embodiment does not limit the scope of the interactive objects. A point of interest refers to a useful or interesting location within a certain area.
[0063] Interactive objects associated with the target query term within the target area refer to interactive objects located in the target area and associated with the target query term.
[0064] When there are many interactive objects associated with the target query term within the target area, a second target number of interactive objects can be selected from the candidate interactive objects associated with the target query term within the target area. The second target number can be set according to the actual situation, and this embodiment does not limit it.
[0065] The method for selecting interactive objects from candidate interactive objects can be set according to the actual situation. For example, a second target number of candidate interactive objects that meet the preset popularity condition can be used as interactive objects, or a second target number of candidate interactive objects that meet the preset distance condition between them and the target user can be used as interactive objects. This application embodiment does not limit this.
[0066] User location information is used to indicate the location of a target user. It may include at least one of the user's location, the city where the user is located, and the city where the user usually resides. The user's location refers to the target user's current location.
[0067] Optionally, the terminal can first obtain the user's location; if the user's location cannot be obtained, then obtain the location of the city where the user is located; if the location of the city where the user is located cannot be obtained, then obtain the location of the city where the user usually resides.
[0068] Optionally, user location information may also refer to user location information contained in the first target media content among the collected media content, and the first target media content may refer to media content whose collection time meets preset conditions.
[0069] Since if a target user has recently saved the first target media content, it indicates that the target user may want to query the interactive objects at the user's location contained in the first target media content, user location information can also refer to the user location information contained in the first target media content.
[0070] Optionally, if at least one of the user's location, the user's city location, and the user's usual city location is not obtained, and the target query does not indicate the query location information, then the interactive objects associated with the target query within the target area will not be obtained. That is, in this case, the map card will not be displayed on the response interface.
[0071] In some embodiments, obtaining interactive objects associated with the target query term within the target region includes:
[0072] Obtain user location information and determine the query location information indicated by the target query term;
[0073] If the user's location information and the queried location information are consistent, then the target area is determined based on the user's location information and the queried location information;
[0074] If the user's location information and the queried location information are inconsistent, the target area is determined based on the queried location information;
[0075] Retrieve interactive objects within the target area that are associated with the target query term.
[0076] The consistency between user location information and query location information can be understood as the location difference between the user location information and the query location information being within a certain range. For example, when the location represented by the user location information and the location represented by the query location information are the same, it can be determined that the location difference between the user location information and the query location information is within a certain range. Or, when the location represented by the user location information includes the location represented by the query location information, it can be determined that the location difference between the user location information and the query location information is within a certain range.
[0077] In this embodiment, user location information is obtained, and the query location information indicated by the target query term is determined. If the user location information and the query location information are consistent, the target area is determined based on the user location information and the query location information. If the user location information and the query location information are inconsistent, the target area is determined based on the query location information. Interactive objects associated with the target query term within the target area are obtained to avoid the inability to determine the target area when there is a conflict between the user location information and the query location information.
[0078] In some embodiments, obtaining interactive objects associated with the target query term within the target region includes:
[0079] Determine the query location information indicated by the target query term, and determine whether the user's location information has been obtained;
[0080] If the user's location information is not obtained, the target area is determined based on the queried location information;
[0081] Retrieve interactive objects within the target area that are associated with the target query term.
[0082] In this embodiment of the application, if the user's location information is not obtained, the target area is determined directly based on the query location information, and then the interactive objects associated with the target query term within the target area are obtained.
[0083] In some embodiments, obtaining interactive objects associated with the target query term within the target region includes:
[0084] Identify the query intent of the target query term;
[0085] If the object query intent meets the preset intent conditions, then retrieve the interactive objects associated with the target query term within the target area.
[0086] The preset intent conditions can be set according to the actual situation. For example, a first target value and a second target value can be used to represent the object query intent. When the object query intent is the first target value, it means that the object query intent is strong. At this time, it can be determined that the object query intent meets the preset intent conditions. When the object query intent is the second target value, it means that the object query intent is weak. At this time, it can be determined that the object query intent does not meet the preset intent conditions. This application embodiment does not limit this.
[0087] In this embodiment of the application, the object query intent corresponding to the target query term is identified; if the object query intent meets the preset intent conditions, the interactive object associated with the target query term in the target area is obtained, so that the interactive object is obtained only when the object query intent is strong, so as to display the first interactive object on the response interface.
[0088] S203. Display the response interface corresponding to the target query term. The response interface includes a content card and a map card. The content card is used to display media content, and the map card is used to display a first part of the digital map of the target area and a first interactive object. The first interactive object is at least one of the interactive objects.
[0089] The response interface refers to the interface displayed to the target user after the target user enters the target query term. After obtaining the media content and interactive objects, the terminal can filter out the first interactive object from the interactive objects, then generate a first part of the digital map based on the first interactive object, generate map cards based on the first part of the digital map, display the first interactive object on the first part of the digital map in the map cards, generate content cards based on the media content, and finally generate the response interface based on the map cards and content cards.
[0090] Displaying the first interactive object on the first part of the digital map can be understood as displaying brief information about the first interactive object on the first part of the digital map. The specific content of the brief information can be set according to the actual situation. For example, the brief information can include not only the name of the first interactive object, but also, when the first interactive object is a point of interest, at least one of the following: the number of notes of the first interactive object, the first icon, including a specific note of the first interactive object, the number of comments of the first interactive object, and a specific comment of the first interactive object.
[0091] When the first interactive object is a virtual object, the brief information may also include the image of the virtual object. When the first interactive object is a message board, the brief information may also include a message on the message board, such as the latest message, the message with the most likes, or the most popular message.
[0092] The number and type of the first interactive object can be set according to the actual situation. For example, the target interactive object can be one or two. The first interactive object can include points of interest, or the first interactive object can include points of interest and virtual objects. This application embodiment does not limit this.
[0093] The display format of content cards and map cards in the response interface can be configured according to the actual situation. For example, content cards and map cards can be displayed in a two-column format on the response interface, such as... Figure 3 As shown, content cards and map cards can also be displayed in a single column on the response screen, for example, as shown. Figure 4 As shown, the embodiments in this application are not limited here.
[0094] Optionally, the display parameters of the content card and the map card can be the same or different. When the display parameters of the content card and the map card are the same, the response interface corresponding to the target query term is displayed, including:
[0095] Retrieve preset card display parameters;
[0096] Based on the card display parameters, display the response interface corresponding to the target query term, so that the content cards and map cards in the response interface have matching card display parameters.
[0097] The card display parameters are used to represent the display effect of the card. The card display parameters can be set according to the actual situation. For example, the card display parameters may include at least one of card size and card shape, which is not limited in this embodiment.
[0098] In this embodiment, preset card display parameters are obtained; based on the card display parameters, the response interface corresponding to the target query term is displayed, so that the content cards and map cards in the response interface have matching card display parameters, thereby improving the user's visual experience.
[0099] Optionally, the display position of the map card on the response interface can be set according to the actual situation. For example, a preset position can be used as the display position of the map card on the response interface, such as... Figure 3 As shown, the position of the fourth card on the response interface is taken as the display position of the map card on the response interface. Alternatively, the display position of the map card on the response interface can be determined in real time. This embodiment of the application does not limit this.
[0100] When the display position of the target interactive object on the response interface is determined in real time, the response interface corresponding to the target query term is displayed, including:
[0101] Determine the level of the query intent for the object;
[0102] Based on the level, determine the display position of the map card in the response interface;
[0103] The response interface corresponding to the target query term is displayed based on the display location.
[0104] The level of object query intent is used to measure the strength of a target user's intent to query an interactive object. For example, a higher level of object query intent indicates a stronger intent from the target user to query the interactive object, while a lower level indicates a weaker intent. Conversely, a lower level of object query intent indicates a stronger intent from the target user to query the interactive object, and a higher level indicates a weaker intent from the target user to query the interactive object.
[0105] Optionally, the level of object query intent may indicate that the stronger the intent to query the interactive object, the earlier the map card is displayed in the response interface; conversely, the level of object query intent may indicate that the weaker the intent to query the interactive object, the later the map card is displayed in the response interface.
[0106] For example, when the level of object query intent is higher, indicating a stronger intent to query interactive objects, the map card can be displayed earlier in the response interface if the level of object query intent is higher, and the map card can be displayed later in the response interface if the level of object query intent is lower.
[0107] For example, when the level of object query intent is lower, indicating a stronger intent to query the interactive object, the lower the level of object query intent, the earlier the map card is displayed in the response interface; conversely, the higher the level of object query intent, the later the map card is displayed in the response interface.
[0108] In this embodiment, the level of the object's query intent is determined; based on the level, the display position of the map card in the response interface is determined; based on the display position, the response interface corresponding to the target query term is displayed. This realizes that the display position of the map card in the response interface is determined in real time according to the level of the object's query intent, further improving the convenience for target users to enter the digital map from the map card, thereby further improving the efficiency of target users entering the digital map from the map card.
[0109] Optionally, the method for determining the level of object query intent can be set according to the actual situation. For example, the level of object query intent can be determined according to the type of target query term, the word set, and historical query terms. This embodiment of the application does not limit this.
[0110] When determining the level of object query intent based on the type of the target query term, the level of object query intent is determined based on the target query term, including:
[0111] Determine the type of the target query term;
[0112] Determine the level of the object query intent based on the type.
[0113] The type of the target query term is used to indicate the characteristics of the target query term. For example, if the target query term is "birthday copywriting", then the type of the target query term is copywriting type; if the target query term is "nearby food", then the type of the target query term is food type.
[0114] The terminal can pre-set candidate types and corresponding candidate levels. If the type of the target query term matches the candidate type, the candidate level corresponding to the candidate type that matches the type will be used as the level of the object query intent.
[0115] For example, candidate types include copywriting, food, and scenery. The candidate level for copywriting is g1, for food it's g2, and for scenery it's g3. g2 indicates a stronger intent from the target user to query the interactive object than g3, and g3 indicates a stronger intent from the target user to query the interactive object than g1. When the target query is "birthday copywriting," the type of the target query is copywriting, and the level of the query intent is g1. When the target query is "nearby food," the type of the target query is food, and the level of the query intent is g2.
[0116] Optionally, the candidate type and the corresponding level can be determined based on the interaction behavior of the first user in the content interaction platform with the response interface displayed according to the words corresponding to the candidate type.
[0117] For example, the number of first users who enter the digital map interface through the response interface displayed based on candidate words can be obtained. Based on this number, the candidate level corresponding to the candidate type of the candidate word can be determined. The higher the number of such users, the stronger the intent of the query interaction object represented by the candidate level corresponding to the candidate type of the candidate word. The lower the number of such users, the weaker the intent of the query interaction object represented by the candidate level corresponding to the candidate type of the candidate word.
[0118] When determining the level of an object's query intent based on a set of terms, the level of the object's query intent is determined based on the target query terms, including:
[0119] Match the target query term with preset terms in the term set;
[0120] If there are preset words in the word set that match the target query term, then the level of the object query intent is determined to be the first level;
[0121] If there is no preset word in the word set that matches the target query term, the level of the target user's query intent is set to the second level. The first level indicates that the target user's intent to query the interactive object is stronger than the second level.
[0122] Among them, the preset words can be determined based on the interaction behavior of the first user in the content interaction platform in response to the response interface displayed based on the preset words.
[0123] For example, the number of first users who enter the digital map interface through the response interface displayed based on candidate words can be obtained. If the number meets the preset quantity condition, the candidate word is determined as the preset word. If the number does not meet the preset quantity condition, the candidate word is not determined as the preset word.
[0124] When determining the level of query intent based on historical query terms, the level of query intent is determined based on the target query terms, including:
[0125] Retrieve historical search terms within a preset time period prior to the current time;
[0126] Semantic recognition is performed on historical query terms and target query terms to obtain the level of the object query intent.
[0127] The preset time length can be set according to the actual situation. For example, the preset time length can be 10 minutes or 5 minutes. This embodiment of the application does not limit it.
[0128] In this embodiment of the application, historical query terms within a preset time period prior to the current time are obtained, and semantic recognition is performed on the historical query terms and the target query terms to obtain the level of the object query intent, so as to improve the accuracy of the determined object query intent level.
[0129] For example, if the historical search term is "A pedestrian street travel guide" and the target search term is "A pedestrian street food", then the target query intent is strong. In this case, the level of the target query intent can be set to a high level.
[0130] For example, if the historical search term is "A pedestrian street travel guide" and the target search term is "A pedestrian street", then the target query intent is relatively weak. In this case, the level of the target query intent can be determined to be low.
[0131] When determining the level of object query intent based on historical query terms, the process of determining the level of object query intent based on the target query term can also be as follows:
[0132] Retrieves historical query terms within a preset time period prior to the current time, where the current time is the time the target query term was received;
[0133] Retrieve historical click behavior for historical map cards in the response interface displayed based on historical search terms;
[0134] Determine the level of object query intent based on historical click behavior.
[0135] Among them, historical click behavior can refer to at least one of the following: the number of times the target user enters the historical digital map from the historical map card and the time the target user stays in the historical digital map after entering the historical map card.
[0136] For example, when historical click behavior refers to the number of times a target user enters the historical digital map from the historical map card, the higher the number of times, the stronger the intent to query the interactive object and the higher the level of the object query intent; the lower the number of times, the weaker the intent to query the interactive object and the lower the level of the object query intent.
[0137] When historical click behavior refers to the time a target user stays on the historical digital map after entering it from the historical map card, the longer the time, the stronger the intent to query the interactive object and the higher the level of the object query intent; the shorter the time, the weaker the intent to query the interactive object and the lower the level of the object query intent.
[0138] In some embodiments, when a media content interface, including a first search control, is displayed, and a target query term is obtained from the first input operation in response to a first input operation to the first search control, the terminal determines the level of the object query intent based on the target query term. When an original digital map interface, including a second search control, is displayed, and a target query term is obtained from the second input operation in response to a second input operation to the second search control, the level of the media query intent is determined based on the target query term. If the level of the media query intent meets a preset target level condition, the media content associated with the target query term is obtained. In this case, the terminal can respond to a trigger operation on the media content in the response interface and jump to display the details interface of the media content.
[0139] The method for determining the level of media query intent based on the target query term can be similar to the method for determining the level of object query intent based on the target query term, and will not be described again in the embodiments of this application.
[0140] Optionally, the terminal can obtain the object order corresponding to the interactive object, and filter out the first interactive object from the interactive objects according to the object order. The method of determining the object order can be set according to the actual situation. For example, the object order can be determined according to at least one of the following: the target user's preference information, the distance between the interactive object and the target user, the rating information of the interactive object, the popularity information of the interactive object, and the number of notes of the interactive object. This embodiment of the application does not limit this.
[0141] When determining the order of objects based on the target user's preference information, the process of determining the order of objects can be as follows:
[0142] Obtain the account characteristics corresponding to the target account;
[0143] Determine the order of objects based on account characteristics.
[0144] Here, the target account refers to the target user's account on the content interaction platform. The account characteristics corresponding to the target account can represent the target user's preference information; therefore, target interaction objects can be filtered based on account characteristics. Optionally, interaction objects with a higher degree of matching with account characteristics are ranked earlier, while interaction objects with a lower degree of matching with account characteristics are ranked later.
[0145] For example, if an account's characteristic is Chinese food, and the interaction targets are points of interest that are Hunan cuisine restaurants and Western restaurants, then the order of interaction targets for Hunan cuisine restaurants takes precedence over that for Western restaurants.
[0146] Optionally, the account characteristics of the target account can be determined based on at least one of the target account's description information, the target account's interactive notes, and the target account's published notes. The target account's interactive notes may include at least one of the target account's comments, likes, favorites, and shares. This embodiment of the application does not limit this.
[0147] When determining the order of objects based on the distance between the interactive object and the target user, the process of determining the object order can be as follows:
[0148] Obtain the distance between the interacting object and the target user;
[0149] Determine the order of objects based on distance.
[0150] In this context, interactive objects that are closer together will appear earlier in the order of their interactions, while interactive objects that are farther apart will appear later in the order of their interactions.
[0151] When determining the order of objects based on the number of notes of the interacting objects, the process of determining the order of objects can be as follows:
[0152] Get the number of notes that contain interactive objects;
[0153] Determine the order of objects based on the number of notes.
[0154] Interactive objects with more notes can be listed earlier in the order, while interactive objects with fewer notes can be listed later in the order.
[0155] In some embodiments, the target region is determined based on the user's location information, and a response interface corresponding to the target query term is displayed, including:
[0156] Generate a digital map of the target area based on the interactive objects and user identifiers indicating user location information;
[0157] Based on the digital map, map cards are generated such that the map cards include a first portion of the digital map of the user identifier and the target area, as well as a first interactive object.
[0158] The user identifier can be set according to the actual situation. For example, the user identifier can be a combination of a circle and a triangle, or it can be a preset virtual role. The preset virtual role can be, for example, as shown in the image below. Figure 3 As shown.
[0159] Optionally, a digital map of the target area can be generated centered on the user identifier. Generating map cards based on the digital map can be understood as extracting a first portion of the digital map, which includes the first interactive object and the user identifier.
[0160] In this embodiment, a digital map of the target area is generated based on the interactive object and the user identifier indicating the user's location information; based on the digital map, a map card is generated so that the map card includes the user identifier, a first part of the digital map of the target area, and a first interactive object, so that the first interactive object in map form can be seen on the response interface, thereby improving the visual experience of jumping from the response interface to the digital map.
[0161] For example, if the target query is "restaurant" and the interaction object is a point of interest, then the first interaction object is XXXX restaurant. In this case, the response interface could be as follows: Figure 3 As shown.
[0162] Optionally, when the target area is determined based on the query location information, the user identifier may not be included on the map card.
[0163] For example, if the target query is "restaurant" and the interaction object is points of interest, then the first interaction object is the restaurant, and the map card can include an icon for each restaurant. In this case, the response interface can be as follows: Figure 5 As shown.
[0164] In some embodiments, a response interface corresponding to the target query term is displayed, including:
[0165] Get the order of objects corresponding to the interactive objects;
[0166] Based on the order of objects, select the first interactive object from the interactive objects;
[0167] Generate a digital map of the target area based on the interactive objects;
[0168] Adjust the scale of the digital map and generate map cards based on the adjusted digital map, so that the map cards display the first interactive object, or so that the map cards display the user identifier and the first interactive object without overlapping.
[0169] The method of adjusting the scale of the digital map and generating map cards based on the adjusted digital map can be set according to the actual situation, and this application embodiment does not limit it.
[0170] For example, the process of adjusting the scale of a digital map and generating map cards based on the adjusted digital map can be as follows:
[0171] Get the preset card size;
[0172] Centered on the user identifier, and according to the preset card size, extract the first part of the digital map from the digital map;
[0173] If the first interactive object is not included in the first part of the digital map, then adjust the scale of the digital map to obtain the adjusted digital map;
[0174] The adjusted digital map is used as the digital map, and the process is returned to execute the step of extracting the first part of the digital map from the digital map according to the preset card size, with the user identifier as the center.
[0175] If the first part of the digital map includes the first interactive object, then a map card is generated based on the first part of the digital map.
[0176] For example, if the digital map is digital map m1, and a first part of digital map c1 is extracted from digital map m1 with the user identifier as the center and according to the preset card size, and the first part of digital map c1 does not include the first interactive object, then digital map m1 is scaled down to obtain digital map m2. If the first part of digital map c2 includes the first interactive object, then map cards are generated based on the first part of digital map.
[0177] In this embodiment, a preset card size is obtained; a first portion of the digital map is extracted from the digital map, centered on the user identifier and according to the preset card size; if the first portion of the digital map does not include the first interactive object, the scale of the digital map is adjusted to obtain an adjusted digital map; the adjusted digital map is used as the digital map, and the process of extracting the first portion of the digital map from the digital map, centered on the user identifier and according to the preset card size, is returned to be executed; if the first portion of the digital map includes the first interactive object, a map card is generated based on the first portion of the digital map, so that the scale on the map card is consistent with the scale on the digital map, further improving the user's visual experience, thereby further increasing the probability of the user entering the digital map interface from the map card.
[0178] For example, the process of adjusting the scale of a digital map and generating map cards based on the adjusted digital map can be as follows:
[0179] Extract a first portion of the digital map, including the target interactive object and user identifier, from the digital map, and generate candidate map cards based on the first portion of the digital map;
[0180] If the candidate map card does not meet the preset size conditions, the scale of the digital map is adjusted to obtain the adjusted digital map;
[0181] The adjusted digital map is used as the final digital map. The process then returns to the previous steps: extracting a first portion of the digital map, including the target interactive object and user identifier, and generating candidate map cards based on this first portion.
[0182] If a candidate map card meets the preset size requirements, then the candidate map card will be determined as a map card.
[0183] For example, if the digital map is m1, and candidate map card c1 is extracted from the digital map m1, and the size of candidate map card c1 does not meet the preset size condition, the digital map m1 is reduced to obtain digital map m2. If candidate map card c2 is extracted from the digital map m2, and the size of candidate map card c2 meets the preset size condition, then candidate map card c2 is determined as a map card.
[0184] In some embodiments, after displaying the response interface corresponding to the target query term, the method further includes:
[0185] In response to a triggering operation on a map card, a second part of the digital map of the target area and a second interactive object are displayed via the target interface. The second part of the digital map includes the first part of the digital map, and the second interactive object is at least one of the interactive objects, including the first interactive object.
[0186] The type of trigger operation for the map card can be set according to the actual situation. For example, the trigger operation can be a click operation or a long press operation, which is not limited in this embodiment. The second part of the digital map refers to the digital map of the target area displayed on the target interface. When the user swipes on the target interface, the second part of the digital map changes accordingly.
[0187] In this embodiment of the application, in response to a trigger operation on a map card, a second part of the digital map of the target area and a second interactive object are displayed via the target interface. The second part of the digital map includes the first part of the digital map, and the second interactive object is at least one of the interactive objects and includes the first interactive object, thereby enabling access to the second part of the digital map of the target area from the map card.
[0188] In some embodiments, obtaining interactive objects associated with the target query term within the target region includes:
[0189] Retrieve interactive objects within the target area that are associated with the target query term;
[0190] If the number of interactive objects is less than the preset number, adjust the area of the target area and / or adjust the map scale of the digital map of the target area.
[0191] Until the number of interactive objects in the target area reaches the preset number;
[0192] In response to a triggering action on a map card, a second portion of a digital map of the target area and a second interactive object are displayed via the target interface, including:
[0193] In response to a triggering action on a map card, a second part of the digital map of the target area and a second interactive object are displayed via the target interface, according to the map scale.
[0194] For example, if there are five interactive objects in the target area, which is less than the preset number, the target area is expanded to obtain expanded area 1 in order to adjust the area range of the target area. If there are eight interactive objects in expanded area 1, which is less than the preset number, expanded area 1 is expanded again to obtain expanded area 2 in order to adjust the area range of the target area again. If there are ten interactive objects in expanded area 2, which is equal to the preset number.
[0195] Optionally, in response to a triggering operation on a map card, a second portion of the digital map of the target area and a second interactive object are displayed on the target interface according to the map scale. This can be understood as reducing the display size of the second portion of the digital map of the target area. For example, if there are five interactive objects in the target area, which is less than a preset number, the map scale is reduced by 0.5. If there are eight interactive objects in the target area, which meets the preset number, the digital map of the target area is reduced by 0.5 times, so that the second portion of the digital map displayed on the target interface includes eight interactive objects.
[0196] In some embodiments, the target interface further includes content interaction controls, and after displaying a second portion of the digital map of the target area and a second interactive object via the target interface in response to a triggering operation on the map card, it further includes:
[0197] In response to a triggering operation of the content interaction control, retrieve the media content associated with the target area;
[0198] Display a first floating layer on the target interface. The first floating layer includes the associated media content.
[0199] The media content associated with the target area may be media content associated with interactive objects on the second part of the digital map, or it may not be media content associated with interactive objects on the second part of the digital map. This application embodiment does not limit this.
[0200] The types of associated media content can be set according to the actual situation. For example, the associated media content can be at least one of notes, group chats, and live broadcasts.
[0201] For example, when the response interface is like Figure 6 As shown in section 601, in response to a trigger operation on a map card, a second part of the digital map of the target area and a second interactive object are displayed via the target interface, such as... Figure 6 As shown in Figure 602. At this point, the target interface also includes content interaction controls, which can be as follows: Figure 6 As shown in Figure 602, the "Related Notes within the Region" displayed by the terminal can be as follows: Figure 7 As shown.
[0202] Optionally, the target interface also includes a location control. The terminal can respond to a trigger operation on the location control by generating a second floating layer based on the second interactive object. The second floating layer includes interactive objects displayed in a list and is displayed on the target interface.
[0203] For example, location controls can be like Figure 6 As shown in Figure 602, in response to a trigger operation on the location control, the terminal displays a second floating layer as follows: Figure 8 As shown.
[0204] In some embodiments, in response to a triggering operation on a map card, a second portion of a digital map of a target area and a second interactive object are displayed via a target interface, including:
[0205] In response to a triggering operation on a map card, a second floating layer is generated based on a second interactive object, the second floating layer including the second interactive object displayed in a list;
[0206] The target interface displays a second part of the digital map of the target area and a second interactive object, including a second floating layer.
[0207] In this embodiment of the application, in response to a triggering operation on a map card, a second floating layer is generated based on a second interactive object. The second floating layer includes the second interactive object displayed in a list. A second portion of the digital map of the target area and the second interactive object are displayed via the target interface, which includes the second floating layer.
[0208] For example, the responsive interface is like Figure 6As shown in section 601, the second part of the digital map of the target area and the second interactive object are displayed via the target interface, for example, as shown in section 601. Figure 8 As shown.
[0209] Optionally, the terminal may update the second interactive object in the second floating layer in response to a sliding operation on the second interactive object in the second floating layer, and update the second interactive object in the second part of the digital map that is not obscured by the second floating layer. That is, at this time, the second interactive object in the second part of the digital map that is not obscured by the second floating layer is updated along with the update of the second interactive object in the second floating layer.
[0210] In some embodiments, after displaying the response interface corresponding to the target query term, the terminal can, in response to a trigger operation on the target content card in the response interface, jump to display the details interface of the target media content corresponding to the target content card. That is, after displaying the response interface corresponding to the target query term, the terminal can, in response to a trigger operation on the map card, display a second part of the digital map of the target area and a second interactive object via the target interface, and / or, in response to a trigger operation on the target content card in the response interface, jump to display the details interface of the target media content corresponding to the target content card.
[0211] As can be seen from the above, in this embodiment of the application, a target query term is received; media content associated with the target query term and interactive objects associated with the target query term within a target area are obtained, the target area being determined based on at least one of the query location information indicated by the target query term and / or user location information; a response interface corresponding to the target query term is displayed, the response interface including a content card and a map card, the content card being used to display the media content, the map card being used to display a first part of the digital map of the target area and a first interactive object, the first interactive object being at least one of the interactive objects, so that media content and the first interactive object can be displayed simultaneously on the response interface, enriching the types of information displayed on the response interface, so that when a user needs to enter the digital map, they can enter the digital map from the first interactive object, improving the efficiency of the user entering the digital map, and when a user needs to view media content, they can click on the media content, improving the efficiency of the user viewing the media content.
[0212] The following is based on Figure 9 This application will describe another content interaction method provided. In this embodiment, the description will be from the perspective of a content interaction device. To facilitate the explanation of the content interaction method of this application, the following will describe it in detail with the content interaction device integrated into a terminal, that is, with the terminal as the execution subject.
[0213] Please see Figure 9 , Figure 9This is a flowchart illustrating a content interaction method provided in an embodiment of this application. The content interaction method may include:
[0214] S901, Receive the target query term.
[0215] The implementation process of step S901 can be referred to step S201, and will not be repeated here in this embodiment.
[0216] S902, Obtain media content associated with the target query term and obtain interactive objects associated with the target query term within the target area, wherein the target area is determined based on at least one of the query location information indicated by the target query term and / or user location information.
[0217] The implementation process of step S902 can be referred to step S202, and will not be repeated here in this embodiment.
[0218] S903. Display the response interface corresponding to the target query term. The response interface includes content cards and object cards. The content cards are used to display media content, and the object cards are used to display the first interactive object of the target area. The first interactive object is at least one of the interactive objects.
[0219] The object card can be a list card that displays the first interactive object in a list format, or any card that displays the first interactive object in other formats.
[0220] When there are multiple first interactive objects, the order in which the first interactive objects are arranged in the object card can be set according to the actual situation. For example, the order in which the first interactive objects are arranged in the object card can be determined according to the distance between the first interactive object and the location indicated by the user's location information. In this case, the first interactive object with a smaller distance can be arranged earlier and the first interactive object with a larger distance can be arranged later. Alternatively, the first interactive object can be arranged according to the number of notes. The first interactive object with more notes can be arranged earlier and the first interactive object with fewer notes can be arranged later. This embodiment of the application does not limit this.
[0221] In this embodiment, a target query term is received, media content associated with the target query term is obtained, and interactive objects associated with the target query term within a target area are obtained. The target area is determined based on at least one of the query location information indicated by the target query term and / or user location information. A response interface corresponding to the target query term is displayed. The response interface includes content cards and object cards. The content cards are used to display media content, and the object cards are used to display a first interactive object in the target area. The first interactive object is at least one of the interactive objects, which allows media content and the first interactive object to be displayed simultaneously on the response interface. This enriches the types of information displayed on the response interface, so that when a user needs to enter the digital map, they can enter the digital map from the map card, improving the efficiency of the user entering the digital map. When a user needs to view media content, they can click on the media content, improving the efficiency of the user viewing the media content.
[0222] For example, if the target query is "Shanghai cuisine", the object list would be as follows: Figure 10 As shown, at this time, the first interactive objects include three, namely XXXX Restaurant, XXX Restaurant and XXXXX Private Kitchen.
[0223] In some embodiments, the interactive object is a point of interest, the first interactive object includes a first point of interest, and after displaying the response interface corresponding to the target query term, it further includes:
[0224] In response to a trigger operation on the first point of interest in the object card, a partial digital map of the target area is displayed via the target interface. The partial digital map includes a second point of interest and a third floating layer. The third floating layer includes detailed information of the first point of interest. The second point of interest is at least one of the points of interest and includes the first point of interest.
[0225] The detailed information refers to the detailed information of the first point of interest. The detailed information of the first point of interest can be set according to the actual situation. For example, the detailed information may include at least one of the following: notes, business hours, comments, contact information and address of the target point of interest. This embodiment of the application does not limit this.
[0226] For example, when the response interface is like Figure 10 As shown, in response to a trigger operation on the first point of interest "XXX Restaurant", the system retrieves detailed information about "XXX Restaurant" and generates a third floating layer based on this information. This third floating layer is then displayed on a portion of the digital map via the target interface. At this point, the target interface can... Figure 11 As shown.
[0227] It should be understood that a partial digital map may be a partial digital map displayed centered on a user identifier, or it may be a partial digital map displayed centered on a first point of interest. This application embodiment does not limit this.
[0228] In this embodiment of the application, in response to the triggering operation of the first point of interest in the object card, a partial digital map of the target area is displayed via the target interface. The partial digital map includes a second point of interest and a third floating layer. The third floating layer includes detailed information of the first point of interest. The second point of interest is at least one of the points of interest and includes the first point of interest, thereby realizing the jump from the response interface to the partial digital map containing detailed information.
[0229] In some embodiments, after displaying the response interface corresponding to the target query term, the method further includes:
[0230] In response to a trigger operation on an object card, an object interface is displayed. The object interface includes a second interactive object and a map control. The second interactive object includes the first interactive object.
[0231] In response to a triggering operation on the map control, a partial digital map of the target area is displayed via the target interface, the partial digital map including a second interactive object.
[0232] The object card may include object controls, and the terminal may display the object interface in response to the trigger operation of the object controls.
[0233] For example, if the interactive object is a point of interest, the response interface can be like this: Figure 10 As shown, the object control can be Figure 10 As shown in the image, the terminal responds to the "More Locations" trigger operation by displaying an object interface as follows: Figure 12 As shown, the map control can be used as follows: Figure 12 As shown in the image.
[0234] Optionally, in response to a triggering operation on the map control, the displayed portion of the digital map can be as follows: Figure 6 A partial digital map in the form shown in Figure 602, or, in response to a triggering operation on the map control, displaying a partial digital map of the target area via the target interface, including:
[0235] In response to a triggering operation on the map control, a fifth floating layer is generated based on the second interactive object, the fifth floating layer including the second interactive object displayed in a list;
[0236] The target interface displays a partial digital map of the target area, which includes a second interactive object and a fifth floating layer.
[0237] For example, if the interactive object is a point of interest, the response interface can be like this: Figure 10 As shown, the object control can be Figure 10 As shown in the image, the terminal responds to the "More Locations" trigger operation by displaying an object interface as follows: Figure 12 As shown, the map control can be used as follows: Figure 12 As shown in the figure, some digital maps can be like Figure 13 As shown.
[0238] Optionally, the terminal may update the second interactive object in the fifth floating layer in response to the sliding operation of the interactive object in the fifth floating layer, and update the second interactive object in the part of the digital map that is not obscured by the fifth floating layer. That is, at this time, the second interactive object in the part of the digital map that is not obscured by the fifth floating layer is updated along with the update of the second interactive object in the fourth floating layer.
[0239] Optionally, after displaying the object interface in response to a trigger operation on the object card, the system can also obtain detailed information about the first target interactive object in response to a trigger operation on the first target interactive object in the object interface; generate a third floating layer based on the detailed information; and display a partial digital map of the target area via the target interface. The partial digital map includes the second target interactive object and the third floating layer. The third floating layer includes detailed information about the first target interactive object. The second target interactive object is at least one of the interactive objects in the object interface and includes the first target interactive object.
[0240] For example, if the interactive object is a point of interest, the object interface can be like this: Figure 12 As shown, in response to a trigger action on "XXX Restaurant", the displayed portion of the digital map can be as follows: Figure 11 As shown.
[0241] In some embodiments, after displaying the response interface corresponding to the target query term, the method further includes:
[0242] In response to a trigger operation on an object card, a fourth floating layer is generated based on the second interactive object in the interactive objects. The fourth floating layer includes the second interactive object displayed in a list.
[0243] The target interface displays a partial digital map of the target area, a second interactive object of the partial digital map, and a fourth floating layer.
[0244] The object card may include object controls, and the terminal may generate a fourth floating layer based on the second interactive object in the interactive objects in response to the trigger operation of the object controls.
[0245] For example, if the interactive object is a point of interest, the response interface can be like this: Figure 10 As shown, the object control can be Figure 10The "More Locations" option shown indicates that, in response to a "More Locations" trigger, the terminal displays a portion of the digital map, which can be as follows: Figure 14 As shown.
[0246] Optionally, the terminal may update the second interactive object in the fourth floating layer in response to the sliding operation of the interactive object in the fourth floating layer, and update the second interactive object in the part of the digital map that is not obscured by the fourth floating layer. That is, at this time, the second interactive object in the part of the digital map that is not obscured by the fourth floating layer is updated along with the update of the second interactive object in the fourth floating layer.
[0247] Other implementation methods and corresponding beneficial effects in this embodiment can be referred to the above content interaction method embodiment, which will not be repeated here.
[0248] The following is based on Figure 15 This application will describe another content interaction method provided. In this embodiment, the description will be from the perspective of a content interaction device. To facilitate the explanation of the content interaction method of this application, the following will describe it in detail with the content interaction device integrated into a terminal, that is, with the terminal as the execution subject.
[0249] Please see Figure 15 , Figure 15 This is a flowchart illustrating a content interaction method provided in an embodiment of this application. The content interaction method may include:
[0250] S1501, Receive target query terms.
[0251] The implementation process of step S1501 can be referred to step S201, and will not be repeated here in this embodiment.
[0252] S1502, Obtain media content associated with the target query term and obtain points of interest associated with the target query term within the target area, wherein the target area is determined based on at least one of the query location information indicated by the target query term and / or user location information.
[0253] The implementation process of step S1502 can be referred to step S202, and will not be repeated here in this embodiment.
[0254] S1503. Display the response interface corresponding to the target query term. The response interface includes a content card and a map card. The content card is used to display media content, and the map card is used to display a first part of the digital map of the target area and a first point of interest. The first point of interest is at least one of the points of interest.
[0255] The implementation process of step S1503 can be referred to step S203, and will not be repeated here in this embodiment.
[0256] In this embodiment, a target query term is received, media content associated with the target query term is obtained, and points of interest (POIs) associated with the target query term within a target area are obtained. The target area is determined based on at least one of the query location information indicated by the target query term and / or user location information. A response interface corresponding to the target query term is displayed. The response interface includes content cards and map cards. The content cards are used to display media content, and the map cards are used to display a first part of the digital map of the target area and a first POI. The first POI is at least one of the POIs, which enables the first POI to be displayed on the response interface in the form of map cards. This enriches the types of information displayed on the response interface, so that when a user needs to enter the digital map, they can enter the digital map from the map card, improving the efficiency of the user entering the digital map. When a user needs to view media content, they can click on the media content, improving the efficiency of the user viewing the media content.
[0257] Other implementation methods and corresponding beneficial effects in this embodiment can be referred to the above content interaction method embodiment, which will not be repeated here.
[0258] The following is based on Figure 16 This application will describe another content interaction method provided. In this embodiment, the description will be from the perspective of a content interaction device. To facilitate the explanation of the content interaction method of this application, the following will describe it in detail with the content interaction device integrated into a terminal, that is, with the terminal as the execution subject.
[0259] Please see Figure 16 , Figure 16 This is a flowchart illustrating a content interaction method provided in an embodiment of this application. The content interaction method may include:
[0260] S1601, Receive target query terms.
[0261] The implementation process of step S1601 can be referred to step S201, and will not be repeated here in this embodiment.
[0262] S1602. Obtain media content associated with the target query term and obtain interactive objects associated with the target query term within the target area, wherein the target area is determined based on at least one of the query location information indicated by the target query term and / or user location information.
[0263] The implementation process of step S1602 can be referred to step S202, and will not be repeated here in this embodiment.
[0264] S1603. Identify the object query intent corresponding to the target query term.
[0265] S1604. If the object query intent is a geographic location query intent, then the response interface corresponding to the target query term is displayed. The response interface includes a content card and a map card. The content card is used to display media content, and the map card is used to display a first part of the digital map of the target area and a first interactive object. The first interactive object is at least one of the interactive objects.
[0266] S1605. If the object query intent is a geographic information query intent, then the response interface corresponding to the target query term is displayed. The response interface includes a content card and an object card. The content card is used to display media content, and the object card is used to display the first interactive object of the target area. The first interactive object is at least one of the interactive objects.
[0267] In this embodiment, a target query term is received, media content associated with the target query term is obtained, and interactive objects associated with the target query term within a target area are obtained. The target area is determined based on at least one of the query location information and / or user location information indicated by the target query term. The object query intent corresponding to the target query term is identified. If the object query intent is a geographic location query intent, a response interface corresponding to the target query term is displayed. The response interface includes a content card and a map card. The content card is used to display media content, and the map card is used to display a first part of the digital map of the target area and a first interactive object. The first interactive object is at least one of the interactive objects. If the object query intent is... The image shows a geographic information query intent. The response interface corresponding to the target query term is displayed. The response interface includes content cards and object cards. Content cards display media content, while object cards display the first interactive object for the target area. The first interactive object can be at least one of several interactive objects. This allows the user to choose between displaying map cards or object cards based on their different object query intents, enriching the types of information displayed on the response interface. This improves the efficiency of accessing the digital map by allowing users to enter via either map cards or object cards. Similarly, users can click on media content to view it, further enhancing the efficiency of media content viewing.
[0268] Other implementation methods and corresponding beneficial effects in this embodiment can be referred to the above content interaction method embodiment, which will not be repeated here.
[0269] To facilitate better implementation of the content interaction method provided in the embodiments of this application, the embodiments of this application also provide an apparatus based on the above-described content interaction method. The meanings of the terms used are the same as in the above-described content interaction method, and specific implementation details can be found in the descriptions in the method embodiments.
[0270] For example, such as Figure 17 As shown, the content interaction device may include:
[0271] The receiving module 1701 is used to receive the target query term.
[0272] The acquisition module 1702 is used to acquire media content associated with the target query term and to acquire interactive objects associated with the target query term within a target area. The target area is determined based on at least one of the query location information indicated by the target query term and / or user location information.
[0273] Display module 1703 is used to display the response interface corresponding to the target query term. The response interface includes content cards and map cards. The content cards are used to display media content, and the map cards are used to display a first part of the digital map of the target area and a first interactive object. The first interactive object is at least one of the interactive objects.
[0274] Optionally, the above-mentioned content interaction device further includes a response module, which is specifically used to execute:
[0275] In response to a triggering operation on a map card, a second part of the digital map of the target area and a second interactive object are displayed via the target interface. The second part of the digital map includes the first part of the digital map, and the second interactive object is at least one of the interactive objects, including the first interactive object.
[0276] Optionally, the target area is determined based on the user's location information, and the display module 1703 is specifically used to perform:
[0277] Generate a digital map of the target area based on the interactive objects and user identifiers indicating user location information;
[0278] Based on the digital map, map cards are generated such that the map cards include a first portion of the digital map of the user identifier and the target area, as well as a first interactive object.
[0279] Optionally, the display module 1703 is specifically used to perform:
[0280] Get the order of objects corresponding to the interactive objects;
[0281] Based on the order of objects, select the first interactive object from the interactive objects;
[0282] Generate a digital map of the target area based on the interactive objects;
[0283] Adjust the scale of the digital map and generate map cards based on the adjusted digital map, so that the map cards display the first interactive object, or so that the map cards display the user identifier and the first interactive object without overlapping.
[0284] Optionally, module 1702 is specifically used to perform:
[0285] Obtain user location information and determine the query location information indicated by the target query term;
[0286] If the user's location information and the queried location information are consistent, then the target area is determined based on the user's location information and / or the queried location information;
[0287] If the user's location information and the queried location information are inconsistent, the target area is determined based on the queried location information;
[0288] Retrieve interactive objects within the target area that are associated with the target query term.
[0289] Optionally, module 1702 is specifically used to perform:
[0290] Determine the query location information indicated by the target query term, and determine whether the user's location information has been obtained;
[0291] If the user's location information is not obtained, the target area is determined based on the queried location information;
[0292] Retrieve interactive objects within the target area that are associated with the target query term.
[0293] Optionally, module 1702 is specifically used to perform:
[0294] Identify the query intent of the target query term;
[0295] If the object query intent meets the preset intent conditions, then retrieve the interactive objects associated with the target query term within the target area.
[0296] Optionally, the display module 1703 is specifically used to perform:
[0297] Determine the level of the query intent for the object;
[0298] Based on the level, determine the display position of the map card in the response interface;
[0299] The response interface corresponding to the target query term is displayed based on the display location.
[0300] Optionally, the display module 1703 is specifically used to perform:
[0301] Retrieve preset card display parameters;
[0302] Based on the card display parameters, display the response interface corresponding to the target query term, so that the content cards and map cards in the response interface have matching card display parameters.
[0303] Optionally, the target interface also includes content interaction controls, and the response module is also used to perform:
[0304] In response to a triggering operation of the content interaction control, retrieve the media content associated with the target area;
[0305] Display a first floating layer on the target interface. The first floating layer includes the associated media content.
[0306] Optionally, the response module is also used to perform:
[0307] In response to a triggering operation on a map card, a second floating layer is generated based on a second interactive object, the second floating layer including the second interactive object displayed in a list;
[0308] The target interface displays a second part of the digital map of the target area and a second interactive object, including a second floating layer.
[0309] In practice, each of the above modules can be implemented as an independent entity or can be combined arbitrarily to be implemented as the same or several entities. For the specific implementation methods and corresponding beneficial effects of each of the above modules, please refer to the previous method embodiments, which will not be repeated here.
[0310] To facilitate better implementation of the content interaction method provided in the embodiments of this application, the embodiments of this application also provide an apparatus based on the above-described content interaction method. The meanings of the terms used are the same as in the above-described content interaction method, and specific implementation details can be found in the descriptions in the method embodiments.
[0311] For example, such as Figure 18 As shown, the content interaction device may include:
[0312] The first receiving module 1801 is used to receive the target query term.
[0313] The first acquisition module 1802 is used to acquire media content associated with the target query term and to acquire interactive objects associated with the target query term within a target area. The target area is determined based on at least one of the query location information indicated by the target query term and / or user location information.
[0314] The first display module 1803 is used to display the response interface corresponding to the target query term. The response interface includes content cards and object cards. The content cards are used to display media content, and the object cards are used to display the first interactive object in the target area. The first interactive object is at least one of the interactive objects.
[0315] Optionally, the interactive object is a point of interest, the first interactive object includes a first point of interest, and the above-mentioned content interaction device further includes:
[0316] The first response module is used to execute:
[0317] In response to a trigger operation on the first point of interest in the object card, a partial digital map of the target area is displayed via the target interface. The partial digital map includes a second point of interest and a third floating layer. The third floating layer includes detailed information of the first point of interest. The second point of interest is at least one of the points of interest and includes the first point of interest.
[0318] Optionally, the first response module is used to execute:
[0319] In response to a trigger operation on an object card, an object interface is displayed. The object interface includes a second interactive object and a map control. The second interactive object includes the first interactive object.
[0320] In response to a triggering operation on the map control, a partial digital map of the target area is displayed via the target interface, the partial digital map including a second interactive object.
[0321] Optionally, the first response module is used to execute:
[0322] In response to a trigger operation on an object card, a fourth floating layer is generated based on the second interactive object in the interactive objects. The fourth floating layer includes the second interactive object displayed in a list.
[0323] The target interface displays a partial digital map of the target area, a second interactive object of the partial digital map, and a fourth floating layer.
[0324] In practice, each of the above modules can be implemented as an independent entity or can be combined arbitrarily to be implemented as the same or several entities. For the specific implementation methods and corresponding beneficial effects of each of the above modules, please refer to the previous method embodiments, which will not be repeated here.
[0325] To facilitate better implementation of the content interaction method provided in the embodiments of this application, the embodiments of this application also provide an apparatus based on the above-described content interaction method. The meanings of the terms used are the same as in the above-described content interaction method, and specific implementation details can be found in the descriptions in the method embodiments.
[0326] For example, such as Figure 19 As shown, the content interaction device may include:
[0327] The second receiving module 1901 is used to receive the target query term.
[0328] The second acquisition module 1902 is used to acquire media content associated with the target query term and to acquire points of interest associated with the target query term within the target area. The target area is determined based on at least one of the query location information indicated by the target query term and / or user location information.
[0329] The second display module 1903 is used to display the response interface corresponding to the target query term. The response interface includes a content card and a map card. The content card is used to display media content, and the map card is used to display a first part of the digital map of the target area and a first point of interest. The first point of interest is at least one of the points of interest.
[0330] In practice, each of the above modules can be implemented as an independent entity or can be combined arbitrarily to be implemented as the same or several entities. For the specific implementation methods and corresponding beneficial effects of each of the above modules, please refer to the previous method embodiments, which will not be repeated here.
[0331] To facilitate better implementation of the content interaction method provided in the embodiments of this application, the embodiments of this application also provide an apparatus based on the above-described content interaction method. The meanings of the terms used are the same as in the above-described content interaction method, and specific implementation details can be found in the descriptions in the method embodiments.
[0332] For example, such as Figure 20 As shown, the content interaction device may include:
[0333] The third receiving module 2001 is used to receive the target query term.
[0334] The third acquisition module 2002 is used to acquire media content associated with the target query term and to acquire interactive objects associated with the target query term within the target area. The target area is determined based on at least one of the query location information indicated by the target query term and / or user location information.
[0335] The intent recognition module 2003 is used to identify the object query intent corresponding to the target query term.
[0336] The third display module 2004 is used to display the response interface corresponding to the target query term if the object query intent is a geographic location query intent. The response interface includes a content card and a map card. The content card is used to display media content, and the map card is used to display a first part of the digital map of the target area and a first interactive object. The first interactive object is at least one of the interactive objects.
[0337] The fourth display module 2005 is used to display the response interface corresponding to the target query term if the object query intent is a geographic information query intent. The response interface includes a content card and an object card. The content card is used to display media content, and the object card is used to display the first interactive object of the target area. The first interactive object is at least one of the interactive objects.
[0338] In practice, each of the above modules can be implemented as an independent entity or can be combined arbitrarily to be implemented as the same or several entities. For the specific implementation methods and corresponding beneficial effects of each of the above modules, please refer to the previous method embodiments, which will not be repeated here.
[0339] This application also provides an electronic device, which may be a server or a terminal, etc. Figure 21 As shown, it illustrates a structural schematic diagram of the electronic device involved in the embodiments of this application, specifically:
[0340] The electronic device may include components such as a processor 2101 with one or more processing cores, a memory 2102 with one or more computer-readable storage media, a power supply 2103, and an input unit 2104. Those skilled in the art will understand that... Figure 21 The electronic device structure shown does not constitute a limitation on the electronic device and may include more or fewer components than shown, or combine certain components, or have different component arrangements. Wherein:
[0341] The processor 2101 is the control center of the electronic device, connecting various parts of the device via various interfaces and lines. It executes computer programs and / or modules stored in the memory 2102, and calls data stored in the memory 2102, to perform various functions and process data. Optionally, the processor 2101 may include one or more processing cores; preferably, the processor 2101 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 2101.
[0342] The memory 2102 can be used to store computer programs and modules. The processor 2101 executes various functional applications and data processing by running the computer programs and modules stored in the memory 2102. The memory 2102 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, computer programs required for at least one function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 2102 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 2102 may also include a memory controller to provide the processor 2101 with access to the memory 2102.
[0343] The electronic device also includes a power supply 2103 that supplies power to the various components. Preferably, the power supply 2103 can be logically connected to the processor 2101 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. The power supply 2103 may also include one or more DC or AC power supplies, recharging systems, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components.
[0344] The electronic device may also include an input unit 2104, which can be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
[0345] Although not shown, the electronic device may also include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 2101 in the electronic device loads the executable files corresponding to the processes of one or more computer programs into the memory 2102 according to the following instructions, and the processor 2101 runs the computer programs stored in the memory 2102 to realize various functions, such as:
[0346] Receive the target query term;
[0347] Obtain media content associated with the target query term and interactive objects associated with the target query term within the target area, wherein the target area is determined based on at least one of the query location information indicated by the target query term and / or user location information;
[0348] The response interface displays the target query term. The response interface includes a content card and a map card. The content card is used to display media content, and the map card is used to display a first part of the digital map of the target area and a first interactive object. The first interactive object is at least one of the interactive objects.
[0349] For details on the specific implementation methods and corresponding beneficial effects of the above operations, please refer to the detailed description of the content interaction methods above, which will not be repeated here.
[0350] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by a computer program, or by a computer program controlling related hardware. The computer program can be stored in a computer-readable storage medium and loaded and executed by a processor.
[0351] Therefore, embodiments of this application provide a computer-readable storage medium storing a computer program that can be loaded by a processor to execute steps in any of the content interaction methods provided in embodiments of this application. For example, the computer program can execute the following steps:
[0352] Receive the target query term;
[0353] Obtain media content associated with the target query term and interactive objects associated with the target query term within the target area, wherein the target area is determined based on at least one of the query location information indicated by the target query term and / or user location information;
[0354] The response interface displays the target query term. The response interface includes a content card and a map card. The content card is used to display media content, and the map card is used to display a first part of the digital map of the target area and a first interactive object. The first interactive object is at least one of the interactive objects.
[0355] For details on the specific implementation methods and corresponding beneficial effects of the above operations, please refer to the previous embodiments, which will not be repeated here.
[0356] The computer-readable storage medium may include: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
[0357] Since the computer program stored in the computer-readable storage medium can execute the steps in any of the content interaction methods provided in the embodiments of this application, the beneficial effects that any of the content interaction methods provided in the embodiments of this application can achieve can be realized, as detailed in the preceding embodiments, and will not be repeated here.
[0358] According to one aspect of this application, a computer program product or computer program is provided, comprising computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the aforementioned content interaction method.
[0359] The above provides a detailed description of a content interaction method, apparatus, electronic device, and computer storage medium provided in the embodiments of this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A content interaction method, characterized in that, include: Receive the target query term; Obtain media content associated with the target query term and obtain interactive objects associated with the target query term within a target area, wherein the target area is determined based on at least one of query location information indicated by the target query term and / or user location information; The response interface corresponding to the target query term is displayed. The response interface includes a content card and a map card. The content card is used to display the media content, and the map card is used to display a first part of the digital map of the target area and a first interactive object. The first interactive object is at least one of the interactive objects. In response to a trigger operation on the target content card in the response interface, the system will jump to display the details interface of the target media content corresponding to the target content card; In response to a triggering operation on the map card, a second portion of the digital map of the target area and a second interactive object are displayed via the target interface. The second portion of the digital map includes the first portion of the digital map, and the second interactive object is at least one of the interactive objects and includes the first interactive object.
2. The content interaction method according to claim 1, characterized in that, The target area is determined based on the user's location information, and the response interface displaying the target query term includes: A digital map of the target area is generated based on the interactive object and the user identifier indicating the user's location information; Based on the digital map, the map card is generated such that the map card includes the user identifier, a first portion of the digital map of the target area, and a first interactive object.
3. The content interaction method according to claim 1, characterized in that, The response interface that displays the target query term includes: Obtain the object order corresponding to the interactive object; Based on the order of the objects, select the first interactive object from the interactive objects; Based on the interactive object, generate a digital map of the target area; Adjust the scale of the digital map and generate map cards based on the adjusted digital map, so that the map cards display the first interactive object, or so that the map cards display the user identifier and the first interactive object without overlap.
4. The content interaction method according to claim 1, characterized in that, The step of obtaining interactive objects associated with the target query term within the target area includes: Obtain user location information and determine the query location information indicated by the target query term; If the user location information and the query location information are consistent, then the target area is determined based on the user location information and / or the query location information; If the user location information and the queried location information are inconsistent, the target area is determined based on the queried location information; Obtain the interactive objects associated with the target query term within the target area.
5. The content interaction method according to claim 1, characterized in that, The step of obtaining interactive objects associated with the target query term within the target area includes: Determine the query location information indicated by the target query term, and determine whether user location information has been obtained; If the user's location information is not obtained, the target area is determined based on the queried location information; Obtain the interactive objects associated with the target query term within the target area.
6. The content interaction method according to claim 1, characterized in that, The step of obtaining interactive objects associated with the target query term within the target area includes: Identify the object query intent corresponding to the target query term; If the object query intent meets the preset intent conditions, then the interactive objects associated with the target query term within the target area are obtained.
7. The content interaction method according to claim 6, characterized in that, The response interface that displays the target query term includes: Determine the level of the query intent for the object; Based on the level, determine the display position of the map card in the response interface; Based on the display location, the response interface corresponding to the target query term is displayed.
8. The content interaction method according to claim 1, characterized in that, The response interface that displays the target query term includes: Retrieve preset card display parameters; Based on the card display parameters, the response interface corresponding to the target query term is displayed, so that the content cards and map cards in the response interface have matching card display parameters.
9. The content interaction method according to claim 1, characterized in that, The target interface further includes content interaction controls, and after the second part of the digital map of the target area and the second interactive object are displayed via the target interface in response to the trigger operation of the map card, it further includes: In response to a trigger operation on the content interaction control, the media content associated with the target area is obtained; A first floating layer is displayed on the target interface, the first floating layer including associated media content.
10. The content interaction method according to claim 1, characterized in that, The step of displaying a second portion of a digital map of the target area and a second interactive object via a target interface in response to a trigger operation on the map card includes: In response to a triggering operation on the map card, a second floating layer is generated based on the second interactive object, the second floating layer including the second interactive object displayed in a list; The target interface displays a second portion of the digital map of the target area and the second interactive object, and the target interface includes the second floating layer.
11. A content interaction method, characterized in that, include: Receive the target query term; Obtain media content associated with the target query term and obtain interactive objects associated with the target query term within a target area, wherein the target area is determined based on at least one of query location information indicated by the target query term and / or user location information; The response interface displays the target query term. The response interface includes content cards and object cards. The content cards are used to display the media content. The object cards are used to display the first interactive object of the target area in a list format. The first interactive object is at least one of the interactive objects. In response to a trigger operation on the target content card in the response interface, the system will jump to display the details interface of the target media content corresponding to the target content card; In response to a trigger operation on the object card in the response interface, a digital map of the target area is displayed, the digital map including a second interactive object, the second interactive object including the first interactive object.
12. The content interaction method according to claim 11, characterized in that, The interactive object is a point of interest (POI). The first interactive object includes a first POI, and the second interactive object includes a second POI. In response to a trigger operation on the object card in the response interface, a digital map of the target area is displayed. The digital map includes the second interactive object, which in turn includes the first interactive object. In response to a triggering operation on the first point of interest in the object card, a partial digital map of the target area is displayed via the target interface. The partial digital map includes the second point of interest and a third floating layer. The third floating layer includes detailed information of the first point of interest. The second point of interest is at least one of the points of interest and includes the first point of interest.
13. The content interaction method according to claim 11, characterized in that, In response to a trigger operation on the object card in the response interface, a digital map of the target area is displayed. The digital map includes a second interactive object, which includes the first interactive object, and includes: In response to a trigger operation on the object card, an object interface is displayed, the object interface including a second interactive object among the interactive objects and a map control, the second interactive object including the first interactive object; In response to a triggering operation on the map control, a partial digital map of the target area is displayed via the target interface, the partial digital map including the second interactive object.
14. The content interaction method according to claim 11, characterized in that, In response to a trigger operation on the object card in the response interface, a digital map of the target area is displayed. The digital map includes a second interactive object, which includes the first interactive object, and includes: In response to a trigger operation on the object card, a fourth floating layer is generated based on the second interactive object in the interactive objects. The fourth floating layer includes the second interactive object displayed in a list, and the second interactive object includes the first interactive object. A partial digital map of the target area is displayed via the target interface, the partial digital map being the second interactive object and including the fourth floating layer.
15. A content interaction method, characterized in that, include: Receive the target query term; Obtain media content associated with the target query term and obtain points of interest associated with the target query term within a target area, wherein the target area is determined based on at least one of query location information indicated by the target query term and / or user location information; The response interface corresponding to the target query term is displayed. The response interface includes a content card and a map card. The content card is used to display the media content, and the map card is used to display a first part of the digital map of the target area and a first point of interest. The first point of interest is at least one of the points of interest. In response to a trigger operation on the target content card in the response interface, the system will jump to display the details interface of the target media content corresponding to the target content card; In response to a trigger operation on the map card, a second portion of the digital map of the target area and a second point of interest are displayed via the target interface. The second portion of the digital map includes the first portion of the digital map, and the second point of interest is at least one of the points of interest, including the first point of interest.
16. A content interaction method, characterized in that, include: Receive the target query term; Obtain media content associated with the target query term and obtain interactive objects associated with the target query term within a target area, wherein the target area is determined based on at least one of query location information indicated by the target query term and / or user location information; Identify the object query intent corresponding to the target query term; If the object query intent is a geographic location query intent, then the response interface corresponding to the target query term is displayed. The response interface includes a content card and a map card. The content card is used to display the media content, and the map card is used to display a first part of the digital map of the target area and a first interactive object. The first interactive object is at least one of the interactive objects. In response to a trigger operation on the target content card in the response interface, the system will jump to display the details interface of the target media content corresponding to the target content card; In response to a triggering operation on the map card, a second portion of the digital map of the target area and a second interactive object are displayed via the target interface. The second portion of the digital map includes the first portion of the digital map, and the second interactive object is at least one of the interactive objects and includes the first interactive object. If the object query intent is a geographic information query intent, then the response interface corresponding to the target query term is displayed. The response interface includes a content card and an object card. The content card is used to display the media content, and the object card is used to display the first interactive object of the target area. The first interactive object is at least one of the interactive objects. In response to a trigger operation on the target content card in the response interface, the system will jump to display the details interface of the target media content corresponding to the target content card; In response to a trigger operation on the object card in the response interface, a digital map of the target area is displayed, the digital map including a second interactive object, the second interactive object including the first interactive object.
17. A content interaction device, characterized in that, include: The receiving module is used to receive the target query terms; The acquisition module is used to acquire media content associated with the target query term and to acquire interactive objects associated with the target query term within a target area, wherein the target area is determined based on at least one of the query location information indicated by the target query term and / or user location information; The display module is used to display the response interface corresponding to the target query term. The response interface includes a content card and a map card. The content card is used to display the media content, and the map card is used to display a first part of the digital map of the target area and a first interactive object. The first interactive object is at least one of the interactive objects. The response module is used to respond to the trigger operation of the target content card in the response interface and jump to display the details interface of the target media content corresponding to the target content card; In response to a triggering operation on the map card, a second portion of the digital map of the target area and a second interactive object are displayed via the target interface. The second portion of the digital map includes the first portion of the digital map, and the second interactive object is at least one of the interactive objects and includes the first interactive object.
18. An electronic device, characterized in that, It includes a processor and a memory, the memory storing a computer program, and the processor running the computer program in the memory to perform the content interaction method according to any one of claims 1 to 16.
19. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program adapted for loading by a processor to perform the content interaction method according to any one of claims 1 to 16.
Citation Information
Patent Citations
Information display and search method and related equipment
CN115827901A
Aggregating news and social content with map presentations
US20160210357A1