A page processing method and device, electronic equipment and storage medium

By transcoding the original redirect components and elements of the app page into a format that search engines can recognize and storing them in association, the problem of search engines being unable to effectively index app content is solved, thereby improving the richness of search results and user experience.

CN117742836BActive Publication Date: 2026-06-23TENCENT TECHNOLOGY (SHENZHEN) CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
TENCENT TECHNOLOGY (SHENZHEN) CO LTD
Filing Date
2022-09-15
Publication Date
2026-06-23

AI Technical Summary

Technical Problem

Because search engines use different encoding languages ​​for web page content and app page content, they cannot effectively index and recognize page content when searching for other apps through search engines, thus reducing the richness of search results.

Method used

The original redirect components and page elements of the applications to be included are encoded into target components and elements using a standard language, and then associated and stored with page redirection instructions to ensure that the search server can recognize and display this content.

Benefits of technology

It has increased the richness of search results, improved the user experience, and enhanced the universality and display effect of page content.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117742836B_ABST
    Figure CN117742836B_ABST
Patent Text Reader

Abstract

The application relates to the computer technical field, in particular to a page processing method and device, electronic equipment and storage medium, adopting a standard language, converting at least one original jump component based on an original language contained in an original application page into corresponding target jump components respectively; determining page jump indication information between the original application page and each other application page based on the at least one original jump component; adopting the standard language, converting at least one original page element based on the original language into corresponding target page elements based on the element conversion mode corresponding to each original page element contained in the original application page; and sending the obtained at least one target jump component, page jump indication information and at least one target page element to the search server for associated storage. In this way, the richness of search results can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to a page processing method, apparatus, electronic device, and storage medium. Background Technology

[0002] Currently, with the development of search engine technology, it is possible not only to search for web page content related to keywords within an application (app) through a search engine, but also to search for content from other apps related to keywords within an app. For example, content from app2 can be searched using the search engine of app1.

[0003] Before content from other apps can be found through a search engine within an app, the indexing server needs to index the content displayed by each of the other apps.

[0004] In related technologies, when collecting content from the other apps mentioned above, it is usually done by providing a separate web interface, and then collecting the content from the other apps through the web interface.

[0005] However, since the web page content that search engines in related technologies can recognize is developed in different languages ​​than the page content of apps, although this indexing method can index the page content of other apps, the indexed page content cannot be recognized by search engines, thus reducing the richness of search results obtained through search engines. Summary of the Invention

[0006] This application provides a page processing method, apparatus, electronic device, and storage medium to improve the universality of page content inclusion and to convert app pages into page content that search engines can recognize, thereby increasing the richness of search results.

[0007] The specific technical solutions provided in this application are as follows:

[0008] On one hand, embodiments of this application provide a page processing method applied to an indexing server, including:

[0009] Using a standard language, at least one original redirect component based on the original language contained in the original application page of the application to be included is transcoded into the corresponding target redirect component; wherein, the standard language represents the encoding language category that the search server supports and can recognize.

[0010] Based on the at least one original redirection component, determine the page redirection instruction information between the original application page and each other application page;

[0011] Using the standard language, and based on the element transcoding method corresponding to each of the at least one original page element contained in the original application page, the at least one original page element based on the standard language is transcoded into the corresponding target page element.

[0012] The obtained at least one target redirection component, page redirection instruction information, and at least one target page element are sent to the search server for associated storage.

[0013] Optionally, the step of using the standard language and, based on the element transcoding method corresponding to at least one original page element contained in the original application page, transcoding the at least one original page element based on the standard language into corresponding target page elements includes:

[0014] For at least one original page element contained in the original application page, perform the following operations respectively:

[0015] If the element category of an original page element is a webpage display element, then the preset code conversion functions are called to convert the original page element generated based on the original language into the target page element corresponding to the standard language.

[0016] If the element category is a view element, then the original page element is serialized into a view to obtain the target page element corresponding to the standard language.

[0017] Optionally, the step of performing view serialization on the original page element to obtain the target page element corresponding to the standard language includes:

[0018] Determine the view storage path corresponding to the original page element;

[0019] Transcode the original page element from its original language to the target string corresponding to the standard language;

[0020] Based on the target string and the view storage path, the target page element corresponding to the standard language is obtained.

[0021] Optionally, the step of using a standard language to transcode at least one original redirection component based on the original language contained in the original application page into a corresponding target redirection component includes:

[0022] For at least one original redirect component based on the original language contained in the original application page, perform the following operations respectively:

[0023] Each original attribute information corresponding to an original jump component generated based on the original language is converted into target attribute information corresponding to the standard language.

[0024] Based on the obtained target attribute information, the target jump component is obtained.

[0025] Optionally, based on the at least one original redirection component, page redirection indication information between the original application page and each other application page is determined, including:

[0026] Based on at least one original jump component contained in the current page content area of ​​the original application page, a first jump tag is generated, wherein the first jump tag is used to indicate a jump from the original application page to the corresponding other application page;

[0027] Based on at least one original jump component contained in the page navigation area of ​​the original application page, a second jump label is generated, wherein the second jump label is used to indicate a jump from the current page content area to the corresponding other page content area;

[0028] Based on at least one first redirect tag and at least one second redirect tag, generate page redirection instruction information.

[0029] Optionally, before including at least one original redirect component based on the original language in the original application page, the method further includes:

[0030] A generated component location instruction is sent to the target application so that the target application responds to the component location instruction, determines at least one target clickable location from the candidate clickable locations contained in the original application page, and sends the at least one target clickable location to the collection server.

[0031] Based on the at least one clickable target location, at least one original redirect component is determined from the original application page.

[0032] On one hand, embodiments of this application provide a page processing method applied to a search server, including:

[0033] Receive at least one target redirection component, page redirection instruction information, and at least one target page element sent by the inclusion server;

[0034] The at least one target jump component, the page jump instruction information, and the at least one target page element are associated and stored together;

[0035] Each target redirection component is obtained by the indexing server using a standard language to transcode at least one original redirection component based on the original language contained in the original application page. The page redirection information is determined by the indexing server based on the at least one original redirection component. Each target page element is obtained by the indexing server using the standard language to transcode at least one original page element based on the original language, based on the element transcoding method corresponding to each of the at least one original page elements contained in the original application page. The standard language represents the encoding language category that the search server supports and can recognize.

[0036] Optionally, the step of associating and storing the at least one target jump component, the page jump indication information, and the at least one target page element includes:

[0037] Generate a candidate information set containing the at least one target jump component, the page jump indication information, and the at least one target page element;

[0038] Based on the information of at least one target page element, candidate index information is established for the candidate information set;

[0039] The candidate index information and the candidate information set are stored together.

[0040] Optionally, after associating and storing the at least one target redirection component, the page redirection indication information, and the at least one target page element, the method further includes:

[0041] Based on the target index information carried by the received search request, at least one target information set associated with the target index information is determined from each candidate information set, and each target information set corresponds to a target application;

[0042] Load at least one identified target information set;

[0043] In each display area of ​​the created mini-program, at least one set of target information is displayed.

[0044] Optionally, the method further includes:

[0045] Receive the manifest file transmitted by each application to be included, wherein each manifest file contains at least a pre-configured first permission field and a first server identifier corresponding to each search server with inclusion permission;

[0046] For each application to be included, the following steps are performed: If a first permission field in a list file is determined to be allowed to be included, and the second server identifier corresponding to the search server is included in each first server identifier, then an application to be included is determined to be allowed to be included by the search server.

[0047] Optionally, if each manifest file also contains identifiers for each first application page, then the method further includes:

[0048] For each application to be included, the following steps are performed: If it is determined that the second application page identifier corresponding to the original application page is included in the first application page identifiers in a list file, then it is determined that the inclusion server has the authority to include the original application page.

[0049] On one hand, embodiments of this application provide a page processing apparatus applied to an indexing server, comprising:

[0050] The first transcoding module is used to transcode at least one original redirect component based on the original language contained in the original application page of the application to be included into the corresponding target redirect component using a standard language; wherein, the standard language represents the encoding language category that the search server supports and can recognize.

[0051] The first determining module is used to determine page jump indication information between the original application page and each other application page based on the at least one original jump component;

[0052] The second transcoding module is used to use the standard language and, based on the element transcoding method corresponding to each of the at least one original page element contained in the original application page, to transcode the at least one original page element based on the original language into the corresponding target page element.

