WO2023071491A1 - 百科信息确定方法、显示方法、装置、设备和介质 - Google Patents

百科信息确定方法、显示方法、装置、设备和介质 Download PDF

Info

Publication number
WO2023071491A1
WO2023071491A1 PCT/CN2022/115520 CN2022115520W WO2023071491A1 WO 2023071491 A1 WO2023071491 A1 WO 2023071491A1 CN 2022115520 W CN2022115520 W CN 2022115520W WO 2023071491 A1 WO2023071491 A1 WO 2023071491A1
Authority
WO
WIPO (PCT)
Prior art keywords
video
target
entry
candidate
content module
Prior art date
Application number
PCT/CN2022/115520
Other languages
English (en)
French (fr)
Inventor
宋佳楠
王千雪
刘鑫
周鑫恺
Original Assignee
北京字跳网络技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京字跳网络技术有限公司 filed Critical 北京字跳网络技术有限公司
Publication of WO2023071491A1 publication Critical patent/WO2023071491A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9538Presentation of query results

Definitions

  • the present disclosure relates to the technical field of information processing, and in particular to a method for determining encyclopedia information, a display method, a device, a device, and a medium.
  • encyclopedia products In order to facilitate people to obtain knowledge from the Internet, many encyclopedia products have emerged. These encyclopedia products mainly display the relevant content of encyclopedia entries in the form of pictures and texts.
  • some encyclopedia products add videos to some entries to reduce the difficulty for users to understand the entries and enrich the content of the entries.
  • these video-added entries have significant limitations. For example, the number of these entries is small, which cannot well cover the entries with video requirements; another example, these entries are not entries with video requirements, which wastes resources and affects the consumption efficiency of users for entries.
  • the present disclosure provides a method for determining encyclopedia information, a display method, a device, a device and a medium.
  • the present disclosure provides a method for displaying encyclopedia information, the method comprising:
  • the target entry is based on the attribute information of the search results of the search terms associated with each candidate entry, and the attribute information of the video result, obtained by screening from each of the candidate entries;
  • the present disclosure also provides a method for determining encyclopedia information, the method comprising:
  • the candidate entry is an encyclopedia entry for adding video data as a candidate
  • the target entry Based on the attribute information of the video results corresponding to each of the search words of each of the candidate entries, determine the target entry from each of the candidate entries; wherein, the target entry is determined to add a video Wikipedia entries for data.
  • the present disclosure also provides an encyclopedia information display device, which includes:
  • the encyclopedia page display module is used to display the encyclopedia page corresponding to the target entry; wherein, the target entry is based on the search results of the search terms associated with each candidate entry, the attribute information of the video result, from each of the candidate words obtained by filtering in the article;
  • a target video data display module configured to display at least one target first-level content module on the encyclopedia page, and display target video data corresponding to the target entry in the target first-level content module.
  • the present disclosure also provides an encyclopedia information determination device, which includes:
  • the search term determination module is used to determine the search term associated with each candidate entry; wherein, the candidate entry is an encyclopedia entry for adding video data as a candidate;
  • a search result acquisition module configured to acquire the search results corresponding to each of the search terms and the attribute information of the video results in the search results
  • a target entry determination module configured to determine a target entry from each of the candidate entries based on the attribute information of the video result corresponding to each of the search words of each of the candidate entries; wherein, The target entry is an encyclopedia entry for determining to add video data.
  • the present disclosure also provides an electronic device, which includes:
  • the processor is configured to read executable instructions from the memory, and execute the executable instructions to implement the method for displaying encyclopedia information or the method for determining encyclopedia information described in any embodiment of the present disclosure.
  • the present disclosure also provides a computer-readable storage medium, the storage medium stores a computer program, and when the computer program is executed by a processor, the processor implements the encyclopedia information display method described in any embodiment of the present disclosure Or encyclopedia information determination method.
  • the encyclopedia information display scheme of the embodiment of the present disclosure can display at least one target first-level content module on the encyclopedia page corresponding to the target entry, and display target video data in the target first-level content module, and the target entry is based on
  • Candidate entries with video requirements are obtained from the attribute information of video results in the search results of the search terms associated with each candidate entry. Realized the display of relevant target video data under each target first-level content module in the encyclopedia page of the target entry with video requirements, which not only avoids the interference of video data to users, but also makes it easier and faster for users to combine videos Understanding the content of the entry improves the efficiency of the user's consumption of the entry, thereby improving the user experience.
  • the encyclopedia information determination scheme of the embodiment of the present disclosure can determine the candidate entries through the attribute information of the video results contained in the search results of the search terms corresponding to each candidate entry in the process of determining the target entry with video requirements video requirements, and then screen out the target entries with video requirements from each candidate entry, avoiding the waste of resources and disturbing users caused by adding videos to entries without video requirements, and improving the vocabulary of adding videos. Coverage of entries, thereby improving the efficiency of user consumption of entries and improving user experience.
  • FIG. 1 is a schematic flowchart of a method for displaying encyclopedia information provided by an embodiment of the present disclosure
  • FIG. 2 is a schematic display diagram of an encyclopedia page provided by an embodiment of the present disclosure
  • FIG. 3 is a schematic display diagram of another encyclopedia page provided by an embodiment of the present disclosure.
  • FIG. 4 is a schematic display diagram of another encyclopedia page provided by an embodiment of the present disclosure.
  • FIG. 5 is a schematic display diagram of another encyclopedia page provided by an embodiment of the present disclosure.
  • FIG. 6 is a schematic display diagram of another encyclopedia page provided by an embodiment of the present disclosure.
  • FIG. 7 is a schematic display diagram of a content detail page provided by an embodiment of the present disclosure.
  • FIG. 8 is a schematic display diagram of another encyclopedia page provided by an embodiment of the present disclosure.
  • FIG. 9 is a schematic display diagram of a video encyclopedia detail page or a video summary page provided by an embodiment of the present disclosure.
  • FIG. 10 is a schematic display diagram of another encyclopedia page provided by an embodiment of the present disclosure.
  • FIG. 11 is a schematic display diagram of another encyclopedia page provided by an embodiment of the present disclosure.
  • FIG. 12 is a schematic display diagram of a hotspot details page provided by an embodiment of the present disclosure.
  • FIG. 13 is a schematic flowchart of a method for determining encyclopedia information provided by an embodiment of the present disclosure
  • FIG. 14 is a schematic structural diagram of an encyclopedia information display device provided by an embodiment of the present disclosure.
  • FIG. 15 is a schematic structural diagram of an apparatus for determining encyclopedia information provided by an embodiment of the present disclosure.
  • FIG. 16 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.
  • the term “comprise” and its variations are open-ended, ie “including but not limited to”.
  • the term “based on” is “based at least in part on”.
  • the term “one embodiment” means “at least one embodiment”; the term “another embodiment” means “at least one further embodiment”; the term “some embodiments” means “at least some embodiments.” Relevant definitions of other terms will be given in the description below.
  • video data is added to some entries in some encyclopedia products for users to view the video data while reading the entry content, in order to improve the user's understanding efficiency of the entry content.
  • the coverage rate of entries added with video data is relatively low, so many entries still have the problem of slow and difficult understanding of graphics and text.
  • the entry with added video data may not be the entry that the user needs to view the video data, but instead causes some interference to the user's reading of the entry, which not only causes a waste of user traffic data, but also reduces the user's understanding of the entry. consumption efficiency, making the user experience poor.
  • an embodiment of the present disclosure provides an encyclopedia information display method, determination method, device, device, and medium, so as to judge the candidate word by the attribute information of the video result contained in the search result of the search word corresponding to the candidate entry Whether the entry has the requirement of adding video data (referred to as video requirement), realizes the display of each target entry with video requirement and the display of the target entry screened out from each candidate entry, thereby not only improving the coverage of the target entry, but also solving the problem of It solves the problem of difficult-to-understand article pictures and texts, thereby improving the efficiency of users' understanding of entry content, reducing the interference of video data on users, and improving the consumption efficiency of users on entry content, thereby improving user experience.
  • video requirement the requirement of adding video data
  • the method for displaying encyclopedia information may be executed by an electronic device with a display function.
  • the electronic equipment may include, but not limited to, devices such as smartphones, PDAs (Personal Digital Assistants), PADs (Tablet Computers), PMPs (Portable Multimedia Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), wearable devices, notebook computers, etc.
  • Mobile terminals, and fixed terminals such as digital TV, desktop computers, smart home devices, etc.
  • Fig. 1 shows a schematic flowchart of a method for displaying encyclopedia information provided by an embodiment of the present disclosure.
  • the encyclopedia information display method may include the following steps:
  • the target entry is obtained by screening the candidate entries based on the search results of the search words associated with each candidate entry and the attribute information of the video results.
  • the target entry is an encyclopedia entry for which video data is determined to be added.
  • Candidate entries are encyclopedia entries that may/candidates add video data.
  • the search term is the search content used for the comprehensive search, which may be a candidate term, or may be composed of a candidate term and its corresponding key field.
  • the key field is a predetermined field.
  • Video results are the pure video content in the search results, that is, the video results only contain videos, and do not contain non-video content such as pictures and texts.
  • the attribute information refers to attribute-related information of the video result, which can reflect the user's consumption of the video result, that is, reflect the degree of user demand for the video result.
  • the attribute information includes at least one of the number of video results, the ranking position of the video results in the search results, and the interaction data of the video results.
  • the above sorting position refers to the sorting order of the video results in the search results. For example, if the search results contain 10 items and the video result is the 3rd item, then the video result will be sorted at 3.
  • the above-mentioned interaction data refers to data generated by users interacting with the video result, such as click rate, browsing time, number of shares, number of comments, number of likes, etc.
  • the server pre-selects target entries with video requirements from candidate entries.
  • the screening process of the target term is that the server first obtains at least one search term associated with each candidate term, then conducts a comprehensive search for each search term to obtain its corresponding search results, and then analyzes the video results contained in each search result attribute information. If the attribute information of the video result included in a search result satisfies the set requirements, then the candidate entry corresponding to the search result belongs to the entry with video requirements, and the candidate entry is determined as the target entry.
  • the electronic device When the user performs a trigger operation on the target entry, the electronic device will display the encyclopedia page corresponding to the target entry in response to the trigger operation on the target entry, so as to display the relevant content of the target entry on the encyclopedia page .
  • the user can input any form of information such as text, voice, and image corresponding to the target entry in the search function control (such as a search box) provided by the encyclopedia application program or a specific website to trigger the electronic device to search
  • the target entry is searched to obtain and display the encyclopedia page corresponding to the target entry.
  • the target entry is presented in the form of recommendation information such as search recommendation words in the search page, search content-related recommendation words in the search result page, and the user can trigger the recommendation information containing the target entry (such as click, voice control trigger, eye movement control trigger, etc.), so that the electronic device searches for the target entry to obtain and display the encyclopedia page corresponding to the target entry in response to the trigger operation.
  • recommendation information such as search recommendation words in the search page, search content-related recommendation words in the search result page
  • the user can trigger the recommendation information containing the target entry (such as click, voice control trigger, eye movement control trigger, etc.), so that the electronic device searches for the target entry to obtain and display the encyclopedia page corresponding to the target entry in response to the trigger operation.
  • the target entry is embedded in text carriers such as articles, web pages, or encyclopedia content of other entries in the form of entry links, and users can trigger (such as clicking, voice control triggering, etc.) in the display pages of these text carriers. , eye movement control trigger, etc.) the target entry, so that the electronic device jumps to and displays the encyclopedia page corresponding to the target entry in response to the trigger operation.
  • text carriers such as articles, web pages, or encyclopedia content of other entries in the form of entry links
  • users can trigger (such as clicking, voice control triggering, etc.) in the display pages of these text carriers. , eye movement control trigger, etc.) the target entry, so that the electronic device jumps to and displays the encyclopedia page corresponding to the target entry in response to the trigger operation.
  • the first-level content module refers to the content module directly created under the root directory of the entry.
  • the target first-level content module refers to a first-level content module that determines to add video data.
  • the target first-level content module is selected from the first-level content modules contained in the target entry and has video requirements.
  • the target first-level content module is determined from each first-level content module based on the search results of multiple search words corresponding to each first-level content module under the target entry, and the attribute information of the video result.
  • the search term is composed of the target term and each key field associated with the first-level content module.
  • the server pre-determines at least one relevant key field for each first-level content module under the target entry, and constructs it from the target entry and each key field corresponding to each first-level content module Multiple keywords corresponding to the first-level content module. Then, the server searches for each keyword to obtain a search result corresponding to the corresponding keyword. In this way, each first-level content module corresponds to multiple search results with the same number of keywords. Afterwards, for each first-level content module, if the server determines that the attribute information of the video result contained in at least one corresponding search result satisfies the set requirements, then this first-level content module is determined as the target first-level content module .
  • the target first-level content modules are determined from each first-level content module based on the correlation between the target video result and each first-level content module.
  • the target video result is determined based on the attribute information of the video result in the search results of the search word associated with the target entry.
  • the server uses the target entry or a combination of the target entry and each key field as the search word associated with the target entry. Then, the server searches for each search word to obtain its corresponding search result. Then, the server selects the target video result from the video results corresponding to the target entry according to the attribute information of the video result contained in each search result meeting the set requirements.
  • the server calculates the correlation between the video content of each target video result and the corresponding content of each first-level content module contained under the target entry, and obtains the correlation between each target video result and each first-level content module. Relevance degree, and determine the first-level content module corresponding to the relevancy degree that satisfies the set correlation degree threshold as the target first-level content module.
  • the target video data is related to the content in the target first-level content module and has been screened out to be added to the target first-level content module.
  • the target video data is selected from the candidate video data based on the correlation between the candidate video data and the combined text, and the video quality of the candidate video data.
  • the combined text here contains the target term and the module title of the target first-level content module.
  • the server will obtain a plurality of candidate video data in advance, for example, obtain video data from various authorized video platforms, or pre-establish a video database, and use quality evaluation algorithms such as neural network models or manual methods to obtain The video quality of each candidate video data. After determining the target entry and the target first-level content module in it, the server calculates the correlation between the content of each candidate video data and the combined text.
  • the server determines each candidate video data whose relevance meets the preset relevance threshold and whose video quality meets the preset quality threshold as the target video data of the target first-level content module under the target entry.
  • the quantity of the target video data may be one or more.
  • the server adds the target video data to the target first-level content module in a data structure with a certain display style. This can ensure that the target video data displayed in the target first-level content module has a better correlation with it, and has higher video quality, avoids the addition of invalid video data and its interference to users, and further improves the impact of video data on target one.
  • the degree of assistance in understanding the entry content of the level content module thereby further improving the user's understanding efficiency of the entry content, and further improving user experience.
  • the server will pre-select the target first-level content module from the first-level content modules under the target entry, and add relevant target video data to it. Therefore, after displaying the encyclopedia page, the electronic device will display each target first-level content module under the target entry on the encyclopedia page, and under each target first-level content module, display its associated various content modules in a certain display style. target video data.
  • the target video data may be directly displayed in a certain area below the target first-level content module in a certain display style.
  • the encyclopedia page 201 displaying the target entry "World War II" in the electronic device 200 is directly displayed in the video display area 203 below the target first-level content module "Main Battle" 202 of the encyclopedia page 201
  • the video display area here is a predetermined area for displaying target video data, which can be set according to business requirements.
  • the video display area can be set as the area immediately below the module title of the target first-level content module, so that users can see the video content earlier than the graphic content, so as to understand the words of the relevant content module more quickly Article content, further improving the efficiency of users' consumption of entries.
  • the target video data is displayed in the target secondary content module.
  • the second-level content module refers to a content module directly created under the first-level content module, which is a second-level content module relative to the root directory of the target entry.
  • the target secondary content module is a secondary content module that is selected from the secondary content modules included in the target primary content module and has video requirements.
  • the target secondary content module is determined from each secondary content module based on the content matching degree between the target video data and each secondary content module contained in the target primary content module.
  • the server determines the target first-level content module and its corresponding target video data, if it determines that the target first-level content module contains multiple second-level content modules, it will further calculate the content of the target video data and each second-level content module
  • the degree of matching between the contents of the content, and the second-level content module with the highest matching degree is determined as the target second-level content module, so as to avoid repeated video data in each second-level content module under the target first-level content module, and further Improve user experience.
  • the electronic device will display the target video data in a video display area below the target secondary content module in a certain display style.
  • the target video data can be displayed at a position closer to its content, which is convenient for the user to view nearby, and further improves the consumption efficiency of the user for the content of the entry.
  • the video display area here may be the area immediately below the module title of the target secondary content module.
  • the target secondary content module “Causes of World War I” 206 is displayed under the target primary content module “War Background” 205, then the video display area 207 below the target secondary content module “Causes of World War I” 206 The target video data 208 is displayed in .
  • the above-mentioned encyclopedia information display solution provided by the embodiments of the present disclosure can display at least one target first-level content module on the encyclopedia page corresponding to the target entry, and display target video data in the target first-level content module, and the target entry Candidate entries with video requirements are obtained according to the attribute information of the video results in the search results of the search words associated with each candidate entry. Realized the display of relevant target video data under each target first-level content module in the encyclopedia page of the target entry with video requirements, which not only avoids the interference of video data to users, but also makes it easier and faster for users to combine videos Understanding the content of the entry improves the efficiency of the user's consumption of the entry, thereby improving the user experience.
  • the target video data determined for the target primary content module of the target entry is a single video
  • the single video is displayed under the target primary content module.
  • displaying the target video data corresponding to the target entry in the target first-level content module includes: determining the background color of the video display area in the target first-level content module based on the cover image of a single video; rendering the video display based on the background color area, and display a single video in the video display area.
  • the cover image refers to a static image presented when the video is not playing. It may be a frame image in the video, for example, it may be the first frame image at the beginning of the video, or it may be a frame image that best reflects the video content. .
  • the electronic device displays the determined single video in a set video display area below the target primary content module or the target secondary content module.
  • the target secondary content module "Cause of World War I" 206 its corresponding target video data 208 is a single video, then in the video display area 207 below the target secondary content module "Cause of World War I" 206 Show that single video.
  • the background color of the video display area may be determined according to the color information of the cover image of a single video. For example, randomly select a color from the cover image as the background color; another example, first determine the main color of the cover image, and then use the main color of the color as the background color, or determine the color similar to the main color of the color as the background color. Then, the electronic device uses the determined background color to render the background area of the video display area, and displays a single video in the set video display area. As shown in FIG. 2 , the electronic device 200 determines the background color (filled with gray for example) according to the cover image of a single video, and uses it to render the video display area 207 below the target secondary content module "Causes of World War I" 206 .
  • the electronic device can also display video attribute information such as video title, video playback times, video playback duration, video publisher, and video release time.
  • Video attribute information can be superimposed and displayed in a single video. For example, in the target video data 208 in FIG. 2 , the video playback times "5623 playbacks" and the video playback duration "05:30" are superimposed and displayed in a single video.
  • the video attribute information can also be displayed independently of a single video in other areas in the video display area except the area occupied by the video.
  • the video title in the target video data 208 in Figure 2 is "Why did the Second World War break out, what did Germany, Japan and Italy do after World War I", the video release time "3 days ago” and the video publisher "** * Release” are displayed in other areas of the video display area 207.
  • the target first-level content module includes an entry introduction module
  • the entry introduction module is displayed on the top area of the encyclopedia page, and the introduction video data corresponding to the target entry is displayed in the entry introduction module.
  • the entry introduction module is a module for presenting a summary and briefly introducing the overall content of the entry.
  • the entry introduction module is set in the top area of the encyclopedia page.
  • Introductory video data refers to video data that generally and briefly introduces the overall content of an entry.
  • the introductory video data includes an introductory video, video title and video playing time.
  • target video data that is, introduction video data
  • the electronic device displays the introduction module of the entry and the introduction video data therein on the encyclopedia page.
  • the encyclopedia page 301 of the target entry "World War II" is displayed in the electronic device 300
  • the introduction video data 303 in the entry introduction module is displayed in the top area 302 of the encyclopedia page 301 .
  • the introductory video data 303 shows a single introductory video, and a video title "quickly understanding the Second World War” and a video playing duration "05:30" superimposed on the introductory video.
  • the user can trigger the playback of the introductory video by triggering the play control of the introductory video.
  • the video title and video playback duration can be hidden after the video has played for a certain period of time.
  • the target video data determined by the target level-1 content module of the target entry is multiple videos, then the multiple pieces of video are displayed in a certain display style under the target level-1 content module videos.
  • the target video data is a first group of multiple videos
  • the first group of multiple videos is displayed in a first display style in the target first-level content module.
  • the first group of multiple videos refers to multiple predetermined videos, which correspond to the same target first-level content module.
  • the first display style is a preset video display style.
  • the first display style includes at least one of video collection cards, expanded video cards slid to switch along the first setting direction, and overlay video cards slid to switch along the second set direction.
  • the target video data when the target video data is the first group of multiple videos, it can be displayed in various ways under the target first-level content module.
  • the multiple videos of the first group may be arranged and displayed one by one along the arrangement direction of the content modules under the target entry. Users can slide the encyclopedia page in both directions along the arrangement direction to view each video.
  • the first group of multiple videos is displayed according to the first display style in the embodiment of the present disclosure.
  • the first display style is a video collection card.
  • the video collection card is a video card pointing to multiple videos, which only displays one of the multiple videos, and displays a collection label indicating that the video card corresponds to multiple videos.
  • the background color of the video collection card is determined based on the cover image. That is, if the video in the video collection card does not occupy all of the display area of the card, then the background color of the video collection card can be determined according to the cover image of the video collection card, and the background color of the video collection card is used to render and display the background area of the video collection card.
  • the encyclopedia page 401 of the target entry "XX Bo” is displayed in the electronic device 400, and the target first-level content module "personal works” 402 is displayed on the encyclopedia page 401, and the target first-level content module "personal works” 402
  • a video collection card 404 is displayed in the video display area 403 below the work” 402 .
  • the video collection card 404 only displays one video in the first group of multiple videos, such as the video titled "XX Bo's "**” song moves people's hearts” in Fig. 4 .
  • a certain area of the video collection card 404 (the upper left corner of the video is used as an example in FIG.
  • the video collection card 404 displays a collection label “collection” to remind the user that the video collection card 404 contains multiple videos.
  • the number of videos contained in the video combination card 404 "5 videos" can also be displayed in a certain area of the video collection card 404 (the lower right area of the video is taken as an example in FIG. 4 ).
  • video attribute information such as video play times and video play duration of the above-mentioned video can be displayed in a certain area of the video collection card 404 (the lower right area of the video is taken as an example in FIG. 4 ).
  • the first display style may be various expandable video cards that are slid to switch along the first setting direction.
  • the first setting direction is a predetermined sliding direction, which can be the same direction as the arrangement direction of each content module in the encyclopedia page, such as the long side direction of the electronic device; it can also be a direction perpendicular to the above-mentioned arrangement direction, such as the electronic device The short side orientation of the device.
  • An expandable video card is a video card where the cover image of the entire video is visible. Exemplarily, the background color of the expandable video card is determined based on the cover image.
  • the background color of the expanded video card can be determined according to the cover image of the expanded video card, and the background color is used to render the background area of the expanded video card and show.
  • the encyclopedia page 501 of the target entry "World War II” is displayed in the electronic device 500, and the encyclopedia page 501 shows a target first-level content module "main battle” 502, and the target first-level content module In the video display area 503 below the module “main campaign” 502 , there are displayed various expandable video cards 504 that can be switched by sliding left and right along the short side of the electronic device 500 .
  • each expandable video card 504 can display video attribute information such as video title, video playback times, video playback duration, and video release time.
  • the encyclopedia page 502 also shows the target secondary content module "Battle of Alamein” 505 included in the target primary content module "Main Battle” 502, and the video below the target secondary content module "Battle of Alamein” 505 Displayed in the display area 506 are various expandable video cards 507 that can be switched by sliding up and down along the lengthwise direction of the electronic device 500 .
  • each expandable video card 507 can display video attribute information such as video title, video playback times, video playback duration, and video release time.
  • the first display style may be overlaid video cards that are switched by sliding along the second setting direction.
  • the second setting direction is a predetermined sliding direction, which can be the same direction as the arrangement direction of each content module in the encyclopedia page, such as the direction of the long side of the electronic device; it can also be a direction perpendicular to the above-mentioned arrangement direction, such as the electronic The short side orientation of the device.
  • An overlay video card means that a part of the video card can be covered and only the uncovered part is displayed. Among multiple overlay video cards, only one overlay video card's cover image can be fully displayed at the same time, and other overlay video cards can only display part of the cover image stackedly.
  • the background color of the overlay video card is determined based on the cover image. That is, if the video in the overlay video card does not occupy all the display area of the card, then the background color of the overlay video card can be determined according to the cover image of the overlay video card, and the background color of the overlay video card can be rendered by using the background color and show.
  • each overlay video card 604 can display video attribute information such as video title, video playback times, video playback duration, and video release time.
  • the encyclopedia page there is a situation where there are many entries under a certain target first-level content module or target second-level content module and not all of them are displayed on the encyclopedia page. At this time, part of the entry content can be displayed to make the encyclopedia More content modules are displayed on the page, and a content detail display control that triggers display of all entry contents is set for the above-mentioned target first-level content module or target second-level content module.
  • the target video data is the first group of multiple videos
  • the first group of multiple videos can be displayed in the display style of a video collection card in the target first-level content module or its lower or target second-level content module , as shown in the video collection card 404 in FIG. 4 .
  • a content detail display control is also displayed in the target first-level content module or its lower level or in the target second-level content module.
  • "view full text" 405 is displayed in the end area of the entry content of the target first-level content module "personal works" 402 .
  • the electronic device After the user performs a trigger operation on the content detail display control, the electronic device displays the content detail page in the form of jumping to a new page or a floating page in response to the trigger operation.
  • the complete entry content under the target first-level content module or the target second-level content module is displayed on the content details page, and each expandable video card or The display style of each overlay video card switched by sliding along the second setting direction displays each video in the first group of multiple videos.
  • the electronic device 400 jumps to the content details page, and its display effect and content are shown in FIG. 7 .
  • the electronic device 700 displays a content details page 701 corresponding to the target primary content module "personal work”.
  • the video display area 702 of the content details page 701 there are displayed various expandable video cards 703 that can be switched left and right along the short side of the electronic device 700, that is, the first group corresponding to the target first-level content module "personal work”.
  • Each of the multiple videos In the area below the video display area 702 is displayed a complete entry content 704 corresponding to the target primary content module "personal work”.
  • the target first-level content module includes a video encyclopedia module
  • displaying the target video data corresponding to the target entry in the target first-level content module can be implemented as: displaying the target in a second display style in the video encyclopedia module The second group of multiple videos corresponding to the entry.
  • the video encyclopedia module refers to a content module that only includes video data.
  • the second display style refers to a preset video display style, which may be the same as, repeated or different from the first display style.
  • the second group of multiple videos refers to multiple predetermined videos, which correspond to the same target first-level content module.
  • the second group of multiple videos in the embodiment of the present disclosure does not overlap with the target video data displayed in other target first-level content modules.
  • the other target first-level content modules here refer to the target first-level content modules except the video encyclopedia module among the target first-level content modules corresponding to the target entry.
  • the second display style includes the expandable video cards that are slid to switch along the first setting direction or the overlay video cards that are slid to switch along the second set direction, so that the user can Display more video data directly to users.
  • These expandable video cards or overlay video cards contain video type tags, such as introduction video, knowledge hotspot, etc., to prompt users with information about the video content of each video card.
  • the above-mentioned at least one expandable video card or overlay video card may be a video collection card, and the video collection card corresponds to a third group of multiple videos, and the third group of multiple videos is also a predetermined plurality of videos, and It is a part of videos in the second group of videos, that is, the third group of videos is a subset of the second group of videos.
  • the video collection card can also display the collection label and the number of videos contained in the video collection.
  • an encyclopedia page 801 of the target entry "World War II” is displayed on the electronic device 800 .
  • the video encyclopedia module 802 is displayed on the encyclopedia page 801 , and the video display area 803 below the video encyclopedia module 802 displays various expandable video cards 804 that can be switched left and right along the short side of the electronic device 800 .
  • Video type tags are displayed in these expanded video cards 804, for example, "Introduction Video” is displayed in the first expanded video card, and "Knowledge Hotspot" is displayed in the second expanded video card.
  • the first expanded video card 804 is a video collection card, which also displays the attribute information of "collection” and "3 videos", indicating that the video collection card contains 3 videos, and it displays "exclusive" source information for the video.
  • each expandable video card 804 can display video attribute information such as video title, video playback times, video playback duration, and video release time.
  • a first video entry control is also displayed in the video encyclopedia module, and the first video entry control is a control for controlling the display of each video in the second group of multiple videos.
  • the user can perform a trigger operation on the first video entry control.
  • the electronic device displays the details page of the video encyclopedia in a third display style, and displays each video in the second group of multiple videos on the details page of the video encyclopedia.
  • the third display style is a preset page display style, for example, it may be a new page after jumping, or it may be a floating page displayed in a floating window.
  • a first video entry control “All” 805 is displayed in a certain area in the video encyclopedia module 802 (the upper right corner area in FIG. 8 is an example).
  • the video encyclopedia detail page is displayed in the third display style of the new page after jumping, and the display effect is as shown in FIG. 9 .
  • the electronic device 900 displays a video encyclopedia detail page 901
  • the video encyclopedia detail page 901 displays each video in the second group of multiple videos. These videos can be directly arranged and displayed, or can be classified and displayed according to the video type tags.
  • the method for displaying encyclopedia information further includes: in response to a trigger operation on the video display area containing the collection tag, displaying the video summary page in a third display style; displaying each video corresponding to the collection tag on the video summary page .
  • the video summary page refers to a page that summarizes the videos included in the video collection card.
  • the video collection card with the collection label only displays one video, it corresponds to multiple videos.
  • the electronic device will display the video summary page corresponding to the video collection card in a third display style, so that the video summary page Display multiple videos corresponding to the video collection card.
  • FIG. 4 when the user clicks a display area in the video collection card 404 except for the video play control/video pause control, the electronic device displays a video summary page, and its display effect can be seen in FIG. 9 .
  • the video encyclopedia detail page 901 in FIG. 9 is a video summary page.
  • the method for displaying encyclopedia information further includes: displaying the target expandable video card in the target display area in response to a sliding switching operation on the target expandable video card in the target display area along the first set direction The next expanding video card in the opposite direction from the first set direction.
  • the target display area is an area in the video display area that displays a complete cover image of a certain video. If there are multiple areas displaying a complete cover image in the target display area, the target display area may be the area where the first complete cover image is located.
  • the encyclopedia page 1001 of the target entry "World War II” is displayed in the electronic device 1000, and the target first-level content module "main battle” 1002 is displayed on the encyclopedia page 1001.
  • a target expandable video card 1005 is displayed in the video display area 1003 below the target first-level content module "main campaign” 1002 .
  • the user performs a rightward sliding switching operation on the target display area where the target expandable video card 1005 is located, the next expandable video card to the left of the target expandable video card 1005 will be displayed in the target display area, that is, after switching The expandable video card of the , as shown in Figure 11.
  • the electronic device 1100 displays the encyclopedia page 1101 of the target entry "World War II", and the encyclopedia page 1101 displays a target first-level content module "Main Battle” 1102, and the target first-level content module A switched expanded video card 1105 is displayed in the video display area 1103 below the "main battle” 1102 .
  • the method for displaying encyclopedia information further includes: displaying a third video entry control in response to the trigger operation of sliding and switching each expandable video card to the last expandable video card along the first setting direction;
  • the trigger operation of the third video entry control is to display the video summary page in the third display style; the videos corresponding to the expanded video cards are displayed on the video summary page.
  • the electronic device when the user continues to slide each expanded video card 504 to the last expanded video card 504 in the left direction, the electronic device will display a third video entry control that can trigger the display of more videos, such as Figure 10 shows.
  • a third video entry control “View More” 1004 is displayed in the video display area 1003 below the target first-level content module “Main Campaign” 1002 .
  • the electronic device 1000 When the user clicks on the third video entry control "View More" 1004, the electronic device 1000 will jump to a new video summary page to display the content corresponding to the target first-level content module "Main Campaign" on the video summary page. Video, its display effect can be seen in Figure 9.
  • the method for displaying encyclopedia information further includes: in response to the sliding switching operation of the target overlay video card along the second set direction, displaying the target overlay video card in the direction opposite to the second set direction The next overlay video card for .
  • the video card that can display a complete cover image is the target overlay video card.
  • the electronic device stacks the target overlay video card behind each overlay video card that does not fully display the cover image, and completely displays the slide Next overlay video card in direction, target overlay video card.
  • the entry content contained in the target first-level content module/target second-level content module can be further divided into sub-level content modules of finer categories.
  • the character's experience can be further divided into sub-level content modules according to years or events; another example, the main battles in World War II can be divided into sub-level content modules according to famous battles.
  • the encyclopedia page is no longer displayed according to the next-level content modules.
  • the target video data corresponding to the target primary content module/target secondary content module is a plurality of videos. In this case, an association relationship between the videos and entry contents corresponding to the target first-level content module/target second-level content module may be established.
  • the entry content in each sub-level content module is associated with at least one video card.
  • the corresponding entry content can be switched associatively by switching between video cards. In this way, the user can view the video data and the content of the entry more clearly, and further improve the efficiency of understanding and consumption of the entry.
  • the target expandable video card 1005 is displayed in the video display area 1003, and the target expandable video card 1005 is displayed in the lower area of the video display area 1003.
  • the target text content 1006 corresponding to the target expandable video card 1005 is displayed in the lower area of the video display area 1003.
  • a switched expanded video card When the user performs a rightward sliding switching operation on the video display area 1003 , a switched expanded video card will be displayed in the video display area, such as the switched expanded video card 1105 shown in FIG. 11 .
  • the switched text content 1106 corresponding to the switched expanded video card 1105 is displayed in the area below the video display area 1103 .
  • the target first-level content module includes a hotspot information module, which is a content module for displaying hotspot information related to the target entry.
  • the target video data determined for this hotspot information module can be called a hotspot video. Based on this, the process of displaying the target video data is: displaying the hot information and hot video corresponding to the target entry in the hot information module.
  • the hot information here refers to hot information related to the target entry.
  • a hotspot information module 806 is displayed in the encyclopedia page 801
  • hotspot information 808 and hotspot video 809 are displayed in the video display area 807 below the hotspot information module 806, and the number of comments related to the hotspot information 808 is displayed and information attribute information such as information release time, and display video attribute information such as video playback duration, video title, video playback times, and video release time of the hot video 809.
  • the second video entry control is displayed in the hotspot information module; in response to the trigger operation on the second video entry control, the hotspot details are displayed in a third display style page; hotspot information and videos of each hotspot are displayed on the hotspot details page.
  • the hotspot information module in order to display more content modules on the encyclopedia page, only one hot video with the highest popularity may be displayed in the hotspot information module.
  • the target video data determined for the hotspot information module is a plurality of hotspot videos
  • a second video entry control that can trigger the display of more hotspot videos can be set in the heat information module, such as the hotspot information module 806 shown in Figure 8
  • the second video entry control "All" 810 in .
  • the electronic device can display the hotspot details page in a third display style, and the display effect is as shown in FIG. 12 .
  • the electronic device 1200 displays a hotspot details page 1201 in the form of a floating page of the hotspot information module.
  • hotspot information 1202 On the hotspot details page 1201, hotspot information 1202 and its information attribute information are displayed.
  • an "expand" control may be displayed on the hotspot details page 1201 to control the display of more hotspot videos.
  • the target video data under any target first-level content module in the embodiments of the present disclosure are not repeated.
  • the video in the target video data can be set to play automatically, so it also needs to display a mute control and a pause control, so that the user can control the playback of the video as needed.
  • the method for determining encyclopedia information may be executed by an electronic device with relatively powerful computing capabilities.
  • the electronic equipment may include, but is not limited to, devices such as laptops, desktops, servers, and the like.
  • Fig. 13 shows a schematic flowchart of a method for determining encyclopedia information provided by an embodiment of the present disclosure. As shown in Figure 13, the encyclopedia information determination method may include the following steps:
  • the candidate entry is an encyclopedia entry that is a candidate for adding video data.
  • Candidate entries are pre-screened from entries included in the encyclopedia database.
  • the candidate entries may be selected from entries included in the encyclopedia database according to whether the entries have a video addition requirement. For example, in order to reduce the workload of screening and improve the coverage of entries, some words can be randomly extracted from entries with user interaction data (such as click rate, visits, etc.) under different vertical categories (also called domains). strip. Then, analyze whether each extracted entry has video requirements, such as manually roughly evaluating whether the video expression ability corresponding to the entry is better than the graphic expression ability, whether the entry has better video resources to undertake, etc. If the evaluation result is that there is a video demand, then this entry is determined as a candidate entry.
  • the search term is the search content used for the comprehensive search, which may be a candidate term, or may be composed of a candidate term and its corresponding key fields.
  • the electronic device determines each search word based on the candidate terms. If the search term is a candidate term, the electronic device directly determines the candidate term as the search term. If the search term is composed of candidate terms and their corresponding key fields, the electronic device first determines the corresponding key fields, and then constructs the search terms of the candidate terms from each candidate term and each corresponding key field.
  • the process of determining key fields corresponding to candidate entries is as follows: performing keyword extraction on module titles under each candidate entry, and determining each key field based on the extracted keywords.
  • the electronic device obtains the module titles of the first-level content modules contained under the candidate entry, and performs keyword extraction on these module titles. Then, the electronic device can directly determine these keywords as key fields of the candidate entry. The electronic device may also acquire synonyms, synonyms, etc. of each keyword, and then use the extracted keywords, acquired synonyms, acquired synonyms, etc. as key fields of the candidate entry.
  • first-level content modules may be all the first-level content modules contained in the candidate entry, or manually pre-selected from all the first-level content modules contained in the candidate entry with certain video requirements.
  • Level 1 content module may be all the first-level content modules contained in the candidate entry, or manually pre-selected from all the first-level content modules contained in the candidate entry with certain video requirements.
  • the electronic device may perform a comprehensive search on each search word of each candidate entry, and obtain its corresponding search result.
  • the electronic device can obtain the video result and its attribute information contained in the search result.
  • the electronic device may also directly read the search results corresponding to each search word of each candidate entry, and the video results and their attribute information in each search result from the storage medium.
  • the target entry is an encyclopedia entry determined to add video data.
  • the electronic device analyzes the attribute information of the video results contained in each search result of each candidate entry, and judges the corresponding search result according to whether the attribute information of the video results contained in the search results meets the set requirements Whether the candidate entry can be determined as the target entry.
  • a step of manual verification can also be added.
  • S1330 may be implemented according to different contents of the attribute information of the video results, that is, at least one of the number of video results, the ranking position of the video results in the search results, and the interaction data of the video results.
  • the candidate term is determined as the target term.
  • the preset quantity threshold is a preset quantity value.
  • the candidate term is determined as the target term.
  • the candidate term is determined as the target term.
  • the sorting position of any video result in the search results of any search word of the candidate entry is equal to or exceeds the preset position in the search result, such as the preset position is the sorting position is 5, then when the video When the ranking position of the result is in the top 5, the candidate entry can be determined as the target entry.
  • the candidate term is determined as the target term.
  • the candidate entry is determined as the target entry.
  • the video of the candidate entry in the process of determining the target entry with video requirements, can be judged by the attribute information of the video result contained in the search result of the search term corresponding to each candidate entry requirements, and then screen out target entries with video requirements from each candidate entry, avoiding the waste of resources and disturbing users caused by adding videos to entries without video requirements, and improving the efficiency of adding video entries Coverage, thereby improving the efficiency of users' consumption of entries and improving user experience.
  • the method for determining encyclopedia information further includes: based on the search results of multiple search words corresponding to each first-level content module under the target entry, attribute information of video results, from each first-level content module, Determine each target first-level content module under the target entry.
  • the search term is composed of the target entry and each key field associated with the first-level content module
  • the target first-level content module is a first-level content module that determines to add video data.
  • the electronic device determines at least one key field related to each first-level content module under the target entry, and the process of determining the key field can refer to S1310. Then, the electronic device constructs multiple keywords of the corresponding first-level content module according to the target entry and each key field corresponding to each first-level content module. Then, the electronic device obtains the search result corresponding to each keyword and the attribute information of the video result contained therein. Afterwards, for each first-level content module, if the electronic device determines that the attribute information of the video result contained in at least one search result corresponding to the first-level content module meets the set requirements (for the judgment process, please refer to the relevant content in 1330) , then the first-level content module is determined as the target first-level content module.
  • the method for determining encyclopedia information further includes: determining the target video result based on the attribute information of the video result in the search results of the search word associated with the target entry; degree of relevance, and determine the target first-level content module under the target entry.
  • the electronic device uses the target entry or a combination of the target entry and each key field as a search word associated with the target entry. Then, the electronic device acquires the search results corresponding to each search word and the attribute information of the video results contained therein. Then, the electronic device screens out the target from the video results corresponding to the target entry according to the attribute information of the video results contained in each search result to meet the set requirements (this judgment process can refer to the relevant content in 1330). Video results. Afterwards, the electronic device calculates the correlation between the video content of each target video result and the corresponding content of each first-level content module contained under the target entry, and obtains the correlation between each target video result and each first-level content module. Relevance degree, and determine the first-level content module corresponding to the relevancy degree that satisfies the set correlation degree threshold as the target first-level content module.
  • the method for determining encyclopedia information further includes: determining the correlation between each candidate video data and the combined text; based on the video quality and correlation of each candidate video data, selecting at least one from each candidate video data The candidate video data is used as the target video data added to the target first-level content module corresponding to the target entry.
  • the combined text includes the target entry and the module title of the target first-level content module.
  • the electronic device obtains a plurality of candidate video data in advance, for example, obtains video data from various authorized video platforms, or establishes a video database in advance, and obtains candidate video data from the video database. Moreover, the electronic device obtains the video quality of each candidate video data by using a quality assessment algorithm such as a neural network model or manually. After determining the target entry and the target first-level content module within it, the electronic device calculates the correlation between the content of each candidate video data and the combined text. Then, the electronic device determines each candidate video data whose relevance meets the preset relevance threshold and whose video quality meets the preset quality threshold as the target video data of the target first-level content module under the target entry. The quantity of the target video data may be one or more.
  • the electronic device adds the target video data to the target first-level content module in a data structure with a certain display style. This can ensure that the target video data displayed in the target first-level content module has a better correlation with it, and has higher video quality, avoids the addition of invalid video data and its interference to users, and further improves the impact of video data on target one.
  • the degree of assistance in understanding the entry content of the level content module thereby further improving the user's understanding efficiency of the entry content, and further improving user experience.
  • An embodiment of the present disclosure also provides an encyclopedia information display device, which can be configured in an electronic device.
  • the electronic equipment may include, but not limited to, devices such as smartphones, PDAs (Personal Digital Assistants), PADs (Tablet Computers), PMPs (Portable Multimedia Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), wearable devices, notebook computers, etc.
  • Mobile terminals, and fixed terminals such as digital TV, desktop computers, smart home devices, etc.
  • FIG. 14 shows a schematic structural diagram of an encyclopedia information display device provided by an embodiment of the present disclosure.
  • the encyclopedia information display device 1400 may include:
  • the encyclopedia page display module 1410 is used to display the encyclopedia page corresponding to the target entry; wherein, the target entry is based on the attribute information of the search results of the search terms associated with each candidate entry and the attribute information of the video result, and is screened from each candidate entry get;
  • the target video data display module 1420 is configured to display at least one target first-level content module on the encyclopedia page, and display target video data corresponding to the target entry in the target first-level content module.
  • At least one target first-level content module can be displayed in the encyclopedia page corresponding to the target entry, and target video data can be displayed in the target first-level content module, and the target entry is based on each candidate word
  • Candidate terms with video requirements are obtained from the attribute information of the video results in the search results of the associated search terms. Realized the display of relevant target video data under each target first-level content module in the encyclopedia page of the target entry with video requirements, which not only avoids the interference of video data to users, but also makes it easier and faster for users to combine videos Understanding the content of the entry improves the efficiency of the user's consumption of the entry, thereby improving the user experience.
  • the target first-level content module is determined from each first-level content module based on the search results of multiple search words corresponding to each first-level content module under the target entry, and the attribute information of the video result; wherein, The search term is composed of the target term and each key field associated with the first-level content module.
  • the target first-level content module is determined from each first-level content module based on the correlation between the target video result and each first-level content module; wherein, the target video result is based on the search term associated with the target term In the search results, the attribute information of the video results is determined.
  • the attribute information includes at least one of the number of video results, the ranking position of the video results in the search results, and the interaction data of the video results.
  • the target video data display module 1420 is specifically used for:
  • the target first-level content module contains the target second-level content module, display the target video data in the target second-level content module;
  • the target secondary content module is determined from each secondary content module based on the content matching degree between the target video data and each secondary content module contained in the target primary content module.
  • the target video data is screened from each candidate video data based on the correlation between each candidate video data and the combined text and the video quality of each candidate video data; wherein the combined text includes the target entry and The module title of the target first-level content module.
  • the target video data display module 1420 includes a single video display submodule for:
  • the background color of the video display area in the target first-level content module is determined based on the cover image of the single video
  • the target video data display module 1420 includes multiple video display submodules for:
  • the target video data is the first group of multiple videos, then display the first group of multiple videos in the first display style in the target first-level content module;
  • the first display style includes at least one of video collection cards, expandable video cards that slide to switch along the first setting direction, and overlay video cards that slide to switch along the second setting direction; the video collection cards display A video and collection tag from the first set of videos.
  • multiple video display submodules are specifically used for:
  • the target video card is displayed in the target first-level content module, and Display the target text content in the target first-level content module corresponding to the target video card; wherein, the target video card is a target expandable video card or a target overlay video card;
  • the encyclopedia information display device 1400 also includes an information switching display module for:
  • the switched video card After displaying the first group of multiple videos in the first display style in the target first-level content module, in response to the sliding switching operation on the target video card, the switched video card is displayed, and the target one corresponding to the switched video card is displayed. Toggled text content in a level content module.
  • the background color of the expandable video card, overlay video card, or video collection card is determined based on the cover image.
  • the encyclopedia information display device 1400 also includes a content detail page display module for:
  • the target video data is the first group of multiple videos, display the first group of multiple videos in the display style of video collection cards in the target first-level content module;
  • the content details page is displayed, and on the content details page, slide and switch each expandable video card along the first setting direction or along the second setting direction.
  • the display style of each overlay video card switched by directional sliding displays each video in the first group of multiple videos.
  • the target video data display module 1420 includes an encyclopedia video display submodule for:
  • the target first-level content module includes the video encyclopedia module
  • the second group of multiple videos corresponding to the target entry is displayed in the second display style in the video encyclopedia module;
  • the second group of multiple videos does not repeat the target video data displayed in other target first-level content modules, and other target first-level content modules are all target first-level content modules corresponding to the target entry except for the video encyclopedia module target first-level content module;
  • the second display style includes each expanded video card that is slid to switch along the first set direction or each overlay video card that is slid to switch along the second set direction;
  • Each video card contains a video type label, and each video card contains at least one video collection card; the video collection card displays one video, the collection label and the number of videos in the third group of multiple videos, and the third group of multiple videos is a subset of the second group of multiple videos.
  • the encyclopedia information display device 1400 also includes a video summary page display module for:
  • Each video corresponding to the collection tag is displayed on the video summary page.
  • the encyclopedia information display device 1400 also has a video sliding switching display module, which is used for:
  • the next overlay video card of the target overlay video card in the direction opposite to the second set direction is displayed.
  • the encyclopedia information display device 1400 shown in FIG. 14 can execute each step in the method embodiment shown in FIG. 1 to FIG. 12 , and realize each process in the method embodiment shown in FIG. 1 to FIG. 12 and effects, which will not be described here.
  • An embodiment of the present disclosure also provides an apparatus for determining encyclopedia information, and the apparatus for determining encyclopedia information may be configured in an electronic device.
  • the electronic equipment may include, but is not limited to, devices such as laptops, desktops, servers, and the like.
  • Fig. 15 shows a schematic structural diagram of an apparatus for determining encyclopedia information provided by an embodiment of the present disclosure.
  • the device 1500 for determining encyclopedia information may include:
  • the search word determination module 1510 is used to determine the search words associated with each candidate entry; wherein, the candidate entry is an encyclopedia entry for adding video data as a candidate;
  • the search result obtaining module 1520 is used to obtain the search results corresponding to each search word and the attribute information of the video results in the search results;
  • the target entry determination module 1530 is used to determine the target entry from each candidate entry based on the attribute information of the video result corresponding to each search term of each candidate entry; wherein, the target entry is to determine the encyclopedia of adding video data entry.
  • the video requirements of the candidate entries can be judged through the attribute information of the video results contained in the search results of the search terms corresponding to each candidate entry , and then screen out the target entries with video requirements from each candidate entry, avoiding the waste of resources and disturbing users caused by adding videos to entries without video requirements, and improving the coverage of entries with added videos degree, so as to improve the efficiency of users' consumption of entries and enhance the user experience.
  • the target entry determining module 1530 is specifically configured to determine the target entry in at least one of the following ways:
  • the candidate term is determined as the target term
  • the candidate term is determined as the target term
  • the candidate term is determined as the target term.
  • the encyclopedia information determining device 1500 also includes a target first-level content module determining module for:
  • the search Based on the attribute information of the video results corresponding to each search term of each candidate term, after determining the target term from each candidate term, the search based on multiple search terms corresponding to each first-level content module under the target term In the result, the attribute information of the video result, from each first-level content module, determine each target first-level content module under the target entry;
  • the search term is composed of the target entry and each key field associated with the first-level content module
  • the target first-level content module is a first-level content module that determines to add video data.
  • the target first-level content module determination module is also used for:
  • the target first-level content module under the target entry is determined.
  • the encyclopedia information determining device 1500 also includes a key field determining module for:
  • Keyword extraction is performed on the module titles of each first-level content module under each candidate entry, and each key field is determined based on the extracted keywords.
  • the encyclopedia information determining device 1500 also includes a target video data determining module for:
  • At least one candidate video data is selected from each candidate video data as the target video data added to the target first-level content module corresponding to the target entry.
  • the device 1500 for determining encyclopedia information shown in FIG. 15 can execute each step in the method embodiment shown in FIG. 13 , and realize each process and effect in the method embodiment shown in FIG. 13 . Do repeat.
  • An embodiment of the present disclosure also provides an electronic device, which may include a processor and a memory, and the memory may be used to store executable instructions.
  • the processor may be configured to read executable instructions from the memory, and execute the executable instructions to implement the method for displaying encyclopedia information or the method for determining encyclopedia information in any of the above embodiments.
  • Fig. 16 shows a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.
  • the electronic device 1600 shown in FIG. 16 is only an example, and should not limit the functions and scope of use of the embodiments of the present disclosure.
  • the electronic device 1600 may include a processing unit (such as a central processing unit, a graphics processing unit, etc.) 1601, which may be stored in a read-only memory (ROM) 1602 or loaded into a random Various appropriate actions and processes are executed by accessing programs in the memory (RAM) 1603 . In the RAM 1603, various programs and data necessary for the operation of the information processing device 1600 are also stored.
  • the processing device 1601, ROM 1602, and RAM 1603 are connected to each other through a bus 1604.
  • An input/output interface (I/O interface) 1605 is also connected to the bus 1604 .
  • the following devices can be connected to the I/O interface 1605: input devices 1606 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a liquid crystal display (LCD), speaker, vibration an output device 1607 such as a computer; a storage device 1608 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1609.
  • the communication means 1609 may allow the electronic device 1600 to perform wireless or wired communication with other devices to exchange data. While FIG. 16 shows electronic device 1600 having various means, it is to be understood that implementing or having all of the means shown is not a requirement. More or fewer means may alternatively be implemented or provided.
  • An embodiment of the present disclosure also provides a computer-readable storage medium, the storage medium stores a computer program, and when the computer program is executed by a processor, the processor implements the encyclopedia information display method or the encyclopedia information determination method in any of the above-mentioned embodiments method.
  • embodiments of the present disclosure include a computer program product, which includes a computer program carried on a non-transitory computer readable medium, where the computer program includes program code for executing the method shown in the flowchart.
  • the computer program may be downloaded and installed from a network via communication means 1609, or from storage means 1608, or from ROM 1602.
  • the processing device 1601 When the computer program is executed by the processing device 1601, the above-mentioned functions defined in the method for displaying encyclopedia information or the method for determining encyclopedia information in any embodiment of the present disclosure are executed.
  • the above-mentioned computer-readable medium in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two.
  • a computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave carrying computer-readable program code therein. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, and the computer-readable signal medium may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device .
  • Program code embodied on a computer readable medium may be transmitted by any appropriate medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
  • clients and servers can communicate using any currently known or future developed network protocol, such as HTTP, and can be interconnected with any form or medium of digital data communication (eg, a communication network).
  • a communication network examples include local area networks (“LANs”), wide area networks (“WANs”), internetworks (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network of.
  • LANs local area networks
  • WANs wide area networks
  • Internet internetworks
  • peer-to-peer networks e.g., ad hoc peer-to-peer networks
  • the above-mentioned computer-readable medium may be included in the above-mentioned electronic device, or may exist independently without being incorporated into the electronic device.
  • the above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the electronic device, the electronic device is made to execute the method for displaying encyclopedia information or the method for determining encyclopedia information described in any embodiment of the present disclosure. step.
  • computer program codes for performing the operations of the present disclosure may be written in one or more programming languages or combinations thereof, including but not limited to object-oriented programming languages—such as Java, Smalltalk, C++, and also conventional procedural programming languages—such as "C" or similar programming languages.
  • the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server.
  • the remote computer can be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as through an Internet service provider). Internet connection).
  • LAN local area network
  • WAN wide area network
  • Internet service provider such as AT&T, MCI, Sprint, EarthLink, MSN, GTE, etc.
  • each block in a flowchart or block diagram may represent a module, program segment, or portion of code that contains one or more logical functions for implementing specified executable instructions.
  • the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved.
  • each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations can be implemented by a dedicated hardware-based system that performs the specified functions or operations , or may be implemented by a combination of dedicated hardware and computer instructions.
  • the units involved in the embodiments described in the present disclosure may be implemented by software or by hardware. Wherein, the name of a unit does not constitute a limitation of the unit itself under certain circumstances.
  • FPGAs Field Programmable Gate Arrays
  • ASICs Application Specific Integrated Circuits
  • ASSPs Application Specific Standard Products
  • SOCs System on Chips
  • CPLD Complex Programmable Logical device
  • a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device.
  • a machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
  • a machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing.
  • machine-readable storage media would include one or more wire-based electrical connections, portable computer discs, hard drives, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.
  • RAM random access memory
  • ROM read only memory
  • EPROM or flash memory erasable programmable read only memory
  • CD-ROM compact disk read only memory
  • magnetic storage or any suitable combination of the foregoing.

