Virtual webpage object generation method and terminal

By generating virtual web page objects and using virtual machines to perform multi-level data filtering, it solves the problem of multiple customized filtering in the existing technology, realizes flexible and diverse filtering and shielding of web content, and improves user experience and security.

CN119311963APending Publication Date: 2025-01-14FUJIAN TQ ONLINE INTERACTIVE INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411306825.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-19
Publication Date
2025-01-14

AI Technical Summary

Technical Problem

The existing technology is difficult to achieve diversified customized web page filtering, and it is impossible to effectively block and filter advertisements and potential security threats in web page content.

Method used

By generating a virtual web page object and binding the virtual machine to the object, initial virtual data and multiple levels of virtual data are generated, and these data are used to filter and shield web page data.

Benefits of technology

It realizes flexible and diversified filtering and blocking of web content through virtual web objects, improves the user's browsing experience and enhances protection against potential threats.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119311963A_ABST
    Figure CN119311963A_ABST
Patent Text Reader

Abstract

The invention discloses a virtual webpage object generation method and a terminal, and the method comprises the steps: obtaining to-be-virtualized webpage data from a target website, and building a virtual webpage object for the to-be-virtualized webpage data; and binding the virtual machine with the virtual webpage object, generating initial virtual data, generating a plurality of hierarchical virtual data based on the initial virtual data, and filtering the webpage data in the virtual webpage object through the plurality of hierarchical virtual data. In this way, after the virtual machine is bound with the virtual webpage object, multiple pieces of hierarchical virtual data can be set according to the data attributes in the webpage data, and the webpage data in the virtual webpage object are filtered through the hierarchical virtual data, so that webpage content is filtered and shielded through the virtual webpage object; and the flexible and diversified effect of virtual webpage object generation is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of web page data protection, and in particular to a method and a terminal for generating a virtual web page object. Background Art

[0002] In the current network environment, with the rapid development of Internet technology, users often encounter various forms of advertising interference when browsing the web. These advertisements not only affect the user's browsing experience, but also may pose security risks, such as malware transmission, privacy leakage, etc. In order to deal with these problems, a variety of technical means have emerged in the market to reduce or eliminate these adverse effects.

[0003] For example, the existing AdSafe ad filtering technology blocks the loading and display of ad content by identifying ad features (such as specific URL patterns, ad sizes, ad network identifiers, etc.), thereby improving the user's browsing experience. However, this technology often relies on a preset rule library or algorithm to identify ads, making it difficult to achieve multi-customized filtering.

[0004] Many existing antivirus and parental control software have built-in web filtering functions, which allow users to set filtering rules based on web content or domain names, thereby preventing children from accessing inappropriate websites or protecting users from malicious websites. However, the current method of content filtering in data containers (such as browser extensions, proxy servers, etc.) scans and filters data before it reaches the user terminal, which also faces the problem of difficulty in implementing multi-customized filtering. Summary of the invention

[0005] The technical problem to be solved by the present invention is to provide a method and a terminal for generating virtual web page objects, which can filter and shield web page contents through virtual web page objects, thereby improving the flexibility and diversity of generating virtual web page objects.

[0006] In order to solve the above technical problems, the technical solution adopted by the present invention is:

[0007] A method for generating a virtual web page object comprises the steps of:

[0008] Acquire the web page data to be virtualized from the target website, and create a virtual web page object for the web page data to be virtualized;

[0009] The virtual machine is bound to the virtual web page object and generates initial virtual data, and multiple levels of virtual data are generated based on the initial virtual data. The web page data in the virtual web page object is filtered through the multiple levels of virtual data.

[0010] In order to solve the above technical problems, another technical solution adopted by the present invention is:

[0011] A terminal for generating a virtual web page object comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, each step of the method for generating a virtual web page object is implemented.