[0053] The sending module is used to send at least one target redirection component, page redirection indication information and at least one target page element to the search server for associated storage.

[0054] Optionally, the second transcoding module is also used for:

[0055] For at least one original page element contained in the original application page, perform the following operations respectively:

[0056] If the element category of an original page element is a webpage display element, then the preset code conversion functions are called to convert the original page element generated based on the original language into the target page element corresponding to the standard language.

[0057] If the element category is a view element, then the original page element is serialized into a view to obtain the target page element corresponding to the standard language.

[0058] Optionally, when performing view serialization on the original page element to obtain the target page element corresponding to the standard language, the second transcoding module is further configured to:

[0059] Determine the view storage path corresponding to the original page element;

[0060] Transcode the original page element from its original language to the target string corresponding to the standard language;

[0061] Based on the target string and the view storage path, the target page element corresponding to the standard language is obtained.

[0062] Optionally, the first transcoding module is further configured to:

[0063] For at least one original redirect component based on the original language contained in the original application page, perform the following operations respectively:

[0064] Each original attribute information corresponding to an original jump component generated based on the original language is converted into target attribute information corresponding to the standard language.

[0065] Based on the obtained target attribute information, the target jump component is obtained.

[0066] Optionally, the first determining module is further configured to:

[0067] Based on at least one original jump component contained in the current page content area of ​​the original application page, a first jump tag is generated, wherein the first jump tag is used to indicate a jump from the original application page to the corresponding other application page;

[0068] Based on at least one original jump component contained in the page navigation area of ​​the original application page, a second jump label is generated, wherein the second jump label is used to indicate a jump from the current page content area to the corresponding other page content area;

[0069] Based on at least one first redirect tag and at least one second redirect tag, generate page redirection instruction information.

[0070] Optionally, before including at least one original redirect component based on the original language in the original application page, the device further includes a second determining module, which is further configured to:

[0071] A generated component location instruction is sent to the target application so that the target application responds to the component location instruction, determines at least one target clickable location from the candidate clickable locations contained in the original application page, and sends the at least one target clickable location to the collection server.

[0072] Based on the at least one clickable target location, at least one original redirect component is determined from the original application page.

[0073] On one hand, embodiments of this application provide a page processing apparatus applied to a search server, including:

[0074] The receiving module is used to receive at least one target redirection component, page redirection indication information and at least one target page element sent by the collection server;

[0075] An associated storage module is used to associate and store the at least one target jump component, the page jump indication information, and the at least one target page element;

[0076] Each target redirection component is obtained by the indexing server using a standard language to transcode at least one original redirection component based on the original language contained in the original application page. The page redirection information is determined by the indexing server based on the at least one original redirection component. Each target page element is obtained by the indexing server using the standard language to transcode at least one original page element based on the original language, based on the element transcoding method corresponding to each of the at least one original page elements contained in the original application page. The standard language represents the encoding language category that the search server supports and can recognize.

[0077] Optionally, the associated storage module is further configured to:

[0078] Generate a candidate information set containing the at least one target jump component, the page jump indication information, and the at least one target page element;

[0079] Based on the information of at least one target page element, candidate index information is established for the candidate information set;

[0080] The candidate index information and the candidate information set are stored together.

[0081] Optionally, after associating and storing the at least one target jump component, the page jump indication information, and the at least one target page element, the device further includes a display module, which is used to:

[0082] Based on the target index information carried by the received search request, at least one target information set associated with the target index information is determined from each candidate information set, and each target information set corresponds to a target application;

[0083] Load at least one identified target information set;

[0084] In each display area of ​​the created mini-program, at least one set of target information is displayed.

[0085] Optionally, the device further includes a permission verification module, which is used for:

[0086] Receive the manifest file transmitted by each application to be included, wherein each manifest file contains at least a pre-configured first permission field and a first server identifier corresponding to each search server with inclusion permission;

[0087] For each application to be included, the following steps are performed: If a first permission field in a list file is determined to be allowed to be included, and the second server identifier corresponding to the search server is included in each first server identifier, then an application to be included is determined to be allowed to be included by the search server.

[0088] Optionally, if each manifest file also contains identifiers for each first application page, then the permission verification module is further used for:

[0089] For each application to be included, the following steps are performed: If it is determined that the second application page identifier corresponding to the original application page is included in the first application page identifiers in a list file, then it is determined that the inclusion server has the authority to include the original application page.

[0090] On one hand, embodiments of this application provide an electronic device, which includes a processor and a memory, wherein the memory stores program code that, when executed by the processor, causes the processor to perform the steps of any of the page processing methods described above.

[0091] On one hand, embodiments of this application provide a computer storage medium storing computer instructions that, when executed on a computer, cause the computer to perform the steps of any of the above-described page processing methods.

[0092] On one hand, an embodiment of this application provides a computer program product, which includes computer instructions stored in a computer-readable storage medium; when a processor of an electronic device reads the computer instructions from the computer-readable storage medium, the processor executes the computer instructions, causing the electronic device to perform the steps of any of the above-described page processing methods.

[0093] Since the embodiments of this application adopt the above technical solution, at least the following technical effects are achieved: At least one original jump component based on the original language contained in the original application page of the application to be included is transcoded into corresponding target jump components. Based on at least one original jump component, page jump instruction information between the original application page and other application pages is determined. Using a standard language, based on the element transcoding method corresponding to each of the at least one original page element contained in the original application page, at least one original page element based on the original language is transcoded into corresponding target page elements. The obtained at least one target jump component, page jump instruction information, and at least one target page element are sent to the search server for associated storage. Thus, by transcoding at least one original jump component and at least one original page element, and based on at least one target jump component, page jump instruction information, and at least one target page element, both the target page elements and style information of the original application page are preserved, as are the target jump components and page jump instruction information. This ensures the display effect while avoiding jumps to the corresponding application, increasing the time users spend in the current application, improving the richness of displayed search results, enhancing user experience, and increasing universality. Attached Figure Description

[0094] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:

[0095] Figure 1 This is a schematic diagram of an application scenario in the embodiments of this application;

[0096] Figure 2A This is a schematic diagram of the first process of the page processing method in the embodiments of this application;

[0097] Figure 2B This is an example diagram of the original application page in the embodiments of this application;

[0098] Figure 2C Examples of other application pages in the embodiments of this application;

[0099] Figure 2D This is a second example diagram of a second-level page in an embodiment of this application;

[0100] Figure 2E This is an example diagram of a three-level page in an embodiment of this application;

[0101] Figure 3A This is another flowchart illustrating a page processing method in an embodiment of this application;

[0102] Figure 3B This is a first example image shown on the page in the embodiments of this application;

[0103] Figure 3C This is a second example diagram shown on the page in the embodiments of this application;

[0104] Figure 4 This is a schematic diagram of the structure of the recording system in the embodiments of this application;

[0105] Figure 5 This is a schematic diagram illustrating the working principle of the recording system in the embodiments of this application;

[0106] Figure 6 This is an example diagram of the page processing method in the embodiments of this application;

[0107] Figure 7 This is a schematic diagram of the page processing device in the embodiments of this application;

[0108] Figure 8 This is a schematic diagram of another page processing device in an embodiment of this application;

[0109] Figure 9 This is a schematic diagram of the hardware structure of an electronic device using an embodiment of this application. Detailed Implementation

[0110] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of this application will be clearly and completely described below with reference to the accompanying drawings of the embodiments of this application. Obviously, the described embodiments are only some embodiments of the technical solutions of this application, and not all embodiments. Based on the embodiments recorded in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the technical solutions of this application.

[0111] The terms "first," "second," etc., used in the specification, claims, 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 use of data can be interchanged where appropriate so that embodiments of the invention described herein can be implemented in sequences other than those illustrated or described herein.

[0112] The following explanations of some terms used in the embodiments of this application are provided to facilitate understanding by those skilled in the art.

[0113] Standard language: Represents the type of encoded language that the search server supports and can identify. For example, it can be HyperText Markup Language (HTML). This application does not limit this.

[0114] Original language: Represents the type of encoding language that the application installed on the client supports and can recognize. For example, it can be Java, or it can be Extensible Markup Language (XML). This application does not limit this.

[0115] Jump component: Represents a component used to jump from one application page to another application page.

[0116] It should be noted that, in the embodiments of this application, one can jump from one application page to another by performing a click operation on the jump component.