Abstract

本公开涉及一种百科信息确定方法、显示方法、装置、设备和介质。其中,百科信息显示方法包括:展示目标词条对应的百科页面;其中,所述目标词条是基于各候选词条关联的搜索词的搜索结果中、视频结果的属性信息,从各所述候选词条中筛选得到;在所述百科页面中显示至少一个目标一级内容模块,并在所述目标一级内容模块中显示所述目标词条对应的目标视频数据。根据本公开实施例,能够在具有视频需求的目标词条的百科页面中的各目标一级内容模块下显示相关的目标视频数据,既避免了视频数据对用户的干扰,又使得用户结合视频更加容易、更加快速地理解词条内容,提高了对词条的消费效率。

Description

百科信息确定方法、显示方法、装置、设备和介质
相关申请的交叉引用
本申请基于申请号为202111241322.1、申请日为2021年10月25日,名称为“百科信息确定方法、显示方法、装置、设备和介质”的中国专利申请提出,并要求该中国专利申请的优先权,上述中国专利申请的公开内容全文以引入方式并入本文。
技术领域
本公开涉及信息处理技术领域,尤其涉及一种百科信息确定方法、显示方法、装置、设备和介质。
背景技术
为了便于人们从互联网获取知识,出现了诸多百科产品。这些百科产品中主要是以图文的形式展示百科词条的相关内容。
目前,有百科产品在某些词条中添加了视频,以降低用户对词条的理解难度、丰富词条内容等。
但是,这些添加视频的词条具有很大的局限性。例如,这些词条的数量较少,无法很好地覆盖有视频需求的词条;又如,这些词条并不是有视频需求的词条,既浪费资源又影响用户对词条的消费效率。
发明内容
为了解决上述技术问题或者至少部分地解决上述技术问题,本公开提供了一种百科信息确定方法、显示方法、装置、设备和介质。
第一方面,本公开提供了一种百科信息显示方法,该方法包括:
展示目标词条对应的百科页面;其中,所述目标词条是基于各候选词条关联的搜索词的搜索结果中、视频结果的属性信息,从各所述候选词条中筛选得到;
在所述百科页面中显示至少一个目标一级内容模块,并在所述目标一级内容模块中显示所述目标词条对应的目标视频数据。
第二方面,本公开还提供了一种百科信息确定方法,该方法包括:
确定各候选词条关联的搜索词;其中,所述候选词条为候选添加视频数据的百科词条;
获取每个所述搜索词对应的搜索结果和所述搜索结果中视频结果的属性信息;
基于每个所述候选词条的各所述搜索词对应的所述视频结果的所述属性信息,从各所述候选词条中确定目标词条;其中,所述目标词条为确定添加视频数据的百科词条。
第三方面,本公开还提供了一种百科信息显示装置,该装置包括:
百科页面展示模块,用于展示目标词条对应的百科页面;其中,所述目标词条是基于各候选词条关联的搜索词的搜索结果中、视频结果的属性信息,从各所述候选词条中筛选得到;
目标视频数据显示模块,用于在所述百科页面中显示至少一个目标一级内容模块,并在所述目标一级内容模块中显示所述目标词条对应的目标视频数据。
第四方面,本公开还提高了一种百科信息确定装置,该装置包括:
搜索词确定模块,用于确定各候选词条关联的搜索词;其中,所述候选词条为候选添加视频数据的百科词条;
搜索结果获取模块,用于获取每个所述搜索词对应的搜索结果和所述搜索结果中视频结果的属性信息;
目标词条确定模块,用于基于每个所述候选词条的各所述搜索词对应的所述视频结果的所述属性信息,从各所述候选词条中确定目标词条;其中,所述目标词条为确定添加视频数据的百科词条。
第五方面,本公开还提供了一种电子设备,该电子设备包括:
处理器;
存储器,用于存储可执行指令;
其中,处理器用于从存储器中读取可执行指令,并执行可执行指令以实现本公开任意实施例所说明的百科信息显示方法或百科信息确定方法。
第六方面,本公开还提供了一种计算机可读存储介质,该存储介质存储有计算机程序,当计算机程序被处理器执行时,使得处理器实现本公开任意实施例所说明的百科信息显示方法或百科信息确定方法。
本公开实施例的百科信息显示方案,能够在目标词条对应的百科页面中显示至少一个目标一级内容模块,并在该目标一级内容模块中显示目标视频数据,且该目标词条是根据各候选词条关联的搜索词的搜索结果中的视频结果的属性信息而得到的具有视频需求的候选词条。实现了在具有视频需求的目标词条的百科页面中的各目标一级内容模块下显示相关的目标视频数据,既避免了视频数据对用户的干扰,又使得用户结合视频更加容易、更加快速地理解词条内容,提高了用户对词条的消费效率,从而提升用户体验。
本公开实施例的百科信息确定方案,能够在确定具有视频需求的目标词条的过程中,通过每个候选词条对应的搜索词的搜索结果中包含的视频结果的属性信息来判断候选词条的视频需求,进而从各候选词条中筛选出具有视频需求的目标词条,避免了向无视频需求的词条中添加视频而导致的资源浪费和干扰用户的问题,提高了添加视频的词条的覆盖度,从而提升用户对词条的消费效率,提升用户体验。
附图说明
结合附图并参考以下具体实施方式,本公开各实施例的上述和其他特征、优点及方面将变得更加明显。贯穿附图中,相同或相似的附图标记表示相同或相似的元素。应当理解附图是示意性的,原件和元素不一定按照比例绘制。
图1为本公开实施例提供的一种百科信息显示方法的流程示意图;
图2为本公开实施例提供的一种百科页面的显示示意图;
图3为本公开实施例提供的另一种百科页面的显示示意图;
图4为本公开实施例提供的又一种百科页面的显示示意图;
图5为本公开实施例提供的又一种百科页面的显示示意图;
图6为本公开实施例提供的又一种百科页面的显示示意图;
图7为本公开实施例提供的一种内容详情页面的显示示意图;
图8为本公开实施例提供的又一种百科页面的显示示意图;
图9为本公开实施例提供的一种视频百科详情页面或视频汇总页面的显示示意图;
图10为本公开实施例提供的又一种百科页面的显示示意图;
图11为本公开实施例提供的又一种百科页面的显示示意图;
图12为本公开实施例提供的一种热点详情页面的显示示意图;
图13为本公开实施例提供的一种百科信息确定方法的流程示意图;
图14为本公开实施例提供的一种百科信息显示装置的结构示意图;
图15为本公开实施例提供的一种百科信息确定装置的结构示意图;
图16为本公开实施例提供的一种电子设备的结构示意图。
具体实施方式
下面将参照附图更详细地描述本公开的实施例。虽然附图中显示了本公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。
应当理解,本公开的方法实施方式中记载的各个步骤可以按照不同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。
本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。
需要注意,本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。
需要注意,本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。
本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。
目前,在一些百科产品中的某些词条中增加了视频数据,以供用户在阅读该词条内容时一并查看视频数据,以期提高用户对词条内容的理解效率。但是,添加视频数据的词条的覆盖率比较低,使得很多词条仍然存在图文理解较慢、较难的问题。另外,添加了视频数据的词条有可能并不是用户需求查看视频数据的词条,反而对用户阅读词条内容造成了一定的干扰,既造成用户流量数据的浪费,又降低了用户对词条的消费效率,使得用户体验较差。
基于上述情况,本公开实施例提供一种百科信息显示方法、确定方法、装置、设备和介质,以通过候选词条对应的搜索词的搜索结果中包含的视频结果的属性信息来判断该候选词条是否有添加视频数据的需求(简称视频需求),实现从各候选词条中筛选出有视频需求的各目标词条和目标词条的显示,从而既提高目标词条的覆盖率,解决词条图文难理解的问题,从而提高用户对词条内容的理解效率,又降低视频数据对用户的干扰,提高用户对词条内容的消费效率,从而提升用户体验。
下面结合图1-12对本公开实施例提供的百科信息显示方法进行说明。
在本公开实施例中,该百科信息显示方法可以由具有显示功能的电子设备执行。该电子设备可以包括但不限于诸如智能手机、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)、可穿戴设备、笔记本电脑等的移动终端,以及诸如数字电视TV、台式计算机、智能家居设备等的固定终端。
图1示出了本公开实施例提供的一种百科信息显示方法的流程示意图。如图1所示,该百科信息显示方法可以包括如下步骤:
S110、展示目标词条对应的百科页面;该目标词条是基于各候选词条关联的搜索词的搜索结果中、视频结果的属性信息,从各候选词条中筛选得到。
其中,目标词条是确定添加视频数据的百科词条。候选词条是可能/候选添加视频数据的百科词条。搜索词是用于进行综合搜索的搜索内容,其可以是候选词条,也可以是由候选词条及其对应的关键字段构成。该关键字段是预先确定的字段。视频结果是搜索结果中的纯视频内容,即视频结果中只包含视频、而不包含图片和文本等非视频形式的内容。
属性信息是指视频结果的属性相关信息,其能够反映用户对视频结果的消费情况,即反映视频结果的用户需求程度。
可选地,属性信息包括视频结果的数量、视频结果在搜索结果中的排序位置和视频结果的交互数据中的至少一种。某一搜索结果中包含的视频结果的数量越多、视频结果在搜索结果中的排序位置越靠前、视频结果的交互数据越多,均可表明该搜索结果对应的搜索词的视频需求越高,相应候选词条的视频需求越高。上述排序位置是指视频结果在搜索结果中的排列顺序,例如搜索结果中包含10条内容,视频结果为其中的第3条内容,那么该视频结果的排序位置便为3。上述交互数据是指用户对该视频结果进行交互所产生的数据,例如可以是点击率、浏览时长、分享次数、评论数量、点赞数量等。
具体地,服务端预先从各候选词条中筛选出具有视频需求的目标词条。该目标词条的筛选过程是服务端先获取各候选词条关联的至少一个搜索词,然后对每个搜索词进行综合搜索得到其对应的搜索结果,之后分析每个搜索结果中包含的视频结果的属性信息。如果某个搜索结果中包含的视频结果的属性信息满足设定的要求,那么该搜索结果对应的候选词条属于具有视频需求的词条,则将该候选词条确定为目标词条。
当用户对目标词条执行了触发操作时,电子设备响应于对目标词条的该触发操作,会展示该目标词条对应的百科页面,以在该百科页面中显示该目标词条的相关内容。
在一些实施例中,用户可以通过在百科应用程序或者特定网站所提供的搜索功能控件(如搜索框)内输入目标词条对应的文本、语音和图像等任一形式的信息,触发电子设备对目标词条进行搜索来获得并展示目标词条对应的百科页面。
在另一些实施例中,目标词条以搜索页面中的搜索推荐词、搜索结果页面中的搜索内容相关推荐词等推荐信息的形式呈现,用户可以对这些含目标词条的推荐信息进行触发(如点击、语音控制触发、眼动控制触发等形式),使得电子设备响应于该触发操作来搜索目标词条以获得并展示目标词条对应的百科页面。
在又一些实施例中,目标词条以词条链接的形式嵌入文章、网页或其他词条的百科内容等文本载体中,用户可以在这些文本载体的展示页面中触发(如点击、语音控制触发、眼动控制触发等形式)该目标词条,使得电子设备响应于该触发操作而跳转至目标词条对应的百科页面并展示。
S120、在百科页面中显示至少一个目标一级内容模块,并在目标一级内容模块中显示目标词条对应的目标视频数据。
其中,一级内容模块是指在词条的根目录下直接创建的内容模块。目标一级内容模块是指确定添加视频数据的一级内容模块。目标一级内容模块是从目标词条包含的各一级内容模块中筛选出来的、具有视频需求的一级内容模块。
在一些实施例中,目标一级内容模块基于目标词条下的各一级内容模块对应的多个搜索词的搜索结果中、视频结果的属性信息,从各一级内容模块中确定。其中,搜索词由目标词条和一级内容模块关联的各关键字段构成。该实施例中,服务端预先为目标词条下的每个一级内容模块确定其相关的至少一个关键字段,并由目标词条和每个一级内容模块对应的各关键字段来构建相应一级内容模块的多个关键词。然后,服务端对每个关键词进行搜索,得到相应关键词对应的搜索结果。这样,每个一级内容模块对应有与其关键词同样数量的多个搜索结果。之后,针对每个一级内容模块,服务端如果确定其对应的至少一个搜索结果中包含的视频结果的属性信息满足设定的要求,那么就将该一级内容模块确定为目标一级内容模块。
在另一些实施例中,目标一级内容模块基于目标视频结果与各一级内容模块之间的相关度,从各一级内容模块中确定。其中,目标视频结果基于目标词条关联的搜索词的搜索结果中、视频结果的属性信息来确定。该实施例中,服务端将目标词条或目标词条与各关键字段的组合词作为目标词条关联的搜索词。然后,服务端对每个搜索词进行搜索,得到其对应的搜索结果。再然后,服务端根据各搜索结果中包含的视频结果的属性信息满足设定的要求的条件,从目标词条对应的各视频结果中筛选出目标视频结果。之后,服务端计算所得的各目标视频结果的视频内容与目标词条下包含的各一级内容模块对应内容之间的相关度,得到每个目标视频结果与每个一级内容模块之间的相关度,并将满足设定的相关度阈值的相关度对应的一级内容模块确定为目标一级内容模块。
目标视频数据是与目标一级内容模块中的内容具有相关性、且已筛选出添加至目标一级内容模块中的视频数据。
在一些实施例中,目标视频数据基于各候选视频数据与组合文本之间的相关度、以及各候选视频数据的视频质量,从各候选视频数据中筛选得到。这里的组合文本包含目标词条和目标一级内容模块的模块标题。该实施例中,服务端会预先获得多个候选视频数据,例如从各种授权的视频平台中获取视频数据,或者预先建立视频数据库,并且利用诸如神经网络模型等质量评估算法或人工的方式获得每个候选视频数据的视频质量。在确定了目标词条及其内的目标一级内容模块后,服务端计算每个候选视频数据的内容与组合文本之间的相关度。然后,服务端将相关度满足预设的相关度阈值、且视频质量满足预设的质量阈值的各候选视频数据,确定为该目标词条下的该目标一级内容模块的目标视频数据。该目标视频数据的数量可以是一个或多个。之后,服务端将目标视频数据以一定的显示样式的数据结构添加至目标一级内容模块。这样可以确保目标一级内容模块中显示的目标视频数据与其具有较好的相关性,且具有较高的视频质量,避免无效视频数据的添加及其对用户的干扰,进一步提高视频数据对目标一级内容模块的词条内容的理解辅助程度,从而进一步提高用户对词条内容的理解效率,进而进一步提高用户体验。
具体地,根据上述说明,服务端会预先从目标词条下的各一级内容模块中选出目标一级内容模块,并为其添加相关的目标视频数据。所以,电子设备在展示百科页面后,会在百科页面中显示该目标词条下的各目标一级内容模块,并在每个目标一级内容模块下,以一定的显示样式显示其关联的各目标视频数据。
在一些实施例中,可以将该目标视频数据直接以一定的显示样式显示在目标一级内容模块下方的一定区域中。
如图2所示,电子设备200中展示目标词条“第二次世界大战”的百科页面201,在百科页面201的目标一级内容模块“主要战役”202下方的视频显示区域203中直接显示有多个目标视频数据204。
这里的视频显示区域是预先确定的显示目标视频数据的区域,其可依据业务需求而设置。例如,为可以将视频显示区域设置为目标一级内容模块的模块标题下方的紧邻的区域,这样可以使得用户较图文内容更早地看到视频内容,从而更加快速地了解相关内容模块的词条内容,进一步提高用户对词条的消费效率。
在另一些实施例中,若目标一级内容模块中包含目标二级内容模块,则在目标二级内容模块中显示目标视频数据。
其中,二级内容模块是指在一级内容模块下直接创建的内容模块,其相对于目标词条的根目录而言是第二层次的内容模块。目标二级内容模块是从目标一级内容模块包含的各二级内容模块中筛选出来的、具有视频需求的二级内容模块。
示例性地,目标二级内容模块基于目标视频数据与目标一级内容模块中包含的各二级内容模块之间的内容匹配度,从各二级内容模块中确定。服务端确定出目标一级内容模块及其对应的目标视频数据后,若判断目标一级内容模块包含多个二级内容模块,则会进一步计算该目标视频数据的内容与每 个二级内容模块的内容之间的匹配度,并将匹配度排序最高的二级内容模块确定为目标二级内容模块,以避免该目标一级内容模块下的各二级内容模块中出现重复的视频数据,进一步提高用户体验。
具体地,如果服务端确定了目标一级内容模块中的目标二级内容模块,那么电子设备会以一定的显示样式将该目标视频数据显示在该目标二级内容模块下方的视频显示区域内。这样可以将目标视频数据展示在与其内容更为接近的位置,便于用户就近查看,进一步提高用户对词条内容的消费效率。应当理解的是,这里的视频显示区域可以是目标二级内容模块的模块标题下方的紧邻的区域。
继续参见图2,在目标一级内容模块“战争背景”205下显示有目标二级内容模块“一战祸因”206,那么在目标二级内容模块“一战祸因”206下方的视频显示区域207中显示目标视频数据208。
本公开实施例提供的上述百科信息显示方案,能够在目标词条对应的百科页面中显示至少一个目标一级内容模块,并在该目标一级内容模块中显示目标视频数据,且该目标词条是根据各候选词条关联的搜索词的搜索结果中的视频结果的属性信息而得到的具有视频需求的候选词条。实现了在具有视频需求的目标词条的百科页面中的各目标一级内容模块下显示相关的目标视频数据,既避免了视频数据对用户的干扰,又使得用户结合视频更加容易、更加快速地理解词条内容,提高了用户对词条的消费效率,从而提升用户体验。
在本公开提供的一种实施方式中,为目标词条的目标一级内容模块确定出的目标视频数据为单条视频,那么在该目标一级内容模块下显示该单条视频。
在一些实施例中,在目标一级内容模块中显示目标词条对应的目标视频数据包括:基于单条视频的封面图像确定目标一级内容模块中视频显示区域的背景颜色;基于背景颜色渲染视频显示区域,并在视频显示区域显示单条视频。
其中,封面图像是指视频处于未播放状态时呈现的静态图像,其可以是视频中的一帧图像,例如可以是视频开始的第一帧图像,也可以是最能反映视频内容的一帧图像。
具体地,电子设备将确定的单条视频显示在目标一级内容模块或目标二级内容模块的下方的设定的视频显示区域中。如图2所示,对于目标二级内容模块“一战祸因”206,其对应的目标视频数据208为单条视频,则在目标二级内容模块“一战祸因”206下方的视频显示区域207中显示该单条视频。
为了使得视频显示区域的颜色更加丰富且协调,可以根据单条视频的封面图像的颜色信息来确定视频显示区域的背景颜色。例如,从封面图像中随机选择一个颜色作为背景颜色;再如,先确定封面图像的颜色主色调,再将颜色主色调作为背景颜色,或将颜色主色调的相近颜色确定为背景颜色。然后,电子设备利用确定的背景颜色渲染视频显示区域的背景区域,并将单条视频显示在该设定的视频显示区域中。如图2所示,电子设备200根据单条视频的封面图像确定背景颜色(以灰色填充示例),并用其渲染目标二级内容模块“一战祸因”206下方的视频显示区域207。
另外,电子设备除了在视频显示区域中显示单条视频本身之外,还可以显示有视频标题、视频播放次数、视频播放时长、视频发布者、视频发布时间等视频属性信息。视频属性信息可以叠加显示在单条视频中。例如,图2中目标视频数据208中的视频播放次数“5623次播放”和视频播放时长“05:30”叠加显示在单条视频中。视频属性信息也可以独立于单条视频而显示在视频显示区域中除了视频占据区域之外的其他区域中。例如,图2中目标视频数据208中的视频标题“第二次世界大战为什么会爆发,一战后的德日意在做什么”、视频发布时间“3天前”和视频发布者“***发布”均显示在视频显示区域207的其他区域中。
在一些实施例中,目标一级内容模块包含词条简介模块,则在百科页面的顶部区域显示词条简介模块,并在词条简介模块中显示目标词条对应的简介类视频数据。
其中,词条简介模块是用于展示总述性地、简略地介绍词条整体内容的模块。为便于用户快速查看,词条简介模块设置在百科页面的顶部区域。简介类视频数据是指总述性地、简略地介绍词条整体内容的视频数据。示例性地,简介类视频数据包含一条简介类视频、视频标题和视频播放时长。
具体地,当目标一级内容模块中包含词条简介模块时,可以为该词条简介模块确定目标视频数据,即简介类视频数据。电子设备则在百科页面中显示该词条简介模块及其中的简介类视频数据。
如图3所示,电子设备300中展示目标词条“第二次世界大战”的百科页面301,在百科页面301的顶部区域302中显示有词条简介模块中的简介类视频数据303。该简介类视频数据303中显示有单条简介类视频,以及叠加在该简介类视频中的视频标题“快速了解第二次世界大战”和视频播放时长“05:30”。用户可以通过触发简介类视频的播放控件来触发播放该简介类视频。为了不影响用户观看视频内容,可以在视频播放一定时长后隐藏视频标题和视频播放时长。
在本公开提供的另一种实施方式中,为目标词条的目标一级内容模块确定出的目标视频数据为多条视频,那么在该目标一级内容模块下以一定的显示样式显示该多条视频。
在一些实施例中,若目标视频数据为第一组多条视频,则在目标一级内容模块中以第一显示样式显示第一组多条视频。
其中,第一组多条视频是指预先确定出的多条视频,其对应于同一目标一级内容模块。第一显示样式是预先设置的视频显示样式。示例性地,第一显示样式包含视频集合卡片、沿第一设定方向滑动切换的各展开式视频卡片和沿第二设定方向滑动切换的各覆盖式视频卡片中的至少一种。
具体地,目标视频数据为第一组多条视频时,其显示在目标一级内容模块下的显示方式可以是多样的。例如,可以沿着目标词条下的各内容模块的排列方向,将第一组多条视频逐条排列显示。用户可以沿着排列方向双向滑动百科页面,来查看各视频。但是,为了缩小第一组多条视频所占据的视频显示区域的面积,尽量在百科页面中展示更多的词条内容,本公开实施例中按照第一显示样式显示第一组多条视频。
在一示例中,第一显示样式为视频集合卡片。视频集合卡片是指向多条视频的一张视频卡片,其只显示多条视频中的一条视频,且显示表征该视频卡片对应有多条视频的集合标签。示例性地,视频集合卡片的背景颜色基于封面图像确定。即如果视频集合卡片中视频未占据所有的卡片显示区域,那么可以根据视频集合卡片的封面图像来确定视频集合卡片的背景颜色,并利用该背景颜色渲染视频集合卡片的背景区域并显示。
如图4所示,电子设备400中展示目标词条“XX博”的百科页面401,在百科页面401中显示有目标一级内容模块“个人作品”402,在该目标一级内容模块“个人作品”402下方的视频显示区域403中显示有视频集合卡片404。该视频集合卡片404中只显示了第一组多条视频中的一条视频,如图4中视频标题为“xx博的《**》歌曲打动人心”的视频。并且,视频集合卡片404的某一区域(图4以视频左上角区域示例)中还显示有集合标签“集合”,以提示用户该视频集合卡片404中包含多条视频。另外,还可在视频集合卡片404的某一区域(图4以视频右下方区域示例)中显示该视频结合卡片404中包含的视频的数量“5个视频”。此外,还可在视频集合卡片404的某一区域(图4以视频右下方区域示例)中显示上述一条视频的视频播放次数和视频播放时长等视频属性信息。
在另一示例中,第一显示样式可以是沿第一设定方向滑动切换的各展开式视频卡片。第一设定方向是预先确定的滑动方向,其可以是与百科页面中各内容模块的排列方向相同的方向,如电子设备的长边方向;也可以是与上述排列方向垂直的方向,如电子设备的短边方向。展开式视频卡片是指视频卡片中可看到整个视频的封面图像。示例性地,展开式视频卡片的背景颜色基于封面图像确定。即如果展开式视频卡片中视频未占据所有的卡片显示区域,那么可以根据展开式视频卡片的封面图像来确定展开式视频卡片的背景颜色,并利用该背景颜色渲染展开式视频卡片的背景区域并显示。
如图5所示,电子设备500中展示目标词条“第二次世界大战”的百科页面501,在百科页面501中显示有目标一级内容模块“主要战役”502,在该目标一级内容模块“主要战役”502下方的视频显示区域503中显示有可以沿电子设备500的短边方向左右滑动切换的各展开式视频卡片504。同样地,每个展开式视频卡片504中均可显示视频标题、视频播放次数、视频播放时长、视频发布时间等视频属性信息。
另外,在百科页面502中还显示有目标一级内容模块“主要战役”502包含的目标二级内容模块“阿拉曼战役”505,在该目标二级内容模块“阿拉曼战役”505下方的视频显示区域506中显示有可以沿电子设备500的长边方向上下滑动切换的各展开式视频卡片507。同样地,每个展开式视频卡片507中均可显示视频标题、视频播放次数、视频播放时长、视频发布时间等视频属性信息。
在又一示例中,第一显示样式可以是沿第二设定方向滑动切换的各覆盖式视频卡片。第二设定方向是预先确定的滑动方向,其可以是与百科页面中各内容模块的排列方向相同的方向,如电子设备的长边方向;也可以是与上述排列方向垂直的方向,如电子设备的短边方向。覆盖式视频卡片是指视频卡片可以被遮盖一部分区域,而只显示未被遮盖的部分区域。多个覆盖式视频卡片中同一时间只能完整显示一个覆盖式视频卡片的封面图像,其他各覆盖式视频卡片只能堆叠地显示部分封面图像。示例性地,覆盖式视频卡片的背景颜色基于封面图像确定。即如果覆盖式视频卡片中视频未占据所有的卡片显示区域,那么可以根据覆盖式视频卡片的封面图像来确定覆盖式视频卡片的背景颜色,并利用该背景颜色渲染覆盖式视频卡片的背景区域并显示。
如图6所示,电子设备600中展示目标词条“XX博”的百科页面601,在百科页面601中显示有目标一级内容模块“个人作品”602,在该目标一级内容模块“个人作品”602下方的视频显示区域603中显示有可以沿电子设备600的短边方向左右滑动切换的各覆盖式视频卡片604。同样地,每个覆盖式视频卡片604中均可显示视频标题、视频播放次数、视频播放时长、视频发布时间等视频属性信息。
在一些实施例中,存在某一目标一级内容模块或目标二级内容模块下的词条内容较多而未全部显示在百科页面中的情况,此时可以显示部分词条内容,以使百科页面中显示更多的内容模块,同时为上述目标一级内容模块或目标二级内容模块设置触发显示全部词条内容的内容详情显示控件。该情况下,如果目标视频数据为第一组多条视频,那么可以在目标一级内容模块或其下的或目标二级内容模块中以视频集合卡片的显示样式显示该第一组多条视频,如图4中的视频集合卡片404所示。同时,在该目标一级内容模块或其下的或目标二级内容模块中还显示有内容详情显示控件。如图4,在目标一级内容模块“个人作品”402的词条内容的结尾区域显示“查看全文”405。
当用户对内容详情显示控件执行触发操作后,电子设备响应于该触发操作,以跳转新页面或悬浮页面的形式来显示内容详情页面。在该内容详情页面中显示该目标一级内容模块或目标二级内容模块下的完整的词条内容,且在该内容详情页面中以沿第一设定方向滑动切换的各展开式视频卡片或沿第二设定方向滑动切换的各覆盖式视频卡片的显示样式显示第一组多条视频中的各视频。
继续参见图4,当用户点击“查看全文”405后,电子设备400跳转至内容详情页面,其显示效果及显示内容见图7。如图7所示,电子设备700中显示有目标一级内容模块“个人作品”对应的内容详情页面701。在该内容详情页面701中的视频显示区域702中显示有可以沿电子设备700的短边方向左右滑动切换的各展开式视频卡片703,即目标一级内容模块“个人作品”对应的第一组多条视频中的各视频。在视频显示区域702的下方区域中显示有目标一级内容模块“个人作品”对应的完整的词条内容704。
在一些实施例中,目标一级内容模块包含视频百科模块,则上述在目标一级内容模块中显示目标词条对应的目标视频数据可实现为:在视频百科模块中以第二显示样式显示目标词条对应的第二组多条视频。
其中,视频百科模块是指仅包含视频数据的内容模块。第二显示样式是指预先设置的视频显示样式,其可以与第一显示样式相同、重复或不同。第二组多条视频是指预先确定出的多条视频,其对应于同一目标一级内容模块。为了进一步提高百科页面中视频数据的丰富程度及其对用户理解词条内容的辅助作用,本公开实施例中第二组多条视频与其他目标一级内容模块中显示的目标视频数据不重复。这里的其他目标一级内容模块是指目标词条对应的各目标一级内容模块中除了视频百科模块之外的目标一级内容模块。
示例性地,第二显示样式包括沿第一设定方向滑动切换的各展开式视频卡片或沿第二设定方向滑动切换的各覆盖式视频卡片,以便用户在无二次触发操作的情况下将更多的视频数据直接展示给用户。这些展开式视频卡片或覆盖式视频卡片中包含视频类型标签,如简介视频、知识热点等,以提示用户每个视频卡片的视频内容的相关信息。
此外,上述至少一个展开式视频卡片或覆盖式视频卡片可以是视频集合卡片,该视频集合卡片对应于第三组多条视频,该第三组多条视频也是预先确定出的多条视频,且其是第二组多条视频中的一部分视频,即第三组多条视频为第二组多条视频的子集。基于此,该视频集合卡片除了显示视频类型标签之外,还可以显示集合标签以及视频集合中包含的视频数量。
如图8所示,电子设备800中展示目标词条“第二次世界大战”的百科页面801。在百科页面801中显示有视频百科模块802,在视频百科模块802下方的视频显示区域803中显示有可以沿电子设备800的短边方向左右滑动切换的各展开式视频卡片804。这些展开式视频卡片804中显示有视频类型标签,如第一个展开式视频卡片中显示有“简介视频”,第二个展开式视频卡片中显示有“知识热点”。其中,第一个展开式视频卡片804为视频集合卡片,其还显示有“集合”和“3个视频”的属性信息,表明该视频集合卡片中包含3个视频,且其显示有“独家”的视频来源信息。此外,每个展开式视频卡片804中均可显示视频标题、视频播放次数、视频播放时长、视频发布时间等视频属性信息。
在一些实施例中,在视频百科模块中还显示第一视频入口控件,该第一视频入口控件是控制显示第二组多条视频中的各个视频的控件。用户可以对该第一视频入口控件进行触发操作。电子设备响应于该触发操作,以第三显示样式显示视频百科详情页面,并在视频百科详情页面中显示第二组多条视频中的各视频。该第三显示样式是预先设置的页面显示样式,例如可以是跳转的新页面,也可以是以悬浮窗口显示的悬浮页面。
继续参见图8,在视频百科模块802中的某一区域(图8以右上角区域示例)中显示有第一视频入口控件“全部”805。在用户点击该第一视频入口控件“全部”805后,以跳转的新页面的第三显示样式显示视频百科详情页面,其显示效果如图9所示。在图9中,电子设备900中显示有视频百科详情页面901,视频百科详情页面901中显示有第二组多条视频中的各视频。这些视频可以直接全部排列显示,也可以按照视频类型标签分类排列显示。
需要说明的是,当视频百科详情页面901中无法一次显示第二组多条视频中的各视频时,可以在页面中显示能触发显示更多视频的控件,如视频百科详情页面901最下方的“展开”控件。当已经视频百科详情页面901中已经显示了全部的视频后,可以在页面中显示能触发返回之前的视频的控件,如“收起”控件。
在一些实施例中,该百科信息显示方法还包括:响应于对包含集合标签的视频显示区域的触发操作,以第三显示样式显示视频汇总页面;在视频汇总页面中显示集合标签对应的各视频。
其中,视频汇总页面是指汇总视频集合卡片中包含的各视频的页面。
具体地,根据上述说明,带有集合标签的视频集合卡片虽然只显示了一条视频,但是其对应于多条视频。当用户对视频集合卡片中除了视频播放控件/视频暂停控件之外的显示区域进行触发时,电子设备会以第三显示样式显示该视频集合卡片对应的视频汇总页面,以在该视频汇总页面中显示视频集合卡片对应的多条视频。
以图4为例,当用户点击视频集合卡片404中除了视频播放控件/视频暂停控件之外的显示区域后,电子设备显示视频汇总页面,其显示效果可参见图9。此时,图9中的视频百科详情页面901便为视频汇总页面。
在一些实施例中,该百科信息显示方法还包括:响应于对目标显示区域中的目标展开式视频卡片的沿第一设定方向的滑动切换操作,在目标显示区域中显示目标展开式视频卡片在第一设定方向的相反方向上的下一个展开式视频卡片。
其中,目标显示区域是视频显示区域中显示完整的某一条视频的封面图像的区域。如果目标显示区域中有多个显示完整的封面图像的区域,那么目标显示区域可以是第一个完整的封面图像所在区域。
具体地,如图10所示,电子设备1000中展示目标词条“第二次世界大战”的百科页面1001,在该百科页面1001的中显示有目标一级内容模块“主要战役”1002,在该目标一级内容模块“主要战役”1002下方的视频显示区域1003中显示有目标展开式视频卡片1005。当用户对目标展开式视频卡片1005所在的目标显示区域执行向右的滑动切换操作时,在目标显示区域中会显示该目标展开式视频卡片1005的左边的下一个展开式视频卡片,即切换后的展开式视频卡片,如图11所示。
在图11中,电子设备1100展示目标词条“第二次世界大战”的百科页面1101,在该百科页面1101中显示有目标一级内容模块“主要战役”1102,在该目标一级内容模块“主要战役”1102下方的视频显示区域1103中显示有切换后的展开式视频卡片1105。
在一些实施例中,该百科信息显示方法还包括:响应于沿第一设定方向滑动切换各展开式视频卡片至最后一个展开式视频卡片的触发操作,显示第三视频入口控件;响应于对第三视频入口控件的触发操作,以第三显示样式显示视频汇总页面;在视频汇总页面中显示各展开式视频卡片对应的各视频。
具体地,参见图5,当用户沿着向左方向持续滑动各展开式视频卡片504至最后一个展开式视频卡片504时,电子设备会显示能够触发显示更多视频的第三视频入口控件,如图10所示。在图10中目标一级内容模块“主要战役”1002下方的视频显示区域1003中显示有第三视频入口控件“查看更多”1004。
当用户点击该第三视频入口控件“查看更多”1004后,电子设备1000会跳转至新的视频汇总页面,以在该视频汇总页面中显示目标一级内容模块“主要战役”对应的各视频,其显示效果可参见图9。
在一些实施例中,该百科信息显示方法还包括:响应于对目标覆盖式视频卡片的沿第二设定方向的滑动切换操作,显示目标覆盖式视频卡片在第二设定方向的相反方向上的下一个覆盖式视频卡片。
具体地,对于图6所示的各覆盖式视频卡片,其中可显示完整的封面图像的视频卡片为目标覆盖式视频卡片。当用户对该目标覆盖式视频卡片进行向左或向右的滑动切换操作时,电子设备将该目标覆盖式视频卡片堆叠在未全部显示封面图像的各覆盖式视频卡片的后面,而完整显示滑动方向上、目标覆盖式视频卡片的下一个覆盖式视频卡片。
在一些实施例中,目标一级内容模块/目标二级内容模块中包含的词条内容可以进一步划分更细类别的下一级内容模块。例如,对于某个人物词条,其人物经历可以进一步根据年份或者事件而划分下一级内容模块;又如,二战中的主要战役可以根据各著名战役而划分下一级内容模块。但是,百科页面中不再按照下一级内容模块进行显示。同时,该目标一级内容模块/目标二级内容模块对应的目标视频数据为多条视频。这种情况下,可以建立该目标一级内容模块/目标二级内容模块对应的各视频及词条内容之间的关联关系。例如,每个下一级内容模块中的词条内容关联于至少一个视频卡片。之后,可通过视频卡片之间的切换来关联式地切换相应的词条内容。这样可使用户更加清楚地查看视频数据和词条内容,进一步提高对词条的理解效率和消费效率。
以第一显示样式为图10所示的沿左右方向滑动切换的各展开式视频卡片为例,视频显示区域1003中显示有目标展开式视频卡片1005,在视频显示区域1003的下方区域中显示有该目标展开式视频卡片1005对应的目标文本内容1006。
当用户对该视频显示区域1003执行向右的滑动切换操作时,在视频显示区域中会显示切换后的展开式视频卡片,如图11所示的切换后的展开式视频卡片1105。在视频显示区域1103的下方区域中则显示有切换后的展开式视频卡片1105对应的切换后的文本内容1106。
需要说明的是,上述过程同样可适用于第一显示样式为沿第二设定方向滑动切换的各覆盖式视频卡片,以及第一显示样式为沿上下方向滑动切换的各展开式视频卡片。
在一些实施例中,目标一级内容模块包含热点信息模块,该热点信息模块是用于展示目标词条相关的热点信息的内容模块。那么,为该热点信息模块确定的目标视频数据可称为热点视频。基于此, 目标视频数据的显示过程是:在热点信息模块中显示目标词条对应的热点资讯和热点视频。这里的热点资讯是指与目标词条相关的热点信息。
如图8所示,在百科页面801中显示有热点信息模块806,在热点信息模块806下方的视频显示区域807中显示有热点资讯808和热点视频809,且显示有热点资讯808相关的评论次数和资讯发布时间等资讯属性信息,以及显示有热点视频809的视频播放时长、视频标题、视频播放次数和视频发布时间等视频属性信息。
在一些实施例中,若热点信息模块中包含多条热点视频,则在热点信息模块中显示第二视频入口控件;响应于对第二视频入口控件的触发操作,以第三显示样式显示热点详情页面;在热点详情页面中显示热点资讯和各热点视频。
具体地,为了在百科页面中显示更多的内容模块,热点信息模块中可以只显示一条热度最高的热点视频。当为热点信息模块确定出的目标视频数据为多条热点视频时,可以在热度信息模块中设置能够触发显示更多的热点视频的第二视频入口控件,如图8所示的热点信息模块806中的第二视频入口控件“全部”810。当用户点击该第二视频入口控件“全部”810后,电子设备可以第三显示样式显示热点详情页面,其显示效果如图12所示。
在图12中,电子设备1200中显示有热点信息模块的悬浮页面形式的热点详情页面1201,在热点详情页面1201中显示有热点资讯1202及其资讯属性信息,在热点资讯1202的下方显示有多条按照视频热度(由评论次数、播放次数等评估)、视频发布时间等视频属性排序的热点视频1203及其视频属性信息。同样地,当热点视频1203未全部展示时,可在热点详情页面1201中显示“展开”控件,以控制显示更多的热点视频。
在上述各实施例的基础上,为了进一步提升目标词条下词条内容的丰富程度,且进一步提升用户体验,本公开实施例中任一目标一级内容模块下的目标视频数据均不重复。另外,目标视频数据中的视频可以设置为自动播放,那么其还需显示静音控制控件和暂停播放控件,以便用户依需进行视频的播放控制。
下面结合图13对本公开实施例提供的百科信息确定方法进行说明。
在本公开实施例中,该百科信息确定方法可以由具有较强大的计算能力的电子设备执行。该电子设备可以包括但不限于诸如笔记本电脑、台式计算机、服务器等。
图13示出了本公开实施例提供的一种百科信息确定方法的流程示意图。如图13所示,该百科信息确定方法可以包括如下步骤:
S1310、确定各候选词条关联的搜索词。
其中,候选词条为候选添加视频数据的百科词条。候选词条是预先从百科数据库中包含的各词条中筛选得到。
示例性地,候选词条可以是从百科数据库中包含的各词条中、根据词条是否有视频添加需求筛选出来的。例如,为了减少筛选工作量且提高词条覆盖面,可以从不同垂类(也称为领域)下的、具有用户交互数据(如点击率、访问量等)的词条中,随机地抽取部分词条。然后,分析抽取出的每个词条是否有视频需求,如人工粗略评估该词条对应的视频表达能力是否优于图文表达能力、该词条是否有较好的视频资源承接等。如果评估结果是有视频需求,那么将该词条确定为候选词条。搜索词是用于进行综合搜索的搜索内容,其可以是候选词条,也可以是由候选词条及其对应的关键字段构成。
具体地,电子设备基于候选词条来确定各搜索词。如果搜索词是候选词条,那么电子设备将该候选词条直接确定为搜索词。如果搜索词是候选词条及其对应的关键字段构成,那么电子设备先确定相应的关键字段,再由每个候选词条与其对应的每个关键字段构建候选词条的搜索词。
在一些实施例中,候选词条对应的关键字段的确定过程为:对每个候选词条下的模块标题进行关键词提取,并基于提取的关键词确定各关键字段。
具体地,对于每个候选词条,电子设备获取该候选词条下包含的各一级内容模块的模块标题,并对这些模块标题进行关键字提取。然后,电子设备可以直接将这些关键字确定为该候选词条的关键字段。电子设备也可以获取每个关键字的同义词、近义词等,再将提取得到的关键字、获取的同义词、获取的近义词等全部作为该候选词条的关键字段。
需要说明的是,上述一级内容模块可以是候选词条下包含的所有一级内容模块,也可以是人工预先从候选词条下包含的所有一级内容模块中筛选出来具有一定的视频需求的一级内容模块。
S1320、获取每个搜索词对应的搜索结果和搜索结果中视频结果的属性信息。
具体地,电子设备可以对每个候选词条的每个搜索词进行综合搜索,便可得到其对应的搜索结果。并且,电子设备可以从该搜索结果中得到其包含的视频结果及其属性信息。另外,电子设备也可以直接从存储介质中读取每个候选词条的每个搜索词对应的搜索结果、以及每个搜索结果中的视频结果及其属性信息。
S1330、基于每个候选词条的各搜索词对应的视频结果的属性信息,从各候选词条中确定目标词条。
其中,目标词条为确定添加视频数据的百科词条。
具体地,电子设备分析每个候选词条的每个搜索结果中包含的视频结果的属性信息,并根据搜索结果中包含的视频结果的属性信息是否满足设定的要求,判断该搜索结果对应的候选词条是否可以确定为目标词条。
为了进一步提高目标词条的准确性,从各候选词条中确定目标词条后,还可以增加人工核验的步骤。
在一些实施例中,S1330可根据视频结果的属性信息的不同内容,即视频结果的数量、视频结果在搜索结果中的排序位置和视频结果的交互数据中的至少一项来实现。
在一示例中,当候选词条的任一搜索词对应的视频结果的数量超过预设数量阈值时,将候选词条确定为目标词条。该预设数量阈值是预先设定的数量值。
具体地,如果候选词条对应的任一搜索词的搜索结果中的视频结果的数量超过了预设数量阈值,那么将该候选词条确定为目标词条。
在另一示例中,当候选词条的任一搜索词对应的任一视频结果在相应搜索结果中的排序位置达到预设位置时,将候选词条确定为目标词条。
具体地,当候选词条的任一搜索词的搜索结果中的任一视频结果在该搜索结果中的排序位置等于或超过预设位置时,如预设位置为排序位置为5,那么当视频结果的排序位置在前5时,可将该候选词条确定为目标词条。
在又一示例中,当候选词条的任一搜索词对应的任一视频结果的交互数据达到预设数据阈值时,将候选词条确定为目标词条。
具体地,当候选词条的任一搜索词的搜索结果中的任一视频结果的交互数据达到预设数据阈值时,例如当视频结果的点击率超过一定的点击率,或浏览时长查过一定时长,或分享次数、评论数量和点赞数量中的至少一个等超过一定数值时,将候选词条确定为目标词条。
通过上述百科信息确定的方案,能够在确定具有视频需求的目标词条的过程中,通过每个候选词条对应的搜索词的搜索结果中包含的视频结果的属性信息来判断候选词条的视频需求,进而从各候选词条中筛选出具有视频需求的目标词条,避免了向无视频需求的词条中添加视频而导致的资源浪费和干扰用户的问题,提高了添加视频的词条的覆盖度,从而提升用户对词条的消费效率,提升用户体验。
在一些实施例中,该百科信息确定方法还包括:基于目标词条下的各一级内容模块对应的多个搜索词的搜索结果中、视频结果的属性信息,从各一级内容模块中,确定目标词条下的各目标一级内容模块。
其中,搜索词由目标词条和一级内容模块关联的各关键字段构成,目标一级内容模块为确定添加视频数据的一级内容模块。
具体地,电子设备为目标词条下的每个一级内容模块确定其相关的至少一个关键字段,该关键字段的确定过程可参见S1310。然后,电子设备根据目标词条和每个一级内容模块对应的各关键字段来构建相应一级内容模块的多个关键词。再然后,电子设备获得每个关键词对应的搜索结果及其中所包含的视频结果的属性信息。之后,针对每个一级内容模块,电子设备如果确定该一级内容模块对应的至少一个搜索结果中包含的视频结果的属性信息满足设定的要求(该判断过程可参见1330中的相关内容),那么就将该一级内容模块确定为目标一级内容模块。
在另一些实施例中,该百科信息确定方法还包括:基于目标词条关联的搜索词的搜索结果中视频结果的属性信息,确定目标视频结果;基于目标视频结果与各一级内容模块之间的相关度,确定目标词条下的目标一级内容模块。
具体地,电子设备将目标词条或目标词条与各关键字段的组合词作为目标词条关联的搜索词。然后,电子设备获取每个搜索词对应的搜索结果及其中包含的视频结果的属性信息。再然后,电子设备根据各搜索结果中包含的视频结果的属性信息满足设定的要求的条件(该判断过程可参见1330中的相关内容),从目标词条对应的各视频结果中筛选出目标视频结果。之后,电子设备计算所得的各目标视频结果的视频内容与目标词条下包含的各一级内容模块对应内容之间的相关度,得到每个目标视频结果与每个一级内容模块之间的相关度,并将满足设定的相关度阈值的相关度对应的一级内容模块确定为目标一级内容模块。
在一些实施例中,该百科信息确定方法还包括:确定各候选视频数据与组合文本之间的相关度;基于各候选视频数据的视频质量和相关度,从各候选视频数据中筛选出至少一个候选视频数据,作为添加至目标词条对应的目标一级内容模块中的目标视频数据。
其中,组合文本包含目标词条和目标一级内容模块的模块标题。
具体地,电子设备预先获得多个候选视频数据,例如从各种授权的视频平台中获取视频数据,或者预先建立视频数据库,从该视频数据库中获取候选视频数据。并且,电子设备利用诸如神经网络模型等质量评估算法或人工的方式获得每个候选视频数据的视频质量。在确定了目标词条及其内的目标一级内容模块后,电子设备计算每个候选视频数据的内容与组合文本之间的相关度。然后,电子设备将相关度满足预设的相关度阈值、且视频质量满足预设的质量阈值的各候选视频数据,确定为该目标词条下的该目标一级内容模块的目标视频数据。该目标视频数据的数量可以是一个或多个。之后,电子设备将目标视频数据以一定的显示样式的数据结构添加至目标一级内容模块。这样可以确保目标一级内容模块中显示的目标视频数据与其具有较好的相关性,且具有较高的视频质量,避免无效视频数据的添加及其对用户的干扰,进一步提高视频数据对目标一级内容模块的词条内容的理解辅助程度,从而进一步提高用户对词条内容的理解效率,进而进一步提高用户体验。
本公开实施例还提供了一种百科信息显示装置,该百科信息显示装置可以配置在电子设备中。该电子设备可以包括但不限于诸如智能手机、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)、可穿戴设备、笔记本电脑等的移动终端,以及诸如数字电视TV、台式计算机、智能家居设备等的固定终端。
图14示出了本公开实施例提供的一种百科信息显示装置的结构示意图。如图14所示,该百科信息显示装置1400可以包括:
百科页面展示模块1410,用于展示目标词条对应的百科页面;其中,目标词条是基于各候选词条关联的搜索词的搜索结果中、视频结果的属性信息,从各候选词条中筛选得到;
目标视频数据显示模块1420,用于在百科页面中显示至少一个目标一级内容模块,并在目标一级内容模块中显示目标词条对应的目标视频数据。
通过上述百科信息显示装置,能够在目标词条对应的百科页面中显示至少一个目标一级内容模块,并在该目标一级内容模块中显示目标视频数据,且该目标词条是根据各候选词条关联的搜索词的搜索结果中的视频结果的属性信息而得到的具有视频需求的候选词条。实现了在具有视频需求的目标词条 的百科页面中的各目标一级内容模块下显示相关的目标视频数据,既避免了视频数据对用户的干扰,又使得用户结合视频更加容易、更加快速地理解词条内容,提高了用户对词条的消费效率,从而提升用户体验。
在一些实施例中,目标一级内容模块基于目标词条下的各一级内容模块对应的多个搜索词的搜索结果中、视频结果的属性信息,从各一级内容模块中确定;其中,搜索词由目标词条和一级内容模块关联的各关键字段构成。
在另一些实施例中,目标一级内容模块基于目标视频结果与各一级内容模块之间的相关度,从各一级内容模块中确定;其中,目标视频结果基于目标词条关联的搜索词的搜索结果中、视频结果的属性信息来确定。
在一些实施例中,属性信息包括视频结果的数量、视频结果在搜索结果中的排序位置和视频结果的交互数据中的至少一种。
在一些实施例中,目标视频数据显示模块1420具体用于:
若目标一级内容模块中包含目标二级内容模块,则在目标二级内容模块中显示目标视频数据;
其中,目标二级内容模块基于目标视频数据与目标一级内容模块中包含的各二级内容模块之间的内容匹配度,从各二级内容模块中确定。
在一些实施例中,目标视频数据基于各候选视频数据与组合文本之间的相关度、以及各候选视频数据的视频质量,从各候选视频数据中筛选得到;其中,组合文本包含目标词条和目标一级内容模块的模块标题。
在一些实施例中,目标视频数据显示模块1420包括单条视频显示子模块,用于:
若目标视频数据为单条视频,则基于单条视频的封面图像确定目标一级内容模块中视频显示区域的背景颜色;
基于背景颜色渲染视频显示区域,并在视频显示区域显示单条视频。
在一些实施例中,目标视频数据显示模块1420包括多条视频显示子模块,用于:
若目标视频数据为第一组多条视频,则在目标一级内容模块中以第一显示样式显示第一组多条视频;
其中,第一显示样式包含视频集合卡片、沿第一设定方向滑动切换的各展开式视频卡片和沿第二设定方向滑动切换的各覆盖式视频卡片中的至少一种;视频集合卡片显示第一组多条视频中的一条视频和集合标签。
在一些实施例中,多条视频显示子模块具体用于:
当第一显示样式为沿第一设定方向滑动切换的各展开式视频卡片或沿第二设定方向滑动切换的各覆盖式视频卡片时,在目标一级内容模块中显示目标视频卡片,并显示目标视频卡片对应的目标一级内容模块中的目标文本内容;其中,目标视频卡片为目标展开式视频卡片或目标覆盖式视频卡片;
相应地,该百科信息显示装置1400还包括信息切换显示模块,用于:
在目标一级内容模块中以第一显示样式显示第一组多条视频之后,响应于对目标视频卡片的滑动切换操作,显示切换后的视频卡片,并显示切换后的视频卡片对应的目标一级内容模块中的切换后的文本内容。
在一些实施例中,展开式视频卡片、覆盖式视频卡片或视频集合卡片的背景颜色基于封面图像确定。
在一些实施例中,该百科信息显示装置1400还包括内容详情页面显示模块,用于:
若目标视频数据为第一组多条视频,则在目标一级内容模块中以视频集合卡片的显示样式显示第一组多条视频;
响应于对目标一级内容模块中的内容详情显示控件的触发操作,显示内容详情页面,并在内容详情页面中以沿第一设定方向滑动切换的各展开式视频卡片或沿第二设定方向滑动切换的各覆盖式视频卡片的显示样式显示第一组多条视频中的各视频。
在一些实施例中,目标视频数据显示模块1420包括百科视频显示子模块,用于:
当目标一级内容模块包含视频百科模块是,在视频百科模块中以第二显示样式显示目标词条对应的第二组多条视频;
其中,第二组多条视频与其他目标一级内容模块中显示的目标视频数据不重复,其他目标一级内容模块为目标词条对应的各目标一级内容模块中除了视频百科模块之外的目标一级内容模块;
第二显示样式包括沿第一设定方向滑动切换的各展开式视频卡片或沿第二设定方向滑动切换的各覆盖式视频卡片;
各视频卡片中包含视频类型标签,且各视频卡片中包含至少一个视频集合卡片;视频集合卡片中显示第三组多条视频中的一条视频、集合标签和视频数量,且第三组多条视频为第二组多条视频的子集。
在一些实施例中,该百科信息显示装置1400还包括视频汇总页面显示模块,用于:
响应于对包含集合标签的视频显示区域的触发操作,以第三显示样式显示视频汇总页面;
在视频汇总页面中显示集合标签对应的各视频。
或者,
响应于沿第一设定方向滑动切换各展开式视频卡片至最后一个展开式视频卡片的触发操作,显示第三视频入口控件;
响应于对第三视频入口控件的触发操作,以第三显示样式显示视频汇总页面;
在视频汇总页面中显示各展开式视频卡片对应的各视频。
在一些实施例中,该百科信息显示装置1400还视频滑动切换显示模块,用于:
响应于对目标显示区域中的目标展开式视频卡片的沿第一设定方向的滑动切换操作,在目标显示区域中显示目标展开式视频卡片在第一设定方向的相反方向上的下一个展开式视频卡片;
或者,
响应于对目标覆盖式视频卡片的沿第二设定方向的滑动切换操作,显示目标覆盖式视频卡片在第二设定方向的相反方向上的下一个覆盖式视频卡片。
需要说明的是,图14所示的百科信息显示装置1400可以执行图1至图12所示的方法实施例中的各个步骤,并且实现图1至图12所示的方法实施例中的各个过程和效果,在此不做赘述。
本公开实施例还提供了一种百科信息确定装置,该百科信息确定装置可以配置在电子设备中。该电子设备可以包括但不限于诸如笔记本电脑、台式计算机、服务器等。
图15示出了本公开实施例提供的一种百科信息确定装置的结构示意图。如图15所示,该百科信息确定装置1500可以包括:
搜索词确定模块1510,用于确定各候选词条关联的搜索词;其中,候选词条为候选添加视频数据的百科词条;
搜索结果获取模块1520,用于获取每个搜索词对应的搜索结果和搜索结果中视频结果的属性信息;
目标词条确定模块1530,用于基于每个候选词条的各搜索词对应的视频结果的属性信息,从各候选词条中确定目标词条;其中,目标词条为确定添加视频数据的百科词条。
通过上述百科信息确定装置,能够在确定具有视频需求的目标词条的过程中,通过每个候选词条对应的搜索词的搜索结果中包含的视频结果的属性信息来判断候选词条的视频需求,进而从各候选词条中筛选出具有视频需求的目标词条,避免了向无视频需求的词条中添加视频而导致的资源浪费和干扰用户的问题,提高了添加视频的词条的覆盖度,从而提升用户对词条的消费效率,提升用户体验。
在一些实施例中,目标词条确定模块1530具体用于通过如下至少一种方式来确定目标词条:
当候选词条的任一搜索词对应的视频结果的数量超过预设数量阈值时,将候选词条确定为目标词条;
当候选词条的任一搜索词对应的任一视频结果在相应搜索结果中的排序位置达到预设位置时,将候选词条确定为目标词条;
当候选词条的任一搜索词对应的任一视频结果的交互数据达到预设数据阈值时,将候选词条确定为目标词条。
在一些实施例中,该百科信息确定装置1500还包括目标一级内容模块确定模块,用于:
在基于每个候选词条的各搜索词对应的视频结果的属性信息,从各候选词条中确定目标词条之后,基于目标词条下的各一级内容模块对应的多个搜索词的搜索结果中、视频结果的属性信息,从各一级内容模块中,确定目标词条下的各目标一级内容模块;
其中,搜索词由目标词条和一级内容模块关联的各关键字段构成,目标一级内容模块为确定添加视频数据的一级内容模块。
在另一些实施例中,目标一级内容模块确定模块还用于:
在基于每个候选词条的各搜索词对应的视频结果的属性信息,从各候选词条中确定目标词条之后,基于目标词条关联的搜索词的搜索结果中视频结果的属性信息,确定目标视频结果;
基于目标视频结果与各一级内容模块之间的相关度,确定目标词条下的目标一级内容模块。
在一些实施例中,该百科信息确定装置1500还包括关键字段确定模块,用于:
对每个候选词条下的各一级内容模块的模块标题进行关键词提取,并基于提取的关键词确定各关键字段。
在一些实施例中,该百科信息确定装置1500还包括目标视频数据确定模块,用于:
在确定目标词条下的目标一级内容模块之后,确定各候选视频数据与组合文本之间的相关度;其中,组合文本为目标词条和目标一级内容模块的模块标题;
基于各候选视频数据的视频质量和相关度,从各候选视频数据中筛选出至少一个候选视频数据,作为添加至目标词条对应的目标一级内容模块中的目标视频数据。
需要说明的是,图15所示的百科信息确定装置1500可以执行图13所示的方法实施例中的各个步骤,并且实现图13所示的方法实施例中的各个过程和效果,在此不做赘述。
本公开实施例还提供了一种电子设备,该电子设备可以包括处理器和存储器,存储器可以用于存储可执行指令。其中,处理器可以用于从存储器中读取可执行指令,并执行可执行指令以实现上述任意实施例中的百科信息显示方法或百科信息确定方法。
图16示出了本公开实施例提供的一种电子设备的结构示意图。图16示出的电子设备1600仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
如图16所示,该电子设备1600可以包括处理装置(例如中央处理器、图形处理器等)1601,其可以根据存储在只读存储器(ROM)1602中的程序或者从存储装置1608加载到随机访问存储器(RAM)1603中的程序而执行各种适当的动作和处理。在RAM 1603中,还存储有信息处理设备1600操作所需的各种程序和数据。处理装置1601、ROM 1602以及RAM 1603通过总线1604彼此相连。输入/输出接口(I/O接口)1605也连接至总线1604。
通常,以下装置可以连接至I/O接口1605:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置1606;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置1607;包括例如磁带、硬盘等的存储装置1608;以及通信装置1609。通信装置1609可以允许电子设备1600与其他设备进行无线或有线通信以交换数据。虽然图16示出了具有各种装置的电子设备1600,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
本公开实施例还提供了一种计算机可读存储介质,该存储介质存储有计算机程序,当计算机程序被处理器执行时,使得处理器实现上述任意实施例中的百科信息显示方法或百科信息确定方法。
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置1609从网络上被下载和安装,或者从存储装置1608被安装,或者从ROM 1602被安装。在该计算机程序被处理装置1601执行时,执行本公开任意实施例的百科信息显示方法或百科信息确定方法中限定的上述功能。
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。
在一些实施方式中,客户端、服务器可以利用诸如HTTP之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(“LAN”),广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备执行本公开任意实施例所说明的百科信息显示方法或百科信息确定方法的步骤。
在本公开实施例中,可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
附图中的流程图和框图,图示了按照本公开各种实施例的设备、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图 中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定。
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上系统(SOC)、复杂可编程逻辑设备(CPLD)等等。
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。
以上描述仅为本公开的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。
此外,虽然采用特定次序描绘了各操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的各种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。
尽管已经采用特定于结构特征和/或方法逻辑动作的语言描述了本主题,但是应当理解所附权利要求书中所限定的主题未必局限于上面描述的特定特征或动作。相反,上面所描述的特定特征和动作仅仅是实现权利要求书的示例形式。

