Multi-source heterogeneous resource intelligent adaptation webpage generation method, system, device and medium
By displaying a learning topic selection control after user login and filtering target hyperlinks from a hyperlink database to generate personalized learning web pages, the problem of indiscriminate resource returns in general search engines is solved, achieving precise and personalized resource delivery and improving learning efficiency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- GUANGDONG VOCATIONAL & TECHNICAL COLLEGE
- Filing Date
- 2026-04-10
- Publication Date
- 2026-07-10
AI Technical Summary
In existing technologies, when users search for online learning resources in general search engines, the returned results are massive and indistinguishable, causing users to spend a lot of time identifying the learnability of resources, resulting in low learning efficiency, and the resources obtained by users at different levels are not accurate.
By responding to user login actions, multiple learning topic selection controls are displayed. Based on user information and the selection controls, target hyperlink information is filtered from the hyperlink information database to generate a personalized learning webpage, which includes a background image and a list of hyperlinks, thus achieving precise and personalized resource delivery.
It improves the efficiency of users in acquiring resources, reduces the number of jumps between multiple search result pages, enables more accurate and personalized resource recommendations, and enhances learning efficiency.
Smart Images

Figure CN122364545A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular to a method, system, device and medium for intelligent adaptation of multi-source heterogeneous resources to generate web pages. Background Technology
[0002] With the popularization of internet technology, online learning has become an important way to acquire knowledge. In the current technology, users usually use general search engines to find and learn resources independently. However, when users enter keywords into general search engines, the returned results are often a huge number of hyperlinks. Users need to spend a lot of time to identify the learnability of the resources, resulting in low learning efficiency. Summary of the Invention
[0003] The main purpose of this application is to propose a method, system, device and medium for intelligent adaptation of multi-source heterogeneous resources to generate web pages, aiming to achieve accurate and personalized resource delivery to improve users' learning efficiency.
[0004] To achieve the above objectives, one aspect of this application proposes a method for intelligently adapting webpages to multi-source heterogeneous resources, the method comprising: In response to a user login operation, the user login information is obtained and a topic selection interface is displayed, which has multiple selection controls corresponding to multiple learning topics. In response to the user's operation on any selection control, based on the user's login information and the learning topic corresponding to any selection control, a matching and filtering process is performed in a preset hyperlink information database to obtain all target hyperlink information, each of which points to a specific type of network resource; Based on all the target hyperlink information, generate a learning webpage for the user.
[0005] Furthermore, the hyperlink information database includes multiple hyperlink information sub-databases corresponding to the multiple learning topics, each hyperlink information sub-database contains multiple hyperlink information, and each hyperlink information is bound to a corresponding access permission level; the matching and filtering in the preset hyperlink information database based on the user login information and the learning topic corresponding to any selection control to obtain all target hyperlink information includes: Based on the learning topic corresponding to any of the selection controls, the corresponding target hyperlink information sub-library is selected from the hyperlink information library; Based on the user login information, determine the user's access permission level; Based on the user's access permission level, all corresponding target hyperlink information is filtered out from the target hyperlink information sub-database.
[0006] Furthermore, generating the user's learning webpage based on all the target hyperlink information includes: Construct a web page framework, which contains list container elements; Based on all the target hyperlink information, construct a hyperlink list using unordered list elements; The list of hyperlinks is inserted into the list container element to form the user's learning webpage.
[0007] Furthermore, each target hyperlink information includes a display text field and a URL address field for the target hyperlink, and the unordered list element is set with all list items corresponding to all the target hyperlink information; the step of constructing a hyperlink list using unordered list elements based on all the target hyperlink information includes: For each list item: embed an anchor element in the list item, set the href attribute value of the anchor element to the URL address field contained in the target hyperlink information corresponding to the list item, and set the text content of the anchor element to the display text field contained in the target hyperlink information corresponding to the list item. After all the list items have been set, the hyperlink list is formed.
[0008] Furthermore, the target hyperlink can be any one of a document link, a video link, or a webpage link.
[0009] Furthermore, the method also includes: Based on the learning topic corresponding to any of the selection controls, a target background image is obtained by matching and filtering in a preset background image library, and then the target background image is added to the user's learning webpage.
[0010] To achieve the above objectives, another aspect of this application proposes a multi-source heterogeneous resource intelligent adaptation webpage generation system, the system comprising: The first module is used to respond to user login operations, obtain user login information and display a topic selection interface, wherein the topic selection interface is provided with multiple selection controls corresponding to multiple learning topics; The second module is used to respond to the user's operation on any selection control, and to perform matching and filtering in a preset hyperlink information database based on the user login information and the learning topic corresponding to any selection control to obtain all target hyperlink information, each target hyperlink pointing to a specific type of network resource; The third module is used to generate a learning webpage for the user based on all the target hyperlink information.
[0011] Furthermore, the system also includes: The fourth module is used to match and filter the target background image from a preset background image library according to the learning topic corresponding to any of the selection controls, and then add the target background image to the user's learning webpage.
[0012] To achieve the above objectives, another aspect of this application proposes an electronic device, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the above-described method for intelligent adaptation of multi-source heterogeneous resources to generate web pages.
[0013] To achieve the above objectives, another aspect of this application proposes a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described method for intelligent adaptation of multi-source heterogeneous resources to generate web pages.
[0014] This application includes at least the following beneficial effects: First, in response to a user login operation, the user login information is obtained, and a theme selection interface with multiple selection controls corresponding to multiple learning topics is displayed. Then, in response to the user's operation on any selection control, a matching and filtering process is performed in a preset hyperlink information database based on the user login information and the learning topic corresponding to any selection control. Subsequently, a learning webpage for the user is generated based on all target hyperlink information obtained from the matching and filtering. Through this information filtering and webpage integration method, the accurate and personalized push of resources can be achieved, thereby improving the efficiency of resource acquisition and improving the user's learning efficiency. Attached Figure Description
[0015] Figure 1 This is a flowchart illustrating a method for intelligently adapting webpages to multi-source heterogeneous resources, as provided in an embodiment of this application. Figure 2 This is a schematic diagram illustrating the composition of a multi-source heterogeneous resource intelligent adaptation webpage generation system provided in an embodiment of this application; Figure 3 This is a schematic diagram of the hardware structure of the electronic device provided in the embodiments of this application. Detailed Implementation
[0016] 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 of this application and are not intended to limit it. In the following description, when referring to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with those of this application; they are merely examples of systems and methods consistent with some aspects of the embodiments of this application as detailed in the appended claims.
[0017] It is understood that the terms “first,” “second,” etc., used in this application may be used herein to describe various concepts, but unless otherwise stated, these concepts are not limited by these terms. These terms are only used to distinguish one concept from another. For example, without departing from the scope of the embodiments of this application, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the words “if,” “when,” or “in response to a determination” as used herein may be interpreted as “when…” or “when…” or “in response to a determination.”
[0018] As used in this application, the terms "at least one", "multiple", "each", "any", etc., "at least one" includes one, two or more, "multiple" includes two or more, "each" refers to each of the corresponding multiples, and "any" refers to any one of the multiples.
[0019] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.
[0020] With the popularization of internet technology, online learning has become an important way to acquire knowledge. Currently, users typically rely on general search engines to independently find and learn from resources. However, when users enter keywords into these search engines, the results are often a massive number of hyperlinks, requiring users to spend a significant amount of time identifying the learnability of resources, leading to low learning efficiency. Furthermore, this method has the following drawbacks: when users at different levels (such as beginners and intermediate learners) search for the same topic on a general search engine, the resulting hyperlink lists are indiscriminate, potentially exposing users to resources beyond their comprehension, making it difficult to accurately target resources; users often need to perform multiple "search-filter-click-return" cycles in a general search engine to find satisfactory resources, and the entire process lacks systematic guidance and aggregation, undoubtedly increasing the learning difficulty for users.
[0021] In view of this, embodiments of this application provide a method, system, device, and medium for intelligent adaptation of multi-source heterogeneous resources to generate web pages. This solution proposes to first respond to the user's login operation, obtain the user's login information, and display a theme selection interface with multiple selection controls corresponding to multiple learning topics. Then, in response to the user's operation on any selection control, it matches and filters in a preset hyperlink information database based on the user's login information and the learning topic corresponding to any selection control. Subsequently, it generates the user's learning web page based on all target hyperlink information obtained from the matching and filtering. Through this information filtering and web page integration method, the accurate and personalized push of resources can be achieved, and users do not need to repeatedly jump between multiple search result pages, thereby improving the efficiency of resource acquisition and improving the user's learning efficiency.
[0022] This application provides a method for intelligently adapting webpages to multi-source heterogeneous resources, relating to the field of computer technology. It can be applied to terminals, servers, or software running on either a terminal or server. In some embodiments, the terminal can be a smartphone, tablet, laptop, desktop computer, etc., but is not limited to these. The server can be configured as an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The server can also be a node server in a blockchain network. The software can be an application implementing the above method, but is not limited to these forms.
[0023] Please see Figure 1 , Figure 1 This is an optional flowchart illustrating a method for intelligently adapting webpages to multi-source heterogeneous resources, as provided in an embodiment of this application. The method may include, but is not limited to, the following steps S102 to S103: Step S101: In response to the user login operation, obtain the user login information and display the topic selection interface. The topic selection interface has multiple selection controls corresponding to multiple learning topics. Step S102: In response to the user's operation on any selection control, based on the user's login information and the learning topic corresponding to any selection control, perform matching and filtering in the preset hyperlink information database to obtain all target hyperlink information, each target hyperlink information pointing to a specific type of network resource; Step S103: Generate the user's learning webpage based on all target hyperlink information.
[0024] Steps S101 to S103 shown in the embodiments of this application, by adopting this information filtering and webpage integration method, can achieve accurate and personalized resource push, which is conducive to improving the user's learning efficiency.
[0025] In step S101 of some embodiments, the corresponding implementation may be limited to responding to the user login operation by: displaying a user login interface, which is provided with an account input box, a password input box, and a login control; responding to the user's operation on the login control, reading and verifying the non-empty information entered by the user in the account input box and the password input box; if the verification is successful, it indicates that the response to the user login operation is completed, and after successful verification, generating user login information, which at least includes the user account information entered by the user in the account input box.
[0026] In step S102 of some embodiments, the preset hyperlink information library includes multiple hyperlink information sub-libraries corresponding to multiple learning topics. Each hyperlink information sub-library contains multiple hyperlink information items, each hyperlink information item is bound to a corresponding access permission level, and each hyperlink information item includes a hyperlink display text field and a URL (Uniform Resource Locator) address field. The hyperlink can be any of the following: a document link, a video link, or a webpage link. A webpage link can point to a browsing page of a specific industry news website. Generally, each hyperlink information sub-library covers at least two of the hyperlink types, including document links, video links, and webpage links. For example, if the hyperlink is a document link, the hyperlink display text field can be the document title; if the hyperlink is a video link, the hyperlink display text field can be the video title; and if the hyperlink is a webpage link, the hyperlink display text field can be the webpage title.
[0027] Based on this, regarding the content of matching and filtering in a preset hyperlink information library according to user login information and the learning topic corresponding to any selection control to obtain all target hyperlink information, the corresponding implementation methods may include, but are not limited to: first, filtering out the corresponding target hyperlink information sub-library in the preset hyperlink information library according to the learning topic corresponding to the user's selected selection control; then, determining the user's access permission level according to the user login information; subsequently, filtering out all corresponding target hyperlink information in the target hyperlink information sub-library according to the user's access permission level, with each target hyperlink information pointing to any one of document resources, video resources, and web page resources, etc.
[0028] Regarding the determination of a user's access permission level based on user login information, the corresponding implementation methods may include, but are not limited to: calling a preset identity-permission matching table, which records information on multiple registered user accounts and the access permission level corresponding to each user account; filtering the corresponding access permission level from the preset identity-permission matching table based on the user account information contained in the user login information, and using this as the final determined user access permission level.
[0029] In step S103 of some embodiments, regarding the generation of the user's learning webpage based on all target hyperlink information, the corresponding implementation may include, but is not limited to: first constructing a webpage framework, the webpage framework containing list container elements, which may be defined as a div element in the body section of an HTML (HyperText Markup Language) document as a list container, and preferably using CSS (Cascading Style Sheets) to apply a centering style to the list container element, so that the content subsequently inserted into the list container element can be displayed horizontally and vertically centered on the user's learning webpage; then, based on all target hyperlink information, using an unordered list... The element constructs a list of hyperlinks; this list of hyperlinks is then inserted into a list container element to form the user's learning webpage.
[0030] Among them, unordered list The element is set to contain all list items corresponding to all target hyperlink information. Regarding the use of unordered lists based on all target hyperlink information. The implementation of constructing a hyperlink list using elements can be, but is not limited to, including: for each list item In this list item Embedded anchor points element, then anchor point The href attribute value of the element is set to the list item. The corresponding target hyperlink information includes the URL address field of the target hyperlink, and the anchor point. The text content of the element is set to that list item. The corresponding target hyperlink information includes the display text field of the target hyperlink, and can be further set to target="_blank" to make the list item... The corresponding target hyperlink information indicates that the target hyperlink can be opened in a new tab; for all list items... Once the settings are complete, a list of hyperlinks will be generated directly.
[0031] Understandably, the generated learning webpage for users will display a table showing all rows of data corresponding to all target hyperlink information. Each row of data will display the text field of the target hyperlink contained in the corresponding target hyperlink information. In response to the user's selection of the row data, the corresponding target hyperlink will open in a new tab for the user to directly engage in targeted learning.
[0032] In some embodiments, to enrich the display content of the user's learning webpage, the above-mentioned multi-source heterogeneous resource intelligent adaptation webpage generation method may further include the following step S104: Step S104: Based on the learning topic corresponding to any selection control, perform matching and filtering in the preset background image library to obtain the target background image, and then add the target background image to the user's learning webpage.
[0033] The preset background image library contains multiple background images corresponding to various learning topics. Each background image can display the name of the learning topic and its related illustrations, so that users can intuitively determine the knowledge level they are learning after entering the learning webpage.
[0034] In this approach, CSS is preferably used to set the target background image as the background of the user's learning webpage and apply a centered full-coverage style. In order to improve the readability of the hyperlink list on the user's learning webpage, a semi-transparent black overlay layer is added above the background layer to darken the target background image.
[0035] In some embodiments, when the above-described method for intelligent adaptation of multi-source heterogeneous resources to generate web pages is applied in the field of cross-border e-commerce of agricultural products, multiple learning topics may include at least two of the following: a learning topic named "Product Selection and Product Cognition", a learning topic named "Platform Operation and Store Management", a learning topic named "Logistics and Supply Chain", a learning topic named "Compliance and Risk Control", and a learning topic named "Brand Marketing and Promotion". The preset hyperlink information database generally includes hyperlink information corresponding to access permission level A and hyperlink information corresponding to access permission level B. Access permission level A reflects that the user is a beginner, and access permission level B reflects that the user is an advanced user. The relevant explanations of the hyperlink information sub-databases corresponding to the above-mentioned learning topics are as follows.
[0036] The learning topic named "Product Selection and Product Awareness" includes a hyperlink sub-database containing multiple hyperlinks corresponding to access level A and access level B. The hyperlinks at access level A can cover at least one of the following: marketable product category selection, basic product selection tools, and competitor imitation. The hyperlinks at access level B can cover at least one of the following: product processing and development, standardization and grading, and traceability system construction. Specifically: marketable product category selection refers to learning which types of agricultural products are suitable for cross-border sales; basic product selection tools refer to learning which tools to use to see which types of agricultural products have high sales in target overseas regions; competitor imitation refers to learning how to analyze top-selling competitors and imitate their titles, images, and pricing; product processing and development refers to learning how to improve the form of agricultural products to increase their added value; standardization and grading refers to learning how to build quality-grading standards for agricultural products, such as appearance and preservation conditions; and traceability system construction refers to learning how to establish a "one item, one code" traceability system so that overseas consumers can understand the planting and transportation processes of agricultural products.
[0037] The learning topic named "Platform Operation and Store Management" includes a hyperlink sub-database containing multiple hyperlinks corresponding to access level A and access level B. The hyperlinks at access level A can cover at least one of the following: basic backend operations, basic copywriting, and order processing. The hyperlinks at access level B can cover at least one of the following: data-driven operations, on-site advertising, and multi-channel strategy. Specifically: basic backend operations refer to learning how to list agricultural products and set up inventory on existing cross-border e-commerce platforms; basic copywriting refers to learning how to write accurate agricultural product titles and descriptions; order processing refers to learning how to handle daily orders, print shipping labels, and reply to customer emails; data-driven operations refer to learning how to analyze click-through rates, conversion rates, and repurchase rates; on-site advertising refers to learning how to apply PPC (Pay-Per-Click) advertising strategies to accurately target agricultural product keywords; and multi-channel strategy refers to learning how to build an independent website to construct private domain traffic and reduce reliance on a single platform.
[0038] The learning topic named "Logistics and Supply Chain" includes a hyperlink sub-database containing multiple hyperlinks corresponding to access level A and access level B. The hyperlinks at access level A can cover at least one of the following: understanding logistics models, basic packaging techniques, and freight forwarding connections. The hyperlinks at access level B can cover at least one of the following: cold chain logistics management, overseas warehouse layout, and cost model optimization. Specifically: understanding logistics models refers to learning the differences between direct shipping, sea freight, and air freight; basic packaging techniques refer to learning moisture-proof and fresh-keeping packaging methods; freight forwarding connections refer to learning how to find freight forwarders and calculate basic freight rates; cold chain logistics management refers to learning how to operate temperature-controlled cabinets and freezers; overseas warehouse layout refers to learning the stocking logic and inventory turnover management of overseas warehouses; and cost model optimization refers to learning how to precisely calculate the balance between first-leg freight, storage fees, and profits.
[0039] The learning topic named "Compliance and Risk Control" includes a hyperlink sub-database containing multiple hyperlinks corresponding to access level A and access level B. Access level A hyperlinks can guide users to learn about at least one of the following: quarantine access inquiries, prohibited and restricted sales rules, and label compliance. Access level B hyperlinks can guide users to learn about at least one of the following: international certification applications, intellectual property protection, and trade policy responses. Specifically: quarantine access inquiries refer to learning how to find lists of agricultural products eligible for foreign inspection and quarantine access to ensure export to target overseas regions; prohibited and restricted sales rules refer to learning about agricultural product categories prohibited from sale on existing cross-border e-commerce platforms; label compliance refers to learning about the basic regulations for agricultural product labeling in target overseas regions, such as ingredient lists and allergen warnings; international certification applications refer to learning how to apply for HACCP (Hazard Analysis and Critical Control Points) certification, organic certification, etc.; intellectual property protection refers to learning how to register international trademarks to protect geographical indications of agricultural products; and trade policy responses refer to learning how to address trade barriers, anti-dumping investigations, and tariff fluctuation risks in target overseas regions.
[0040] The learning topic named "Brand Marketing and Promotion" includes a hyperlink sub-database containing multiple hyperlinks corresponding to access level A and access level B. Access level A hyperlinks can cover at least one of the following: basic visual design, on-site promotions, and customer service. Access level B hyperlinks can cover at least one of the following: origin brand introduction, content marketing and live streaming, and influencer marketing. Specifically: basic visual design refers to learning how to take clear photos of agricultural products and create simple promotional posters; on-site promotions refer to learning how to participate in promotional activities led by existing cross-border e-commerce platforms; customer service refers to learning how to handle after-sales disputes to maintain a basic positive review rate; origin brand introduction refers to learning how to shoot high-quality farm documentaries and planting stories to build a green and organic brand image; content marketing and live streaming refers to learning how to conduct live-streaming sales or short video marketing on well-known overseas social media platforms; and influencer marketing refers to learning how to find relevant overseas bloggers to collaborate with and promote agricultural products.
[0041] Please see Figure 2 , Figure 2 This is an optional schematic diagram of a multi-source heterogeneous resource intelligent adaptation webpage generation system provided in this application embodiment. This system can implement the above-described multi-source heterogeneous resource intelligent adaptation webpage generation method, and may include, but is not limited to, the following: The first module 201 is used to respond to user login operations, obtain user login information and display the topic selection interface, which has multiple selection controls corresponding to multiple learning topics. The second module 202 is used to respond to the user's operation on any selection control, and to match and filter in a preset hyperlink information database according to the user's login information and the learning topic corresponding to any selection control to obtain all target hyperlink information, each target hyperlink information pointing to a specific type of network resource; The third module 203 is used to generate the user's learning webpage based on all target hyperlink information.
[0042] In some embodiments, in order to enrich the display content of the user's learning webpage, the system further includes a fourth module 204, which is used to match and filter in a preset background image library according to the learning topic corresponding to any selection control, obtain a target background image, and then add the target background image to the user's learning webpage.
[0043] It is understood that the content of the above method embodiments is applicable to this system embodiment. The specific functions implemented in this system embodiment are the same as those implemented in the above method embodiments, and the beneficial effects achieved by this system embodiment are also the same as those achieved by the above method embodiments.
[0044] This application also provides an electronic device, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the above-described method for intelligent adaptation of multi-source heterogeneous resources to generate web pages. This electronic device can include any smart terminal such as a tablet computer or desktop computer.
[0045] It is understood that the content of the above method embodiments is applicable to the present device embodiments. The specific functions implemented by the present device embodiments are the same as those implemented by the above method embodiments, and the beneficial effects achieved by the present device embodiments are also the same as those achieved by the above method embodiments.
[0046] Please see Figure 3 , Figure 3 This is a schematic diagram illustrating the hardware structure of an electronic device according to another embodiment. The electronic device includes: The processor 301 can be implemented using a general-purpose CPU (Central Processing Unit), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this application. The memory 302 can be implemented as a read-only memory (ROM), static storage device, dynamic storage device, or random access memory (RAM). The memory 302 can store the operating system and other applications. When the technical solutions provided in the embodiments of this application are implemented through software or firmware, the relevant program code is stored in the memory 302 and is called and executed by the processor 301. Input / output interface 303 is used to implement information input and output; The communication interface 304 is used to enable communication and interaction between this device and other devices. Communication can be achieved through wired means (such as USB, network cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.). Bus 305 transmits information between various components of the device (e.g., processor 301, memory 302, input / output interface 303, and communication interface 304); The processor 301, memory 302, input / output interface 303 and communication interface 304 are connected to each other within the device via bus 305.
[0047] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the above-described method for intelligent adaptation of multi-source heterogeneous resources to generate web pages.
[0048] It is understood that the content of the above method embodiments is applicable to this storage medium embodiment. The specific functions implemented by this storage medium embodiment are the same as those implemented by the above method embodiments, and the beneficial effects achieved by this storage medium embodiment are also the same as those achieved by the above method embodiments.
[0049] Memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer-executable programs. Furthermore, memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, memory may optionally include memory remotely located relative to the processor, and these remote memories can be connected to the processor via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
[0050] The embodiments described in this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided by the embodiments of this application. As those skilled in the art will know, with the evolution of technology and the emergence of new application scenarios, the technical solutions provided by the embodiments of this application are also applicable to similar technical problems.
[0051] Those skilled in the art will understand that the technical solutions shown in the figures do not constitute a limitation on the embodiments of this application, and may include more or fewer steps than shown, or combine certain steps, or different steps.
[0052] The system embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.
[0053] Those skilled in the art will understand that all or some of the steps in the methods disclosed above, as well as the functional modules / units in the systems and devices, can be implemented as software, firmware, hardware, or suitable combinations thereof.
[0054] The terms "first," "second," "third," "fourth," etc. (if present) in the specification and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0055] It should be understood that in this application, "at least one (item)" means one or more, and "more than" means two or more. "And / or" is used to describe the relationship between related objects, indicating that three relationships can exist. For example, "A and / or B" can represent: only A exists, only B exists, and both A and B exist simultaneously, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one (item) of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one (item) of a, b, or c can represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.
[0056] In the embodiments provided in this application, it should be understood that the disclosed systems and methods can be implemented in other ways. For example, the system embodiments described above are merely illustrative; for instance, the division of the units described above is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between systems or units may be electrical, mechanical, or other forms.
[0057] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0058] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0059] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes multiple instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing programs, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0060] The preferred embodiments of the present application have been described above with reference to the accompanying drawings, but this does not limit the scope of the claims of the present application. Any modifications, equivalent substitutions, and improvements made by those skilled in the art without departing from the scope and substance of the embodiments of the present application shall be within the scope of the claims of the present application.
Claims
1. A method for intelligently adapting webpages to multi-source heterogeneous resources, characterized in that, The method includes: In response to a user login operation, the user login information is obtained and a topic selection interface is displayed, which has multiple selection controls corresponding to multiple learning topics. In response to the user's operation on any selection control, based on the user's login information and the learning topic corresponding to any selection control, a matching and filtering process is performed in a preset hyperlink information database to obtain all target hyperlink information, each of which points to a specific type of network resource; Based on all the target hyperlink information, generate a learning webpage for the user.
2. The method for intelligently adapting webpages to multi-source heterogeneous resources according to claim 1, characterized in that, The hyperlink information database includes multiple sub-databases of hyperlink information corresponding to the multiple learning topics. Each sub-database contains multiple hyperlinks, and each hyperlink is bound to a corresponding access permission level. The process of matching and filtering within the preset hyperlink information database based on the user login information and the learning topic corresponding to any selection control to obtain all target hyperlink information includes: Based on the learning topic corresponding to any of the selection controls, the corresponding target hyperlink information sub-library is selected from the hyperlink information library; Based on the user login information, determine the user's access permission level; Based on the user's access permission level, all corresponding target hyperlink information is filtered out from the target hyperlink information sub-database.
3. The method for intelligently adapting webpages to multi-source heterogeneous resources according to claim 1, characterized in that, The step of generating the user's learning webpage based on all the target hyperlink information includes: Construct a web page framework, which contains list container elements; Based on all the target hyperlink information, construct a hyperlink list using unordered list elements; The list of hyperlinks is inserted into the list container element to form the user's learning webpage.
4. The method for intelligently adapting webpages to multi-source heterogeneous resources according to claim 3, characterized in that, Each target hyperlink information includes a display text field and a URL address field for the target hyperlink, and the unordered list element is set with all list items corresponding to all the target hyperlink information; the step of constructing a hyperlink list using unordered list elements based on all the target hyperlink information includes: For each list item: embed an anchor element in the list item, set the href attribute value of the anchor element to the URL address field contained in the target hyperlink information corresponding to the list item, and set the text content of the anchor element to the display text field contained in the target hyperlink information corresponding to the list item; After all the list items have been set, the hyperlink list is formed.
5. The method for intelligently adapting webpages to multi-source heterogeneous resources according to claim 4, characterized in that, The target hyperlink can be any one of a document link, a video link, or a webpage link.
6. The method for intelligently adapting webpages to multi-source heterogeneous resources according to claim 1, characterized in that, The method further includes: Based on the learning topic corresponding to any of the selection controls, a target background image is obtained by matching and filtering in a preset background image library, and then the target background image is added to the user's learning webpage.
7. A multi-source heterogeneous resource intelligent adaptation webpage generation system, characterized in that, The system includes: The first module is used to respond to user login operations, obtain user login information and display a topic selection interface, wherein the topic selection interface is provided with multiple selection controls corresponding to multiple learning topics; The second module is used to respond to the user's operation on any selection control, and to perform matching and filtering in a preset hyperlink information database based on the user login information and the learning topic corresponding to any selection control to obtain all target hyperlink information, each target hyperlink pointing to a specific type of network resource; The third module is used to generate a learning webpage for the user based on all the target hyperlink information.
8. The intelligent adaptation webpage generation system for multi-source heterogeneous resources according to claim 7, characterized in that, The system also includes: The fourth module is used to match and filter the target background image from a preset background image library according to the learning topic corresponding to any of the selection controls, and then add the target background image to the user's learning webpage.
9. An electronic device, characterized in that, The electronic device includes a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, it implements the multi-source heterogeneous resource intelligent adaptation webpage generation method according to any one of claims 1 to 6.
10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the multi-source heterogeneous resource intelligent adaptation webpage generation method according to any one of claims 1 to 6.