[0117] Page navigation information: Indicates information used to navigate from one application page to another.

[0118] In this embodiment of the application, the page jump instruction information can be generated using HTML. Tag, which can be defined as a hyperlink.

[0119] Page element: a UI component representing a setting in an application page. For example, page elements can be divided into view elements, web display elements, etc. The present application does not limit this.

[0120] Application (app): an application installed on a client.

[0121] Webview: a mini-program UI component that can display HTML as part of a mini-program page.

[0122] Imageview: an Android system UI component for displaying images.

[0123] Mini-program: an application that does not need to be downloaded and installed to use.

[0124] The design idea of the present application is briefly introduced as follows:

[0125] Currently, with the development of search engine technology, a large amount of information with display significance is generated in apps, not in web pages. Therefore, when searching based on keywords, not only web page content related to the keywords can be searched in apps through search engines, but also other app content associated with the keywords can be searched in apps through search engines, for example, app1 can search for application content in app2 through a search engine. Therefore, the collection server needs to collect the content displayed by each of the other apps and transmit the collected content to the search server.

[0126] In related technologies, when collecting application content displayed by each of the other apps, a web interface is usually provided separately to collect the content in each of the other apps from the web interface.

[0127] However, since the search server can usually only recognize web page content generated based on HTML language, and many app pages are usually developed based on java or C language, that is, the web page content supported by the search engine for recognition and the page content of the app are developed using different coding languages. Therefore, when collecting pages in this way in related technologies, the collected page content cannot be recognized by the search server, thereby reducing the richness of the search engine search results and the user experience.

[0128] To address the aforementioned issues, this application provides a page processing method that employs a standard language. At least one original redirection component based on the original language, contained in the original application page of the application to be included, is transcoded into corresponding target redirection components. Based on the at least one original redirection component, page redirection indication information between the original application page and other application pages is determined. Using a standard language, and based on the element transcoding method corresponding to each of the at least one original page element contained in the original application page, the at least one original page element based on the original language is transcoded into corresponding target page elements. The obtained at least one target redirection component, page redirection indication information, and at least one target page element are sent to a search server for associated storage. This improves the richness of the displayed search results and enhances the user experience.

[0129] The preferred embodiments of this application are described below with reference to the accompanying drawings. It should be understood that the preferred embodiments described herein are for illustration and explanation only and are not intended to limit this application. Furthermore, the embodiments and features in the embodiments of this application can be combined with each other without conflict.

[0130] See Figure 1 The diagram shown is an application scenario illustration in an embodiment of this application. This application scenario illustration includes applications to be included 110, an inclusion server 120, a search server 130, and a client 140. The applications to be included 110, the inclusion server 120, the search server 130, and the client 140 can communicate with each other via a communication network.

[0131] In this embodiment of the application, each application to be included 110 can be installed on different clients or on the same client, and there is no limitation on this.

[0132] The inclusion server 120 is a backend server used to include each original application page in the applications to be included, and to upload at least one target redirection component, page redirection instruction information, and at least one target page element to the search server 130 after inclusion. The inclusion server 120 may include one or more processors, memory, and I / O interfaces for interacting with the search server 130. The inclusion server 120 may be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides 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, content delivery networks (CDN), and big data and artificial intelligence platforms. Each application to be included 110 can be directly or indirectly connected to the inclusion server 120 through wired or wireless communication, which is not limited in this embodiment.

[0133] Search server 130 is a backend server used to associate and store at least one target redirection component, page redirection instruction information, and at least one target page element after inclusion, and to process search requests sent by client 140. Search server 130 may include one or more processors, memory, and I / O interfaces for interaction with inclusion server 120 and client 140. Search server 130 can be a standalone 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, content delivery networks (CDN), and big data and artificial intelligence platforms. Search server 130 can be directly or indirectly connected to inclusion server 120 and client 140 via wired or wireless communication, which is not limited in this embodiment.

[0134] The target application is pre-installed in client 140. The target application can be a pre-installed client application, a web application, a mini-program, etc. Client 140 may include one or more processors, memory, I / O interfaces for interacting with search server 130, and a display screen, etc. Client 140 includes, but is not limited to, mobile phones, computers, smart voice interaction devices, smart home appliances, in-vehicle terminals, etc.

[0135] The solutions provided in this application involve technologies such as page processing, which are specifically illustrated through the following embodiments:

[0136] The page processing method in the embodiments of this application will be described below with reference to the accompanying drawings. The page processing method in the embodiments of this application can be applied to... Figure 1 The recording server 120 shown is referred to. Figure 2A The diagram shown is a first flowchart of the page processing method in this embodiment of the application. The specific page processing flow is as follows:

[0137] S20: Using a standard language, at least one original redirect component based on the original language contained in the original application page of the application to be included is transcoded into the corresponding target redirect component.

[0138] Among them, the standard language representation search server supports the identification of encoded language categories.

[0139] In this embodiment of the application, at least one original redirection component contained in the original application page is determined, and the following operations are performed on the determined at least one original redirection component: the original redirection component based on the original language is transcoded into the target redirection component based on the standard language.

[0140] Optionally, in this embodiment of the application, a possible implementation method is provided for the process of transcoding the original jump component into the target jump component. Specifically, taking any original jump component (hereinafter referred to as original jump component a) as an example, the process of transcoding the original jump component is described as follows:

[0141] S201: Transcode the original attribute information corresponding to the original jump component a generated based on the original language into the target attribute information corresponding to the standard language.

[0142] In this embodiment, the original attribute information corresponding to the original jump component a generated based on the original language is determined, and the following operations are performed on each original attribute information: the original attribute information corresponding to the original language is converted into the target attribute information corresponding to the standard language. Therefore, each original attribute information is generated based on the original language, and each target attribute information is generated based on the standard language.

[0143] The attribute information of the original jump component a can be component size, component position, and component text information, which are not limited in this embodiment.

[0144] For example, suppose the original attribute information of the original jump component 'a' is the component position, the original language is Java, and the standard language is HTML. Therefore, the component position is converted from Java to HTML to obtain the target attribute information.

[0145] Additionally, it should be noted that when converting the original attribute information from the original language to the standard language, it can be done based on a pre-established language mapping relationship. That is, based on the language mapping relationship, the original attribute information is converted from the original language to the standard language, thereby obtaining the target attribute information.

[0146] S202: Based on the obtained target attribute information, obtain the target jump component.

[0147] In this embodiment, since the original jump component corresponds to each original attribute information, the target jump component can be obtained based on the obtained target attribute information. Thus, when the app content is searched, the target jump component can be restored in the target application page. This allows the target jump component to be recognized by the search server, thereby restoring the target jump component in the target application page and ensuring the display effect.

[0148] Furthermore, in this embodiment of the application, before transcoding the original redirect component, it is necessary to determine at least one original redirect component contained in the original application page. The process of determining at least one original redirect component in this embodiment of the application is described below:

[0149] M1: Sends the generated component location instruction to the target application so that the target application responds to the component location instruction, determines at least one target clickable position from the candidate clickable positions contained in the original application page, and sends at least one target clickable position to the inclusion server.

[0150] In this embodiment of the application, since the original application page contains various candidate clickable positions, a generated component positioning instruction is sent to the target application, so that the app process corresponding to the target application responds to the component positioning instruction, performs a click operation on each candidate clickable position, determines at least one target clickable position among the candidate clickable positions, and sends at least one target clickable position to the collection server.

[0151] It should be noted that if clicking on one of the candidate clickable locations will jump from the original application page to another application page, or from the current page content area to another page content area, then that candidate clickable location will be used as the target clickable location.

[0152] M2: Based on at least one target clickable location, identify at least one original jump component contained in the original application page.

[0153] In this embodiment of the application, since each clickable position can correspond to an original jump component, at least one original jump component can be determined from the original application page based on at least one target clickable position, thereby enabling the identification of the original jump component.

[0154] S21: Based on at least one original jump component, determine page jump instruction information between the original application page and each other application page.

[0155] In this embodiment of the application, page jump information of the original application page is determined based on at least one original jump component, and the page jump indication information is used to jump from the original application page to other application pages.

[0156] Optionally, in this application embodiment, a possible implementation method is provided for determining page jump indication information. The process of determining page jump indication information in this application embodiment is described below:

[0157] S211: Generate a first jump tag based on at least one original jump component contained in the current page content area of ​​the original application page.

[0158] The first redirect tag is used to indicate a redirect from the original application page to the corresponding other application page.

[0159] In this embodiment of the application, the page navigation area and page content area in the original application page are determined, and the following operations are performed for at least one original jump component contained in the page content area: Based on an original jump component, a first jump tag is generated to indicate a jump from the original application page to the corresponding other application page. Therefore, through the first jump tag, it is possible to jump from the target application page to other application pages within the target application page.

[0160] For example, see Figure 2B The image shown is an example diagram of the original application page in an embodiment of this application. Figure 2B The original application page in the table is a first-level page. The area enclosed within each first dashed box is the corresponding page navigation area, and each second dashed box represents the page content area corresponding to the "Recommended" section of the page navigation. The system process of the data collection server sends a click command to the app process, executes a swipe-click gesture, and identifies the original jump component b1 contained within the page content area. By simulating a click on the original jump component b1, it determines the other application pages to jump to. (See reference...) Figure 2C The diagram shown is an example of other application pages in this application embodiment. These other application pages are secondary pages. Therefore, by clicking the original jump component b1, one can jump from the primary page to the secondary page. The jump relationship from the primary page to the secondary page is recorded, and the first jump label is obtained. Then, since the top of the other application page is displayed after jumping from the primary application page to the other application page, the system process sends an up-swipe command to the app process to execute the up-swipe operation, thereby swiping to the bottom of the other application page. Article recommendations and comments are displayed at the bottom. (See reference...) Figure 2DThe diagram shown is a second example of a second-level page in an embodiment of this application. By clicking the original jump component b2, one can jump to another application page, i.e., a third-level page. Therefore, by clicking the original jump component b2, one can jump from the second-level page to the third-level page. The jump relationship from the second-level page to the third-level page is recorded to obtain the first jump label. See reference. Figure 2E The diagram shown is an example of a three-level page in an embodiment of this application. While determining the first jump tag, the three-level page is included using the same processing method as the original application page.

[0161] It should be noted that, in the embodiments of this application, when determining the page navigation area and page content area in the original application page, the navigation position of the pre-stored page navigation area and the content position of the page content area in the original application page can be determined based on the application identifier corresponding to the original application to which the original application page belongs. Then, the page navigation area of ​​the original application page can be determined based on the navigation position, and the page content area of ​​the original application page can be determined based on the content position.

[0162] Additionally, it should be noted that by performing swipe-click gestures, the content displayed on the original application page can be included, thereby improving the completeness of the included content.

[0163] S212: Generate a second jump tag based on at least one original jump component contained in the page navigation area of ​​the original application page.

[0164] The second jump tag is used to indicate a jump from the current page content area to the corresponding other page content area.

[0165] In this embodiment of the application, for at least one original jump component included in the page navigation area, the following operations are performed respectively: based on an original jump component, a second jump tag is generated to indicate a jump from the current page content area to the corresponding other page content area. Therefore, through the second jump tag, it is possible to jump from the current page content area to other page content areas within the target application page.

[0166] For example, such as Figure 2BAs shown, the original application page's content area is the "Recommended" content area. The system process of the indexing server sends a second click command to the app process. This second click command is used to click the original jump component in the page navigation area. Thus, the app process determines the original jump component b2 contained in the page navigation area by clicking the "Hotspot" in the page navigation area. By simulating clicking the original jump component b2, it jumps to other page content areas corresponding to the "Hotspot". Therefore, by clicking the original jump component b2, it can jump from the current page content area to other page content areas. The jump relationship from the current page content area to other page content areas is recorded, and the second jump tag is obtained.

[0167] S213: Generate page redirection information based on at least one first redirection tag and at least one second redirection tag obtained.

[0168] In this embodiment of the application, page jump instruction information is generated based on at least one first jump tag and at least one second jump tag. Therefore, the page jump instruction information includes at least one first jump tag and at least one second jump tag. In this way, the page jump instruction information can be recorded through the first jump tag and the second jump tag, so that when displaying the page, the page jump relationship can be restored based on the page jump instruction information, thus ensuring the display effect.

[0169] It should be noted that the first and second jump tags in this embodiment are implemented using HTML. It is implemented using tags, but there are no restrictions on this.

[0170] Additionally, it should be noted that in this embodiment, when the original application page is a static application page, the original application page only contains at least one original page element and does not contain an original jump component. Therefore, when the original application page is a static application page, it is only necessary to perform corresponding transcoding on at least one original page element to send at least one target page element to the search server for associated storage. In this way, the restored target application page contains at least one target page element.

[0171] S22: Using a standard language, based on the element transcoding method corresponding to at least one original page element contained in the original application page, transcode at least one original page element based on the original language into the corresponding target page element.

[0172] In this embodiment of the application, since each original page element corresponds to an element transcoding method, the following operations are performed for at least one original page element contained in the original application page: determine the element transcoding method corresponding to an original page element, and transcode the original page element based on the original language into a target page element based on the standard language.

[0173] In this embodiment of the application, the element category of the original page element can be a web page display element or a view element, etc., and this embodiment of the application does not impose any restrictions on this.

[0174] The following describes the process of determining the target page element when the element category of the original page element is a webpage display element or a view element, as described in the embodiments of this application:

[0175] The first element category: webpage display elements.

[0176] Specifically, if the element category of an original page element is a webpage display element, then the preset code conversion functions are called to convert the original page element generated based on the original language into the target page element corresponding to the standard language.

[0177] In this embodiment of the application, when the element category of the original page element is a web page display element, the original page element generated based on the original language is transcoded by calling the preset code conversion functions to obtain the target page element based on the standard language.

[0178] The webpage display element can be, for example, the webView UI component in the Android system, and this application embodiment does not impose any restrictions on it.

[0179] For example, when the original page element is a webView, JavaScript is injected into the original code corresponding to the webView. This allows the original code to be transformed based on the various code transformation functions in the JavaScript, thus obtaining the target code corresponding to the HTML. The target page element can then be obtained based on the target code.

[0180] The second element category: view elements.

[0181] Specifically, if the element category is a view element, then an original page element is serialized into a view to obtain the target page element corresponding to the standard language.

[0182] In this embodiment of the application, when the element category of the original page element is a view element, a view serialization is performed on an original page element to obtain a target page element based on a standard language.

[0183] Optionally, in this embodiment of the application, a possible implementation method for view serialization of original page elements is provided, specifically including:

[0184] S221: Determine the view storage path corresponding to an original page element.

[0185] In this embodiment of the application, the view storage path corresponding to the original page element is determined.

[0186] In this embodiment of the application, if the original page element is a network image, the view storage path of the original page element is the image network address; if the original page element is a local image, the view storage path of the original page element is the local resource path.

[0187] S222: Transcode a raw page element from its original language to a target string corresponding to the standard language.

[0188] In this embodiment of the application, the original page elements are serialized as images, that is, the original strings corresponding to the original page elements are converted from the original language to the standard language to obtain the target string corresponding to the standard language.

[0189] S223: Based on the target string and view storage path, obtain the target page element corresponding to the standard language.

[0190] In this embodiment, the target string and the view storage path are associated and stored together. Based on the target string and the view storage path, the target page element corresponding to the standard language is obtained. Therefore, the search server can restore the target page element that is the same as the original page element in the target application page based on the target string and the view storage path, thereby ensuring the display effect and improving the richness of the display.

[0191] Furthermore, in this embodiment of the application, the page value information in the original application page can also be stored in HTML, that is, the page value information is identified and stored in a standard language.

[0192] The page value information is used to mark the value of the original application page. The page value information includes at least the number of page views, likes, favorites, reposts, comments, and the number of the author's followers. This application embodiment does not impose any restrictions on this.

[0193] S23: Send at least one target redirection component, page redirection instruction information, and at least one target page element to the search server for associated storage.

[0194] In this embodiment of the application, at least one target jump component, page jump instruction information and at least one target page element are merged to complete the transcoding process from the original application page to HTML, retaining the original style and jump information of the original application page, and pushing the merged page content to the search server for associated storage.

[0195] In this embodiment, since at least one original jump component and at least one original page element in the Android system are customized components, they can only be understood and displayed by the search server after being transcoded. Therefore, performing different transcoding processes on different original jump components and original page elements enables the search server to identify the page content in the original application page, thereby improving the richness of the search results.