[0012] The beneficial effects of the present invention are: obtaining the web page data to be virtualized from the target website, establishing a virtual web page object for the web page data to be virtualized; binding the virtual machine to the virtual web page object and generating initial virtual data, and generating multiple class virtual data based on the initial virtual data, filtering the web page data in the virtual web page object through the multiple class virtual data. In this way, after the virtual machine is bound to the virtual web page object, multiple class virtual data can be set according to the data attributes in the web page data, so as to filter the web page data in the virtual web page object through the class virtual data, thereby achieving the filtering and shielding of web page content through the virtual web page object, and improving the flexible and diverse effects of generating virtual web page objects. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 A flowchart of a method for generating a virtual web page object according to an embodiment of the present invention;

[0014] Figure 2 A schematic diagram of a terminal for generating a virtual web page object according to an embodiment of the present invention;

[0015] Figure 3 A schematic diagram of the architecture of a method for generating a virtual web page object according to an embodiment of the present invention;

[0016] Description of labels:

[0017] 1. A terminal for generating a virtual web page object; 2. A memory; 3. A processor. DETAILED DESCRIPTION

[0018] In order to explain the technical content, achieved objectives and effects of the present invention in detail, the following is an explanation in conjunction with the implementation modes and the accompanying drawings.

[0019] Please refer to Figure 1 The embodiment of the present invention provides a method for generating a virtual web page object, comprising the steps of:

[0020] Acquire the web page data to be virtualized from the target website, and create a virtual web page object for the web page data to be virtualized;

[0021] The virtual machine is bound to the virtual web page object and generates initial virtual data, and multiple levels of virtual data are generated based on the initial virtual data. The web page data in the virtual web page object is filtered through the multiple levels of virtual data.

[0022] From the above description, it can be seen that the beneficial effects of the present invention are: obtaining the web page data to be virtualized from the target website, establishing a virtual web page object for the web page data to be virtualized; binding the virtual machine to the virtual web page object and generating initial virtual data, and generating multiple class virtual data based on the initial virtual data, filtering the web page data in the virtual web page object through the multiple class virtual data. In this way, after the virtual machine is bound to the virtual web page object, multiple class virtual data can be set according to the data attributes in the web page data, so as to filter the web page data in the virtual web page object through the class virtual data, thereby achieving the filtering and shielding of web page content through the virtual web page object, and improving the flexible and diverse effects of generating virtual web page objects.

[0023] Furthermore, the virtual machine is bound to the target website corresponding to the virtual webpage object and initial virtual data is generated, including:

[0024] Initial virtual data is generated according to the identifier of the virtual machine and the URL of the target website corresponding to the virtual web page object.

[0025] As can be seen from the above description, binding is performed based on the virtual machine identifier and the target website URL, and initial virtual data is generated, so as to facilitate subsequent data filtering and protection of virtual web page objects based on the data.

[0026] Further, a plurality of class virtual data are generated based on the initial virtual data, including:

[0027] According to the preset filtering rules of the virtual machine, the filtering rules of the virtual machine at each level are obtained, and the corresponding level virtual data are generated for the initial virtual data in turn according to the filtering rules.

[0028] From the above description, it can be seen that data filtering is performed by level in the virtual machine, so as to facilitate the subsequent combined use and maintenance of the virtual machine data filtering.

[0029] Furthermore, filtering the web page data in the virtual web page object by using the plurality of class virtual data includes:

[0030] The web page data in the virtual web page object is filtered in sequence using multiple levels of virtual data, and each filtering result is transmitted to the next level of virtual data for filtering.

[0031] From the above description, it can be seen that each class transmits the filtering result to the next class virtual data for filtering, so the filtering processes between the classes are independent of each other, which improves the filtering reliability.

[0032] Furthermore, the virtual machine is bound to the virtual web page object and generates initial virtual data, and further includes:

[0033] At least two virtual machines are bound to the virtual web page object, and are sequentially bound to the virtual web page object according to the hierarchy of the virtual machines and the hierarchical relationship between the virtual machines to generate initial virtual data.

[0034] From the above description, it can be known that a virtual web page object can be virtualized and filtered by a virtual machine, or virtualized and filtered in combination with the hierarchical relationship between multiple virtual machines, thereby further improving the flexibility and diversity of virtual web page object generation.