Claims (22)

  1. 一种百科信息显示方法,其特征在于,包括:
    展示目标词条对应的百科页面;其中,所述目标词条是基于各候选词条关联的搜索词的搜索结果中、视频结果的属性信息,从各所述候选词条中筛选得到;
    在所述百科页面中显示至少一个目标一级内容模块,并在所述目标一级内容模块中显示所述目标词条对应的目标视频数据。
  2. 根据权利要求1所述的方法,其特征在于,所述目标一级内容模块基于所述目标词条下的各一级内容模块对应的多个搜索词的搜索结果中、所述视频结果的所述属性信息,从各所述一级内容模块中确定;其中,所述搜索词由所述目标词条和所述一级内容模块关联的各关键字段构成;
    或者,所述目标一级内容模块基于目标视频结果与各所述一级内容模块之间的相关度,从各所述一级内容模块中确定;其中,所述目标视频结果基于所述目标词条关联的所述搜索词的搜索结果中、所述视频结果的所述属性信息来确定。
  3. 根据权利要求1所述的方法,其特征在于,所述属性信息包括所述视频结果的数量、所述视频结果在所述搜索结果中的排序位置和所述视频结果的交互数据中的至少一种。
  4. 根据权利要求1所述的方法,其特征在于,所述在所述目标一级内容模块中显示所述目标词条对应的目标视频数据包括:
    若所述目标一级内容模块中包含目标二级内容模块,则在所述目标二级内容模块中显示所述目标视频数据;
    其中,所述目标二级内容模块基于所述目标视频数据与所述目标一级内容模块中包含的各二级内容模块之间的内容匹配度,从各所述二级内容模块中确定。
  5. 根据权利要求1所述的方法,其特征在于,所述目标视频数据基于各候选视频数据与组合文本之间的相关度、以及各所述候选视频数据的视频质量,从各所述候选视频数据中筛选得到;其中,所述组合文本包含所述目标词条和所述目标一级内容模块的模块标题。
  6. 根据权利要求1所述的方法,其特征在于,所述在所述目标一级内容模块中显示所述目标词条对应的目标视频数据包括:
    若所述目标视频数据为单条视频,则基于所述单条视频的封面图像确定所述目标一级内容模块中视频显示区域的背景颜色;
    基于所述背景颜色渲染所述视频显示区域,并在所述视频显示区域显示所述单条视频。
  7. 根据权利要求1所述的方法,其特征在于,所述在所述目标一级内容模块中显示所述目标词条对应的目标视频数据包括:
    若所述目标视频数据为第一组多条视频,则在所述目标一级内容模块中以第一显示样式显示所述第一组多条视频;
    其中,所述第一显示样式包含视频集合卡片、沿第一设定方向滑动切换的各展开式视频卡片和沿第二设定方向滑动切换的各覆盖式视频卡片中的至少一种;所述视频集合卡片显示所述第一组多条视频中的一条视频和集合标签。
  8. 根据权利要求7所述的方法,其特征在于,当所述第一显示样式为所述沿第一设定方向滑动切换的各展开式视频卡片或所述沿第二设定方向滑动切换的各覆盖式视频卡片时,所述在所述目标一级内容模块中以第一显示样式显示所述第一组多条视频包括:
    在所述目标一级内容模块中显示目标视频卡片,并显示所述目标视频卡片对应的所述目标一级内容模块中的目标文本内容;其中,所述目标视频卡片为目标展开式视频卡片或目标覆盖式视频卡片;
    在所述目标一级内容模块中以第一显示样式显示所述第一组多条视频之后,所述方法还包括:
    响应于对所述目标视频卡片的滑动切换操作,显示切换后的视频卡片,并显示所述切换后的视频卡片对应的所述目标一级内容模块中的切换后的文本内容。
  9. 根据权利要求7所述的方法,其特征在于,所述展开式视频卡片、所述覆盖式视频卡片或所述视频集合卡片的背景颜色基于封面图像确定。
  10. 根据权利要求7所述的方法,其特征在于,所述在所述目标一级内容模块中显示所述目标词条对应的目标视频数据包括:
    若所述目标视频数据为所述第一组多条视频,则在所述目标一级内容模块中以所述视频集合卡片的显示样式显示所述第一组多条视频;
    响应于对所述目标一级内容模块中的内容详情显示控件的触发操作,显示内容详情页面,并在所述内容详情页面中以沿第一设定方向滑动切换的各展开式视频卡片或沿第二设定方向滑动切换的各覆盖式视频卡片的显示样式显示所述第一组多条视频中的各视频。
  11. 根据权利要求1所述的方法,其特征在于,所述目标一级内容模块包含视频百科模块,则所述在所述目标一级内容模块中显示所述目标词条对应的目标视频数据包括:
    在所述视频百科模块中以第二显示样式显示所述目标词条对应的第二组多条视频;
    其中,所述第二组多条视频与其他目标一级内容模块中显示的所述目标视频数据不重复,所述其他目标一级内容模块为所述目标词条对应的各所述目标一级内容模块中除了所述视频百科模块之外的所述目标一级内容模块;
    所述第二显示样式包括沿第一设定方向滑动切换的各展开式视频卡片或沿第二设定方向滑动切换的各覆盖式视频卡片;
    各视频卡片中包含视频类型标签,且各所述视频卡片中包含至少一个视频集合卡片;所述视频集合卡片中显示第三组多条视频中的一条视频、集合标签和视频数量,且所述第三组多条视频为所述第二组多条视频的子集。
  12. 根据权利要求7或11所述的方法,其特征在于,所述方法还包括:
    响应于对包含所述集合标签的视频显示区域的触发操作,以第三显示样式显示视频汇总页面;
    在所述视频汇总页面中显示所述集合标签对应的各视频;
    或者,
    响应于沿所述第一设定方向滑动切换各所述展开式视频卡片至最后一个所述展开式视频卡片的触发操作,显示第三视频入口控件;
    响应于对所述第三视频入口控件的触发操作,以所述第三显示样式显示所述视频汇总页面;
    在所述视频汇总页面中显示各所述展开式视频卡片对应的各视频。
  13. 根据权利要求7或11所述的方法,其特征在于,所述方法还包括:
    响应于对目标显示区域中的目标展开式视频卡片的沿所述第一设定方向的滑动切换操作,在所述目标显示区域中显示所述目标展开式视频卡片在所述第一设定方向的相反方向上的下一个所述展开式视频卡片;
    或者,
    响应于对目标覆盖式视频卡片的沿所述第二设定方向的滑动切换操作,显示所述目标覆盖式视频卡片在所述第二设定方向的相反方向上的下一个所述覆盖式视频卡片。
  14. 一种百科信息确定方法,其特征在于,包括:
    确定各候选词条关联的搜索词;其中,所述候选词条为候选添加视频数据的百科词条;
    获取每个所述搜索词对应的搜索结果和所述搜索结果中视频结果的属性信息;
    基于每个所述候选词条的各所述搜索词对应的所述视频结果的所述属性信息,从各所述候选词条中确定目标词条;其中,所述目标词条为确定添加视频数据的百科词条。
  15. 根据权利要求14所述的方法,其特征在于,所述基于每个所述候选词条的各所述搜索词对应的所述视频结果的所述属性信息,从各所述候选词条中确定目标词条包括以下至少一种:
    当所述候选词条的任一所述搜索词对应的所述视频结果的数量超过预设数量阈值时,将所述候选词条确定为所述目标词条;
    当所述候选词条的任一所述搜索词对应的任一所述视频结果在相应搜索结果中的排序位置达到预设位置时,将所述候选词条确定为所述目标词条;
    当所述候选词条的任一所述搜索词对应的任一所述视频结果的交互数据达到预设数据阈值时,将 所述候选词条确定为所述目标词条。
  16. 根据权利要求14所述的方法,其特征在于,在所述基于每个所述候选词条的各所述搜索词对应的所述视频结果的所述属性信息,从各所述候选词条中确定目标词条之后,所述方法还包括:
    基于所述目标词条下的各一级内容模块对应的多个搜索词的搜索结果中、所述视频结果的所述属性信息,从各所述一级内容模块中,确定所述目标词条下的各目标一级内容模块;
    其中,所述搜索词由所述目标词条和所述一级内容模块关联的各关键字段构成,所述目标一级内容模块为确定添加视频数据的一级内容模块;
    或者,在所述基于每个所述候选词条的各所述搜索词对应的所述视频结果的所述属性信息,从各所述候选词条中确定目标词条之后,所述方法还包括:
    基于所述目标词条关联的搜索词的搜索结果中所述视频结果的所述属性信息,确定目标视频结果;
    基于所述目标视频结果与各所述一级内容模块之间的相关度,确定所述目标词条下的所述目标一级内容模块。
  17. 根据权利要求14或16所述的方法,其特征在于,所述方法还包括:
    对每个所述候选词条下的各一级内容模块的模块标题进行关键词提取,并基于提取的关键词确定各所述关键字段。
  18. 根据权利要求16所述的方法,其特征在于,在所述确定所述目标词条下的所述目标一级内容模块之后,所述方法还包括:
    确定各候选视频数据与组合文本之间的相关度;其中,所述组合文本为所述目标词条和所述目标一级内容模块的模块标题;
    基于各所述候选视频数据的视频质量和所述相关度,从各所述候选视频数据中筛选出至少一个所述候选视频数据,作为添加至所述目标词条对应的所述目标一级内容模块中的目标视频数据。
  19. 一种百科信息显示装置,其特征在于,包括:
    百科页面展示模块,用于展示目标词条对应的百科页面;其中,所述目标词条是基于各候选词条关联的搜索词的搜索结果中、视频结果的属性信息,从各所述候选词条中筛选得到;
    目标视频数据显示模块,用于在所述百科页面中显示至少一个目标一级内容模块,并在所述目标一级内容模块中显示所述目标词条对应的目标视频数据。
  20. 一种百科信息确定装置,其特征在于,包括:
    搜索词确定模块,用于确定各候选词条关联的搜索词;其中,所述候选词条为候选添加视频数据的百科词条;
    搜索结果获取模块,用于获取每个所述搜索词对应的搜索结果和所述搜索结果中视频结果的属性 信息;
    目标词条确定模块,用于基于每个所述候选词条的各所述搜索词对应的所述视频结果的所述属性信息,从各所述候选词条中确定目标词条;其中,所述目标词条为确定添加视频数据的百科词条。
  21. 一种电子设备,其特征在于,包括:
    处理器;
    存储器,用于存储可执行指令;
    其中,所述处理器用于从所述存储器中读取所述可执行指令,并执行所述可执行指令以实现上述权利要求1-13中任一项所述的百科信息显示方法,或者实现上述权利要求14-18中任一项所述的百科信息确定方法。
  22. 一种计算机可读存储介质,其特征在于,所述存储介质存储有计算机程序,当所述计算机程序被处理器执行时,使得处理器实现上述权利要求1-13中任一项所述的百科信息显示方法,或者实现上述权利要求14-18中任一项所述的百科信息确定方法。