[0196] Based on the above embodiments, see Figure 3A The diagram shown is another flowchart illustrating a page processing method according to an embodiment of this application, specifically including:

[0197] S30: Receive at least one target redirection component, page redirection instruction information and at least one target page element sent by the inclusion server.

[0198] In this embodiment of the application, after the inclusion server completes the inclusion of the original application page, it sends at least one target jump component, page jump indication information and at least one target page element obtained after transcoding to the search server, so that the search server receives at least one target jump component, page jump indication information and at least one target page element.

[0199] S31: Associate and store at least one target jump component, page jump instruction information and at least one target page element.

[0200] Each target redirect component is obtained by the indexing server using a standard language to transcode at least one original redirect component based on the original language contained in the original application page. The page redirect information is determined by the indexing server based on at least one original redirect component. Each target page element is obtained by the indexing server using a standard language to transcode at least one original page element based on the original language, according to the element transcoding method corresponding to each of the at least one original page elements contained in the original application page. The standard language represents the encoding language category that the search server supports and can recognize.

[0201] In this embodiment of the application, the search server will receive at least one target jump component, page jump instruction information and at least one target page element and associate them, and after association, store at least one target jump component, page jump instruction information and at least one target page element in the information database.

[0202] Optionally, in this embodiment of the application, when storing at least one target jump component, page jump indication information, and at least one target page element in association, index information can be generated for at least one target jump component, page jump indication information, and at least one target page element, thereby enabling the search of the target information set based on the generated index information. The process of storing at least one target jump component, page jump indication information, and at least one target page element in association in this embodiment of the application is described below, specifically including:

[0203] S311: Generate a set of candidate information containing at least one target jump component, page jump instruction information, and at least one target page element.

[0204] In this embodiment of the application, at least one target jump component, page jump indication information and at least one target page element are merged again to generate a candidate information set. Therefore, the generated candidate information set contains at least one target jump component, page jump indication information and at least one target page element.

[0205] S312: Based on at least one target page element information, establish candidate index information for the candidate information set.

[0206] In this embodiment of the application, based on at least one target page element information, page analysis is performed on the candidate information set to obtain the page features corresponding to the candidate information set. Then, based on the page features, candidate index information is established for the candidate information set.

[0207] In particular, when performing page analysis on the candidate information set, information can be extracted and analyzed from the original application pages included in the database, thereby providing a reference for accurately matching the needs of search users.

[0208] Page features include page content information, service value, etc., which are not limited in this embodiment.

[0209] The candidate index information in this application embodiment includes URL indexes, keyword index relationships, etc., and there are no restrictions on this. In addition, the index library can be stored hierarchically to facilitate quick location of the target application page under different search index information requirements.

[0210] S313: Store candidate index information and candidate information set together.

[0211] In this embodiment of the application, candidate index information is associated with candidate information set, and the associated candidate index information and candidate information set are stored in information database.

[0212] Furthermore, in this embodiment, the app developer needs to configure which original application pages the search server is allowed to include, so that the search server can determine whether it has inclusion permissions for the application to be included, and which original application pages of the application to be included have inclusion permissions. The inclusion permissions in this embodiment are explained below:

[0213] B1: Receive the manifest files transmitted by each application to be included.

[0214] Each manifest file contains at least a pre-configured first permission field and a first server identifier corresponding to each search server with inclusion permissions.

[0215] In this embodiment, firstly, based on the Android system development specifications, each application to be included needs to add a manifest file to its root directory. This manifest file is used to describe the application's basic information to the Android system build tools and the Android system. The manifest file includes information such as: declaring the permissions required by the application to access restricted APIs, and declaring the permissions required by other programs to access components of this application. Then, based on the above conditions, the permissions for application content inclusion can be set using the corresponding permission declaration function in the manifest file. Specifically, application developers can add a first permission field to the manifest file to indicate whether the search server is allowed to include the application, so that the search server can read the first permission field. The value of the segment determines whether the search server is allowed to include the application. Furthermore, in the manifest file, the first server identifier corresponding to each search server with inclusion permissions is added. That is, if the second server identifier corresponding to the current search server is included in each of the first server identifiers, then the current search server is allowed to include the application to be included. Finally, after completing the above configuration process for each application to be included, the search server automatically obtains the installation packages of each application to be included in batches from the application's official website or app store. The installation packages corresponding to each application to be included are then decompressed to obtain the manifest file for each application. If it is determined that an application to be included is allowed to be included by the search server, then the application to be included is installed on the inclusion server.

[0216] For example, the first permission field is the allowRobots field, which is used to indicate whether the application to be included is allowed to be included by the search server. Here, allowRobots="1" indicates that the application to be included is allowed to be included, and allowRobots="0" indicates that the application to be included is not allowed to be included.

[0217] It should be noted that, in this embodiment of the application, each first server identifier can be added to the manifest file in the form of a robots element. The robots element is used to further declare which search servers are allowed to include the application. Each search server corresponding to each first server identifier in the manifest file has the permission to include the application to be included.

[0218] The manifest file must be named AndroidManifest.xml.

[0219] B2: For each application to be included, perform the following steps: If it is determined that the first permission field contained in a manifest file is allowed to be included, and the second server identifier corresponding to the search server is included in each first server identifier, then it is determined that an application to be included is allowed to be included by the search server.

[0220] In this embodiment of the application, the following steps are performed for each application to be included: If it is determined that the first permission field in the manifest file corresponding to an application to be included is "allowed to be included", then it is determined that the application to be included is allowed to be included by the search server. At the same time, since the search servers corresponding to each first server identifier are all search servers with the permission to include the application to be included, it is determined whether the second server identifier corresponding to the current search server is included in each of the first server identifiers. If it is determined that the second server identifier is included in each of the first server identifiers, then it is determined that an application to be included is allowed to be included by the search server.

[0221] Furthermore, in this embodiment of the application, each manifest file also contains identifiers for each first application page. Therefore, based on the identifiers for each first application page, it can be determined whether the inclusion server has the permission to include the original application page. The process of determining the inclusion permission of the original application page in this embodiment of the application is described below:

[0222] For each application to be included, the following steps are performed: If it is determined that the second application page identifier corresponding to the original application page is included in the first application page identifiers in a list file, then it is determined that the inclusion server has the authority to include the original application page.

[0223] In this embodiment of the application, the following steps are performed for each application to be included: Since the original application page corresponding to each first application page identifier is an original application page that is allowed to be included, if it is determined that the second application page identifier corresponding to the current original application page is included in each of the first application page identifiers in a list file, then it is determined that the inclusion server has the authority to include the original application page.

[0224] In this embodiment of the application, the first application page identifier can be added to the manifest file in the form of a robots element. Therefore, the robots element is used to further declare which original application pages are allowed to be included. In this way, different business needs can be met through permission declaration, and the flexibility of the applications to be included can be increased.

[0225] It should be noted that, in this embodiment of the application, the inclusion permission can be to allow all search servers to include all original application pages, or the inclusion permission can be to allow some search servers to include some application pages. That is, the original application pages with inclusion permission can be specified in the manifest file.

[0226] Furthermore, in this embodiment of the application, after the candidate index information and the candidate information set are associated and stored, key information can be searched. The search process in this embodiment of the application is described below, specifically including:

[0227] A1: Based on the target index information carried by the received search request, determine at least one target information set associated with the target index information from each candidate information set.

[0228] Each set of target information corresponds to a target application.

[0229] In this embodiment of the application, after the candidate index information and the candidate information set are associated and stored, the database contains the candidate index information and the corresponding candidate information set. Therefore, when a search request triggered by the client is received, the search request carries the target index information. Based on the target index information, it is matched with the stored candidate index information. The matching candidate index information is determined from the candidate index information, and the candidate information set corresponding to the matching candidate index information is taken as the corresponding target information set. At the same time, the search server will also sort the target information sets according to the matching degree.

[0230] It should be noted that in the embodiments of this application, each target information set corresponds to a target application, but the target applications corresponding to each target information set may be the same or different, and this embodiment of the application does not impose any restrictions on this.

[0231] A2: Load at least one set of target information that has been determined.

[0232] In this embodiment of the application, the search server loads at least one set of target information that has been determined.

[0233] A3: In each display area of ​​the created mini-program, display at least one set of target information that has been determined.