[0035] Please refer to Figure 2 Another embodiment of the present invention provides a terminal for generating a virtual web page object, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program:

[0036] Acquire the web page data to be virtualized from the target website, and create a virtual web page object for the web page data to be virtualized;

[0037] The virtual machine is bound to the virtual web page object and generates initial virtual data, and multiple levels of virtual data are generated based on the initial virtual data. The web page data in the virtual web page object is filtered through the multiple levels of virtual data.

[0038] From the above description, it can be seen that the beneficial effects of the present invention are: obtaining the web page data to be virtualized from the target website, establishing a virtual web page object for the web page data to be virtualized; binding the virtual machine to the virtual web page object and generating initial virtual data, and generating multiple class virtual data based on the initial virtual data, filtering the web page data in the virtual web page object through the multiple class virtual data. In this way, after the virtual machine is bound to the virtual web page object, multiple class virtual data can be set according to the data attributes in the web page data, so as to filter the web page data in the virtual web page object through the class virtual data, thereby achieving the filtering and shielding of web page content through the virtual web page object, and improving the flexible and diverse effects of generating virtual web page objects.

[0039] Furthermore, the virtual machine is bound to the target website corresponding to the virtual webpage object and initial virtual data is generated, including:

[0040] Initial virtual data is generated according to the identifier of the virtual machine and the URL of the target website corresponding to the virtual web page object.

[0041] As can be seen from the above description, binding is performed based on the virtual machine identifier and the target website URL, and initial virtual data is generated, so as to facilitate subsequent data filtering and protection of virtual web page objects based on the data.

[0042] Further, a plurality of class virtual data are generated based on the initial virtual data, including:

[0043] According to the preset filtering rules of the virtual machine, the filtering rules of the virtual machine at each level are obtained, and the corresponding level virtual data are generated for the initial virtual data in turn according to the filtering rules.

[0044] From the above description, it can be seen that data filtering is performed by level in the virtual machine, so as to facilitate the subsequent combined use and maintenance of the virtual machine data filtering.

[0045] Furthermore, filtering the web page data in the virtual web page object by using the plurality of class virtual data includes:

[0046] The web page data in the virtual web page object is filtered in sequence using multiple levels of virtual data, and each filtering result is transmitted to the next level of virtual data for filtering.

[0047] From the above description, it can be seen that each class transmits the filtering result to the next class virtual data for filtering, so the filtering processes between the classes are independent of each other, which improves the filtering reliability.

[0048] Furthermore, the virtual machine is bound to the virtual web page object and generates initial virtual data, and further includes:

[0049] At least two virtual machines are bound to the virtual web page object, and are sequentially bound to the virtual web page object according to the hierarchy of the virtual machines and the hierarchical relationship between the virtual machines to generate initial virtual data.

[0050] From the above description, it can be known that a virtual web page object can be virtualized and filtered by a virtual machine, or virtualized and filtered in combination with the hierarchical relationship between multiple virtual machines, thereby further improving the flexibility and diversity of virtual web page object generation.

[0051] The method and terminal for generating a virtual web page object described above in the present invention are suitable for filtering and shielding web page content through virtual web page objects, thereby improving the flexibility and diversity of generating virtual web page objects. The following is an explanation through specific implementation methods:

[0052] Embodiment 1

[0053] Please refer to Figure 1 and Figure 3 , a method for generating a virtual web page object, comprising the steps of:

[0054] S1. Acquire web page data to be virtualized from a target website, and create a virtual web page object for the web page data to be virtualized.

[0055] S2. The virtual machine is bound to the virtual web page object and generates initial virtual data, and multiple levels of virtual data are generated based on the initial virtual data, and the web page data in the virtual web page object is filtered through the multiple levels of virtual data.

[0056] S21. Generate initial virtual data according to the identifier of the virtual machine and the URL of the target website corresponding to the virtual web page object.

