Website content subscription method and device, computer equipment, readable storage medium and program product
By using user-demand-based subscription configuration and dual-engine access technology, the flexibility and accuracy issues of website content subscription in existing technologies are resolved, enabling customized website content update notifications.
Patent Information
- Application Number
- CN202511751515.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-26
- Publication Date
- 2026-02-06
AI Technical Summary
Existing website content subscription technologies rely on RSS feeds provided by websites, lacking flexibility and filtering capabilities. Update notifications depend on RSS readers, resulting in limited and inflexible subscription content.
By determining the subscription configuration of the target website based on user needs, the dual-engine system accesses the target website, locates and obtains the target content using preset methods, and compares it with historical content after successful reception, performs customized processing, and then transmits it to the user terminal.
It enables accurate identification and timely notification of website updates based on user needs, improving the flexibility and accuracy of subscribed content and reducing reading costs.
Smart Images

Figure CN121486435A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of software development, and particularly relates to a website content subscription method and device, computer equipment, computer readable storage medium and computer program product. BACKGROUND
[0002] Website content subscription is usually an in-site function that requires user registration and login to the website platform. For users who want to track multiple website updates, RSS (Really Simple Syndication) is a commonly used solution.
[0003] However, in the related art, RSS relies on the website to provide and maintain the RSS source, and many information websites do not implement this. Even if the website provides RSS, the subscribed content is limited to the subscription source, lacks flexibility, cannot be filtered according to specific conditions, and the update notification usually relies on the RSS reader, resulting in that the existing website content subscription technology is relatively limited. SUMMARY
[0004] Therefore, it is necessary to provide a website content subscription method, device, computer equipment, computer readable storage medium and computer program product capable of accurately and timely identifying website update content in view of the above technical problems.
[0005] In a first aspect, the present application provides a website content subscription method, comprising:
[0006] determining a subscription configuration of a target website based on personal needs of a user;
[0007] driving a double engine to access the target website, and based on a preset mode, locating and acquiring target content corresponding to the subscription configuration on the target website;
[0008] in the case of successfully receiving the target content, comparing the target content with historical target content to determine update content of the target website;
[0009] based on the personal needs, customizing the update content to obtain processed update content;
[0010] based on a preset transmission mode, transmitting the processed update content to a user terminal.
[0011] In one embodiment, the acquiring of the target content corresponding to the subscription configuration comprises:
[0012] in the case that dynamic content corresponding to the subscription configuration in the target website is loaded, the target content corresponding to the subscription configuration is acquired.
[0013] In one embodiment, the dual engine includes a first engine and a second engine; the method further includes:
[0014] determining first target content acquired by the first engine and second target content acquired by the second engine;
[0015] calculating similarity between the first target content and the second target content;
[0016] in a case where the similarity is not lower than a preset threshold, determining target content corresponding to the subscription configuration based on the first target content and the second target content;
[0017] in a case where the similarity is lower than the preset threshold, determining that the current content acquisition is abnormal.
[0018] In one embodiment, the calculating similarity between the first target content and the second target content includes:
[0019] converting the first target content into a first feature vector and converting the second target content into a second feature vector;
[0020] calculating cosine similarity between the first feature vector and the second feature vector.
[0021] In one embodiment, the subscription configuration includes a website address of the target website, a content positioning manner, a driven engine type, a content processing rule, and a user notification manner.
[0022] In one embodiment, the customized processing includes at least one of language translation, content format rearrangement, merging multiple pieces of content into a single message, sending only a quantity prompt when the number of updated contents exceeds a threshold, and a self-defined content display style.
[0023] In a second aspect, the present application further provides a website content subscription device, including:
[0024] a determining module configured to determine a subscription configuration of a target website based on personal needs of a user;
[0025] an acquiring module configured to drive a dual engine to access the target website and acquire target content corresponding to the subscription configuration based on a preset manner on the target website;
[0026] the determining module is further configured to compare the target content with historical target content in a case where the target content is successfully received, and determine updated content of the target website.
[0027] The processing module is configured to perform customized processing on the update content based on the personal demand of the user, to obtain processed update content.
[0028] The transmission module is configured to transmit the processed update content to a user terminal based on a preset transmission mode.
[0029] In a third aspect, the present application provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the following steps when executing the computer program:
[0030] determining a subscription configuration of a target website based on a personal demand of a user;
[0031] driving a double engine to access the target website, and positioning and obtaining target content corresponding to the subscription configuration on the target website based on a preset mode;
[0032] comparing the target content with historical target content to determine update content of the target website in a case where the target content is successfully received;
[0033] performing customized processing on the update content based on the personal demand of the user, to obtain processed update content;
[0034] transmitting the processed update content to a user terminal based on a preset transmission mode.
[0035] In a fourth aspect, the present application provides a computer readable storage medium, which stores a computer program, and the computer program implements the following steps when executed by a processor:
[0036] determining a subscription configuration of a target website based on a personal demand of a user;
[0037] driving a double engine to access the target website, and positioning and obtaining target content corresponding to the subscription configuration on the target website based on a preset mode;
[0038] comparing the target content with historical target content to determine update content of the target website in a case where the target content is successfully received;
[0039] performing customized processing on the update content based on the personal demand of the user, to obtain processed update content;
[0040] transmitting the processed update content to a user terminal based on a preset transmission mode.
[0041] In a fifth aspect, the present application provides a computer program product, comprising a computer program, and the computer program implements the following steps when executed by a processor:
[0042] determine a subscription configuration of the target website based on a personal demand of the user;
[0043] drive a double engine to access the target website, and locate and acquire target content corresponding to the subscription configuration on the target website based on a preset mode;
[0044] in a case where the target content is successfully received, compare the target content with historical target content to determine updated content of the target website;
[0045] based on the personal demand, customize the updated content to obtain processed updated content;
[0046] based on a preset transmission mode, transmit the processed updated content to a user terminal.
[0047] The website content subscription method, device, computer equipment, computer readable storage medium and computer program product, first, determine a subscription configuration of the target website based on a personal demand of the user; drive a double engine to access the target website, and locate and acquire target content corresponding to the subscription configuration on the target website based on a preset mode; in a case where the target content is successfully received, compare the target content with historical target content to determine updated content of the target website; based on the personal demand, customize the updated content to obtain processed updated content; based on a preset transmission mode, transmit the processed updated content to a user terminal. In this way, by actively grabbing page information and using website page element positioning technology to accurately identify changes in page content, accurate identification and notification of website content updates are realized. BRIEF DESCRIPTION OF DRAWINGS
[0048] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related art, the following will briefly introduce the drawings needed to be used in the description of the embodiments of the present application or the related art. Obviously, the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other related drawings can also be obtained without creative labor on the basis of these drawings.
[0049] Figure 1 for an application environment diagram of a website content subscription method in an embodiment;
[0050] Figure 2 for a flowchart of a website content subscription method in an embodiment;
[0051] Figure 3 for a structural block diagram of a website content subscription device in an embodiment;
[0052] Figure 4This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0053] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0054] It should be noted that the terms "first," "second," etc., used in this application can be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish the first element from the second element. The terms "comprising" and "having," and any variations thereof, used in this application, are intended to cover non-exclusive inclusion. The term "multiple" used in this application refers to two or more. The term "and / or" used in this application refers to one of the embodiments, or any combination of multiple embodiments.
[0055] The website content subscription method provided in this application embodiment can be applied to, for example, Figure 1 In the application environment shown, terminal 102 communicates with server 104 via a network. A data storage system can store the data that server 104 needs to process. The data storage system can be integrated onto server 104, or it can be located in the cloud or on another network server.
[0056] In one embodiment, the target website may be located on terminal 102. Server 104 monitors updates to the content of the target website located on terminal 102 and transmits the updated content to the user terminal when there are updates to the content of the target website.
[0057] In another embodiment, the target website may also be located on another server and communicate with server 104 via a network. Server 104 monitors the content updates of the target website on the other server via the network.
[0058] Terminal 102 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, drones, low-altitude aircraft, IoT devices, and portable wearable devices. IoT devices can include smart speakers, smart TVs, smart air conditioners, smart in-vehicle devices, and projection equipment. Portable wearable devices can include smartwatches, smart bracelets, and head-mounted displays. Head-mounted displays can be virtual reality (VR) devices, augmented reality (AR) devices, and smart glasses. Server 104 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services.
[0059] In one exemplary embodiment, as shown in Figure 2 Fig. 1, a website content subscription method is provided, which is applied to the server 104 in Figure 1 Fig. 1 as an example, and includes the following steps 202 to 210. In the steps, the server 104 determines the subscription configuration of the target website based on the personal needs of the user.
[0060] Step 202, determine the subscription configuration of the target website based on the personal needs of the user.
[0061] Exemplarily, the subscription configuration of the target website is determined according to the personal needs of the user, which allows the user to set the website address of the subscription, the driving engine, select the module of the subscription content, define the content filtering rule, specify the content processing logic, and set the display waiting time parameter, etc.
[0062] In the subscription configuration, the user can set the specific content according to the actual needs, and the embodiments of the present application do not limit the specific content in the subscription configuration.
[0063] In one embodiment, the server can create, retrieve, edit, and delete the subscription configuration, etc.
[0064] Step 204, drive the dual-engine to access the target website, and based on the preset mode, locate and obtain the target content corresponding to the subscription configuration on the target website.
[0065] Optionally, the dual-engine is driven to access the target website, the content is scraped from the target website, and the target content corresponding to the subscription configuration is extracted by using the content locator (such as ID, label, class name, text, xpath, etc.) defined by the user or the self-defined positioning strategy.
[0066] Step 206, in the case of successfully receiving the target content, compare the target content with the historical target content to determine the updated content of the target website.
[0067] Exemplarily, in the case of successfully receiving all the target content by the server, compare the received target content with the historical target content to find the updated content as the updated content of the target website.
[0068] In one embodiment, the server checks the received target content, and in the case of incomplete target content or no target content received, performs error processing.
[0069] Step 208, customize the updated content based on the personal needs to obtain the processed updated content.
[0070] Optionally, the updated content is customized according to the personal needs of the user and the actual implementation scene to obtain the processed updated content.
[0071] Step 210, transmitting the processed update content to the user terminal based on the preset transmission mode.
[0072] For example, the processed update content is transmitted to the user terminal based on the preset transmission mode.
[0073] In one embodiment, the update content is sent to the user terminal through DingTalk, WeChat for Enterprise, or SMS.
[0074] In the above website content subscription method, the subscription configuration of the target website is determined based on the personal needs of the user; the double-engine is driven to access the target website, and the target content corresponding to the subscription configuration is located and obtained based on the preset mode on the target website; in the case of successfully receiving the target content, the target content is compared with the historical target content to determine the update content of the target website; the update content is customized based on the personal needs to obtain the processed update content; and the processed update content is transmitted to the user terminal based on the preset transmission mode. In this way, the page information is actively grabbed, and the website page element positioning technology is used to accurately identify the changes in the page content, so as to accurately identify and notify the user of the update of the website content.
[0075] In one example embodiment, obtaining the target content corresponding to the subscription configuration comprises: in the case that the dynamic content corresponding to the subscription configuration in the target website is loaded, obtaining the target content corresponding to the subscription configuration.
[0076] In actual implementation, for the target website, part of the content is loaded asynchronously during the page loading process.
[0077] In one embodiment, support for JavaScript-rendered content is added, which usually involves waiting for a specific DOM element to be loaded before grabbing the data. WebDriverWait can be used in combination with expected_conditions to wait for certain conditions to be met, such as waiting for a certain element to be visible or a certain JavaScript condition to be met. Among them, the JavaScript condition is a Boolean expression used to control the execution path of the program, and the code to be executed is determined according to the true or false value of the condition.
[0078] In one embodiment, AJAX requests in the page are monitored, and the data sent by these requests are captured, because these data may be part of the dynamically loaded content. This can be achieved by analyzing network requests to record all requests related to page interaction. Among them, AJAX request is a technology for sending asynchronous requests to the server in the browser through JavaScript, which realizes partial update of the page without refreshing the entire page.
[0079] In another embodiment, the automatic simulation of scrolling behavior is used to trigger infinite scrolling or a load more button on the page, ensuring that all content is loaded. A script can be written to automatically scroll the page to the bottom until no new content is loaded.
[0080] In the case where the dynamic content corresponding to the subscription configuration is loaded, the target content corresponding to the subscription configuration is obtained.
[0081] In the above embodiments, by actively waiting (such as waiting for a specific element to appear, waiting for the network to be idle, or simulating scrolling), the system can capture the full amount of content ultimately presented to the user. This makes the subscription update no longer missed, greatly improving the completeness of the content.
[0082] In an exemplary embodiment, the dual engine includes a first engine and a second engine; the method further includes: determining the first target content obtained by the first engine and the second target content obtained by the second engine; calculating the similarity between the first target content and the second target content; in the case where the similarity is not lower than a preset threshold, determining the target content corresponding to the subscription configuration based on the first target content and the second target content; in the case where the similarity is lower than the preset threshold, determining that the current content acquisition is abnormal.
[0083] In actual implementation, the first engine is a Selenium engine and the second engine is a Playwright engine; the target content corresponding to the subscription configuration is obtained using the two engines, the similarity between the first target content and the second target content is calculated, in the case where the similarity is not lower than a preset threshold, the target content corresponding to the subscription configuration is determined based on the first target content and the second target content, and if the similarity is lower than the preset threshold, it means that the content obtained by the two engines is significantly different, which may be a false positive, and it is determined that the current content acquisition is abnormal.
[0084] Selenium is a web application testing tool that can simulate user operations on the browser, obtain and analyze page elements; Playwright is an automation library that supports cross-browser and cross-platform automated testing, supporting all major browsers (including Chromium, Firefox and WebKit) and multiple operating systems (such as Windows, macOS and Linux).
[0085] In the above embodiments, the target content corresponding to the subscription configuration is determined by the two engines, improving the accuracy of the target content.
[0086] In an example embodiment, the similarity between the first target content and the second target content is calculated by converting the first target content into a first feature vector and the second target content into a second feature vector, and calculating the cosine similarity between the first feature vector and the second feature vector.
[0087] In actual implementation, the first target content is converted into a first feature vector A, and the second target content is converted into a second feature vector B; the cosine similarity between the first feature vector and the second feature vector is calculated, and the specific calculation formula is similarity(A, B) = A·B / ||A|| | |B||, wherein A·B represents the dot product of the vectors, and ||A|| and ||B|| represent the lengths of the vectors, respectively.
[0088] In the above embodiment, the similarity between the two target contents is quantified, so that the final result is more intuitive.
[0089] In an example embodiment, the subscription configuration includes the website address of the target website, the content positioning method, the drive engine type, the content processing rule, and the user notification method.
[0090] In actual implementation, the subscription configuration includes the website address of the target website, the content positioning method, the drive engine type, the content processing rule, and the user notification method.
[0091] The subscription configuration can also include the user notification address, the keywords, the channel, and the display of the target website, which can be set by the user according to personal needs, and the embodiments of the present application are not limited thereto.
[0092] In the above embodiment, the user customizes different subscription configurations, so that the application range of the target website subscription is more extensive.
[0093] In an example embodiment, the customization processing includes at least one of language translation, content format rearrangement, merging multiple contents into a single message, sending only a quantity prompt when the number of updated contents exceeds a threshold, and customizing the content display style.
[0094] In actual implementation, the updated content is customized by at least one of language translation (for example, English to Chinese), content format rearrangement, merging multiple contents into a single message (for example, merging multiple updates of the same site into one message), sending only a quantity prompt when the number of updated contents exceeds a threshold, and customizing the content display style.
[0095] In the above embodiments, the information source of the user is expanded through language translation, and the reading cost is reduced. For websites with high-frequency updates (such as news sites and forums), multiple updates generated in a short time are combined into one summary message, making the result display more intuitive.
[0096] To illustrate the website content subscription method in the present application in detail, an embodiment is described below. By way of example, the website content subscription method in a specific scenario is described.
[0097] According to the personal needs of the user, the subscription configuration of the target website is determined, allowing the user to set the website address, the driving engine, the module for selecting the subscription content, the content filtering rule, the content processing logic, and the display waiting time parameter.
[0098] The target website is accessed by driving the double engine, the content is grabbed from the target website, and the target content corresponding to the subscription configuration is extracted by using the content locator defined by the user (such as ID, label, class name, text, xpath, etc.) or the custom positioning strategy.
[0099] In the case where the server successfully receives all the target content, the received target content is compared with the historical target content to find the updated content, which is the update content of the target website. According to the personal needs of the user and the actual implementation scenario, the update content is customized to obtain the processed update content.
[0100] Based on the preset transmission mode, the processed update content is transmitted to the user terminal.
[0101] It should be understood that although each step in the flowchart involved in each embodiment described above is displayed in sequence according to the arrow, these steps are not necessarily executed in sequence according to the arrow. Unless otherwise specified herein, the execution of these steps is not strictly limited in sequence, and these steps can be executed in other orders. Moreover, at least part of the steps in the flowchart involved in each embodiment described above can include multiple steps or stages, which are not necessarily executed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be executed in rotation or alternation with at least part of other steps or steps or stages in other steps. It can be understood that the steps in different embodiments can be freely combined as needed, and various non-contradictory schemes formed by the combination are within the scope of protection of the present application.
[0102] Based on the same inventive concept, the embodiments of the present application further provide a website content subscription device for implementing the above-mentioned website content subscription method. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme described in the above-mentioned method, and therefore the specific limitations in one or more website content subscription device embodiments provided below can be referred to the limitations of the website content subscription method in the above, which will not be described here again.
[0103] In one exemplary embodiment, as shown in Figure 3 a website content subscription device is provided, comprising: a determination module 301, an acquisition module 302, a processing module 303 and a transmission module 304, wherein:
[0104] The determination module is configured to determine a subscription configuration of a target website based on a personal demand of a user.
[0105] The acquisition module is configured to drive a double-engine to access the target website and to locate and acquire target content corresponding to the subscription configuration on the target website based on a preset mode.
[0106] The determination module is further configured to compare the target content with historical target content to determine updated content of the target website in a case where the target content is successfully received.
[0107] The processing module is configured to customize the updated content based on the personal demand to obtain processed updated content.
[0108] The transmission module is configured to transmit the processed updated content to a user terminal based on a preset transmission mode.
[0109] In one exemplary embodiment, the acquisition module is further configured to:
[0110] acquire target content corresponding to the subscription configuration in a case where dynamic content corresponding to the subscription configuration in the target website is loaded.
[0111] In one exemplary embodiment, the determination module is further configured to:
[0112] determine first target content acquired by the first engine and second target content acquired by the second engine;
[0113] calculate a similarity between the first target content and the second target content;
[0114] determine target content corresponding to the subscription configuration based on the first target content and the second target content in a case where the similarity is not lower than a preset threshold;
[0115] In a case where the similarity is lower than a preset threshold, it is determined that the current content acquisition is abnormal.
[0116] In one of the example embodiments, the apparatus further comprises a calculation module configured to:
[0117] convert the first target content into a first feature vector and the second target content into a second feature vector;
[0118] calculate a cosine similarity between the first feature vector and the second feature vector.
[0119] In one of the example embodiments, the subscription configuration comprises a website address of the target website, a content positioning manner, a driving engine type, a content processing rule, and a user notification manner.
[0120] In one of the example embodiments, the customization processing comprises at least one of language translation, content format rearrangement, merging multiple pieces of content into a single message, sending only a quantity prompt when the number of updated contents exceeds a threshold, and a custom content display style.
[0121] The modules in the website content subscription apparatus described above can be implemented in whole or in part by software, hardware, and combinations thereof. The modules described above can be embedded in or independent of a processor in a computer device in hardware form, or can be stored in a memory in a computer device in software form, so as to be called and executed by a processor to perform operations corresponding to the modules.
[0122] In one of the example embodiments, a computer device is provided, which can be a server, and an internal structure diagram of the computer device can be as shown in Figure 4 The computer device comprises a processor, a memory, an input / output interface (I / O), and a communication interface. The processor, the memory, and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for running the operating system and the computer program in the non-volatile storage medium. The database of the computer device is configured to store updated content data of a target website. The input / output interface of the computer device is configured to exchange information between the processor and external devices. The communication interface of the computer device is configured to communicate with terminals outside through a network connection. The computer program is executed by the processor to implement a website content subscription method.
[0123] The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer overlaid on the display screen, or a key, trackball or touchpad arranged on the shell of the computer device, or an external keyboard, touchpad or mouse, etc.
[0124] Those skilled in the art can understand that, Figure 4 The structure shown in the figure is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the computer device to which the scheme of the present application is applied. A specific computer device can include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0125] In one exemplary embodiment, a computer device is provided, comprising a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the following steps:
[0126] determining a subscription configuration of a target website based on personal needs of a user;
[0127] driving a double engine to access the target website and locate and obtain target content corresponding to the subscription configuration on the target website based on a preset mode;
[0128] in the case of successfully receiving the target content, comparing the target content with historical target content to determine updated content of the target website;
[0129] customizing the updated content based on the personal needs to obtain processed updated content;
[0130] transmitting the processed updated content to a user terminal based on a preset transmission mode.
[0131] In one embodiment, a computer readable storage medium is provided, which stores a computer program, and the computer program is executed by a processor to implement the following steps:
[0132] determining a subscription configuration of a target website based on personal needs of a user;
[0133] driving a double engine to access the target website and locate and obtain target content corresponding to the subscription configuration on the target website based on a preset mode;
[0134] in the case of successfully receiving the target content, comparing the target content with historical target content to determine updated content of the target website;
[0135] Based on the personal demand of the user, the update content is customized to obtain processed update content;
[0136] Based on a preset transmission mode, the processed update content is transmitted to a user terminal.
[0137] In one embodiment, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the following steps:
[0138] Based on the personal demand of the user, the update content is customized to obtain processed update content;
[0139] Based on a preset transmission mode, the processed update content is transmitted to a user terminal.
[0140] In one embodiment, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the following steps:
[0141] Based on the personal demand of the user, the update content is customized to obtain processed update content;
[0142] Based on a preset transmission mode, the processed update content is transmitted to a user terminal.
[0143] It should be noted that the user information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the present application are all information and data authorized by the user or authorized by all parties, and the collection, use and processing of related data need to comply with relevant regulations.
[0144] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer readable storage medium, and when executed, can include the processes of the above-mentioned embodiment methods. Any reference to memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. The non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical storage, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. The volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration but not limitation, the RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The database involved in the embodiments provided in the present application can include at least one of a relational database and a non-relational database. The non-relational database can include a distributed database based on a block chain, etc., without being limited thereto. The processor involved in the embodiments provided in the present application can be a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., without being limited thereto.
[0145] The technical features of the above embodiments can be combined arbitrarily. In order to make the description simple, all possible combinations of the technical features in the above embodiments are not described, however, as long as the combinations of the technical features do not exist contradictory, they should be considered as the scope of the present application.
[0146] The above-described embodiments are merely illustrative of several embodiments of the present application, and the description is relatively specific and detailed, but should not be understood as a limitation on the scope of the patent. It should be noted that for those skilled in the art, without departing from the concept of the present application, a number of modifications and improvements can be made, which are all within the scope of the present application. Therefore, the scope of protection of the present application should be subject to the appended claims.
Claims
1. A method for subscribing to website content, characterized in that, The method includes: Determine the subscription configuration for the target website based on the user's individual needs; The dual-engine system accesses the target website and locates and retrieves the target content corresponding to the subscription configuration on the target website based on a preset method. If the target content is successfully received, the target content is compared with historical target content to determine the updated content of the target website; Based on the individual's needs, the updated content is customized to obtain the processed updated content; Based on a preset transmission method, the processed updated content is transmitted to the user terminal.
2. The method according to claim 1, characterized in that, The step of obtaining the target content corresponding to the subscription configuration includes: Once the dynamic content corresponding to the subscription configuration has been loaded on the target website, the target content corresponding to the subscription configuration is obtained.
3. The method according to claim 1, characterized in that, The dual-engine configuration includes a first engine and a second engine; the method further includes: Determine the first target content acquired by the first engine and the second target content acquired by the second engine; Calculate the similarity between the first target content and the second target content; If the similarity is not lower than a preset threshold, the target content corresponding to the subscription configuration is determined based on the first target content and the second target content; If the similarity is lower than a preset threshold, the content retrieval is determined to be abnormal.
4. The method according to claim 3, characterized in that, The calculation of the similarity between the first target content and the second target content includes: The first target content is converted into a first feature vector, and the second target content is converted into a second feature vector; Calculate the cosine similarity between the first feature vector and the second feature vector.
5. The method according to claim 1, characterized in that, The subscription configuration includes: the target website's website address, content location method, driving engine type, content processing rules, and user notification method.
6. The method according to claim 1, characterized in that, The customized processing includes at least one of the following: language translation, content format rearrangement, merging multiple pieces of content into a single message, sending only a quantity prompt when the number of updated content exceeds a threshold, and customizing the content display style.
7. A website content subscription device, characterized in that, The device includes: The determination module is used to determine the subscription configuration of the target website based on the user's individual needs; The acquisition module is used to drive the dual engines to access the target website, and on the target website, locate and acquire the target content corresponding to the subscription configuration based on a preset method; The determining module is further configured to, upon successfully receiving the target content, compare the target content with historical target content to determine the updated content of the target website; The processing module is used to customize the updated content based on the individual's needs to obtain the processed updated content. The transmission module is used to transmit the processed updated content to the user terminal based on a preset transmission method.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Visual page content subscription processing method and system thereof
CN101894138A
Filtering expression and rendering engine based method for automatically monitoring update of dynamic webpage
CN105069032A
Information subscription method, terminal and computer readable storage medium
CN108366096A
Data stream processing method, device and equipment and computer storage medium
CN114520832A