[0234] In this embodiment, mini-programs offer a better user experience compared to H5 pages. This is because opening an H5 page is equivalent to opening a webpage in a browser, requiring page loading, which slows down page loading speed. Furthermore, switching between H5 pages also takes time. Mini-programs, on the other hand, rely entirely on their respective mini-program ecosystems and do not require the loading operations of a browser. They can be opened or switched directly. Moreover, mini-programs have higher system permissions than H5 pages, such as access to the current network status and data caching applications. Therefore, this embodiment further generates corresponding mini-program pages based on the H5 structure for display. The search server creates its own ecosystem mini-program, which uses a webview component, sets a link to the webpage, loads the transcoded HTML storage address, and displays the transcoded HTML of the original application page across the entire mini-program page, achieving seamless page display. Therefore, if the search server identifies a set of target information, a mini-program is created in advance and displayed on the client. The mini-program uses a webview component, sets a link to the webpage, loads the storage address of the transcoded HTML, and fills the entire mini-program page with the transcoded HTML of the original application page, thereby obtaining the target application page of other applications. If the search server identifies multiple sets of target information, a mini-program is created in advance and displayed in each display area contained in the mini-program on the client, thereby obtaining the target application page.

[0235] It should be noted that, in this embodiment of the application, after sorting each set of target information according to the matching degree, the search server displays the determined sets of target information in each display area in sequence.

[0236] Furthermore, in this embodiment of the application, interactive controls such as sharing can be set in the target application page to realize operations such as forwarding interaction of the target application page.

[0237] For example, see Figure 3B The image shown is a first example of page display in an embodiment of this application. Through processing such as inclusion configuration, transcoding, and mini-program display, the target application page can be searched across applications in other search servers and displayed without discrimination. Furthermore, interactive controls such as sharing are set in the upper right corner of the target application page.

[0238] For example, see Figure 3CThe image shown is a second example of page display in this application embodiment. Through processing such as inclusion configuration, transcoding, and mini-program display, the target application page can be searched and displayed across applications on other search servers during the display process. Furthermore, it can also search for other target information sets different from the target application. That is, it retrieves the target information sets corresponding to multiple target applications and freely combines and displays each target information set in other dotted boxes in the search results page, thereby achieving the aggregation of high-quality search results. In addition, interactive controls such as sharing are set in the upper right corner of the target application page.

[0239] In contrast to related technologies where clicking leads directly to the target application and prompts for installation if the target application is not installed, this embodiment of the application uses a mini-program for display, achieving the effect of displaying the target application without requiring installation. This results in a high conversion rate, high security, and keeps user operations and traffic within the domain.

[0240] Based on the above embodiments, the following describes the inclusion system installed in the inclusion server in the embodiments of this application. (See reference...) Figure 4 The diagram shown is a structural schematic of the recording system in an embodiment of this application, specifically including:

[0241] 1. System applications.

[0242] In this embodiment of the application, the system applications include dialer, email, calendar, camera, etc., and this embodiment of the application does not impose any limitations on them.

[0243] 2. Java Application Programming Interface (API) framework.

[0244] In this embodiment of the application, the Java API framework includes a content provider, a view system, and system services.

[0245] Among them, the content provider is the interface for sharing data between applications, the view system components are used to manage user interface elements and generate user interface-oriented events, and the system services include Activity, Location, Package, Notification, Resource, Telephony, and Window, which are used to manage app pages, location, installation packages, notifications, resources, telephone, and windows, respectively.

[0246] 3. Local C / C++ libraries.

[0247] The local C / C++ libraries include the engine, OpenMAX AL, function libraries, media frameworks, OpenGL ES, etc., and this application embodiment does not impose any restrictions on them.

[0248] 4. Android runtime environment.

[0249] In this embodiment of the application, the Android runtime is a runtime environment in which the application can implement the pre-compilation process, and also includes core libraries.

[0250] 5. Hardware Abstraction Layer.

[0251] In this embodiment, the hardware abstraction layer includes audio, Bluetooth, camera, sensors, etc., and this embodiment does not impose any limitations on it.

[0252] 6. Linux kernel.

[0253] In this embodiment of the application, the Linux kernel includes drivers and power management.

[0254] The drivers include audio, inter-process communication, display, keyboard, Bluetooth, camera, shared memory, Universal Serial Bus (USB), and WiFi.

[0255] 7. SpiderManager System Service

[0256] In this embodiment, the SpiderManager system service runs as a system process and has the highest system privileges. It is used to send parsing commands to the app process to parse the original application page of the target application and perform swipe and click gesture operations. The SpiderManager system service is designed and implements real-time analysis and intelligent interaction technology of the app's original application page, and based on this, it realizes two major functions: automatic page discovery and automatic page transcoding.

[0257] Therefore, the data collection server in the related technologies is based on real mobile phones and uses Hook to intrude and collect data. This is costly, cannot be deployed on a large scale, and cannot collect all original application pages. In contrast, the SpiderManager system service in this application embodiment is a non-intrusive pure software solution that can collect all information as a system administrator and supports large-scale distributed deployment.

[0258] Based on the above embodiments, the working principle of the recording system in the embodiments of this application will be explained below. (See reference...) Figure 5 The diagram shown illustrates the working principle of the recording system in this embodiment of the application, specifically including:

[0259] First, the search server sends an inclusion command to the inclusion server, which is used by the inclusion server to include the original application pages.

[0260] Then, after the system process in the collection server receives the collection command, it generates a capture command, which includes the app identifier and the original application page identifier. The capture command is sent to the app process, which then uses a standard language to transcode at least one original redirection component based on the original language contained in the original application page into the corresponding target redirection component. Based on at least one original redirection component, the app process determines the page redirection indication information between the original application page and other application pages. Using a standard language, based on the element transcoding method corresponding to at least one original page element contained in the original application page, the app process transcodes at least one original page element based on the original language into the corresponding target page element, thus realizing page discovery and page transcoding.

[0261] Finally, the obtained at least one target redirection component, page redirection instruction information, and at least one target page element are sent to the search server for associated storage.

[0262] Based on the above embodiments, a specific example is used below to illustrate the page processing method in the embodiments of this application. (See attached document.) Figure 6 The diagram shown is an example of a page processing method in an embodiment of this application, specifically including:

[0263] First, after receiving the inclusion command from the search server, the inclusion server determines the original application page in the target application that needs to be included based on the application identifier and page identifier carried in the inclusion command.

[0264] Then, JavaScript is injected into the webpage display elements to obtain the target page element corresponding to the HTML. View serialization is performed on the view elements to obtain the target page element. The original attribute information corresponding to the original jump component generated based on the original language is transcoded into the target attribute information corresponding to the standard language. Based on the obtained target attribute information, the target jump component is obtained, and the page jump indication information between the original application page and other application pages is determined. Stored in the form of tags.

[0265] Then, the obtained at least one target redirection component, page redirection instruction information, and at least one target page element are sent to the search server for associated storage.

[0266] Based on the same inventive concept as the above-described method embodiments, this application also provides a page processing device. The principle of this device in solving the problem is similar to that of the above-described method. Therefore, the implementation of this device can refer to the implementation of the above-described method, and repeated details will not be described again.

[0267] refer to Figure 7 As shown in the schematic diagram of a page processing device in this application embodiment, it includes a first transcoding module 700, a first determining module 710, a second transcoding module 720, a sending module 730, and a second determining module 740.

[0268] The first transcoding module 700 is used to transcode at least one original jump component based on the original language contained in the original application page of the application to be included into the corresponding target jump component using a standard language; wherein, the standard language represents the encoding language category that the search server supports and can recognize.

[0269] The first determining module 710 is used to determine page jump instruction information between the original application page and each other application page based on at least one original jump component;

[0270] The second transcoding module 720 is used to transcode at least one original page element based on the original language into corresponding target page elements by using a standard language and based on the element transcoding method corresponding to each of the at least one original page element contained in the original application page.

[0271] The sending module 730 is used to send at least one target redirection component, page redirection instruction information and at least one target page element to the search server for associated storage.

[0272] Optionally, the second transcoding module 720 is also used for:

[0273] For at least one original page element contained in the original application page, perform the following operations respectively:

[0274] If the element category of an original page element is a webpage display element, then the preset code conversion functions are called to convert the original page element generated based on the original language into the target page element corresponding to the standard language.

[0275] If the element category is a view element, then a raw page element is serialized into a view to obtain the target page element corresponding to the standard language.