[0057] Specifically, after the virtual web page object is bound to the virtual machine, it is possible to obtain from the state of the virtual web page object whether the virtual machine is in an active state and whether data in the virtual machine is being accessed.

[0058] In addition, initial virtual data is generated according to the virtual machine identifier and the URL of the target website corresponding to the virtual web page object. The initial virtual data here is: identifier-URL. The identifier can be the IP address of the virtual machine or other identifiers composed of numbers and English letters.

[0059] S22. According to the preset filtering rules of the virtual machine, the filtering rules of the virtual machine at each level are obtained, and corresponding level virtual data are generated for the initial virtual data in turn according to the filtering rules.

[0060] Specifically, the data state machine of the virtual machine directly or indirectly accesses the target website according to the initial virtual data, where indirect access refers to the system event triggered by the configuration rule corresponding to the initial virtual data. When the target website is accessed, the returned data is obtained and the class data is entered:

[0061] In this embodiment, class virtual data is generated according to the filtering rules of each class configured by the virtual machine. For example, when there are three classes, each class has its own rules, and the contents of three different classes are generated. The class virtual data are independent and do not affect each other, and can be switched freely.

[0062] In addition, the class virtual data is determined according to the initial virtual data configuration. For example, when the initial virtual data is "127.0.0.1-cn.bing.com", the class virtual data can be "127.0.0.1-cn.bing.com-01". Here, 01 is the configuration rule to facilitate the subsequent processing of the class virtual data in the intermediate data.

[0063] S23, using multiple levels of virtual data to filter the web page data in the virtual web page object in turn, and transmitting each filtering result to the next level of virtual data for filtering.

[0064] Specifically, in this embodiment, different types of data can be divided into different classes. In data processing, the filtering results generated by each class through intermediate data will be passed to the next class, so data processing and filtering can be achieved in multiple spatial dimensions.

[0065] Among them, the intermediate data processing is in each stage environment and is isolated and does not affect each other. The processing only affects the current space. During the data processing process, the data is cleaned to ensure data quality and consistency. The cleaning rules are determined by the data attributes, which include pictures, documents, texts, etc.

[0066] In this embodiment, the behaviors responded to in the virtual machine are divided into user behaviors and system behaviors. User behaviors refer to virtual data events caused by users triggering virtual rules, and system behaviors refer to the effects of the system continuing to execute caused by the system through virtual machine rules. For example, if a user searches for XX123CC, and the virtual rules do not allow CC, the system filters it to search for XX123, and restricts data containing CC.

[0067] In some embodiments, when a virtual machine is bound to a virtual web page object, at least two virtual machines are bound to the virtual web page object, and the virtual web page object is bound to the virtual machine in sequence according to the hierarchy of the virtual machine and the order of the hierarchical relationship between the virtual machines to generate initial virtual data. That is, a virtual web page object can be accessed by multiple virtual machines, and each virtual machine has a corresponding hierarchy, and multiple virtual machines are accessed sequentially according to the hierarchical relationship of the hierarchy. In this way, a virtual web page object can be virtualized and filtered by a virtual machine, or virtualized and filtered in combination with multiple virtual machines, further improving the flexibility and diversity of virtual web page object generation.

[0068] Therefore, in this embodiment, a virtual web page object is established to wrap the virtual data of the target website, and hierarchical rules are established at the same time, so that users can browse virtual content with different needs through hierarchical rules, and the virtual content is configurable, and can realize functions such as filtering, shielding, and private customization. In addition, the established virtual web page object is interactive and has the characteristics of unique content.

[0069] Embodiment 2

[0070] Please refer to Figure 2 A terminal 1 for generating a virtual web page object includes a memory 2, a processor 3, and a computer program stored in the memory 2 and executable on the processor 3. When the processor 3 executes the computer program, each step of a method for generating a virtual web page object in the first embodiment is implemented.