PCT/CN2022/115520 2021-10-25 2022-08-29 百科信息确定方法、显示方法、装置、设备和介质 WO2023071491A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111241322.1 2021-10-25
CN202111241322.1A CN113886707B (zh) 2021-10-25 2021-10-25 百科信息确定方法、显示方法、装置、设备和介质

Publications (1)

Publication Number Publication Date
WO2023071491A1 true WO2023071491A1 (zh) 2023-05-04

Family

ID=79013919

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/115520 WO2023071491A1 (zh) 2021-10-25 2022-08-29 百科信息确定方法、显示方法、装置、设备和介质

Country Status (2)

Country Link
CN (1) CN113886707B (zh)
WO (1) WO2023071491A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113886707B (zh) * 2021-10-25 2024-02-06 北京字跳网络技术有限公司 百科信息确定方法、显示方法、装置、设备和介质
CN114470751B (zh) * 2022-02-09 2024-02-02 北京有竹居网络技术有限公司 内容获取方法、装置、存储介质及电子设备
CN114564666B (zh) * 2022-02-28 2024-03-12 抖音视界有限公司 百科信息展示方法、装置、设备和介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103514299A (zh) * 2013-10-18 2014-01-15 北京奇虎科技有限公司 信息搜索方法和装置
CN107657024A (zh) * 2017-09-27 2018-02-02 百度在线网络技术(北京)有限公司 一种搜索结果展示方法、装置、设备以及存储介质
US20200183975A1 (en) * 2015-04-16 2020-06-11 Diginary Software, Llc Video content optimization system
CN111581486A (zh) * 2020-05-11 2020-08-25 北京字节跳动网络技术有限公司 一种信息分配方法及装置
CN113536172A (zh) * 2021-07-14 2021-10-22 北京字节跳动网络技术有限公司 一种百科信息展示的方法、装置及计算机存储介质
CN113886707A (zh) * 2021-10-25 2022-01-04 北京字跳网络技术有限公司 百科信息确定方法、显示方法、装置、设备和介质

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105868260A (zh) * 2015-12-30 2016-08-17 乐视网信息技术(北京)股份有限公司 视频搜索的方法及装置
CN111753194B (zh) * 2020-06-16 2022-05-17 北京字节跳动网络技术有限公司 一种信息推送的方法、装置、电子设备及存储介质
CN113420223A (zh) * 2021-07-16 2021-09-21 北京字节跳动网络技术有限公司 内容搜索方法、装置、设备及介质
CN113486252A (zh) * 2021-07-30 2021-10-08 北京字节跳动网络技术有限公司 搜索结果展示方法、装置、设备和介质

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103514299A (zh) * 2013-10-18 2014-01-15 北京奇虎科技有限公司 信息搜索方法和装置
US20200183975A1 (en) * 2015-04-16 2020-06-11 Diginary Software, Llc Video content optimization system
CN107657024A (zh) * 2017-09-27 2018-02-02 百度在线网络技术(北京)有限公司 一种搜索结果展示方法、装置、设备以及存储介质
CN111581486A (zh) * 2020-05-11 2020-08-25 北京字节跳动网络技术有限公司 一种信息分配方法及装置
CN113536172A (zh) * 2021-07-14 2021-10-22 北京字节跳动网络技术有限公司 一种百科信息展示的方法、装置及计算机存储介质
CN113886707A (zh) * 2021-10-25 2022-01-04 北京字跳网络技术有限公司 百科信息确定方法、显示方法、装置、设备和介质

