Method and apparatus for processing page information, plug-in-based control module, method for processing page, storage medium, and electronic device
By pre-storing and calling the visibility determination algorithm and determination parameters, the visibility determination logic of the page style is generated, which solves the problem of low reusability of the page style determination algorithm and realizes an efficient and readable determination process.
Patent Information
- Application Number
- PCT/SG2024/050812
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-04-08
- Filing Date
- 2024-12-19
- Publication Date
- 2025-10-16
AI Technical Summary
In the prior art, page style visibility determination algorithms have low reusability, resulting in algorithm coupling, high error correction rate, and poor readability during the determination process.
By pre-storing multiple visibility determination algorithms and determination parameters, the corresponding visibility determination algorithms and determination parameters are called according to the page style, and the visibility determination logic of the page style is generated, thereby realizing algorithm reuse and simplifying the determination process.
The algorithm reusability of page style visibility determination is improved, the determination process is simplified, the error rate is reduced, and readability is improved.
Smart Images

Figure SG2024050812_16102025_PF_FP_ABST
Abstract
Description
[0001] A page information processing method, device, plug-in control module, page processing method, storage medium and electronic equipment. This application claims priority to Chinese Patent Application No. 202410417332.3, filed on April 8, 2024, the disclosure of which is incorporated herein in its entirety by this reference as part of this application. TECHNICAL FIELD The embodiments of the present disclosure relate to a page information processing method, device, plug-in control module, page processing method, storage medium and electronic equipment. BACKGROUND With the continuous development of Internet technology, a large number of application programs show information to users in the form of pushing pages. In order to present as much content as possible in the page of the client, the application program shows the user in the form of a fragment style to help the user access useful information. With the rapid diversification of information flow, the number of page style types increases rapidly. Currently, there is a problem of low algorithm reusability in the visibility determination process of the page style. SUMMARY The present disclosure provides a page information processing method, device, plug-in control module, page processing method, storage medium and electronic equipment to improve the reusability of the visibility determination algorithm in the visibility determination process of the page style, and to realize differentiated visibility control for different page styles. In a first aspect, the embodiments of the present disclosure provide a page information processing method, comprising: receiving a page processing request, wherein the page processing request includes page information; for each of a plurality of page styles, calling at least one visibility determination algorithm corresponding to each of the page styles and a determination parameter corresponding to each of the visibility determination algorithms, generating a visibility determination logic of each of the page styles; and determining and processing the page information based on the visibility determination logic of the plurality of page styles to obtain a visibility determination result of the plurality of page styles. In a second aspect, the embodiments of the present disclosure also provide a page information processing device, comprising: an information acquisition module configured to receive a page processing request, wherein the page processing request includes page information; a determination logic generation module configured to, for each of a plurality of page styles, call at least one visibility determination algorithm corresponding to each of the page styles and a determination parameter corresponding to each of the visibility determination algorithms, and generate a visibility determination logic of each of the page styles; and a visibility determination module configured to determine and process the page information based on the visibility determination logic of the plurality of page styles to obtain a visibility determination result of the plurality of page styles.In a third aspect, the embodiments of the present disclosure further provide a plug-in control device, comprising a processing module, an algorithm module and a parameter module, wherein the algorithm module stores a plurality of visibility determination algorithms; the parameter module stores a parameter list corresponding to each of the visibility determination algorithms; the processing module is configured to receive a page processing request; call at least one visibility determination algorithm corresponding to each page style from the algorithm module; call a determination parameter corresponding to each of the at least one visibility determination algorithm corresponding to each page style from the parameter module; generate a visibility determination logic of each page style based on the at least one visibility determination algorithm corresponding to each page style and the determination parameter corresponding to each visibility determination algorithm; and perform determination processing on page information in the page processing request based on the visibility determination logics of the plurality of page styles to obtain visibility determination results of the plurality of page styles. In a fourth aspect, the embodiments of the present disclosure further provide a page processing method, comprising: receiving, by a business module, a page request of a client, wherein the page request comprises page information; generating a page processing request based on the page information; sending the page processing request to a plug-in control device; receiving, by the plug-in control device, the page processing request; for each of a plurality of page styles, calling at least one visibility determination algorithm corresponding to each page style and a determination parameter corresponding to each visibility determination algorithm, and generating a visibility determination logic of each page style; performing determination processing on the page information based on the visibility determination logics of the plurality of page styles to obtain visibility determination results of the plurality of page styles; returning the visibility determination results of the plurality of page styles to the business module; and generating, by the business module, a push page corresponding to the page request based on the visibility determination results of the plurality of page styles, and sending the push page to the client. In a fifth aspect, the embodiments of the present disclosure further provide an electronic device, comprising: one or more processors; and a storage device configured to store one or more programs, when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement a page information processing method provided by the embodiments of the present disclosure, or a page processing method provided by the embodiments of the present disclosure. In a sixth aspect, the embodiments of the present disclosure further provide a storage medium containing computer executable instructions, when the computer executable instructions are executed by a computer processor, the computer executable instructions are used to perform a page information processing method provided by the embodiments of the present disclosure, or a page processing method provided by the embodiments of the present disclosure. The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent as the following detailed description is read, in conjunction with the accompanying drawings, in which: like reference numerals in the drawings designate like elements throughout. Throughout the drawings, the same or similar reference numerals designate the same or similar elements.It should be understood that the accompanying drawings are only schematic and are not drawn to scale. In the specific drawings: Fig. 1 is a schematic diagram of a page according to an embodiment of the present disclosure; Fig. 2 is a schematic diagram of a service module; Fig. 3 is a schematic diagram of a page information processing method according to an embodiment of the present disclosure; Fig. 4 is a schematic diagram of a page information processing apparatus according to an embodiment of the present disclosure; Fig. 5 is a schematic diagram of a plug-in control apparatus according to an embodiment of the present disclosure; Fig. 6 is a schematic diagram of a page processing method according to an embodiment of the present disclosure; Fig. 7 is a schematic diagram of interaction between a service module and a plug-in control apparatus according to an embodiment of the present disclosure; and Fig. 8 is a schematic diagram of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION In the following, embodiments of the present disclosure will be described in greater detail with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is understood that the present disclosure can be embodied in various forms and should not be construed as being limited to the embodiments set forth herein; rather, these embodiments are provided so that the present disclosure will be thoroughly and completely understood. It should be understood that the drawings of the present disclosure are only for exemplary purposes and should not be construed as limiting the scope of protection of the present disclosure. It should be understood that the steps recited in the method embodiments of the present disclosure can be executed in different orders and / or in parallel. As such, the method embodiments can include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect. The term “comprising” and variations thereof as used in the present disclosure are open-ended, that is, “including but not limited to”. The term “based on” is meant to mean “based, at least in part, on”. The term “one embodiment” means “at least one embodiment”; the term “another embodiment” means “at least one additional embodiment”; the term “some embodiments” means “at least some embodiments”. Related definitions of other terms will be given in the following description. It should be noted that the terms “first”, “second”, and the like as mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not intended to limit the order or interdependence of the functions performed by these devices, modules or units. It should be noted that the terms “one”, “multiple” as mentioned in the present disclosure are illustrative and not limiting, and those skilled in the art should understand that “one” or “multiple” should be understood as “one or more” unless the context clearly indicates otherwise. The names of the messages or information exchanged between the devices in the embodiments of the present disclosure are only for illustrative purposes and are not intended to limit the scope of the messages or information. It can be understood that, before using the technical solutions disclosed in the embodiments of the present disclosure, the type of personal information involved in the present disclosure, the scope of use, the use scenario, etc. should be informed to the user and the authorization of the user should be obtained in accordance with relevant laws and regulations.For example, in response to receiving an active request of a user, a prompt information is sent to the user to explicitly prompt the user that an operation requested to be performed by the user will require obtaining and using personal information of the user, so that the user can autonomously select whether to provide the personal information to a software or hardware such as an electronic device, an application, a server or a storage medium performing the operation of the technical solution of the present disclosure according to the prompt information. As an optional but non-limiting implementation manner, the manner of sending the prompt information to the user in response to receiving the active request of the user may, for example, be a pop-up window manner, and the prompt information may be presented in a text manner in the pop-up window. In addition, the pop-up window may also carry a selection control for the user to select "agree" or "disagree" to provide the personal information to the electronic device. It can be understood that the above notification and obtaining of the authorization of the user are only illustrative, and do not limit the implementation manners of the present disclosure, and other manners meeting the relevant laws and regulations can also be applied to the implementation manners of the present disclosure. It can be understood that the data (including but not limited to the data itself, the obtaining or use of the data) involved in the technical solution shall meet the requirements of the relevant laws and regulations and the relevant provisions. The client and the server perform data interaction, and the client sends a page request to the server in response to a page triggering operation. The page triggering operation includes but is not limited to a starting operation of an application, a page refreshing operation in a display page, a page switching operation, etc., which are not limited herein. The server generates a push page in response to the page request and sends the push page to the client for display. The push page may include a plurality of push contents of page styles. Referring to FIG. 1, FIG. 1 is a schematic diagram of a page provided by an embodiment of the present disclosure. The page in FIG. 1 includes a plurality of page styles, and each page style may correspond to one or more push contents. It can be understood that the page styles in FIG. 1 are only examples and are not limited to the page styles in FIG. 1. In the generation process of the push page, the server needs to determine the visibility of the plurality of page styles, and the push page may be generated based on the page styles with visibility. For example, the server includes a business module, and the business module is configured to determine the visibility of the page styles and generate the push page in response to the page request. The business module includes determination logic of each page style, and the determination logic of each page style may be stored in the business module in the form of a file. For example, referring to FIG. 2, FIG. 2 is a schematic diagram of the business module, and FIG. 2 includes a plurality of files, for example, each solid line box represents a file, and one file may include determination logic of one or more page styles. Here, the determination logic of the page style may be determination code.Each page style determination logic can include multiple constraint conditions, and some constraint conditions in the determination logic of different page styles can be the same, wherein each constraint condition can be implemented by a determination algorithm. The determination logic of each page style in FIG. 2 is independent of each other, and the same constraint condition is not reused, which causes the problem of poor reusability of the determination algorithm. The constraint conditions in the determination logic of the page style include but are not limited to inter-style priority constraint conditions, page constraint conditions, style constraint conditions, and request type constraint conditions, wherein the inter-style priority constraint conditions include the priority relationship between page styles, for example, the priority of page style A is higher than the priority of page style B, that is, page style A is visible, and page style B is not visible. The page constraint condition includes the defined relationship between the page style and the page, for example, page style N is visible in part of the page. The style constraint condition is used to limit the visible attribute of the page style, for example, the visible times, time and space of the page style, and the request type constraint condition includes the corresponding relationship between the page style and the request type, for example, page style M is visible in the first network request, and other request types are not visible. Based on the above determination logic of the page style, especially in the case of the constraint condition between the styles (for example, the inter-style priority constraint condition), there is coupling between the determination logic of different page styles. Taking the setting mode of the determination logic of each page style in FIG. 2 as an example, in the case of change of the determination logic of any page style or addition of a new page style, the problems of error correction or omission are prone to occur. At the same time, the determination logic of different page styles is stored in different files, and there is a problem of poor readability in the page style visibility determination process. In view of the above technical problems, the page information processing method provided by the embodiments of the present disclosure can realize the visibility determination of the page style, improve the reusability and readability of the determination algorithm in the determination process, and simplify the update process of the constraint information. FIG. 3 is a flowchart of a page information processing method provided by an embodiment of the present disclosure. The embodiments of the present disclosure are applicable to the case of performing visibility determination on multiple page styles in the push page generation process. The method can be executed by a page information processing device, which can be implemented in the form of software and / or hardware, and can be implemented by an electronic device. The electronic device can be a computer or a server. It can be understood that the electronic device can include a business module, and the page information processing device can be integrated in the business module and executed by the business module to perform the page information processing method.Alternatively, the page information processing apparatus can be independent of the service module, the service module receives a page request, calls the page information processing apparatus to execute the page information processing method, obtains the visibility determination results of the plurality of page styles, the service module receives the visibility determination results of the plurality of page styles, and generates a push page based on the visibility determination results of the plurality of page styles. As shown in FIG. 3, the method comprises the following steps.
[0002] S110, receiving a page processing request, wherein the page processing request comprises page information.
[0003] S120, for each of the plurality of page styles, calling at least one visibility determination algorithm corresponding to each of the page styles and a determination parameter corresponding to each of the visibility determination algorithms, to generate a visibility determination logic of each of the page styles.
[0004] S130, based on the visibility determination logic of multiple page styles, the page information is determined to obtain the visibility determination result of multiple page styles. The service module receives the page request sent by the client, and the page information is included in the page request. Analyze the page information in the page request, generate a page processing request based on the page information, send the page processing request to the page information processing device integrated in the service module, or send the page processing request to the page information processing device outside the service module, and determine the visibility of the page style based on the page information by the page information processing device. The page information includes but is not limited to the type of page (channel), the type of network request (responseType), the type of trigger refresh (rcfrcshTypc) and the like. It can be understood that the page information can be pre-agreed by the server and the client application, which can be set according to the visibility determination requirements of the page style in different applications. The page style that can be used to generate the push page is multiple, and the visibility determination is performed for each page style to obtain the visibility determination result of each page style. The page style includes but is not limited to horizontal bar style and card style, wherein the horizontal bar style can include multiple labels, such as page style 1 and page style 2 in FIG. 1, the card style can include text and / or pictures, such as page style 3 and page style 4 in FIG. 1, and the arrangement of the picture and the text in the card style can be left-right arrangement or top-bottom arrangement, such as left picture right text, left text right picture, top picture bottom text and top text bottom picture arrangement. Each page style corresponds to at least one constraint condition, each constraint condition can be realized by a visibility determination algorithm, and multiple constraint conditions of the page style can form the visibility determination logic of the page style by multiple corresponding visibility determination algorithms. In order to improve the reusability of the visibility determination algorithm, multiple visibility determination algorithms are pre-stored, and the required visibility determination algorithm is called in the pre-stored multiple visibility determination algorithms according to one or more visibility determination algorithms corresponding to the page style. Correspondingly, there are the same constraint conditions in different page styles, that is, the same visibility determination algorithm is used, and the determination of different page styles can be realized by repeatedly calling the determination algorithm in multiple visibility determination algorithms in the form of visibility determination algorithm reuse. A storage space can be created to store multiple visibility determination algorithms; multiple visibility determination algorithms can be stored in the form of a database; and multiple visibility determination algorithms can also be stored in the form of an algorithm module. Here, the storage form of multiple visibility determination algorithms is not limited.In the above storage manner, the visibility determination algorithm can be stored in the form of a key-value pair, where the visibility determination algorithm identifier can be the key, and the visibility determination algorithm can be the value. The visibility determination algorithm identifier can be a string generated based on numbers, characters, letters, etc., and the specific form of the visibility determination algorithm identifier is not limited here as long as it can uniquely identify the visibility determination algorithm. It can be understood that different page styles can correspond to the same type of constraint condition, for example, page style A and page style B both correspond to page constraint condition, for example, page style A is visible only in page 1, and page style B is visible only in page 2. It can be known that page style A and page style B correspond to the same visibility determination algorithm, for example, page constraint determination algorithm, but the determination parameters corresponding to the page constraint determination algorithm are different. In order to realize the reusability of the visibility determination algorithm, the field corresponding to the determination parameter in the preselected stored visibility determination algorithm is empty, and the determination parameters are pre-stored. When calling at least one visibility determination algorithm corresponding to the page style, each visibility determination algorithm corresponding determination parameter is read from the pre-stored multiple determination parameters. Here, the multiple determination parameters can be stored independently, for example, a storage space can be created for storing multiple determination parameters; the multiple determination parameters can be stored in the form of a database; the multiple determination parameters can be stored in the form of a parameter module; or the multiple determination parameters can be stored in the form of a list. The storage form of the multiple visibility determination algorithms is not limited here. Taking the parameter module form as an example, the parameter module can include multiple parameter lists, each parameter list corresponding to a visibility determination algorithm, and each parameter list including determination parameters corresponding to multiple page styles in the corresponding visibility determination algorithm. For example, each parameter list can set a visibility determination algorithm identifier, and the determination parameters in the parameter list are stored in association with the page style identifier, for example, in the form of a key-value pair, which is not limited here. By pre-storing multiple determination parameters, it is convenient to provide parameter query basis during the visibility determination process of each page style, and at the same time, the pre-stored determination parameters can be modified by displaying the determination parameters. The correspondence between each page style and the visibility determination algorithm is pre-set, for example, the correspondence between the page style identifier and the visibility determination algorithm identifier. According to the correspondence between the page style and the visibility determination algorithm, at least one visibility determination algorithm corresponding to each page style can be determined. Specifically, the page style identifier of each page style is matched in the above correspondence between the page style identifier and the visibility determination algorithm identifier to determine at least one visibility determination algorithm identifier matched by the page style identifier, i.e., the at least one visibility determination algorithm identifier corresponding to the page style.In some embodiments, the at least one visibility determination algorithm corresponding to each page style can be encapsulated into a visibility determination strategy corresponding to each page style, and the correspondence between the page style and the visibility determination strategy can be set. For example, a storage space can be created for storing the correspondence between the page style and the visibility determination strategy, or the correspondence between the page style and the visibility determination strategy can be stored through a pre-created database, or the page style identifier and the visibility determination strategy with the correspondence can be stored in the form of a key-value pair. Optionally, a strategy scheduling module can be pre-set to store the correspondence between the page style and the visibility determination strategy, and the page style identifier and the visibility determination strategy with the correspondence can be included in the strategy scheduling module. Optionally, each of the at least one visibility determination algorithm corresponding to each page style and the determination parameter corresponding to each of the visibility determination algorithms can be called, including: determining the visibility determination strategy corresponding to each page style based on the correspondence between the page style and the visibility determination strategy, and the visibility determination strategy includes at least one visibility determination algorithm identifier; calling at least one visibility determination algorithm based on the at least one visibility determination algorithm identifier in the visibility determination strategy; and calling the determination parameter corresponding to each of the visibility determination algorithms. In the pre-stored plurality of visibility determination algorithms, at least one visibility determination algorithm corresponding to each page style can be called, specifically, for each page style, the at least one visibility determination algorithm identifier corresponding to the page style can be matched in the pre-stored plurality of visibility determination algorithms to determine the visibility determination algorithm corresponding to each visibility determination algorithm identifier. For each page style, at least one visibility determination algorithm corresponding to each page style can be called in the pre-stored plurality of determination parameters. Specifically, the page style identifier and each visibility determination algorithm identifier corresponding to the page style can be matched in the pre-stored plurality of determination parameters to determine the determination parameter corresponding to each visibility determination algorithm of the page style. The pre-stored determination parameters have a correspondence with the page style identifier and the visibility determination algorithm identifier, the page style identifier and the visibility determination algorithm identifier are matched in the correspondence to determine the determination parameter matched by the page style identifier and the visibility determination algorithm identifier.In the above embodiment, for any page style, based on at least one visibility determination algorithm corresponding to the page style and the determination parameters corresponding to each of the visibility determination algorithms, the visibility determination logic of the page style is generated, and the visibility determination logic of the page style is used to determine the visibility of the page style. Optionally, generating the visibility determination logic of each of the page styles includes: for any of the page styles, based on at least one visibility determination algorithm corresponding to the page style and the determination parameters corresponding to each of the visibility determination algorithms, generating at least one sub-determination logic respectively; and generating the visibility determination logic of the page style based on the at least one sub-determination logic. In the visibility determination algorithm, the determination parameter corresponding field is empty, the determination parameters corresponding to the visibility determination algorithm are added to the determination parameter corresponding field in the visibility determination algorithm, and a sub-determination logic is obtained. Correspondingly, for at least one visibility determination algorithm corresponding to a page style, the determination parameters corresponding to each of the visibility determination algorithms are added to the corresponding visibility determination algorithm, and at least one sub-determination logic corresponding to the page style is obtained. In some embodiments, the visibility determination logic of the page style includes at least one sub-determination logic corresponding to the page style.The page information of the page processing request is determined based on at least one sub-determination logic corresponding to the page style, and a determination result of each sub-determination logic is determined. For example, the determination result of each sub-determination logic may be 1 and 0, 1 representing that the determination result of the page information is passed, and 0 representing that the determination result of the page information is failed. In the case that the page information passes at least one sub-determination logic in the visibility determination logic of the page style, it is indicated that the page information satisfies all constraint conditions of the page style, and it is determined that the visibility determination result of the page style is visible. In the case that the determination result of one or more sub-determination logics is failed, it is indicated that the page information does not satisfy at least one constraint condition, and it is determined that the visibility determination result of the page style is invisible. In some embodiments, generating the visibility determination logic of the page style based on the at least one sub-determination logic comprises generating the visibility determination logic of the page style based on a logical relationship between at least one visibility determination algorithm and the at least one sub-determination logic. The logical relationship between the visibility determination algorithms may include one or more logical relationships such as AND, OR, and NOT. For example, the visibility determination algorithms corresponding to the page style A include visibility determination algorithm 1, visibility determination algorithm 2, and visibility determination algorithm 3, the logical relationship of the above visibility determination algorithm 1, visibility determination algorithm 2, and visibility determination algorithm 3 is AND, and the visibility determination algorithm 1, visibility determination algorithm 2, and visibility determination algorithm 3 generate sub-determination logic 1, sub-determination logic 2, and sub-determination logic 3 respectively. Correspondingly, the visibility determination logic of the page style A is sub-determination logic 1 AND sub-determination logic 2 AND sub-determination logic 3, and the “AND” herein represents an AND operation. Correspondingly, the page information of the page processing request is determined based on at least one sub-determination logic corresponding to the page style, and the determination result of each sub-determination logic is determined. The logical operation in the visibility determination logic is performed on the determination result of each sub-determination logic, and the visibility determination result of the page style is obtained. For example, the determination result of each sub-determination logic is represented by 0 or 1, the logical operation in the visibility determination logic is performed on the 0 or 1 corresponding to the determination result of each sub-determination logic, and the visibility determination result of the page style is obtained. The visibility determination result of the page style may be 1 or 0. The visibility determination result of the page style is 1, which represents that the page style is visible. The visibility determination result of the page style is 0, which represents that the page style is invisible. For example, the constraint conditions of the page style A include a page constraint condition 1: visible only in page 1, and a request type constraint condition 2: visible in the first network request.In the strategy scheduling module, a corresponding relationship of page style and visibility determination strategy is included. The visibility determination strategy corresponding to the page style A is matched in the strategy scheduling module through the identification of the page style A. The visibility determination strategy corresponding to the page style A includes a first visibility determination algorithm identification and a second visibility determination algorithm identification. The first visibility determination algorithm is matched in the algorithm module based on the first visibility determination algorithm identification, and the second visibility determination algorithm is matched in the algorithm module based on the second visibility determination algorithm identification. In the parameter module, the first determination parameter corresponding to the identification of the page style A is matched in the parameter list corresponding to the first visibility determination algorithm identification. The second determination parameter corresponding to the identification of the page style A is matched in the parameter list corresponding to the second visibility determination algorithm identification. The first sub-determination logic is generated based on the first visibility determination algorithm and the first determination parameter, and the second sub-determination logic is generated based on the second visibility determination algorithm and the second determination parameter. The visibility determination logic corresponding to the page style A is formed based on the first sub-determination logic and the second sub-determination logic. In an example, the page information includes a page type of page 1 and a network request type of non-first request. It is known that the page information is determined based on the first sub-determination logic, and the determination result is pass. The page information is determined based on the second sub-determination logic, and the determination result is not pass. Correspondingly, the visibility determination result of the page style A is invisible. Based on the above embodiment, the server receives page requests of multiple clients. Correspondingly, the information processing request to be processed is multiple. The page information in the multiple information processing requests can be determined based on the visibility determination logic corresponding to each page style, respectively. The visibility determination result of each information processing request corresponding to multiple page styles is obtained. The generation process of the visibility determination logic corresponding to multiple page styles can be reduced, and the visibility determination efficiency can be improved. Optionally, at least one visibility determination algorithm corresponding to each page style and the determination parameter corresponding to each visibility determination algorithm are called again according to a preset time interval, so as to update the visibility determination logic corresponding to each page style, and reduce the determination error caused by the change of the determination parameter or the visibility determination strategy. Optionally, the update signal of the parameter module and / or the strategy scheduling module is received, and at least one visibility determination algorithm corresponding to each page style and the determination parameter corresponding to each visibility determination algorithm are called again in response to the update signal, so as to update the visibility determination logic corresponding to each page style, and ensure the accuracy of the visibility determination logic corresponding to each page style.The technical scheme provided by the embodiments of the present disclosure is that a plurality of visibility determination algorithms and a plurality of determination parameters are stored respectively, when a message processing request is received, the visibility determination algorithm corresponding to each page style and the determination parameter corresponding to each visibility determination algorithm are called respectively, and the visibility determination logic corresponding to each page style can be generated. The visibility determination result of each page style is obtained by determining the page information in the page processing request through the visibility determination logic corresponding to each page style. The visibility determination algorithms called by different page styles can overlap, and the reusability of the visibility determination algorithm is provided. By reading the determination parameter corresponding to each page style, the differentiated visibility determination of different page styles is supported, and the determination parameter and the visibility determination algorithm are stored independently, which facilitates the update of the determination parameter and simplifies the update process of the determination parameter. On the basis of the above embodiments, a display device connected with the server is arranged to realize the visual display of the visibility determination strategy, the visibility determination algorithm and the determination parameter. On the basis of the visual display, one or more of the visibility determination strategy, the visibility determination algorithm and the determination parameter can be updated, wherein the update includes one or more of addition, deletion and modification, and the update process of the visibility determination logic of a plurality of page styles is simplified. For example, when the determination parameter of a certain page style changes, the stored determination parameter can be modified, and the visibility determination strategy and the visibility determination algorithm do not need to be modified. For example, in the case of adding a page style, the visibility determination strategy corresponding to the added page style is added in the visibility determination strategy, and the determination parameter corresponding to the added page style is added in the determination parameter, and the visibility determination algorithm does not need to be edited, and the complete visibility determination logic does not need to be written. Optionally, the update of the visibility determination strategy includes: in response to a strategy display operation, a strategy page is displayed, the strategy page includes the visibility determination strategy corresponding to a plurality of page styles respectively; and in response to an editing operation in the strategy page, the visibility determination strategy in the strategy page is updated. The visibility determination strategy corresponding to a plurality of page style identifiers is displayed in the strategy page, and the editing operation includes a modification operation, a deletion operation and a modification operation. For example, the visibility determination strategy corresponding to a certain page style identifier is modified to obtain an updated visibility determination strategy, and the page style identifier and the updated visibility determination strategy are associated.For example, the strategy page includes an expansion control, in response to a click operation on the expansion control, an information editing control is displayed, a newly added page style identifier and a newly added visibility determination strategy are input in the information editing control, a corresponding relationship between the newly added page style identifier and the newly added visibility determination strategy is established, and the addition of the visibility determination strategy corresponding to the newly added page style is realized. For example, a deletion operation is performed on the visibility determination strategy corresponding to a certain page style identifier, and the visibility determination strategy corresponding to the selected page style identifier is deleted from the stored visibility determination strategy. The strategy page can include a query control, a page style identifier input in the query control is obtained, matching is performed in the stored page style identifiers, the page style identifier and the visibility determination strategy that match successfully are determined, and are displayed, and the displayed visibility determination strategy can be modified or deleted. Optionally, the update of the determination parameter includes: in response to a parameter display operation, a parameter page is displayed, and a plurality of determination parameters pre-stored in the parameter page are displayed; and in response to an editing operation in the parameter page, the determination parameter in the parameter page is updated. For example, the parameter page can include a plurality of parameter lists, and in response to a click operation on a certain parameter list, the determination parameter in the display list is displayed. For example, the parameter page can include a plurality of parameter lists, and each parameter list includes a plurality of determination parameters. The editing operation includes a modification operation, a deletion operation, and a modification operation. By performing one or more of the modification operation, the deletion operation, and the modification operation on the stored determination parameters in the parameter page, the update of the determination parameter can be realized. In some embodiments, when a new visibility determination algorithm is added, a parameter list corresponding to the new visibility determination algorithm is newly created in the parameter model, and the determination parameters corresponding to each page style are added in the parameter list. By displaying the stored determination parameters in the parameter page and displaying the visibility determination strategy in the strategy page, the readability of the determination parameters and the visibility determination algorithm is improved, in the visual and queryable display page, a plurality of determination parameters or visibility determination strategies can be updated, the update process of the determination parameters and the visibility determination strategy is simplified, and the problems of missing and wrong changes in the update process can be reduced. In this embodiment, FIG. 4 is a structural schematic diagram of a page information processing apparatus provided by an embodiment of the present disclosure, as shown in FIG. 4, the apparatus includes: an information acquisition module 210, a determination logic generation module 220, and a visibility determination module 230.The information obtaining module 210 is configured to receive a page processing request, wherein the page processing request comprises page information; the determination logic generating module 220 is configured to, for each of a plurality of page styles, call at least one visibility determination algorithm corresponding to each of the page styles and determination parameters corresponding to each of the visibility determination algorithms, and generate visibility determination logic of each of the page styles; and the visibility determination module 230 is configured to perform determination processing on the page information based on the visibility determination logic of the plurality of page styles, and obtain visibility determination results of the plurality of page styles. According to the technical solution provided in the embodiments of the present disclosure, a plurality of visibility determination algorithms and a plurality of determination parameters are stored respectively, when a message processing request is received, the visibility determination algorithm corresponding to each page style and the determination parameter corresponding to each visibility determination algorithm are called respectively, and the visibility determination logic corresponding to each page style can be generated. The page information in the page processing request is determined by the visibility determination logic corresponding to each page style, and the visibility determination result of each page style is obtained. The visibility determination algorithms called by different page styles can overlap, and the reusability of the visibility determination algorithms is provided. By reading the determination parameter corresponding to each page style, the differentiated visibility determination of different page styles is supported, and the determination parameter and the visibility determination algorithm are stored independently, which facilitates the update of the determination parameter and simplifies the update process of the determination parameter. Based on the above-mentioned embodiments, optionally, the determination logic generating module 220 is configured to: determine the visibility determination strategy corresponding to each of the page styles based on the correspondence between the page styles and the visibility determination strategy, wherein the visibility determination strategy comprises at least one visibility determination algorithm identifier; call at least one visibility determination algorithm based on the at least one visibility determination algorithm identifier in the visibility determination strategy, and call the determination parameter corresponding to each of the visibility determination algorithms. Optionally, the determination logic generating module 220 is further configured to: call at least one visibility determination algorithm from an algorithm module based on the at least one visibility determination algorithm identifier in the visibility determination strategy corresponding to the page style; the algorithm module stores a plurality of visibility determination algorithms; and call the determination parameter corresponding to each of the visibility determination algorithms from a parameter module based on the visibility determination algorithm identifier and the page style identifier in the visibility determination strategy, wherein the parameter module comprises a plurality of parameter lists corresponding to the visibility determination algorithms, and each parameter list comprises determination parameters corresponding to a plurality of page styles.Optionally, the determining logic generation module 220 is further configured to: for any of the page styles, generate at least one sub-determination logic based on the at least one visibility determination algorithm corresponding to the page style and the determination parameters corresponding to each of the visibility determination algorithms; and generate the visibility determination logic of the page style based on the at least one sub-determination logic. Based on the above embodiment, the device further comprises a policy updating module, which is configured to: in response to a policy display operation, display a policy page, wherein the policy page comprises the visibility determination policies corresponding to the plurality of page styles respectively; and in response to an editing operation in the policy page, update the visibility determination policies in the policy page. Based on the above embodiment, the device further comprises a parameter updating module, which is configured to: in response to a parameter display operation, display a parameter page, wherein the parameter page displays the plurality of determination parameters stored in advance; and in response to an editing operation in the parameter page, update the determination parameters in the parameter page. The page information processing device provided in the embodiments of the present disclosure can perform the page information processing method provided in any of the embodiments of the present disclosure, and has the corresponding function modules and beneficial effects of performing the method. It should be noted that each unit and module included in the above device is only divided according to the function logic, and is not limited to the above division, as long as the corresponding functions can be implemented; in addition, the specific names of each functional unit are only for convenient distinction, and do not serve to limit the protection scope of the embodiments of the present disclosure. FIG. 5 is a structural schematic diagram of a plug-in control device provided in an embodiment of the present disclosure, as shown in FIG. 5, the device comprises a processing module 310, an algorithm module 320 and a parameter module 330, wherein the algorithm module 320 stores a plurality of visibility determination algorithms; the parameter module 330 stores a parameter list corresponding to each of the visibility determination algorithms; the processing module 310 is configured to: receive a page processing request; call at least one visibility determination algorithm corresponding to each page style from the algorithm module; call the determination parameters corresponding to each of the at least one visibility determination algorithm corresponding to each page style from the parameter module; generate the visibility determination logic of each page style based on the at least one visibility determination algorithm corresponding to each page style and the determination parameters corresponding to each visibility determination algorithm; and perform determination processing on the page information in the page processing request based on the visibility determination logic of the plurality of page styles, to obtain the visibility determination results of the plurality of page styles.On the basis of the above-mentioned embodiments, the plug-in control device further comprises a policy scheduling module 340, the policy scheduling module 340 stores a plurality of page styles respectively corresponding visibility determination policies, each page style corresponding visibility determination policy comprises at least one visibility determination algorithm identifier and a logical relationship between the at least one visibility determination algorithm; the processing module 310 matches each page style corresponding visibility determination policy from the policy scheduling module. In the embodiment, the plug-in control device can be a plug-in program product, integrated in the form of plug-in in the server. The plug-in control device is independent of the business module, and data transmission is performed between the business module, for example, receiving information processing requests sent by the business module, and sending visibility determination results of a plurality of page styles to the business module. By setting the plug-in control device, the visibility determination of the page style of the business module of different application programs can be assisted, and according to the visibility determination requirements of different application programs, the determination parameters in the parameter module, the visibility determination algorithms in the algorithm module and the visibility determination policies in the policy scheduling module are set, the plug-in control device suitable for different application programs can be obtained, the applicability of the plug-in control device is improved, the configuration process of the plug-in control device is simplified, and the development cost and maintenance cost of the page style visibility determination logic corresponding to different application programs are reduced. FIG. 6 is a flowchart of a page processing method according to an embodiment of the present application. In the case that the server comprises a business module and a plug-in control device, the plug-in control device and the business module perform data interaction to generate a push page. Referring to FIG. 6, the method specifically comprises:
[0005] S410, the business module receives a page request of a client, the page request comprising page information; a page processing request is generated based on the page information, and the page processing request is sent to the plug-in control device.
[0006] S420, the plug-in control device receives the page processing request, for each page style in a plurality of page styles, at least one visibility determination algorithm corresponding to each page style and determination parameters corresponding to each visibility determination algorithm are called to generate visibility determination logic of each page style; the page information is determined and processed based on the visibility determination logic of a plurality of page styles to obtain visibility determination results of a plurality of page styles, and the visibility determination results of a plurality of page styles are returned to the business module.
[0007] S430, the business module generates a push page corresponding to the page request based on the visibility determination results of the plurality of page styles, and sends the push page to the client. For example, referring to FIG. 7, FIG. 7 is a schematic diagram of an interaction process of a business module and a plug-in control device provided in the embodiment of the present disclosure. In this embodiment, the visibility determination result of a page style is visible, indicating that the page style can be used to generate a push page and can be displayed in the push page; and the visibility determination result of a page style is invisible, indicating that the page style cannot be used to generate a push page and cannot be displayed in the push page. The visibility determination logic of a plurality of page styles is used to determine and process page information, and the visibility determination result of each page style is obtained. Correspondingly, the page styles with a visible visibility determination result can be multiple, and a push page is generated based on the multiple visible page styles. Optionally, a page layout is generated according to the multiple visible page styles, recommended content corresponding to each page style is obtained, the recommended content is added to the page layout, and a push page is generated. The push content can be determined based on the recommendation popularity of the candidate content and the interaction information of the client to the historical push content. The distribution position of each page style in the page layout can be determined based on the type / identifier of the page style. Optionally, the page layout used to generate the push page can be a part of the multiple visible page styles, and can be determined according to the interaction information of different page styles with the user in the display process of the historical push page, wherein the interaction information can include, but is not limited to, click rate, stay time, etc. The technical scheme provided in this embodiment sets a plug-in control device on the server side, interacts with the business module, and the business module realizes the visibility determination of the page style by calling the plug-in control device, thereby reducing the processing pressure of the business module and improving the response efficiency of the page request sent by different clients. FIG. 8 is a structural schematic diagram of an electronic device provided in the embodiment of the present disclosure. Referring to FIG. 8, a structural schematic diagram of an electronic device (for example, a terminal device or a server in FIG. 8) 500 suitable for implementing the embodiments of the present disclosure is shown. The terminal device in the embodiments of the present disclosure can include, but is not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (for example, vehicle-mounted navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like. The electronic device shown in FIG. 8 is only an example, and should not impose any limitation on the functions and use range of the embodiments of the present disclosure.As shown in FIG. 8, the electronic device 500 can include a processing apparatus (e.g., a central processing unit, a graphics processing unit, etc.) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded into a random access memory (RAM) 503 from a storage apparatus 508. In the RAM 503, various programs and data required for the operation of the electronic device 500 are also stored. The processing apparatus 501, the ROM 502, and the RAM 503 are connected to each other through a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504. Generally, the following devices can be connected to the I / O interface 505: input devices 506 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 507 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage apparatuses 508 including, for example, a magnetic tape, a hard disk, etc.; and a communication apparatus 509. The communication apparatus 509 can allow the electronic device 500 to communicate with other devices wirelessly or wired to exchange data. Although FIG. 8 shows the electronic device 500 with various devices, it should be understood that it is not required to implement or have all of the illustrated devices. More or less devices can alternatively be implemented or included. In particular, according to embodiments of the present disclosure, the processes described above with reference to the flowcharts can be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for executing the methods illustrated by the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network through the communication apparatus 509, or installed from the storage apparatus 508, or installed from the ROM 502. When the computer program is executed by the processing apparatus 501, the above-described functions defined in the methods of embodiments of the present disclosure are performed. The names of messages or information exchanged between the plurality of devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information. The electronic device provided by the embodiments of the present disclosure and the page information processing method or page processing method provided by the above-described embodiments belong to the same inventive concept, and technical details not described in the present embodiments can be found in the above-described embodiments, and the present embodiments have the same beneficial effects as the above-described embodiments. The embodiments of the present disclosure provide a computer storage medium having a computer program stored thereon, which, when executed by a processor, implements the page information processing method or page processing method provided by the above-described embodiments.It should be noted that the computer readable medium described above in the present disclosure can be a computer readable signal medium or a computer readable storage medium. electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of the computer readable storage medium can include an electrical connection having one or more wires, a portable computer diskette, a hard disk, random access memory (RAM), read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the disclosure, the computer readable storage medium can be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the disclosure, the computer readable signal medium can include a computer readable program code transmitted as a carrier wave in a baseband or as part of a carrier wave using wireline or wireless transmission. The computer readable signal medium can also be any computer readable medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The program code embodied on the computer readable medium can be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing. In some embodiments, client(s) and server(s) can communicate over any known or later developed network, including the Internet. The networking protocols used are, for the most part, independent of the programming language and / or operating system used in the client(s) and server(s). The communication between the client(s) and the server(s) can be enabled by a communication interface.The computer readable medium carries one or more programs when the one or more programs are executed by the electronic device, the electronic device is caused to: receive a page processing request, the page processing request including page information; for each of a plurality of page styles, call at least one visibility determination algorithm corresponding to each of the page styles and a determination parameter corresponding to each of the visibility determination algorithms, and generate visibility determination logic of each of the page styles; and determine and process the page information based on the visibility determination logic of the plurality of page styles to obtain visibility determination results of the plurality of page styles. Alternatively, the computer readable medium carries one or more programs when the one or more programs are executed by the electronic device, the electronic device is caused to: a business module receives a page request of a client, the page request including page information; generates a page processing request based on the page information, and sends the page processing request to a plug-in control device; the plug-in control device receives the page processing request, for each of a plurality of page styles, calls at least one visibility determination algorithm corresponding to each of the page styles and a determination parameter corresponding to each of the visibility determination algorithms, and generates visibility determination logic of each of the page styles; determines and processes the page information based on the visibility determination logic of the plurality of page styles to obtain visibility determination results of the plurality of page styles, and returns the visibility determination results of the plurality of page styles to the business module; and the business module generates a push page corresponding to the page request based on the visibility determination results of the plurality of page styles, and sends the push page to the client. Computer program code for carrying out operations of the present disclosure can be written in one or more programming languages or combinations of languages including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages such as "C" or similar programming languages. The program code can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider).The flow diagrams and block diagrams in the drawings are illustrations of possible architectures, functions, and operations for systems, methods, and computer program products in accordance with various embodiments of the present disclosure. In this regard, each block in the flow diagrams or block diagrams can represent a module, a segment, or a portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that in some alternative implementations, the functions noted in the blocks can occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and / or flow diagrams, and combinations thereof, can be implemented by special purpose hardware-based systems that perform the specified functions or operations, or combinations of special purpose hardware and computer instructions. The description of the embodiments of the present disclosure have been presented for purposes of illustration and description, and is not intended to be exhaustive or to limit the present disclosure to the embodiments described. Numerous modifications, adaptations, and variations will be apparent to those skilled in the art. For example, the above-described functionality can be provided as a migration tool. Also, the logic of one or more embodiments of the disclosure can be readily implemented in computer software using techniques known to those of ordinary skill in the art. Embodiments of the present disclosure can be realized in hardware, software, or a combination thereof. The present disclosure can be realized in a centralized fashion in one computer system or in a distributed fashion where different elements are spread across multiple computer systems. Any kind of computer system or other apparatus adapted for carrying out the methods described herein is suited. A typical combination of hardware and software can be a general purpose computer system, with or without custom circuitry. The application includes a computer program product adapted to carry out the methods described herein. The program is stored on a storage medium, either internal or external to a computer system. Some embodiments include a computer program product adapted to carry out the methods described herein, comprising a storage medium and a program mechanism embedded in the storage medium. Software can be described in the general context of computer executable instructions, such as program modules, being passive data or active components that execute on a computer system, including computer readable medium, machine-readable medium, or machine -readable storage medium. The program code can be written in any combination of one or more programming languages, including an object oriented programming language and conventional procedural programming languages. The program code can execute entirely on a user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer can be connected to the user's computer through a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider). The present disclosure includes a computer program product adapted to carry out the methods described herein. The program is stored on a storage medium, either internal or external to a computer system. Some embodiments include a computer program product adapted to carry out the methods described herein, comprising a storage medium and a program mechanism embedded in the storage medium.Those skilled in the art should understand that the disclosure scope of the present disclosure is not limited to the technical solutions formed by the specific combinations of the above technical features, and should also cover other technical solutions formed by the arbitrary combinations of the above technical features or equivalent features without departing from the above disclosed concept. For example, the technical solutions formed by the mutual replacement of the above features and the technical features disclosed in the present disclosure (but not limited to) having similar functions. In addition, although the operations are described in a certain order, this should not be understood as requiring the operations to be performed in the specific order or in a sequential order. In certain circumstances, multi-tasking and parallel processing can be advantageous. Similarly, although several implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Certain features described in the context of separate embodiments can also be implemented in combination. Conversely, various features described in the context of a single embodiment can also be implemented separately or in any suitable sub-combination. Although the subject matter has been described in terms of structural features and / or methodological acts, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely exemplary forms of implementing the claims.
Claims
Claims 1. A page information processing method, comprising: receiving a page processing request, wherein the page processing request includes page information; For each of the multiple page styles, call at least one visibility determination algorithm corresponding to each of the page styles and the determination parameters corresponding to each of the visibility determination algorithms to generate visibility determination logic for each of the page styles; perform determination processing on the page information based on the visibility determination logic of the multiple page styles to obtain visibility determination results for the multiple page styles.
2. The method according to claim 1, wherein: The calling of at least one visibility determination algorithm corresponding to each of the page styles and the determination parameters corresponding to each of the visibility determination algorithms includes: determining the visibility determination strategy corresponding to each of the page styles based on the correspondence between the page style and the visibility determination strategy, wherein the visibility determination strategy includes at least one visibility determination algorithm identifier; calling at least one visibility determination algorithm based on at least one visibility determination algorithm identifier in the visibility determination strategy, and calling the determination parameters corresponding to each of the visibility determination algorithms.
3. The method according to claim 2, wherein: The calling of at least one visibility determination algorithm based on at least one visibility determination algorithm identifier in the visibility determination strategy, and calling of determination parameters corresponding to each visibility determination algorithm, include: calling at least one visibility determination algorithm from an algorithm module based on at least one visibility determination algorithm identifier in the visibility determination strategy corresponding to the page style; a plurality of visibility determination algorithms are stored in the algorithm module; calling of determination parameters corresponding to each visibility determination algorithm from a parameter module based on the visibility determination algorithm identifier in the visibility determination strategy and the page style identifier, the parameter module including parameter lists corresponding to a plurality of visibility determination algorithms, and each parameter list including determination parameters corresponding to a plurality of page styles.
4. The method according to any one of claims 1 to 3, wherein The generating of the visibility determination logic for each of the page styles includes: for any of the page styles, based on at least one visibility determination algorithm corresponding to the page style and the determination parameters corresponding to each of the visibility determination algorithms, respectively generating at least one sub-determination logic; generating the visibility determination logic for the page style based on the at least one sub-determination logic.
5. The method according to claim 2, further comprising: In response to the policy display operation, a policy page is displayed, wherein the policy page includes visibility determination policies corresponding to a plurality of page styles; In response to an editing operation in the policy page, the visibility determination policy in the policy page is updated.
6. The method according to any one of claims 1 to 5, further comprising: In response to a parameter display operation, a parameter page is displayed, wherein the parameter page displays a plurality of pre-stored determination parameters; and in response to an editing operation in the parameter page, the determination parameters in the parameter page are updated.
7. A page information processing device, comprising: an information acquisition module configured to receive a page processing request, wherein the page processing request includes page information; a determination logic generation module configured to, for each of the plurality of page styles, call at least one visibility determination algorithm corresponding to each of the page styles and determination parameters corresponding to each of the visibility determination algorithms, and generate visibility determination logic for each of the page styles; The visibility determination module is configured to perform determination processing on the page information based on the visibility determination logic of the plurality of page styles to obtain visibility determination results of the plurality of page styles.
8. A plug-in control device, comprising a processing module, an algorithm module and a parameter module, wherein: The algorithm module stores a plurality of visibility determination algorithms; the parameter module stores a parameter list corresponding to each of the visibility determination algorithms; the processing module is configured to receive a page processing request; and call at least one visibility determination algorithm corresponding to each page style from the algorithm module; Recalling, from the parameter module, the determination parameters corresponding to at least one visibility determination algorithm corresponding to each of the page styles; generating visibility determination logic for each of the page styles based on the at least one visibility determination algorithm corresponding to each of the page styles and the determination parameters corresponding to each of the visibility determination algorithms; The page information in the page processing request is judged and processed based on the visibility judgment logic of the plurality of page styles to obtain visibility judgment results of the plurality of page styles.
9. The plug-in control device according to claim 8, wherein: The plug-in control device also includes a policy scheduling module: the policy scheduling module stores visibility determination policies corresponding to multiple page styles, and the visibility determination policy corresponding to each of the page styles includes at least one visibility determination algorithm identifier and a logical relationship between the at least one visibility determination algorithm; the processing module matches the visibility determination policy corresponding to each of the page styles from the policy scheduling module.
10. A page processing method, comprising: The business module receives a page request from a client, wherein the page request includes page information; A page processing request is generated based on the page information, and the page processing request is sent to the plug-in control device; the plug-in control device receives the page processing request, and for each of the plurality of page styles, invokes at least one visibility determination algorithm corresponding to each of the plurality of page styles and determination parameters corresponding to each of the visibility determination algorithms to generate visibility determination logic for each of the plurality of page styles; determination processing is performed on the page information based on the visibility determination logics of the plurality of page styles to obtain visibility determination results for the plurality of page styles, and the visibility determination results for the plurality of page styles are returned to the business module; The business module generates a push page corresponding to the page request based on visibility determination results of the plurality of page styles, and sends the push page to the client.
11. An electronic device, comprising: one or more processors; A storage device is configured to store one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors implement the page information processing method according to any one of claims 1 to 6, or the page processing method according to claim 10.
12. A storage medium comprising computer-executable instructions, wherein when executed by a computer processor, the computer-executable instructions are used to execute the page information processing method according to any one of claims 1 to 6, or the page processing method according to claim 10.
Citation Information
Patent Citations
Page information processing method and device, plug-in control module, page processing method, storage medium and electronic equipment
CN120780389A
Security threat management method and system
CN105184156A
Visual programming method and system for human-computer interaction interface and storage medium
CN111506308A
Page display method, device, equipment and system
CN111782999A
Method and device for displaying page
CN111881392A