[0276] Optionally, when serializing a raw page element to obtain the target page element corresponding to the standard language, the second transcoding module 720 is also used for:

[0277] Determine the view storage path corresponding to an original page element;

[0278] Transform a raw page element from its original language to a target string corresponding to a standard language;

[0279] Based on the target string and view storage path, obtain the target page element corresponding to the standard language.

[0280] Optionally, the first transcoding module 700 is also used for:

[0281] For at least one original redirect component based on the original language contained in the original application page, perform the following operations respectively:

[0282] Each original attribute information corresponding to an original jump component generated based on the original language is converted into target attribute information corresponding to the standard language.

[0283] Based on the obtained target attribute information, the target jump component is obtained.

[0284] Optionally, the first determining module 710 is also used for:

[0285] A first jump tag is generated based on at least one original jump component contained in the current page content area of ​​the original application page, wherein the first jump tag is used to indicate a jump from the original application page to the corresponding other application page;

[0286] A second jump tag is generated based on at least one original jump component contained in the page navigation area of ​​the original application page, wherein the second jump tag is used to indicate a jump from the current page content area to the corresponding other page content area;

[0287] Based on at least one first redirect tag and at least one second redirect tag, generate page redirection instruction information.

[0288] Optionally, before using a standard language to include at least one original jump component based on the original language in the original application page, the device further includes a second determining module 740, which is further configured to:

[0289] Send the generated component location instruction to the target application so that the target application responds to the component location instruction, determines at least one target clickable position from the candidate clickable positions contained in the original application page, and sends at least one target clickable position to the collection server;

[0290] Based on at least one target clickable location, identify at least one original redirect component contained in the original application page.

[0291] Based on the same inventive concept as the above-described method embodiments, this application also provides another page processing device. The principle of this device in solving the problem is similar to that of the above-described method. Therefore, the implementation of this device can refer to the implementation of the above-described method, and repeated details will not be described again.

[0292] refer to Figure 8 As shown in the figure, another page processing device in this application embodiment is applied to a search server and includes a receiving module 800, an associated storage module 810, a display module 820, and a permission verification module 830.

[0293] The receiving module 800 is used to receive at least one target redirection component, page redirection indication information and at least one target page element sent by the collection server;

[0294] The associated storage module 810 is used to associate and store at least one target jump component, page jump instruction information and at least one target page element;

[0295] Each target redirect component is obtained by the indexing server using a standard language to transcode at least one original redirect component based on the original language contained in the original application page. The page redirect information is determined by the indexing server based on at least one original redirect component. Each target page element is obtained by the indexing server using a standard language to transcode at least one original page element based on the original language, according to the element transcoding method corresponding to each of the at least one original page elements contained in the original application page. The standard language represents the encoding language category that the search server supports and can recognize.

[0296] Optionally, the associated storage module 810 is also used for:

[0297] Generate a candidate information set containing at least one target jump component, page jump indication information, and at least one target page element;

[0298] Based on information from at least one target page element, candidate index information is established for the candidate information set.

[0299] The candidate index information and the candidate information set are stored together.

[0300] Optionally, after associating and storing at least one target jump component, page jump instruction information, and at least one target page element, the device further includes a display module 820, which is used for:

[0301] Based on the target index information carried by the received search request, at least one target information set associated with the target index information is determined from each candidate information set, and each target information set corresponds to a target application;

[0302] Load at least one identified target information set;

[0303] In each display area of ​​the created mini-program, at least one set of target information is displayed.

[0304] Optionally, the device also includes an authorization verification module 830, which is used for:

[0305] Receive the manifest file transmitted by each application to be included, wherein each manifest file contains at least a pre-configured first permission field and a first server identifier corresponding to each search server with inclusion permission;

[0306] For each application to be included, perform the following steps: If it is determined that the first permission field contained in a manifest file is allowed to be included, and the second server identifier corresponding to the search server is included in each first server identifier, then it is determined that an application to be included is allowed to be included by the search server.

[0307] Optionally, if each manifest file also contains the identifier of each first application page, then the permission verification module 830 is further used for:

[0308] For each application to be included, the following steps are performed: If it is determined that the second application page identifier corresponding to the original application page is included in the first application page identifiers in a list file, then it is determined that the inclusion server has the authority to include the original application page.

[0309] In some possible implementations, the page processing apparatus according to this application may include at least a processor and a memory. The memory stores program code that, when executed by the processor, causes the processor to perform the steps of the page processing methods according to various exemplary embodiments of this application described in this specification. For example, the processor may perform actions such as... Figure 2A Or such as Figure 3A The steps are shown in the figure.

[0310] Based on the same inventive concept as the above-described method embodiments, this application also provides an electronic device. In one embodiment, the electronic device may be, for example... Figure 1 The inclusion server 120 or search server 130 shown in this embodiment, in this case, the structure of the electronic device can be as follows: Figure 9 As shown, it includes a memory 901, a communication module 903, and one or more processors 902.

[0311] The memory 901 is used to store computer programs executed by the processor 902. The memory 901 may mainly include a program storage area and a data storage area. The program storage area may store the operating system and programs required to run instant messaging functions, etc.; the data storage area may store various instant messaging information and operation instruction sets, etc.

[0312] Memory 901 may be volatile memory, such as random-access memory (RAM); memory 901 may also be non-volatile memory, such as read-only memory, flash memory, hard disk drive (HDD), or solid-state drive (SSD); or memory 901 may be any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but is not limited thereto. Memory 901 may be a combination of the above-described memories.

[0313] Processor 902 may include one or more central processing units (CPUs) or digital processing units, etc. Processor 902 is used to implement the above-described page processing method when calling computer programs stored in memory 901.

[0314] The communication module 903 is used to communicate with the inclusion server and the search server.

[0315] This application embodiment does not limit the specific connection medium between the memory 901, communication module 903, and processor 902 described above. This application embodiment... Figure 9 The memory 901 and the processor 902 are connected via a bus 904, and the bus 904 is in Figure 9 The diagram uses thick lines to describe the connections between other components; these are for illustrative purposes only and should not be considered limiting. The 904 bus can be divided into address bus, data bus, control bus, etc. For ease of description, Figure 9 It is described using only a thick line, but does not indicate that there is only one bus or one type of bus.

[0316] The memory 901 stores a computer storage medium, which stores computer-executable instructions for implementing the page processing method of this application embodiment. The processor 902 is used to execute the above-described page processing method, such as... Figure 2A or Figure 3A As shown.

[0317] In some possible implementations, various aspects of the page processing method provided in this application can also be implemented as a program product, which includes program code. When the program product is run on a computer device, the program code causes the computer device to perform the steps of the page processing method according to the various exemplary embodiments of this application described above. For example, the computer device can perform actions such as... Figure 2A or Figure 3A The steps are shown in the figure.

[0318] The program product may employ any combination of one or more readable media. A readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (a non-exhaustive list) of readable storage media include: electrical connections having one or more wires, portable disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0319] The program product of the embodiments of this application may employ a portable compact disc read-only memory (CD-ROM) and include program code, and may run on a computing device. However, the program product of this application is not limited thereto. In this document, the readable storage medium may be any tangible medium that contains or stores a program that may be used by or in conjunction with a command execution system, apparatus, or device.

[0320] A readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying readable program code. This propagated data signal may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A readable signal medium may also be any readable medium other than a readable storage medium, capable of sending, propagating, or transmitting a program for use by or in conjunction with a command execution system, apparatus, or device.

[0321] The program code contained on the readable medium may be transmitted using any suitable medium, including but not limited to wireless, wired, optical fiber, RF, etc., or any suitable combination thereof.

[0322] Program code for performing the operations of this application can be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java and C++, and conventional procedural programming languages ​​such as C or similar languages. The program code can execute entirely on the user's computing device, partially on the user's device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can be connected to the user's computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., via the Internet using an Internet service provider).

[0323] It should be noted that although several units or sub-units of the device have been mentioned in the detailed description above, this division is merely exemplary and not mandatory. In fact, according to embodiments of this application, the features and functions of two or more units described above can be embodied in one unit. Conversely, the features and functions of one unit described above can be further divided and embodied by multiple units.

[0324] Furthermore, although the operations of the method of this application are described in a specific order in the accompanying drawings, this does not require or imply that these operations must be performed in that specific order, or that all the operations shown must be performed to achieve the desired result. Additionally or alternatively, certain steps may be omitted, multiple steps may be combined into one step, and / or one step may be broken down into multiple steps.