[0071] In summary, the present invention provides a method and terminal for generating a virtual web page object, which obtains web page data to be virtualized from a target website, and establishes a virtual web page object for the web page data to be virtualized; the virtual machine is bound to the virtual web page object and generates initial virtual data, and multiple class virtual data are generated based on the initial virtual data, and the web page data in the virtual web page object is filtered through the multiple class virtual data. In this way, after the virtual machine is bound to the virtual web page object, multiple class virtual data can be set according to the data attributes in the web page data, so as to filter the web page data in the virtual web page object through the class virtual data, thereby filtering and shielding the web page content through the virtual web page object. At the same time, a virtual web page object can be virtualized and filtered by a virtual machine for web page data, or virtualized and filtered in combination with the hierarchical relationship between multiple virtual machines, further improving the flexibility and diversity of virtual web page object generation.

[0072] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent transformations made using the contents of the present invention's specification and drawings, or directly or indirectly applied in related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A method for generating a virtual web page object, characterized in that: Includes steps: Acquire the web page data to be virtualized from the target website, and create a virtual web page object for the web page data to be virtualized; The virtual machine is bound to the virtual web page object and generates initial virtual data, and multiple levels of virtual data are generated based on the initial virtual data. The web page data in the virtual web page object is filtered through the multiple levels of virtual data.

2. A method for generating a virtual web page object according to claim 1, characterized in that: Binding the virtual machine to the target website corresponding to the virtual web page object and generating initial virtual data includes: Initial virtual data is generated according to the identifier of the virtual machine and the URL of the target website corresponding to the virtual web page object.

3. The method for generating a virtual web page object according to claim 1, characterized in that: Generate multiple class virtual data based on the initial virtual data, including: According to the preset filtering rules of the virtual machine, the filtering rules of the virtual machine at each level are obtained, and the corresponding level virtual data are generated for the initial virtual data in turn according to the filtering rules.

4. The method for generating a virtual web page object according to claim 1, characterized in that: Filtering the web page data in the virtual web page object by using the plurality of class virtual data includes: The web page data in the virtual web page object is filtered in sequence using multiple levels of virtual data, and each filtering result is transmitted to the next level of virtual data for filtering.

5. The method for generating a virtual web page object according to claim 1, characterized in that: The virtual machine is bound to the virtual web page object and generates initial virtual data, and further includes: At least two virtual machines are bound to the virtual web page object, and are sequentially bound to the virtual web page object according to the hierarchy of the virtual machines and the hierarchical relationship between the virtual machines to generate initial virtual data.

6. A terminal for generating a virtual web page object, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the following steps are implemented: Acquire the web page data to be virtualized from the target website, and create a virtual web page object for the web page data to be virtualized; The virtual machine is bound to the virtual web page object and generates initial virtual data, and multiple levels of virtual data are generated based on the initial virtual data. The web page data in the virtual web page object is filtered through the multiple levels of virtual data.

7. A virtual web page object generation terminal according to claim 6, characterized in that: Binding the virtual machine to the target website corresponding to the virtual web page object and generating initial virtual data includes: Initial virtual data is generated according to the identifier of the virtual machine and the URL of the target website corresponding to the virtual web page object.

8. A virtual web page object generation terminal according to claim 6, characterized in that: Generate multiple class virtual data based on the initial virtual data, including: According to the preset filtering rules of the virtual machine, the filtering rules of the virtual machine at each level are obtained, and the corresponding level virtual data are generated for the initial virtual data in turn according to the filtering rules.

9. A virtual web page object generation terminal according to claim 6, characterized in that: Filtering the web page data in the virtual web page object by using the plurality of class virtual data includes: The web page data in the virtual web page object is filtered in sequence using multiple levels of virtual data, and each filtering result is transmitted to the next level of virtual data for filtering.

10. A virtual web page object generation terminal according to claim 6, characterized in that: The virtual machine is bound to the virtual web page object and generates initial virtual data, and further includes: At least two virtual machines are bound to the virtual web page object, and are sequentially bound to the virtual web page object according to the hierarchy of the virtual machines and the hierarchical relationship between the virtual machines to generate initial virtual data.