A content providing method, apparatus, device, and storage medium
By recognizing pinch gestures to trigger summaries of trending events, the system solves the problem of users quickly accessing trending events in search and news clients, achieving stable and efficient content delivery.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING BAIDU NETCOM SCI & TECH CO LTD
- Filing Date
- 2024-07-26
- Publication Date
- 2026-05-12
AI Technical Summary
Users find it difficult to quickly and reliably access and understand major trending events of the day when using search and news clients. Existing trending topics channels are unstable, content is outdated, and consumption efficiency is low.
By recognizing pinch gestures, extracting page display data, summarizing the data source based on the content provision solution, generating a list of hot events and summary content, and using pinch gestures as a trigger mechanism, the content can be quickly summarized and displayed.
It provides a stable entry point for trending events, reduces content lag, improves consumption efficiency, and meets users' needs to quickly understand trending events.
Smart Images

Figure CN119002786B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of computer technology, and in particular to the fields of search engines, search and information client technology, and large models. Background Technology
[0002] When using search and news clients, users have a need to grasp and understand the day's major trending events during their fragmented time. How to meet this need and provide users with timely event information is a technical problem that needs to be solved. Summary of the Invention
[0003] This disclosure provides a content delivery method, apparatus, device, and storage medium.
[0004] According to one aspect of this disclosure, a content delivery method is provided, comprising:
[0005] Recognize touch events;
[0006] Extract page display data when the touch event meets the pre-set trigger gesture;
[0007] Based on the page display data, determine the corresponding content delivery plan;
[0008] Based on the content delivery solution, the content data in the data source is summarized to obtain the summarized content.
[0009] According to another aspect of this disclosure, a content providing apparatus is provided, comprising:
[0010] Gesture recognition module, used to recognize touch events;
[0011] The content provision module is used to extract page display data when the touch event meets the pre-set trigger gesture; determine the corresponding content provision scheme based on the page display data; and summarize the content data in the data source based on the content provision scheme to obtain the summarized content.
[0012] According to another aspect of this disclosure, an electronic device is provided, comprising:
[0013] At least one processor; and
[0014] The memory is communicatively connected to the at least one processor; wherein,
[0015] The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform any of the methods described in the present disclosure.
[0016] According to another aspect of this disclosure, a non-transitory computer-readable storage medium is provided storing computer instructions, wherein the computer instructions are used to cause the computer to perform any of the methods according to embodiments of this disclosure.
[0017] According to another aspect of this disclosure, a computer program product is provided, including a computer program that, when executed by a processor, implements any of the methods according to embodiments of this disclosure.
[0018] The content provision method disclosed herein uses a pre-set trigger gesture as a trigger event. When the trigger gesture is recognized, the content data in the data source is summarized to obtain the summarized content, thereby meeting the user's need for rapid consumption of trending events.
[0019] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this disclosure, nor is it intended to limit the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description
[0020] The accompanying drawings are provided to better understand this solution and do not constitute a limitation of this disclosure. Wherein:
[0021] Figure 1 This is a schematic flowchart of a content provision method according to an embodiment of the present disclosure;
[0022] Figure 2 This is a schematic diagram illustrating the usage flow of a content provision method according to an embodiment of this disclosure;
[0023] Figure 3A This is a display effect diagram of the relevant APP during the startup phase in a content provision method according to an embodiment of this disclosure;
[0024] Figure 3B This is a content provisioning method according to an embodiment of the present disclosure, showing the display effect of the relevant APP during the content provisioning implementation stage. Figure 1 ;
[0025] Figure 3C This is a content provisioning method according to an embodiment of the present disclosure, showing the display effect of the relevant APP during the content provisioning implementation stage. Figure 2 ;
[0026] Figure 3D This is an embodiment of the content provisioning method disclosed herein, showing the display effect of the relevant APP during the content display phase. Figure 1 ;
[0027] Figure 3E This is an embodiment of the content provisioning method disclosed herein, showing the display effect of the relevant APP during the content display phase. Figure 2 ;
[0028] Figure 4 This is a schematic diagram of a kneading component according to an embodiment of the present disclosure;
[0029] Figure 5 This is a schematic diagram of the structure of a content providing apparatus 500 according to an embodiment of the present disclosure;
[0030] Figure 6 This is a schematic diagram of the structure of a content providing device 600 according to an embodiment of the present disclosure;
[0031] Figure 7 A schematic block diagram of an example electronic device 700 that can be used to implement embodiments of the present disclosure is shown. Detailed Implementation
[0032] The exemplary embodiments of this disclosure are described below with reference to the accompanying drawings, including various details of the embodiments to aid understanding, and should be considered merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope of this disclosure. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description.
[0033] The term "and / or" in this disclosure indicates that three relationships can exist. For example, A and / or B can represent three cases: A alone, A and B simultaneously, and B alone. The term "at least one" in this document means any combination of at least two of a plurality of options, such as including at least one of A, B, and C, which can mean including any one or more elements selected from the set of A, B, and C. The terms "first" and "second" in this document refer to and distinguish multiple similar technical terms, and do not imply a specific order or a limitation to only two. For example, "first feature" and "second feature" refer to two types / two features; the first feature can be one or more, and the second feature can also be one or more.
[0034] Users have a need to grasp and understand the day's major trending events when using search and news clients, such as search and news applications (APPs). Currently, this need can be met through the trending topics channels of search and news apps. However, this method has at least the following problems:
[0035] First, the access point is unstable; the trending topics channel is configured individually, and some users do not see the trending topics channel on their home screen. Second, the content of the trending topics channel is mainly selected and operated manually, which has a certain lag and subjectivity, and may not be what users are interested in or concerned about. Third, when users want to learn more about the content related to trending keywords, they need to click on the trending keywords to view the details, which results in low consumption efficiency.
[0036] Figure 1 This is a flowchart illustrating a content provision method according to an embodiment of the present disclosure. The method can be applied to a data processing apparatus, which can be deployed in an electronic device. The electronic device may be a single-machine or multi-machine terminal, server, or other processing device. The terminal may be a mobile device, a personal digital assistant (PDA), a handheld device, a computing device, an in-vehicle device, a wearable device, or other user equipment (UE). In some possible implementations, the electronic device may be applied to a data center; for example, the electronic device may be a computing engine device in a data center. In some possible implementations, the method may also be implemented by a processor calling computer-readable instructions stored in memory. Figure 1 As shown, the method may include:
[0037] S110, Recognize touch events;
[0038] S120. If the touch event satisfies the preset trigger gesture, extract the page display data;
[0039] S130. Based on the data displayed on this page, determine the corresponding content delivery plan;
[0040] S140. Based on the content provision solution, summarize the content data in the data source to obtain the summarized content.
[0041] In some examples, the trigger gesture includes a pinch gesture. A pinch gesture can be a multi-finger pinch-swipe gesture initiated from the edge of the display screen, where "multi-finger" refers to two or more fingers, and "pinch" means that two or more fingers converge in the swiping direction of the touchscreen, that is, the swiping positions of the two or more fingers move closer together as the swiping action occurs. A certain area on the screen can be set to belong to the screen edge.
[0042] In some examples, the page display data may include the position of the page content within the current app. For instance, if the page content is on the app's homepage, step S130 can determine, based on the page display data, that the corresponding content provision scheme is the content provision method proposed in this embodiment, and then the content data summarization process in step S140 continues. If the page content is not on the app's homepage, other corresponding schemes can be implemented; for example, if a pinch gesture is received on the message reading page, a summary of the message can be generated and displayed.
[0043] Figure 2 This is a schematic diagram illustrating the usage flow of a content provision method according to an embodiment of this disclosure. Figure 2 As shown, the process includes the following steps: (1) The user opens the homepage of the search and information APP; (2) The user performs a pinch gesture on the homepage; (3) Based on the pinch gesture, the content provision method proposed in this embodiment is used to summarize the content; (4) A list of hot events and summary content are generated.
[0044] Figures 3A-3E This is a display effect diagram of the relevant APP at various stages in a content provision method according to an embodiment of this disclosure. Figure 3A This is an illustration of the relevant app's homepage. When the app's homepage is displayed on the screen, the user can make a pinch gesture to trigger the page pinching action. Releasing the pinch after a certain distance triggers a page-specific event. During background operations within the app, an icon or animation indicating that content summarization is in progress can be displayed on the screen. During major events (such as major holidays or sporting events), the app can summarize relevant content about the event. In this case, during background operations, an icon or animation indicating that the major event is being summarized will be displayed on the screen, such as... Figure 3B As shown, the screen displays an icon or animation indicating that a "Highlights of the Match" summary is in progress. During normal times, the app can summarize relevant content from current trending events. In this case, while the app's background system is performing operations, the screen displays an icon or animation indicating that a summary of current / dayly trending events is in progress, such as... Figure 3C As shown, the screen displays an icon or animation indicating that the "Daily Morning Briefing" summary is in progress. The screen displays... Figure 3B The / 3C phase can be called the transition phase. After the transition phase, the summarized content can be displayed on the screen. For example, during a major event, relevant content about the major event summarized using the method proposed in the embodiments of this disclosure can be displayed, such as... Figure 3D As shown, the system can display a tournament leaderboard and multiple tournament highlights. For each highlight, a summary of its characteristics can be displayed, providing users with concise tournament information and helping them easily understand the highlights. Users can click on the highlight's summary to view its detailed content. For example, during normal times, after a transition phase, the screen can display relevant content summarizing current / dayly major events using the method proposed in this embodiment, such as... Figure 3E As shown, it can include multiple daily hot topics; for each daily hot topic, it can display news headlines and news summaries related to that hot topic, thereby providing users with brief content information and helping users easily understand the content of each hot topic event; when users want to know the details of the event, they can click on the summary of the hot topic event to display the detailed content of the hot topic.
[0045] The content delivery method proposed in this disclosure provides users with a stable entry point by enabling them to access summaries of current trending events through pinch gestures. Furthermore, the pinch gesture is a global gesture, ensuring a consistent triggering method for summaries. Additionally, the pinch gesture is generally understood to have a compression connotation; the use of this gesture as the triggering gesture for content extraction and summarization aligns with common understanding of pinch gestures, thus minimizing the learning curve for users and quickly meeting their needs for rapidly consuming trending events.
[0046] In some implementations, the content delivery method is applied to an apparatus that includes a gesture recognition module and a content delivery module;
[0047] The gesture recognition module identifies touch events. If the touch event satisfies a preset trigger gesture (such as a pinch gesture) and the currently displayed view does not perform any operation on the preset trigger gesture, it sends a start instruction to the content providing module.
[0048] Based on this launch instruction, the content delivery module obtains page display data, which includes the position of the page display content within the current application.
[0049] In the above example, a globally unified pinch gesture can be adopted. Relying on the system's gesture event propagation mechanism, the pinch gesture is not responded to when other gesture events exist on the page; the pinch gesture is responded to when no other gesture events exist on the page. In this way, the scene interaction is not affected, and the pinch gesture can be added globally in a unified manner. For example, when a finger touches the screen, if there is a view at the finger's touch location and that view has an operation corresponding to the current gesture, the gesture recognition module passes the touch event to the relevant operation module, which then executes the operation corresponding to the current gesture. If the currently displayed view does not have an operation corresponding to the touch event or triggering the gesture, a start instruction is sent to the content providing module, which then initiates the content summarization process. It can be seen that this solution places the content processing corresponding to the pinch gesture at the lowest level; if there are no other business requirements corresponding to the pinch gesture in the current view, the pinch gesture will be passed to the lowest level, thereby executing the corresponding page data extraction and big data summarization process. By adopting this solution, the conflict between the newly added content summarization function in this embodiment and the original gesture function of the business scenario (such as shrinking an image) is avoided, and the pinch gesture corresponding operation inherent in the business scenario itself has a higher priority.
[0050] When a user performs a pinch operation, the content summarization method provided in this embodiment can extract page data in real time, coordinate with the backend strategy model, and perform big data summarization to present accurate and structured content to the user.
[0051] In some implementations, the content delivery module includes a control unit and a kneading operation controller, wherein the kneading operation controller has pre-set implementation logic for the content delivery scheme;
[0052] Based on the data displayed on the page, the control unit invokes the kneading operation controller when the content displayed on the page is in the first position in the current application.
[0053] The kneading operation controller, based on the implementation logic of the pre-set content delivery scheme, summarizes the content data in the data source to obtain the summarized content.
[0054] In some implementations, the first location includes the homepage location.
[0055] In some implementations, the content providing module may further include a transition and animation encapsulation unit, in which the implementation logic of page display during the content providing process is pre-set;
[0056] During the process of summarizing the content data from the data source by the kneading operations controller, the transition and animation encapsulation unit performs page animation display based on the implementation logic of the page display. For example, the display... Figure 3B The interface content shown in / 3C.
[0057] By setting separate implementation logic, such as pre-setting the implementation logic of the content delivery scheme in the kneading operation controller and pre-setting the implementation logic of the page display during the content delivery process in the transition and animation encapsulation unit, the implementation logic of different functions can be defined and managed separately, which facilitates the updating of the implementation logic and simplifies the backend processing.
[0058] Figure 4 This is a schematic diagram of a kneading component according to an embodiment of the present disclosure. The kneading component includes a service interface layer, a kneading scenario business layer, and a basic capability layer.
[0059] Among them, the service interface layer serves as the external interface.
[0060] The pinch-to-action business layer includes a pinch-to-action operation controller and a pinch-to-action summary controller. The pinch-to-action operation controller pre-configures the implementation logic for content delivery schemes (also known as operational data processing logic), enabling it to retrieve content data from multiple data sources, perform event clustering on the content data, and summarize the content data of each event. The pinch-to-action summary controller pre-configures the implementation logic for generating summaries (also known as pinch-to-action data processing logic), enabling it to generate summary information for individual text or messages. In some implementations, when the content displayed on the current page is on the homepage of the current application, the control unit calls the pinch-to-action operation controller, which executes the pre-configured implementation logic for content delivery schemes. When the content displayed on the current page is not on the homepage of the current application, the control unit calls the pinch-to-action summary controller, which executes the pre-configured implementation logic for generating summaries. Pinch gestures recognized at different locations can trigger different functions, thereby improving the flexibility of content services.
[0061] The basic capability layer includes transition and animation encapsulation units. At the beginning of a transition, the control unit calls the transition and animation encapsulation units, which execute pre-set implementation logic and display the transition interface.
[0062] In some examples, there is common logic between the implementation logic of the content delivery scheme pre-set in the kneading operation controller and the implementation logic of the summary generation pre-set in the kneading summary controller. Therefore, embodiments of this disclosure can design a base class, denoted as BBAPinchableViewController, to sink the common logic between the two into this base class. The class for the implementation logic of the content delivery scheme pre-set in the kneading operation controller is denoted as BBAPinchOperationViewController. This BBAPinchOperationViewController inherits the implementation logic in the base class BBAPinchableViewController and defines other custom logic. The class for the implementation logic of the summary generation pre-set in the kneading summary controller is denoted as BBAPinchSummaryViewController. This BBAPinchSummaryViewController also inherits the implementation logic in the base class BBAPinchableViewController and defines other custom logic (such as the implementation logic for identifying and counting user clicks).
[0063] Furthermore, the embodiments of this disclosure can also design corresponding data structures for different scenarios. For example, different types of content matching purposes can be designed, including daily content matching types, current hot topic content matching types, etc. Another example is the design of content data source types, including push notifications, search pages, homepages, default sources, etc.
[0064] In some examples, the implementation logic of the content summary adopted in the embodiments of this disclosure includes:
[0065] Fetch multiple content data from multiple data sources;
[0066] The multiple content data are clustered to obtain multiple events and a content list for each event; the content list of each event contains multiple content data corresponding to that event.
[0067] Extract the events with the highest popularity from these multiple events, and summarize the content data corresponding to each extracted event to obtain the summary content for each event.
[0068] In some examples, multiple data sources include information from various internal channels, push notifications sent by the app, overall app rankings, overall app push notifications, and information manually submitted by product lines. Overall app rankings mainly include comprehensive rankings, vertical rankings (such as finance rankings, entertainment rankings, technology rankings, etc.), and regional rankings.
[0069] After obtaining the summary content for each event, the summary content for each event can be displayed on the terminal device for users to view.
[0070] This disclosed embodiment can automatically mine a list of important trending events from internal and external data sources such as ranking lists, enabling timely delivery of recent major events to users. In terms of important content filtering, only the most popular trending events can be displayed to users, while the corresponding content data for these events is summarized into concise summaries. This allows users to quickly understand the event overview, and if they want to learn more about related content, they can click on specific articles for further exploration. In some examples, a large model can be used to summarize the content data corresponding to the events, thereby obtaining the event-specific summary content.
[0071] When fetching multiple content data from multiple data sources, personalized fetching can be performed based on different scenarios and different users, for example:
[0072] Determine the type of content data to be crawled based on at least one of the following: current major events, user's geographic location, and user's personalized preferences;
[0073] Based on the type, content data is crawled from the multiple data sources.
[0074] By employing the above methods, factors such as user location, personalized preferences, and interaction with major events (e.g., major holidays, major sporting events) can be combined with internal and external rankings and trending searches to uncover key events that users care about, thereby providing personalized content services. Furthermore, AI-powered models can be used to generate summaries of trending events, intelligently connecting users to these events and helping them quickly understand current hot topics. Additionally, the use of pinch-to-click gestures as a new interactive method enhances the app's engaging and fun factor.
[0075] In some implementations, before clustering multiple pieces of content data, basic filtering and validation can be performed on the crawled content data to remove erroneous data; deduplication can also be performed on multiple pieces of content data, for example:
[0076] The crawled content data is deduplicated by comparing it with existing data in the dataset. If the content data is duplicated (meaning the currently crawled content data has been crawled before), the crawling information of the existing data is updated. If the content data is unique (meaning the currently crawled content data has not been crawled before), the content data and its crawling information are saved into the dataset. Thus, the dataset contains content data crawled multiple times, along with the crawling information for each piece of content data. In some implementations, the crawling information for the content data includes at least one of crawling time, source, and popularity value. The popularity value of the content data can be related to at least one of the following: the source of the content data, the popularity of the source, the number of related content items, the readership of the related content, and the number of user searches. It is easy to understand that the more important the source of the content data, the larger the user base, the higher the popularity of the source, the larger the number of related content items, the higher the readership of the related content, and the more user searches, the higher the popularity value of the content data.
[0077] In some implementations, clustering the multiple content data may include:
[0078] For each piece of content data, extract the keyword vector and / or corresponding entity for that content data;
[0079] Based on the keyword vectors and / or corresponding entities of each content data, the multiple content data are initially clustered to obtain multiple clusters, each cluster including multiple content data, and each cluster corresponding to one event;
[0080] The similarity of content data within each cluster is determined, and dissimilar content data is removed from the cluster. For example, a large language model can be used to determine the similarity of content data within a cluster and remove dissimilar content data.
[0081] In some implementations, before extracting the events with the highest popularity values from multiple events, the popularity value of each event can be determined separately for the popularity values of multiple content data corresponding to each event; wherein,
[0082] The popularity value of content data is related to at least one of the following: the source of the content data, the popularity of the source of the content data, the number of related content, the number of views of the related content, and the number of user searches.
[0083] For example, when determining the popularity value of content data, a source importance score is determined based on the importance of the source of the content data or the number of users; a source popularity score is determined based on the popularity of the source of the content data; a number of associations score is determined based on the number of related content; a number of related reads score is determined based on the number of reads of the related content; and a number of search scores is determined based on the number of user searches for the content data. The aforementioned scores are then weighted and summed to obtain the popularity value of the content data.
[0084] When determining the popularity value of a time event, the average popularity value of multiple content events corresponding to that event can be used as the popularity value of that event.
[0085] Based on the popularity value of each event, users can be shown the most popular events and a summary of each event.
[0086] This disclosure also proposes a content providing device. Figure 5 This is a schematic diagram of the structure of a content providing apparatus 500 according to an embodiment of the present disclosure, including:
[0087] The gesture recognition module 510 is used to recognize touch events; the content providing module 520 is used to extract page display data when the touch event meets the preset trigger gesture; determine the corresponding content providing scheme based on the page display data; and summarize the content data in the data source based on the content providing scheme to obtain the summarized content.
[0088] In some implementations, the triggering gesture includes a pinch gesture.
[0089] In some implementations, the gesture recognition module 510 is used to recognize touch events and, if the touch event is recognized to satisfy a preset trigger gesture and the currently displayed view does not perform any operation in response to the preset trigger gesture, send a start instruction to the content providing module.
[0090] The content providing module 520 is used to obtain page display data based on the launch instruction. The page display data includes the position of the page display content in the current application.
[0091] Figure 6 This is a schematic diagram of the structure of a content providing device 600 according to an embodiment of the present disclosure. In some embodiments, the content providing module 520 includes a control unit 630 and a kneading operation controller 640, wherein the kneading operation controller 640 is pre-set with the implementation logic of the content providing scheme.
[0092] Control unit 630 is used to invoke the kneading operation controller when the content displayed on the page is in the first position in the current application, based on the data displayed on the page.
[0093] The kneading operation controller 640 is used to summarize the content data in the data source based on the implementation logic of the pre-set content delivery scheme to obtain the summarized content.
[0094] In some implementations, the content providing module 520 further includes a transition and animation encapsulation unit 650, in which the implementation logic of page display during the content providing process is pre-set;
[0095] The transition and animation encapsulation unit 650 is used to display page animations based on the page display implementation logic during the process of summarizing the content data in the data source by the kneading operation controller 640.
[0096] In some implementations, the first position includes the homepage position.
[0097] In some implementations, the content delivery scheme's implementation logic includes:
[0098] Fetch multiple content data from multiple data sources;
[0099] Multiple data items are clustered to obtain multiple events and a list of content for each event; the content list of an event contains multiple data items for the corresponding event.
[0100] Extract the events with the highest popularity from a pool of events, and summarize the content data corresponding to each extracted event to obtain the summary content for each event.
[0101] The specific functions and examples of each module and submodule of the apparatus in this disclosure can be found in the relevant descriptions of the corresponding steps in the above method embodiments, and will not be repeated here.
[0102] The acquisition, storage, and application of personal information by users involved in this technical solution comply with relevant laws and regulations and do not violate public order and good morals.
[0103] According to embodiments of this disclosure, this disclosure also provides an electronic device, a readable storage medium, and a computer program product.
[0104] Figure 7 A schematic block diagram of an example electronic device 700 that can be used to implement embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the present disclosure described and / or claimed herein.
[0105] like Figure 7 As shown, device 700 includes a computing unit 701, which can perform various appropriate actions and processes based on a computer program stored in read-only memory (ROM) 702 or a computer program loaded from storage unit 708 into random access memory (RAM) 703. RAM 703 may also store various programs and data required for the operation of device 700. The computing unit 701, ROM 702, and RAM 703 are interconnected via bus 704. Input / output (I / O) interface 705 is also connected to bus 704.
[0106] Multiple components in device 700 are connected to I / O interface 705, including: input unit 706, such as keyboard, mouse, etc.; output unit 707, such as various types of monitors, speakers, etc.; storage unit 708, such as disk, optical disk, etc.; and communication unit 709, such as network card, modem, wireless transceiver, etc. Communication unit 709 allows device 700 to exchange / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0107] The computing unit 701 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 701 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 701 performs the various methods and processes described above, such as detection methods. For example, in some embodiments, the detection method may be implemented as a computer software program tangibly contained in a machine-readable medium, such as storage unit 708. In some embodiments, part or all of the computer program may be loaded and / or installed on device 700 via ROM 702 and / or communication unit 709. When the computer program is loaded into RAM 703 and executed by the computing unit 701, one or more steps of the detection method described above may be performed. Alternatively, in other embodiments, the computing unit 701 may be configured to perform the detection method by any other suitable means (e.g., by means of firmware).
[0108] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0109] The program code used to implement the methods of this disclosure may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing apparatus, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0110] In the context of this disclosure, a machine-readable medium can 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 can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, 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 devices, magnetic storage devices, or any suitable combination of the foregoing.
[0111] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0112] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as a data server), or computing systems that include middleware components (e.g., an application server), or computing systems that include frontend components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with embodiments of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., a communication network). Examples of communication networks include local area networks (LANs), wide area networks (WANs), and the Internet.
[0113] Computer systems can include clients and servers. Clients and servers are generally located far apart and typically interact via communication networks. Client-server relationships are created by computer programs running on the respective computers and having a client-server relationship with each other. Servers can be cloud servers, servers in distributed systems, or servers incorporating blockchain technology.
[0114] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this disclosure can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution disclosed in this disclosure can be achieved, and this is not limited herein.
[0115] The specific embodiments described above do not constitute a limitation on the scope of protection of this disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the principles of this disclosure should be included within the scope of protection of this disclosure.
Claims
1. A content provisioning method, the content provisioning method being applied to an apparatus including a gesture recognition module and a content provisioning module, comprising: Recognize touch events; When the touch event satisfies a pre-set trigger gesture, page display data is extracted. This page display data includes the position of the displayed content within the current application, which may be either the homepage position or a non-homepage position. The trigger gesture is used to trigger a content summary function when the displayed content is in the homepage position, and to trigger a summary generation function when the displayed content is in a non-homepage position. When a finger touches the screen, a view is present at the touch location, and the view has an operation corresponding to the current gesture, the gesture recognition module transmits the touch event to the relevant operation module, which then executes the operation corresponding to the current gesture. If the currently displayed view does not have an operation corresponding to the touch event or the trigger gesture, a start instruction is sent to the content providing module, which then initiates the content summary process. The content processing corresponding to the trigger gesture is located at the lowest level. Based on the page display data, determine the corresponding content delivery plan; Based on the content provision scheme, the content data in the data source is summarized to obtain the summarized content, which includes the titles and summaries of hot events; Display the title and summary of the trending event; Identify click events; If the click event is a click event targeting the summary, the detailed content of the hot topic event is displayed.
2. The method according to claim 1, wherein, The triggering gestures include pinching gestures.
3. The method according to claim 1 or 2, wherein, The recognition of touch events; If the touch event satisfies a pre-set trigger gesture, extract the page display data, including: The gesture recognition module recognizes touch events. If the touch event satisfies a preset trigger gesture and the currently displayed view does not perform any operation on the preset trigger gesture, it sends a start instruction to the content providing module. The content providing module obtains page display data based on the launch instruction.
4. The method according to claim 3, wherein, The content delivery module includes a control unit and a kneading operation controller, wherein the implementation logic of the content delivery scheme is pre-set in the kneading operation controller; The corresponding content delivery plan is determined based on the page display data; Based on the aforementioned content provision scheme, the content data in the data source is summarized to obtain the summarized content, including: The control unit invokes the kneading operation controller when the page display content is in the first position in the current application, based on the page display data. The kneading operation controller summarizes the content data in the data source based on the implementation logic of the pre-set content provision scheme to obtain the summarized content.
5. The method according to claim 4, wherein, The content providing module also includes a transition and animation encapsulation unit, in which the implementation logic of page display during the content providing process is pre-set; The method further includes: During the process of the kneading operation controller summarizing the content data in the data source, the transition and animation encapsulation unit performs page animation display based on the page display implementation logic.
6. The method according to claim 4 or 5, wherein, The first location includes the homepage location.
7. The method according to claim 4 or 5, wherein, The implementation logic of the content provision solution includes: Fetch multiple content data from multiple data sources; The multiple content data are clustered to obtain multiple events and a content list for each event; the content list of each event contains multiple content data corresponding to that event. From the multiple events, extract the events with the highest popularity values, and summarize the content data corresponding to each extracted event to obtain the summary content corresponding to each event.
8. The method according to claim 7, wherein, The implementation logic of the content provision solution also includes: Determine the type of content data to be crawled based on at least one of the following: current major events, user's geographic location, and user's personalized preferences; Content data is crawled from the multiple data sources according to the type.
9. The method according to claim 7, wherein, The process of clustering the multiple content data includes: For each of the aforementioned content data, extract the keyword vector and / or corresponding entity of that content data; Based on the keyword vectors and / or corresponding entities of each of the content data, the multiple content data are initially clustered to obtain multiple clusters, each cluster including multiple content data, and each cluster corresponds to one of the events; Determine the similarity of content data in each cluster, and delete dissimilar content data from the cluster.
10. A content providing apparatus, comprising: Gesture recognition module, used to recognize touch events; The content providing module is used to extract page display data when the touch event satisfies a pre-set trigger gesture. The page display data includes the position of the displayed content within the current application, including either the homepage position or a non-homepage position. The trigger gesture is used to trigger a content summary function when the displayed content is in the homepage position, and to trigger a summary generation function when the displayed content is in a non-homepage position. When a finger touches the screen, a view is present at the touch location, and the view has an operation corresponding to the current gesture, the gesture recognition module transmits the touch event to the relevant operation module, which then executes the current gesture. The corresponding operations include: if there is no operation related to the touch event or the trigger gesture in the currently displayed view, a start instruction is sent to the content providing module, which then initiates the content summarization process; the content processing corresponding to the trigger gesture is located at the lowest level; based on the page display data, a corresponding content providing scheme is determined; based on the content providing scheme, the content data in the data source is summarized to obtain summarized content, which includes the title and summary of the hot events; it is also used to display the title and summary of the hot events; click events are identified; if the click event is a click event targeting the summary, the detailed content of the hot event is displayed.
11. The apparatus according to claim 10, wherein, The triggering gestures include pinching gestures.
12. The apparatus according to claim 10 or 11, wherein, The gesture recognition module is used to recognize touch events, and when the touch event is recognized to satisfy a preset trigger gesture and the currently displayed view does not perform any operation on the preset trigger gesture, it sends a start instruction to the content providing module. The content providing module is used to obtain page display data based on the launch instruction.
13. The apparatus according to claim 12, wherein, The content delivery module includes a control unit and a kneading operation controller, wherein the implementation logic of the content delivery scheme is pre-set in the kneading operation controller; The control unit is configured to invoke the kneading operation controller based on the page display data, when the page display content is in the first position in the current application; The kneading operation controller is used to summarize the content data in the data source based on the implementation logic of the pre-set content delivery scheme to obtain the summarized content.
14. The apparatus according to claim 13, wherein, The content providing module also includes a transition and animation encapsulation unit, in which the implementation logic of page display during the content providing process is pre-set; The transition and animation encapsulation unit is used to perform page animation display based on the page display implementation logic during the process of the kneading operation controller summarizing the content data in the data source.
15. The apparatus according to claim 13 or 14, wherein, The first location includes the homepage location.
16. The apparatus according to claim 13 or 14, wherein, The implementation logic of the content provision solution includes: Fetch multiple content data from multiple data sources; The multiple content data are clustered to obtain multiple events and a content list for each event; the content list of each event contains multiple content data corresponding to that event. From the multiple events, extract the events with the highest popularity values, and summarize the content data corresponding to each extracted event to obtain the summary content corresponding to each event.
17. An electronic device comprising: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-9.
18. A non-transitory computer-readable storage medium storing computer instructions, wherein, The computer instructions are used to cause the computer to perform the method according to any one of claims 1-9.
19. A computer program product comprising a computer program that, when executed by a processor, implements the method according to any one of claims 1-9.