Also Published As

Publication number Publication date
CN113886707A (zh) 2022-01-04
CN113886707B (zh) 2024-02-06

Similar Documents

Publication Publication Date Title
WO2023005339A1 (zh) 搜索结果展示方法、装置、设备和介质
RU2632144C1 (ru) Компьютерный способ создания интерфейса рекомендации контента
WO2023071491A1 (zh) 百科信息确定方法、显示方法、装置、设备和介质
US20210256020A1 (en) Method and system for presenting a search result in a search result card
WO2021073328A1 (zh) 视频搜索的方法及装置、终端和存储介质
CN109740085B (zh) 一种页面内容的展示方法、装置、设备及存储介质
WO2023051102A1 (zh) 视频推荐方法、装置、设备及介质
WO2022042593A1 (zh) 字幕编辑方法、装置和电子设备
US9633080B2 (en) Hierarchical entity information for search
KR20130014581A (ko) 관심사항 클라우드에 포함된 관심사항 태그에 기초한 콘텐츠 선택
WO2023005340A1 (zh) 搜索结果展示方法、装置、设备和介质
CN111580921B (zh) 内容创作方法及设备
US20240054165A1 (en) Method, apparatus and device for implementing search
CN114564666B (zh) 百科信息展示方法、装置、设备和介质
WO2023279843A1 (zh) 内容搜索方法、装置、设备和存储介质
WO2020259522A1 (zh) 一种内容查找方法、相关设备及计算机可读存储介质
WO2023160555A1 (zh) 百科信息展示方法、装置、设备和介质
WO2023016349A1 (zh) 一种文本输入方法、装置、电子设备和存储介质
WO2023241332A1 (zh) 摘要信息生成与搜索结果展示方法、装置、设备和介质
JP2023549903A (ja) マルチメディアのインタラクション方法、情報インタラクション方法、装置、機器及び媒体
JP5805134B2 (ja) 端末装置および装置のプログラム
WO2023207490A1 (zh) 信息显示方法、装置、设备和存储介质
KR20230129616A (ko) 비디오 타임 앵커
CN114611023A (zh) 搜索结果的显示方法、装置、设备、介质及程序产品
CN114925285A (zh) 书籍信息处理方法、装置、设备和存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22885384

Country of ref document: EP

Kind code of ref document: A1