[0325] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0326] Although preferred embodiments of this application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of this application.

[0327] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.

Claims

1. A page processing method, characterized in that, Applications to the data collection server include: Using a standard language, at least one original redirect component based on the original language contained in the original application page of the application to be included is transcoded into the corresponding target redirect component; wherein, the standard language represents the encoding language category that the search server supports and can recognize. Based on the at least one original redirection component, determine the page redirection instruction information between the original application page and each other application page; Using the standard language, and based on the element transcoding method corresponding to each of the at least one original page element contained in the original application page, the at least one original page element based on the standard language is transcoded into the corresponding target page element. The obtained at least one target redirection component, page redirection instruction information, and at least one target page element are sent to the search server for associated storage.

2. The method as described in claim 1, characterized in that, The step of using the standard language and, based on the element transcoding method corresponding to each of the at least one original page element contained in the original application page, transcoding the at least one original page element based on the standard language into corresponding target page elements includes: For at least one original page element contained in the original application page, perform the following operations respectively: If the element category of an original page element is a webpage display element, then the preset code conversion functions are called to convert the original page element generated based on the original language into the target page element corresponding to the standard language. If the element category is a view element, then the original page element is serialized into a view to obtain the target page element corresponding to the standard language.

3. The method as described in claim 2, characterized in that, The step of performing view serialization on the original page element to obtain the target page element corresponding to the standard language includes: Determine the view storage path corresponding to the original page element; Transcode the original page element from its original language to the target string corresponding to the standard language; Based on the target string and the view storage path, the target page element corresponding to the standard language is obtained.

4. The method as described in claim 2, characterized in that, The step of using a standard language to transcode at least one original redirect component based on the original language contained in the original application page into a corresponding target redirect component includes: For at least one original redirect component based on the original language contained in the original application page, perform the following operations respectively: Each original attribute information corresponding to an original jump component generated based on the original language is converted into target attribute information corresponding to the standard language. Based on the obtained target attribute information, the target jump component is obtained.

5. The method as described in claim 1, characterized in that, Based on the at least one original redirection component, determine the page redirection indication information between the original application page and each other application page, including: Based on at least one original jump component contained in the current page content area of ​​the original application page, a first jump tag is generated, wherein the first jump tag is used to indicate a jump from the original application page to the corresponding other application page; Based on at least one original jump component contained in the page navigation area of ​​the original application page, a second jump label is generated, wherein the second jump label is used to indicate a jump from the current page content area to the corresponding other page content area; Based on at least one first redirect tag and at least one second redirect tag, generate page redirection instruction information.

6. The method as described in claim 1, characterized in that, Before including at least one original redirect component based on the original language in the original application page, using a standard language, the method further includes: A generated component location instruction is sent to the target application so that the target application responds to the component location instruction, determines at least one target clickable location from the candidate clickable locations contained in the original application page, and sends the at least one target clickable location to the collection server. Based on the at least one clickable target location, at least one original redirect component is determined from the original application page.

7. A page processing method, characterized in that, Applied to search servers, including: Receive at least one target redirection component, page redirection instruction information, and at least one target page element sent by the inclusion server; The at least one target jump component, the page jump instruction information, and the at least one target page element are associated and stored together; Each target redirection component is obtained by the indexing server using a standard language to transcode at least one original redirection component based on the original language contained in the original application page. The page redirection indication information is determined by the indexing server based on the at least one original redirection component. Each target page element is obtained by the indexing server using the standard language to transcode at least one original page element based on the original language, based on the element transcoding method corresponding to each of the at least one original page elements contained in the original application page. The standard language represents the encoding language category that the search server supports and can recognize.

8. The method as described in claim 7, characterized in that, The step of associating and storing the at least one target jump component, the page jump indication information, and the at least one target page element includes: Generate a candidate information set containing the at least one target jump component, the page jump indication information, and the at least one target page element; Based on the information of at least one target page element, candidate index information is established for the candidate information set; The candidate index information and the candidate information set are stored together.

9. The method as described in claim 8, characterized in that, After associating and storing the at least one target redirection component, the page redirection indication information, and the at least one target page element, the method further includes: Based on the target index information carried by the received search request, at least one target information set associated with the target index information is determined from each candidate information set, and each target information set corresponds to a target application; Load at least one identified target information set; In each display area of ​​the created mini-program, at least one set of target information is displayed.

10. The method as described in claim 8 or 9, characterized in that, The method further includes: Receive the manifest file transmitted by each application to be included, wherein each manifest file contains at least a pre-configured first permission field and a first server identifier corresponding to each search server with inclusion permission; For each application to be included, the following steps are performed: If a first permission field in a list file is determined to be allowed to be included, and the second server identifier corresponding to the search server is included in each first server identifier, then an application to be included is determined to be allowed to be included by the search server.

11. The method as described in claim 10, characterized in that, Each manifest file also contains identifiers for each first application page, so the method further includes: For each application to be included, the following steps are performed: If it is determined that the second application page identifier corresponding to the original application page is included in the first application page identifiers in a list file, then it is determined that the inclusion server has the authority to include the original application page.

12. A page processing apparatus, characterized in that, Applications to the data collection server include: The first transcoding module is used to transcode at least one original redirect component based on the original language contained in the original application page of the application to be included into the corresponding target redirect component using a standard language; wherein, the standard language represents the encoding language category that the search server supports and can recognize. The first determining module is used to determine page jump indication information between the original application page and each other application page based on the at least one original jump component; The second transcoding module is used to use the standard language and, based on the element transcoding method corresponding to each of the at least one original page element contained in the original application page, to transcode the at least one original page element based on the original language into the corresponding target page element. The sending module is used to send at least one target redirection component, page redirection indication information and at least one target page element to the search server for associated storage.

13. A page processing apparatus, characterized in that, Applied to search servers, including: The receiving module is used to receive at least one target redirection component, page redirection instruction information and at least one target page element sent by the collection server; An associated storage module is used to associate and store the at least one target jump component, the page jump indication information, and the at least one target page element; Each target redirection component is obtained by the indexing server using a standard language to transcode at least one original redirection component based on the original language contained in the original application page. The page redirection indication information is determined by the indexing server based on the at least one original redirection component. Each target page element is obtained by the indexing server using the standard language to transcode at least one original page element based on the original language, based on the element transcoding method corresponding to each of the at least one original page elements contained in the original application page. The standard language represents the encoding language category that the search server supports and can recognize.

14. The apparatus as claimed in claim 13, characterized in that, After associating and storing the at least one target redirection component, the page redirection indication information, and the at least one target page element, the device further includes a display module, which is used for: Based on the target index information carried by the received search request, at least one target information set associated with the target index information is determined from each candidate information set, and each target information set corresponds to a target application; Load at least one identified target information set; In each display area of ​​the created mini-program, at least one set of target information is displayed.

15. The apparatus as claimed in claim 13 or 14, characterized in that, The device further includes a permission verification module, which is used for: Receive the manifest file transmitted by each application to be included, wherein each manifest file contains at least a pre-configured first permission field and a first server identifier corresponding to each search server with inclusion permission; For each application to be included, the following steps are performed: If a first permission field in a list file is determined to be allowed to be included, and the second server identifier corresponding to the search server is included in each first server identifier, then an application to be included is determined to be allowed to be included by the search server.

16. The apparatus as claimed in claim 15, characterized in that, Each manifest file also contains identifiers for each first application page, so the permission verification module is further used for: For each application to be included, the following steps are performed: If it is determined that the second application page identifier corresponding to the original application page is included in the first application page identifiers in a list file, then it is determined that the inclusion server has the authority to include the original application page.

17. An electronic device, characterized in that, It includes a processor and a memory, wherein the memory stores program code that, when executed by the processor, causes the processor to perform the steps of any of the methods described in claims 1-11.

18. A computer-readable storage medium, characterized in that, It includes program code that, when run on an electronic device, causes the electronic device to perform the steps of any of the methods described in claims 1-11.

19. A computer program product, characterized in that, It includes computer instructions stored in a computer-readable storage medium; when a processor of an electronic device reads the computer instructions from the computer-readable storage medium, the processor executes the computer instructions, causing the electronic device to perform the steps of any of the methods described in claims 1-11.