CN117648506A - Verification method, device, equipment and storage medium of page display strategy - Google Patents

Verification method, device, equipment and storage medium of page display strategy Download PDF

Info

Publication number
CN117648506A
CN117648506A CN202311449830.8A CN202311449830A CN117648506A CN 117648506 A CN117648506 A CN 117648506A CN 202311449830 A CN202311449830 A CN 202311449830A CN 117648506 A CN117648506 A CN 117648506A
Authority
CN
China
Prior art keywords
page
page display
policy
changed
strategy
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311449830.8A
Other languages
Chinese (zh)
Inventor
陈秀林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alipay Hangzhou Information Technology Co Ltd
Original Assignee
Alipay Hangzhou Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alipay Hangzhou Information Technology Co Ltd filed Critical Alipay Hangzhou Information Technology Co Ltd
Priority to CN202311449830.8A priority Critical patent/CN117648506A/en
Publication of CN117648506A publication Critical patent/CN117648506A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The specification discloses a verification method, device, equipment and storage medium of page display strategy, the method includes: under the condition that any page display strategy of a target transaction is changed, acquiring strategy change content of the changed page display strategy; acquiring a page display data set generated when a test end displays a page of the target transaction in a gray environment; acquiring page rendering data corresponding to the target page display data under the condition that the changed target page display data corresponding to the page display strategy exists in the page display data set; and verifying the changed page display policy based on the policy change content, the target page display data and the page rendering data to obtain a policy verification result, wherein the policy verification result is used for indicating whether the changed page display policy is abnormal or not.

Description

Verification method, device, equipment and storage medium of page display strategy
Technical Field
Embodiments of the present disclosure relate to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a storage medium for verifying a page display policy.
Background
With the development of network technology, more and more transactions can be performed through a network, and a transaction platform can present information related to the transactions to users in the form of pages so as to attract the users to participate in the transactions. For example, in the case where the transaction is an insurance transaction, the insurance institution can issue a promotion page of the insurance onto the network, and the user knows about the insurance and makes an application by viewing the promotion page.
In the related art, a transaction platform can provide different pages for different users so as to achieve the purpose of 'thousands of people and thousands of faces'. The thousand-person thousand-face page display method relies on a page display strategy, and in order to improve the display effect of the page, technicians often change the page display strategy more frequently. How to verify the changed page presentation strategy is a hot spot of research.
Disclosure of Invention
The embodiment of the specification provides a verification method, a verification device, verification equipment and a storage medium of a page display strategy, which can verify the changed page display strategy so as to improve the display effect of a page displayed based on the page display strategy, and the technical scheme is as follows:
in one aspect, a method for verifying a page display policy is provided, where the method includes:
Under the condition that any page display strategy of a target transaction is changed, acquiring strategy change content of the changed page display strategy;
acquiring a page display data set generated when a test end displays a page of the target transaction in a gray environment;
acquiring page rendering data corresponding to the target page display data under the condition that the changed target page display data corresponding to the page display strategy exists in the page display data set;
and verifying the changed page display policy based on the policy change content, the target page display data and the page rendering data to obtain a policy verification result, wherein the policy verification result is used for indicating whether the changed page display policy is abnormal or not.
In one aspect, a verification device for a page display policy is provided, where the device includes:
the content acquisition unit is used for acquiring policy change content of the page display policy after the change under the condition that any page display policy of the target transaction is changed;
the page display data set acquisition unit is used for acquiring a page display data set generated when the test end displays the page of the target transaction in the gray environment;
The page rendering data acquisition unit is used for acquiring page rendering data corresponding to the target page display data under the condition that the target page display data corresponding to the changed page display strategy exists in the page display data set;
the verification unit is used for verifying the changed page display strategy based on the strategy change content, the target page display data and the page rendering data to obtain a strategy verification result, wherein the strategy verification result is used for indicating whether the changed page display strategy is abnormal or not.
In a possible implementation manner, the content obtaining unit is configured to verify policy change data of any page presentation policy of the target transaction if the policy change data is obtained; and under the condition that the policy change data passes the verification, modeling the policy change data to obtain the policy change content of the changed page display policy.
In a possible implementation manner, the content obtaining unit is configured to split and reorganize the policy change data based on a preset rule to obtain policy change content of the changed page display policy when the policy change data passes the verification.
In one possible implementation manner, the page display data set obtaining unit is configured to obtain a page display data set generated when the test end displays the page of the target transaction from a transaction database in the gray environment, where the transaction database is used for storing page display data collected through buried points.
In a possible implementation manner, the page rendering data obtaining unit is configured to obtain, in a case where target page display data corresponding to the changed page display policy exists in the page display dataset, a server log of a transaction server of the target transaction in the gray scale environment, where the transaction server provides a page display service of the target transaction, and the target page display data is page display data of a page displayed by the page display policy triggered for the first time;
and inquiring in the server log based on the target page display data to obtain page rendering data corresponding to the target page display data.
In a possible implementation manner, the verification unit is configured to perform pairwise verification on the policy change content, the target page display data and the page rendering data, so as to obtain the policy verification result.
In one possible embodiment, the apparatus further comprises:
the sending unit is used for sending first alarm information to the changing terminal of the page display strategy under the condition that the changed target page display data corresponding to the page display strategy does not exist in the page display data set, and the first alarm information is used for indicating that the changed page display strategy is not released to a gray scale environment for verification before being on line.
In one possible embodiment, the apparatus further comprises:
the sending unit is used for sending second alarm information to the changing terminal of the page display strategy when the verification result shows that the changed page display strategy is abnormal, wherein the second alarm information carries error information when the page display strategy is verified after being changed, and the second alarm information is used for prompting the page display strategy after being changed to be modified.
In a possible implementation manner, the verification unit is further configured to, in a case where the page display policy is changed again, verify the page display policy after the change again.
In one possible embodiment, the apparatus further comprises:
the configuration unit is used for displaying an interception rule configuration page of the target transaction, and the interception rule configuration interface is used for configuring interception rules; responding to rule configuration operation on the interception rule configuration page, and configuring the interception rule into an interception page display strategy; executing the interception rule to intercept the change condition of the page display strategy of the target transaction.
In one aspect, a computer device is provided that includes one or more processors and one or more memories having at least one computer program stored therein, the computer program loaded and executed by the one or more processors to implement a verification method of the page presentation policy.
In one aspect, a computer readable storage medium having at least one computer program stored therein is provided, the computer program loaded and executed by a processor to implement a verification method of the page presentation policy.
In one aspect, a computer program product or computer program is provided, the computer program product or computer program comprising program code, the program code being stored in a computer readable storage medium, the program code being read from the computer readable storage medium by a processor of a computer device, the program code being executed by the processor, causing the computer device to perform a method of verifying a page presentation policy as described above.
According to the technical scheme provided by the embodiment of the specification, under the condition that any page display strategy of a target transaction is changed, the strategy change content of the changed page display strategy is obtained, so that the automatic perception of the strategy change condition of the target transaction is realized. And acquiring a page display data set generated when the test end displays the page of the target transaction in the gray environment. And under the condition that the changed target page display data corresponding to the page display strategy exists in the page display data set, acquiring page rendering data corresponding to the target page display data. And verifying the changed page display strategy based on the strategy change content, the target page display data and the page rendering data, so as to determine whether the changed page display strategy is abnormal, realize the purpose of automatically verifying the page display strategy, save the labor cost when verifying the page display strategy, and improve the effect of displaying the page based on the page display strategy.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present description, the following description will briefly explain the drawings needed in the description of the embodiments, and it is obvious that the drawings in the following description are only some embodiments of the present description, and that other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of an implementation environment of a verification method for a page presentation policy according to an embodiment of the present disclosure;
FIG. 2 is a flowchart of a method for verifying a page presentation policy according to an embodiment of the present disclosure;
FIG. 3 is a flowchart of another method for verifying a page presentation policy provided by an embodiment of the present disclosure;
FIG. 4 is a schematic view of a front page provided by an embodiment of the present disclosure;
FIG. 5 is a flowchart of a method for verifying a page presentation policy provided by an embodiment of the present disclosure;
FIG. 6 is a schematic diagram of a verification device of a page display policy according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of a server according to an embodiment of the present disclosure.
Detailed Description
For the purposes of clarity, technical solutions and advantages of the present specification, the following description will describe embodiments of the present specification in further detail with reference to the accompanying drawings.
The terms "first," "second," and the like in this specification are used for distinguishing between similar elements or items having substantially the same function and function, and it should be understood that there is no logical or chronological dependency between the terms "first," "second," and "n," and that there is no limitation on the number and order of execution.
And the end B: and B (Business) end represents Business of enterprise user and is a Business interface in Internet products.
C end: c (Consumer) end refers to Consumer and personal user end.
Page: the carrier that organizes and carries the modules is the final form of presentation on the user side, and typically a page may contain multiple modules.
Scene: the technicians are used for presenting the product scheme, operating delivery, pages and positions of the active display.
And (3) a module: after the modules edit the filling content, recommendation rules are established with specific crowds, corresponding content can be displayed at the designated positions of the pages finally, and one module can be instantiated into a plurality of modules.
Module policy: the matching rules of the content and the crowd inside the module, one module often comprises a plurality of module strategies, and the plurality of module strategies are collectively called as a strategy group.
First pen: the user accesses the transaction platform, and a strategy of the C-end page is accessed by the user for the first time.
Production environment: it means that the external service is provided positively, and the error report is generally turned off and the error log is opened. Simply referred to as online, is the environment formally used by the user.
Gray scale environment: the gray scale environment refers to an environment in which a configured policy is prevented from being vulnerable to a production environment before the policy is released to the production environment, so that the policy is tested in advance only on a designated node or nodes.
It should be noted that, information (including but not limited to user equipment information, user personal information, etc.), data (including but not limited to data for analysis, stored data, presented data, etc.), and signals referred to in this specification are all authorized by the user or are fully authorized by the parties, and the collection, use, and processing of relevant data is required to comply with relevant laws and regulations and standards of relevant countries and regions. For example, page presentation data and the like referred to in this specification are all acquired with sufficient authorization.
Fig. 1 is a schematic diagram of an implementation environment of a verification method of a page presentation policy according to an embodiment of the present disclosure, and referring to fig. 1, the implementation environment may include a testing end 110, an operating end 120, a transaction server 130, and a verification server 140.
The test terminal 110 is connected to the transaction server 130 and the verification server 140 through a wireless network or a wired network, and the test terminal 110 is a terminal used by a test user. Optionally, the test terminal 110 is a smart phone, a tablet computer, a notebook computer, a desktop computer, or the like, but is not limited thereto. The test terminal 110 is a terminal in a gray scale environment for performing gray scale test on contents to be updated. The test terminal 110 installs and runs an application program supporting a page showing a target transaction, and accordingly, the gray test indicates to test the updated content to be issued of the target transaction.
The operator 120 is connected to the transaction server 130 and the verification server 140 through a wireless network or a wired network, and the operator 110 is a terminal used by an operator. Optionally, the operation terminal 120 is a smart phone, a tablet computer, a notebook computer, a desktop computer, or the like, but is not limited thereto. The operator 120 is configured to configure content related to the target transaction, for example, the operator 120 can configure a page display policy related to the target transaction, and the display content of the page may be correspondingly changed after the page display policy is changed.
The transaction server 130 is connected to the verification server 140 through a wireless network or a wired network, and is an independent physical server, or is a server cluster or a distributed system formed by a plurality of physical servers, or is a cloud server for providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, a distribution network (Content Delivery Network, CDN), basic cloud computing services such as big data and an artificial intelligent platform. Server 130 provides background services for applications running on test end 110, i.e., for target transactions.
The verification server 140 is an independent physical server, or a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server for providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, a distribution network (Content Delivery Network, CDN), basic cloud computing services such as big data and an artificial intelligence platform. The verification server 140 is configured to verify the policy of the target transaction configured by the operator 120 to determine the accuracy of the verification server policy.
Those skilled in the art will appreciate that the number of test terminals may be greater or lesser. For example, the number of the test terminals is only one, or the number of the test terminals is tens or hundreds, or more, and other test terminals are also included in the implementation environment. The number of test terminals and the type of equipment are not limited in the embodiments of the present specification.
After describing the implementation environment of the embodiments of the present disclosure, the application scenario of the embodiments of the present disclosure will be described below in conjunction with the implementation environment, where in the following description, the test end is the test end 110 in the implementation environment, the operation end is the operation end 120 in the implementation environment, the transaction server is the transaction server 130 in the implementation environment, and the verification server is the verification server 140 in the implementation environment.
The technical scheme provided by the embodiment of the specification can be applied to the scene of checking the page display strategy of any type of transaction. For example, the technical solution provided in the embodiments of the present disclosure may be applied in a scenario of checking a page display policy of an insurance transaction, or in a scenario of checking a page display policy of an online shopping transaction, or in a scenario of checking a page display policy of a take-away transaction.
When the technical scheme provided by the embodiment of the specification is applied to verification of the page display policy of the insurance transaction, the verification server obtains policy change content of the page display policy under the condition that any page display policy of the insurance transaction is changed, and the policy change content is configured by an operator through an operation end. The verification server acquires a page display data set when the testing end displays the target transaction in the gray environment, wherein the page display data set comprises a plurality of page display data which are data generated when the testing end displays the page of the insurance transaction. Under the condition that target page display data corresponding to the page display strategy exists in the page display data set, the verification server acquires page rendering data corresponding to the target page display data, wherein the page rendering data is data acquired by the service server when the testing terminal displays the page of the insurance transaction. And the verification server verifies the changed page display strategy based on the strategy change content, the target page display data and the page rendering data to obtain a strategy verification result, wherein the strategy verification result is used for indicating whether the page display strategy is abnormal or not. The operator can adjust the page display policy through the policy check result, or issue the page display policy into the production environment.
It should be noted that, the foregoing description is described by taking the verification of the page display policy of the insurance transaction as an example when the technical solution provided in the embodiment of the present disclosure is applied, and in the case that the transaction is another type of transaction, the execution process of the technical solution provided in the embodiment of the present disclosure and the foregoing description belong to the same inventive concept, and the implementation process is not repeated.
Of course, the technical solutions provided in the embodiments of the present disclosure may be applied to other scenarios besides the above three scenarios, and the embodiments of the present disclosure are not limited thereto.
After the implementation environment and the application scenario of the embodiments of the present disclosure are described, the technical solution provided by the embodiments of the present disclosure is described below, referring to fig. 2, taking the execution body as an example of a verification server, and the method includes the following steps.
202. And under the condition that any page display strategy of the target transaction is changed, the verification server acquires strategy change content of the changed page display strategy.
The target transaction is any type of transaction, for example, the target transaction is an insurance transaction, or an online shopping transaction, or a take-away transaction, which is not limited in the embodiment of the present disclosure. The page presentation policy is used to indicate the presentation content of a page of a target transaction, and in this embodiment, different users may see different content when viewing the same page of the target transaction. The page display strategy is configured by an operator by using an operator terminal, and accordingly, the operator can also change the configured page display strategy by using the operator terminal. The verification server can detect the change condition of the page display policy, the policy change content is also called policy change details, the policy change content is the detail content of the change of the page display policy, and the change condition of the page display policy can be known through the policy change content.
204. And the verification server acquires a page display data set generated when the test end displays the page of the target transaction in the gray environment.
The gray scale environment refers to an environment in which policies are tested before being released to the production environment. The page presentation data set includes a plurality of page presentation data, different page presentation data being generated by the testing end when presenting different pages of the target transaction. The testing end is used for testing the page display strategy of the target transaction.
206. Under the condition that the changed target page display data corresponding to the page display strategy exists in the page display data set, the verification server acquires page rendering data corresponding to the target page display data.
The target page display data corresponding to the page display policy refers to page display data generated after the page display policy is triggered, that is, when the page of the target transaction is displayed, the page display policy is triggered, the page of the target transaction is displayed based on the page display policy, and the page display data generated when the test terminal displays the page, that is, the target page display data. The page rendering data corresponding to the target page display data refers to data generated when the page of the target transaction is displayed based on the page display policy, and because the target page display data is generated on the page, a corresponding relationship exists between the page rendering data generated when the page is displayed and the target page display data.
208. And the verification server verifies the changed page display strategy based on the strategy change content, the target page display data and the page rendering data to obtain a strategy verification result, wherein the strategy verification result is used for indicating whether the page display strategy is abnormal or not.
The verification is performed on the page display policy to determine whether the page display policy is abnormal, and under the condition that the page display policy is abnormal, operators can timely adjust the page display policy, so that the abnormality of the page display policy is eliminated.
According to the technical scheme provided by the embodiment of the specification, under the condition that any page display strategy of a target transaction is changed, the strategy change content of the changed page display strategy is obtained, so that the automatic perception of the strategy change condition of the target transaction is realized. And acquiring a page display data set generated when the test end displays the page of the target transaction in the gray environment. And under the condition that the changed target page display data corresponding to the page display strategy exists in the page display data set, acquiring page rendering data corresponding to the target page display data. And verifying the changed page display strategy based on the strategy change content, the target page display data and the page rendering data, so as to determine whether the changed page display strategy is abnormal, realize the purpose of automatically verifying the page display strategy, save the labor cost when verifying the page display strategy, and improve the effect of displaying the page based on the page display strategy.
It should be noted that, the steps 202 to 208 are simple descriptions of the verification method of the page display policy provided in the embodiment of the present disclosure, and the technical solution provided in the embodiment of the present disclosure will be described in more detail below with reference to fig. 3, taking the execution subject as an example of the verification server, and the method includes the following steps.
302. And under the condition that any page display strategy of the target transaction is changed, the verification server acquires strategy change content of the changed page display strategy.
The target transaction is any type of transaction, for example, the target transaction is an insurance transaction, or an online shopping transaction, or a take-away transaction, which is not limited in the embodiment of the present disclosure. The page presentation policy is used to indicate the presentation content of a page of a target transaction, and in this embodiment, different users may see different content when viewing the same page of the target transaction. The page display strategy is configured by an operator by using an operator terminal, and accordingly, the operator can also change the configured page display strategy by using the operator terminal. The verification server can detect the change condition of the page display policy, the policy change content is also called policy change details, the policy change content is the detail content of the change of the page display policy, and the change condition of the page display policy can be known through the policy change content.
In some embodiments, the target transaction includes a plurality of pages including an insurance propaganda page (home page), an insurance details page, an insurance purchase page, an insurance renewal page, and the like, in the case where the target transaction is an insurance transaction. Accordingly, the page display policy may be any one of the plurality of pages. Taking the first page of the page as an insurance transaction as an example, the page showing policy is described with reference to fig. 4, where the first page 400 includes a plurality of modules 401-405, different modules are used to show different contents, and the page showing policy of the first page 400 is used to indicate which contents are shown in the plurality of modules 401-405. Taking the module 401 of the plurality of modules 401-405 as an example, the module 401 is also referred to as a master module because of its large area and being located in the center of the front page 400. When the user a accesses the home page 400, the transaction server determines that the content related to the risk is displayed in the module 401 through the page display policy, and then the content related to the risk is displayed in the module 401 in the home page 400 seen by the user a. When the user B accesses the home page 400, the transaction server determines that the module 401 displays the content related to the medical risk through the page display policy, and then the module 401 in the home page 400 seen by the user B displays the content related to the medical risk. An operator can adjust the page presentation policy of the home page 400 as desired. After the page showing policy of the home page 400 is changed, when the user a accesses the home page 400, the endowment risk may be shown in the module 401 instead of the trip risk. Through modularized page setting, the page display strategy is adjusted, so that the display content of the page can be quickly changed, and the efficiency is high.
In one possible implementation, in a case where policy change data of any page presentation policy of the target transaction is acquired, the verification server verifies the policy change data. And under the condition that the policy change data passes the verification, the verification server models the policy change data to obtain the changed policy change content of the page display policy.
The policy change data is generated when the page display policy is changed, and the obtained policy change data indicates that the changed page display policy exists, and the policy change data is checked to determine whether the policy change data has an abnormality (such as empty judgment, state identification and error identification on the policy change data). Modeling the policy change data is to determine the change condition of the page display policy, that is, obtain the changed page display policy.
In this embodiment, when policy change data of any one of the page display policies is acquired, it is determined that the page display policy is changed. And checking the strategy change data to determine whether the strategy change data has abnormality. Under the condition that the policy change data passes the verification, modeling is carried out on the policy change data to obtain policy change content of the page display policy, automatic identification of the policy change and automatic acquisition of the policy change content are achieved, and efficiency is high.
In order to more clearly describe the above embodiments, the above embodiments will be described below in sections.
And the first part is used for checking the policy change data by the checking server under the condition that the policy change data of any page display policy of the target transaction is acquired.
Wherein the verification server subscribes to changes in the page presentation policy of the target transaction at the transaction server of the target transaction. Under the condition that any page display strategy of a target transaction is changed, the transaction server sends strategy change data of the page display strategy to the verification server, and the verification server acquires the strategy change data to indicate that the page display strategy is changed.
In one possible implementation manner, the verification server filters the received policy change data based on an interception rule, where the interception rule is used to indicate a manner of intercepting the policy change data, and in an embodiment of the present disclosure, the interception rule is used to indicate to intercept policy change data of a page presentation policy. And under the condition that any page displaying strategy change data of the target transaction exists in the intercepted strategy change data, the verification server adopts a verification rule to verify the strategy change data, and the preset verification rule is used for verifying the strategy change data so as to determine whether the strategy change data is abnormal or not.
The interception rule is configured by a technician, and a configuration mode is described later. The preset checking rule is set by a technician according to an actual situation, for example, the preset checking rule includes a void judgment rule, a state judgment rule and an error recognition rule, which is not limited in the embodiment of the present specification.
In the embodiment, the specified type of policy change data can be screened out through the interception rule, and under the condition that the policy change data of any page display policy is received, the policy change data is checked by adopting the check rule so as to ensure the authenticity and accuracy of the policy change data.
Taking the example of a check server as an opsCloud (operation and maintenance management platform), opsCloud is provided with a standard SPI (Service Provider Interface, service providing interface) of onChangeEvent for subscribing to event changes. In the case where the transaction server accesses the SPI, the opsclouds can subscribe to the policy change event (policy change data) of the target transaction through the SPI. The opsclouds filter the received policy change events based on the interception rules, i.e., only receive the policy change events of the page-showing policy. And under the condition that policy change data of any page display policy is received, the opsCloud adopts a verification rule to verify the policy change data.
And the second part is used for modeling the policy change data by the verification server under the condition that the policy change data passes the verification, so as to obtain the policy change content of the changed page display policy.
In a possible implementation manner, in the case that the policy change data passes the verification, the verification server splits and reorganizes the policy change data based on a preset rule to obtain policy change contents of the changed page display policy.
And the policy change data is verified to indicate that the policy change data has no abnormality.
In the embodiment, under the condition that the policy change data passes the verification, the policy change data can be split and recombined based on the preset rule, so that the policy change content of the changed page display policy is obtained, and the efficiency of obtaining the policy change content is higher.
For example, when the policy change data passes the verification, the verification server distributes the policy change data to a processor corresponding to the data identifier based on the data identifier in the policy change data, and the processor splits and reorganizes the policy change data based on a preset rule to obtain the policy change content of the changed page display policy.
The method for determining the interception rules involved in the above description will be described below.
In one possible implementation, the verification server displays an interception rule configuration page of the target transaction, and the interception rule configuration interface is used for configuring the interception rule. In response to a rule configuration operation on the intercept rule configuration page, the verification server configures the intercept rule as an intercept page presentation policy. And the check server executes the interception rule to intercept the change condition of the page presentation strategy of the target transaction.
In the embodiment, the interception rule can be configured into the interception page display policy through the rule configuration operation on the interception rule configuration page, and the configuration efficiency of the interception rule is higher.
For example, the verification server displays an interception rule configuration page of the target transaction, the interception rule configuration page including an interception rule configuration area and an interception rule presentation area. In response to an interception rule configuration operation for the page presentation policy in the interception rule configuration area, the verification server configures the interception rule to intercept the page presentation policy. And the check server executes the interception rule to intercept the change condition of the page presentation strategy of the target transaction. The interception rule can intercept policy change data acquired through a standard SPI of an onChangeEvent under the condition that a check server is taken as an opsCloud.
304. And the verification server acquires a page display data set generated when the test end displays the page of the target transaction in the gray environment.
The gray scale environment refers to an environment in which policies are tested before being released to the production environment. The page presentation data set includes a plurality of page presentation data, different page presentation data being generated by the testing end when presenting different pages of the target transaction. The testing end is used for testing the page display strategy of the target transaction. When the test end displays the page of the target transaction, page rendering data is acquired from a transaction server of the target transaction, and the page rendering data is used for page rendering. The test end renders the page based on the page rendering data to display the page of the target transaction, and correspondingly, the page display data are generated after the test end renders based on the page rendering data, and under the normal condition of a page display strategy, the page display data and the page rendering data are matched.
In one possible implementation, the verification server obtains a page presentation data set generated when the test end presents the page of the target transaction from a transaction database of the gray scale environment, where the transaction database is used for storing page presentation data collected by the buried point.
The embedded point is a code used for collecting data in a target application, the target application is an application providing the target transaction, and the page of the target transaction is displayed by depending on the target application. When the target application displays the page of the target transaction, the embedded point in the target application automatically collects page display data generated when the page is displayed. After the page presentation data is collected, the page presentation data is uploaded to a transaction database, which also forms a page presentation data set. In some embodiments, the transactional database is an Explorer database, which is a real-time analytical type (OLAP) database that locates low latency responses at a mass data scale, with the goal of providing aggregate query capability and some higher-order analysis functionality as a complement and enhancement to ODPS capability. Accordingly, this page presentation dataset is also referred to as an explorer table.
In the embodiment, the page display data set can be directly acquired from the transaction database, and the acquisition efficiency of the page display data set is higher.
In some embodiments, the verification server can periodically perform step 304 described above to obtain page presentation data sets for different time periods, so that subsequent verification steps are performed based on the page presentation data sets for different time periods. The period of executing the above step 304 is set by the skilled person according to the actual situation, for example, set to be executed once every hour or executed once every two hours, which is not limited in the embodiment of the present disclosure. Accordingly, the page presentation data set obtained by executing the above step 304 each time is a page data set generated before executing the step 304 last time to executing the step 304 this time.
In some embodiments, after the foregoing implementation manner, the verification server may further be capable of filtering the page display dataset based on a preset condition rule, to obtain a filtered page display dataset. The filtered page presentation data set is used to replace the page presentation data set during execution of subsequent steps. The preset condition rule is used for screening page display data based on user information, and as the page of the target transaction is displayed based on a page display strategy, different users can see different contents when viewing the same page, and the page display strategy is performed in combination with the user information when determining the page content, and the user information is used for reflecting the attribute or the characteristic of the user. The collection and use of the user information is permitted by the user.
After step 304, the verification server performs step 306 described below or steps 308 and 310 described below according to the actual situation, which is not limited in the embodiment of the present disclosure.
306. Under the condition that target page display data corresponding to the changed page display strategy does not exist in the page display data set, the verification server sends first alarm information to a change terminal of the page display strategy, wherein the first alarm information is used for indicating that the changed page display strategy is not released to a gray scale environment for verification before being on line.
The change terminal of the page display policy is the operation terminal in the implementation environment, and the change terminal is used for changing the page display policy of the target transaction. On-line refers to publishing the page display policy to the production environment. The page display data set does not have target page display data corresponding to the changed page display strategy, and the page display strategy after being changed is not released to the gray environment.
Through step 306, in the case that the target page display data corresponding to the changed page display policy does not exist in the page display data set, it means that the page display policy is released to the production environment without verification, and there is a risk that a page displayed based on the page display policy may be abnormal. And sending first alarm information to a change terminal of the page display strategy so as to remind operators of risks, and prompting operators to verify the changed page display strategy and then issue the verified page display strategy to a production environment.
308. Under the condition that the changed target page display data corresponding to the page display strategy exists in the page display data set, the verification server acquires page rendering data corresponding to the target page display data.
The target page display data corresponding to the page display policy refers to page display data generated after the page display policy is triggered, that is, when the page of the target transaction is displayed, the page display policy is triggered, the page of the target transaction is displayed based on the page display policy, and the page display data generated when the test terminal displays the page, that is, the target page display data. The page rendering data corresponding to the target page display data refers to data generated when the page of the target transaction is displayed based on the page display policy, and because the target page display data is generated on the page, a corresponding relationship exists between the page rendering data generated when the page is displayed and the target page display data. The page display data set contains target page display data corresponding to the changed page display strategy, which means that the changed page display strategy is released to the gray environment.
In a possible implementation manner, under the condition that target page display data corresponding to the changed page display policy exists in the page display data set, a verification server obtains a server log of a transaction server of the target transaction in the gray scale environment, the transaction server provides a page display service of the target transaction, and the target page display data is page display data of a page displayed by the page display policy triggered for the first time. And the verification server queries in the server log based on the target page display data to obtain page rendering data corresponding to the target page display data.
The target page display data is page display data of a page displayed by the page display policy triggered for the second time, so that the target page display data is also called as first stroke data, and verification of the changed page display policy at the first stroke or infinitely close to the first stroke can be realized through processing the target page display data. The server log is used for storing page rendering data, the page rendering data are data generated by the transaction server when the testing end displays the page of the target transaction, and the page rendering data and the page display data generated by the testing end are in one-to-one correspondence, so that the corresponding page rendering data can be queried based on the target page display data.
In the embodiment, the page rendering data can be acquired through the server log, and the acquisition efficiency of the page rendering data is high.
In some embodiments, the target page presentation data carries a page identification, a device identification of the test end, and a user identification of a user logged into the test end. And the verification server queries in the server log based on the page identifier, the equipment identifier and the user identifier to obtain page rendering data corresponding to the target page display data.
310. And the verification server verifies the changed page display strategy based on the strategy change content, the target page display data and the page rendering data to obtain a strategy verification result, wherein the strategy verification result is used for indicating whether the page display strategy is abnormal or not.
The verification is performed on the page display policy to determine whether the page display policy is abnormal, and under the condition that the page display policy is abnormal, operators can timely adjust the page display policy, so that the abnormality of the page display policy is eliminated.
In one possible implementation manner, the verification server performs pairwise verification on the policy change content, the target page display data and the page rendering data to obtain the policy verification result.
And checking any two of the policy change content, the target page display data and the page rendering data to ensure the checking accuracy.
For example, the verification server determines whether the target page presentation data matches the policy change content, determines whether the page rendering data matches the policy change content, and determines whether the target page presentation data matches the page rendering data. And under the conditions that the target page display data is matched with the policy change content, the page rendering data is matched with the policy change content and the target page display data is matched with the page rendering data, determining that the page display policy is not abnormal. And determining a policy verification result as an abnormality of the page display policy when any one of the mismatch of the target page display data and the policy change content, the mismatch of the page rendering data and the policy change content and the mismatch of the target page display data and the page rendering data exists.
The target page display data and the page rendering data both carry page identifications, page types, page contents, page links and the like, and the policy change contents comprise selectable ranges of the page identifications, the page types, the page contents and the page links. Determining whether the target page display data is matched with the policy change content, namely determining whether the page identifier, the page type, the page content and the page link carried by the target page display data are in the optional range indicated by the policy change content, and correspondingly determining whether the page rendering data are matched with the policy change content, namely determining whether the page identifier, the page type, the page content and the page link carried by the page rendering data are in the optional range indicated by the policy change content. In addition, whether the target page display data is matched with the page rendering data is determined, namely whether the page identification, the page type, the page content and the page link carried by the target page display data are the same as the page identification, the page type, the page content and the page link carried by the page rendering data is determined. In some embodiments, the page content includes page text, page pictures, page controls, and the like.
In addition to the two-by-two verification method provided in the above embodiment, the verification server can also verify the modified page presentation policy in the following embodiment.
In one possible implementation manner, the verification server performs character recognition on the target page display data and the page rendering data, and determines whether preset characters exist in the target page display data and the page rendering data. And under the condition that preset characters exist in the target page display data and the page rendering data, determining a strategy checking result as that the page display strategy is abnormal.
The preset character is a special character or an abnormal character, and further, the preset character may be a wrongly written character or an abnormal character generated by parsing an error, for example, the wrongly written character in the page belongs to the preset character, and "<" in 3.5% of interest rate also belongs to the preset character.
Optionally, following step 310, the following step 312 can also be performed.
312. And under the condition that the verification result shows that the changed page display strategy is abnormal, the verification server sends second alarm information to the change terminal of the page display strategy, wherein the second alarm information carries error information when the changed page display strategy is verified, and the second alarm information is used for prompting the changed page display strategy to be modified.
The error information is used for reflecting errors occurring when the page display strategy after the change is checked, and the errors can be intuitively obtained through the error information, so that the page display strategy is modified to correct the errors.
Optionally, after step 312, in the case where the page presentation policy is changed again, the verification server verifies the page presentation policy after being changed again.
The fact that the page display policy is changed again indicates that, in the case that the changed page display policy is abnormal, an operator adjusts the page display policy, and the verification server performs verification again on the page display policy after being changed again, so that the verification process and the steps 304-312 belong to the same invention conception, and are not repeated herein.
In order to more clearly describe the technical solution provided by the embodiments of the present disclosure, a verification method of the page display policy provided by the embodiments of the present disclosure will be described below with reference to fig. 5.
Referring to fig. 5, the operator alters the page presentation policy of the target transaction in the deluxe system (a configuration system). The operation end issues the changed page display strategy to the gray environment. The test end (C end) in the gray level environment runs the target application, and the page of the target transaction is rendered and displayed in the target application. In the process of displaying the page of the target transaction, the target application collects page display data through the buried point and uploads the collected page display data to a transaction database (Blink data). After the operation end issues the changed page display policy to the gray environment, the verification server (opsCloud) can obtain policy change data through the standard SPI of the onChangeEvent, namely, sense the change of the page change policy. After the verification server acquires the policy change data of the page change policy, preprocessing and modeling the policy change data to obtain policy change content. The verification server acquires a page display data set from the transaction database, determines whether target page display data corresponding to the changed page display policy exists in the page display data set, and the process is used for determining whether the changed page display policy is hit. And under the condition that target page display data corresponding to the changed page display strategy does not exist in the page display data set, sending first alarm information to an operation end, wherein the first alarm information is used for indicating that the changed page display strategy is directly online without verification, and risks exist. Under the condition that target page display data corresponding to the changed page display strategy exists in the page display data set, the verification server acquires a server log of the transaction server, and acquires page rendering data corresponding to the target page display data from the server log. And the verification server verifies the changed page display strategy based on the strategy change content, the target page display data and the page rendering data, and the verification process is a three-terminal information verification process. And under the condition that the verification is not passed, the verification server sends second alarm information to the operation end, the second alarm information can be sent periodically, and the second alarm information is used for prompting that the changed page display strategy is abnormal. And an operator modifies the page display strategy by using the operation end, and reissues the modified page display strategy to the gray environment for verification. After verification is passed, the modified page display policy may be issued to the production environment, i.e., the modified page display policy is brought online.
All the above optional solutions may be combined arbitrarily to form an optional embodiment of the present specification, which is not described herein.
According to the technical scheme provided by the embodiment of the specification, under the condition that any page display strategy of a target transaction is changed, the strategy change content of the changed page display strategy is obtained, so that the automatic perception of the strategy change condition of the target transaction is realized. And acquiring a page display data set generated when the test end displays the page of the target transaction in the gray environment. And under the condition that the changed target page display data corresponding to the page display strategy exists in the page display data set, acquiring page rendering data corresponding to the target page display data. And verifying the changed page display strategy based on the strategy change content, the target page display data and the page rendering data, so as to determine whether the changed page display strategy is abnormal, realize the purpose of automatically verifying the page display strategy, save the labor cost when verifying the page display strategy, and improve the effect of displaying the page based on the page display strategy.
Fig. 6 is a schematic structural diagram of a verification device for a page display policy according to an embodiment of the present disclosure, referring to fig. 6, the device includes: a content acquisition unit 601, a page presentation data set acquisition unit 602, a page rendering data acquisition unit 603, and a verification unit 604.
The content obtaining unit 601 is configured to obtain, when any page presentation policy of the target transaction is changed, policy change content of the changed page presentation policy.
The page display data set obtaining unit 602 is configured to obtain a page display data set generated when the test end displays the page of the target transaction in the gray environment.
The page rendering data obtaining unit 603 is configured to obtain, when the changed target page display data corresponding to the page display policy exists in the page display dataset, page rendering data corresponding to the target page display data.
And the verification unit 604 is configured to verify the changed page display policy based on the policy change content, the target page display data and the page rendering data, to obtain a policy verification result, where the policy verification result is used to indicate whether the changed page display policy has an abnormality.
In a possible implementation manner, the content obtaining unit 601 is configured to, in a case where policy change data of any page presentation policy of the target transaction is obtained, verify the policy change data. And under the condition that the policy change data passes the verification, modeling the policy change data to obtain the changed policy change content of the page display policy.
In a possible implementation manner, the content obtaining unit 601 is configured to split and reorganize the policy change data based on a preset rule to obtain the changed policy change content of the page display policy when the policy change data passes the verification.
In a possible implementation manner, the page display data set obtaining unit 602 is configured to obtain a page display data set generated when the test end displays the page of the target transaction from a transaction database in the gray scale environment, where the transaction database is used to store page display data collected by the buried point.
In a possible implementation manner, the page rendering data obtaining unit 603 is configured to obtain, in a case where target page presentation data corresponding to the changed page presentation policy exists in the page presentation data set, a server log of a transaction server of the target transaction in the gray scale environment, where the transaction server provides a page presentation service of the target transaction, and the target page presentation data is page presentation data that triggers a page presented by the page presentation policy for the first time.
And inquiring in the server log based on the target page display data to obtain page rendering data corresponding to the target page display data.
In a possible implementation manner, the verification unit 604 is configured to perform a pairwise verification on the policy change content, the target page display data, and the page rendering data, to obtain the policy verification result.
In one possible embodiment, the apparatus further comprises:
the sending unit is used for sending first alarm information to the changing terminal of the page display strategy under the condition that the target page display data corresponding to the changed page display strategy does not exist in the page display data set, and the first alarm information is used for indicating that the changed page display strategy is not released to the gray scale environment for verification before being on line.
In one possible embodiment, the apparatus further comprises:
the sending unit is used for sending second alarm information to the changing terminal of the page display strategy when the verification result shows that the changed page display strategy is abnormal, wherein the second alarm information carries error information when the page display strategy is verified after being changed, and the second alarm information is used for prompting the page display strategy after being changed to be modified.
In a possible implementation manner, the verification unit 604 is further configured to verify the page display policy after being changed again, where the page display policy is changed again.
In one possible embodiment, the apparatus further comprises:
the configuration unit is used for displaying an interception rule configuration page of the target transaction, and the interception rule configuration interface is used for configuring interception rules. In response to a rule configuration operation on the intercept rule configuration page, the intercept rule is configured to intercept the page presentation policy. Executing the interception rule to intercept the change condition of the page presentation policy of the target transaction.
It should be noted that: when the verification device for the page display policy provided in the above embodiment verifies the page display policy, only the division of the above functional modules is used for illustration, in practical application, the above functional allocation may be completed by different functional modules according to needs, that is, the internal structure of the computer device is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the verification device of the page display policy provided in the above embodiment and the verification method embodiment of the page display policy belong to the same concept, and detailed implementation processes of the verification device and the verification method embodiment of the page display policy are detailed in the method embodiment, and are not repeated here.
According to the technical scheme provided by the embodiment of the specification, under the condition that any page display strategy of a target transaction is changed, the strategy change content of the changed page display strategy is obtained, so that the automatic perception of the strategy change condition of the target transaction is realized. And acquiring a page display data set generated when the test end displays the page of the target transaction in the gray environment. And under the condition that the changed target page display data corresponding to the page display strategy exists in the page display data set, acquiring page rendering data corresponding to the target page display data. And verifying the changed page display strategy based on the strategy change content, the target page display data and the page rendering data, so as to determine whether the changed page display strategy is abnormal, realize the purpose of automatically verifying the page display strategy, save the labor cost when verifying the page display strategy, and improve the effect of displaying the page based on the page display strategy.
The embodiment of the present disclosure provides a computer device, configured to perform the foregoing method, where the computer device may be implemented as a terminal or a server, where the terminal includes a testing end and an operating end, and the server includes a transaction server and a verification server, and the following description first describes a structure of the terminal:
Fig. 7 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure. The terminal 700 may be: smart phones, tablet computers, notebook computers or desktop computers. Terminal 700 may also be referred to by other names of user devices, portable terminals, laptop terminals, desktop terminals, etc.
In general, the terminal 700 includes: one or more processors 701, and one or more memories 702.
Processor 701 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 701 may be implemented in at least one hardware form of DSP (Digital Signal Processing ), FPGA (Field-Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array ). The processor 701 may also include a main processor, which is a processor for processing data in an awake state, also referred to as a CPU (Central Processing Unit ); a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 701 may integrate a GPU (Graphics Processing Unit, image processor) for rendering and drawing of content required to be displayed by the display screen. In some embodiments, the processor 701 may also include an AI (Artificial Intelligence ) processor for processing computing operations related to machine learning.
Memory 702 may include one or more computer-readable storage media, which may be non-transitory. The memory 702 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 702 is used to store at least one computer program for execution by processor 701 to implement the verification method of the page presentation policy provided by the method embodiments in this specification.
In some embodiments, the terminal 700 may further optionally include: a peripheral interface 703 and at least one peripheral. The processor 701, the memory 702, and the peripheral interface 703 may be connected by a bus or signal lines. The individual peripheral devices may be connected to the peripheral device interface 703 via buses, signal lines or a circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 704, a display 705, a camera assembly 706, audio circuitry 707, and a power supply 708.
A peripheral interface 703 may be used to connect I/O (Input/Output) related at least one peripheral device to the processor 701 and memory 702. In some embodiments, the processor 701, memory 702, and peripheral interface 703 are integrated on the same chip or circuit board; in some other embodiments, either or both of the processor 701, the memory 702, and the peripheral interface 703 may be implemented on separate chips or circuit boards, which is not limited in this embodiment.
The Radio Frequency circuit 704 is configured to receive and transmit RF (Radio Frequency) signals, also referred to as electromagnetic signals. The radio frequency circuitry 704 communicates with a communication network and other communication devices via electromagnetic signals. The radio frequency circuit 704 converts an electrical signal into an electromagnetic signal for transmission, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 704 includes: antenna systems, RF transceivers, one or more amplifiers, tuners, oscillators, digital signal processors, codec chipsets, subscriber identity module cards, and so forth.
The display screen 705 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display 705 is a touch display, the display 705 also has the ability to collect touch signals at or above the surface of the display 705. The touch signal may be input to the processor 701 as a control signal for processing. At this time, the display 705 may also be used to provide virtual buttons and/or virtual keyboards, also referred to as soft buttons and/or soft keyboards.
The camera assembly 706 is used to capture images or video. Optionally, the camera assembly 706 includes a front camera and a rear camera. Typically, the front camera is disposed on the front panel of the terminal and the rear camera is disposed on the rear surface of the terminal.
The audio circuit 707 may include a microphone and a speaker. The microphone is used for collecting sound waves of users and environments, converting the sound waves into electric signals, and inputting the electric signals to the processor 701 for processing, or inputting the electric signals to the radio frequency circuit 704 for voice communication.
The power supply 708 is used to power the various components in the terminal 700. The power source 708 may be an alternating current, a direct current, a disposable battery, or a rechargeable battery.
In some embodiments, the terminal 700 further includes one or more sensors 709. The one or more sensors 709 include, but are not limited to: acceleration sensor 710, gyro sensor 711, pressure sensor 712, optical sensor 713, and proximity sensor 714.
The acceleration sensor 710 may detect the magnitudes of accelerations on three coordinate axes of a coordinate system established with the terminal 700.
The gyro sensor 711 may be configured to sense a body direction and a rotation angle of the terminal 700, and the gyro sensor 711 may be configured to collect a 3D motion of the terminal 700 by a user in cooperation with the acceleration sensor 710.
The pressure sensor 712 may be disposed at a side frame of the terminal 700 and/or at a lower layer of the display screen 705. When the pressure sensor 712 is disposed at a side frame of the terminal 700, a grip signal of the user to the terminal 700 may be detected, and the processor 701 performs a left-right hand recognition or a shortcut operation according to the grip signal collected by the pressure sensor 712. When the pressure sensor 712 is disposed at the lower layer of the display screen 705, the processor 701 controls the operability control on the UI interface according to the pressure operation of the user on the display screen 705.
The optical sensor 713 is used to collect the intensity of ambient light. In one embodiment, the processor 701 may control the display brightness of the display screen 705 based on the ambient light intensity collected by the optical sensor 713.
The proximity sensor 714 is used to collect the distance between the user and the front of the terminal 700.
Those skilled in the art will appreciate that the structure shown in fig. 7 is not limiting of the terminal 700 and may include more or fewer components than shown, or may combine certain components, or may employ a different arrangement of components.
The computer device may also be implemented as a server, and the following describes the structure of the server:
fig. 8 is a schematic structural diagram of a server provided in the embodiments of the present disclosure, where the server 800 may include one or more processors (Central Processing Units, CPU) 801 and one or more memories 802, where the one or more memories 802 store at least one computer program that is loaded and executed by the one or more processors 801 to implement the methods provided in the embodiments of the methods described above. Of course, the server 800 may also have components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input/output, and the server 800 may also include other components for implementing device functions, which are not described herein.
In an exemplary embodiment, a computer readable storage medium, e.g. a memory comprising a computer program executable by a processor for performing the verification method of the page presentation policy in the above embodiment is also provided. For example, the computer readable storage medium may be Read-Only Memory (ROM), random-access Memory (Random Access Memory, RAM), compact disc Read-Only Memory (CD-ROM), magnetic tape, floppy disk, optical data storage device, and the like.
In an exemplary embodiment, a computer program product or a computer program is also provided, which computer program product or computer program comprises a program code, which program code is stored in a computer readable storage medium, which program code is read from the computer readable storage medium by a processor of a computer device, which program code is executed by the processor, which program code causes the computer device to perform the above-mentioned verification method of a page presentation policy.
In some embodiments, the computer program according to the embodiments of the present specification may be deployed to be executed on one computer device or on a plurality of computer devices located at one site, or on a plurality of computer devices distributed at a plurality of sites and interconnected by a communication network, where the plurality of computer devices distributed at a plurality of sites and interconnected by a communication network may constitute a blockchain system.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program for instructing relevant hardware, where the program may be stored in a computer readable storage medium, and the above storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The foregoing description of the preferred embodiments is merely exemplary in nature and is not intended to limit the invention, thus, any modification, equivalent replacement, improvement, or the like that comes within the spirit and principles of the present invention are intended to be included in the scope of the present invention.

Claims (14)

1. A method of verifying a page presentation policy, the method comprising:
under the condition that any page display strategy of a target transaction is changed, acquiring strategy change content of the changed page display strategy;
acquiring a page display data set generated when a test end displays a page of the target transaction in a gray environment;
acquiring page rendering data corresponding to the target page display data under the condition that the changed target page display data corresponding to the page display strategy exists in the page display data set;
And verifying the changed page display policy based on the policy change content, the target page display data and the page rendering data to obtain a policy verification result, wherein the policy verification result is used for indicating whether the changed page display policy is abnormal or not.
2. The method of claim 1, wherein in the case that any one of the page presentation policies of the target transaction is changed, obtaining policy change contents of the changed page presentation policy comprises:
under the condition that policy change data of any page display policy of the target transaction is obtained, checking the policy change data;
and under the condition that the policy change data passes the verification, modeling the policy change data to obtain the policy change content of the changed page display policy.
3. The method according to claim 2, wherein in the case that the policy change data passes the verification, modeling the policy change data to obtain the policy change content of the changed page presentation policy includes:
and under the condition that the policy change data passes the verification, splitting and reorganizing the policy change data based on a preset rule to obtain the policy change content of the changed page display policy.
4. The method of claim 1, wherein the obtaining the page presentation data set generated when the test end presents the page of the target transaction in the gray scale environment comprises:
and acquiring a page display data set generated when the test end displays the page of the target transaction from a transaction database of the gray environment, wherein the transaction database is used for storing page display data acquired through buried points.
5. The method of claim 1, wherein, in the case that the target page presentation data corresponding to the changed page presentation policy exists in the page presentation data set, the obtaining the page rendering data corresponding to the target page presentation data includes:
under the condition that target page display data corresponding to the changed page display strategy exists in the page display data set, obtaining a server log of a transaction server of the target transaction in the gray scale environment, wherein the transaction server provides page display service of the target transaction, and the target page display data is page display data of a page displayed by the page display strategy triggered for the first time;
and inquiring in the server log based on the target page display data to obtain page rendering data corresponding to the target page display data.
6. The method of claim 1, wherein the verifying the changed page presentation policy based on the policy change content, the target page presentation data, and the page rendering data to obtain a policy verification result includes:
and checking the strategy change content, the target page display data and the page rendering data in pairs to obtain the strategy verification result.
7. The method of claim 1, after the acquiring the page presentation data set generated when the test end presents the page of the target transaction in the gray scale environment, the method further comprises:
and under the condition that the target page display data corresponding to the changed page display strategy does not exist in the page display data set, sending first alarm information to a change terminal of the page display strategy, wherein the first alarm information is used for indicating that the changed page display strategy is not released to a gray environment for verification before being on line.
8. The method of claim 1, wherein the verifying the changed page presentation policy based on the policy change content, the target page presentation data, and the page rendering data, after obtaining a policy verification result, further comprises:
And under the condition that the verification result shows that the changed page display strategy is abnormal, sending second alarm information to a change terminal of the page display strategy, wherein the second alarm information carries error information when the page display strategy is verified after being changed, and the second alarm information is used for prompting the page display strategy after being changed to be modified.
9. The method of claim 8, wherein in the case that the verification result indicates that the changed page presentation policy is abnormal, after sending second alarm information to the change terminal of the page presentation policy, the method further comprises:
and under the condition that the page display strategy is changed again, checking the page display strategy after the change again.
10. The method of claim 1, wherein in the case that any one of the page presentation policies of the target transaction is changed, before obtaining the policy change content of the changed page presentation policy, the method further comprises:
displaying an interception rule configuration page of the target transaction, wherein the interception rule configuration interface is used for configuring interception rules;
Responding to rule configuration operation on the interception rule configuration page, and configuring the interception rule into an interception page display strategy;
executing the interception rule to intercept the change condition of the page display strategy of the target transaction.
11. A verification apparatus for a page presentation policy, the apparatus comprising:
the content acquisition unit is used for acquiring policy change content of the page display policy after the change under the condition that any page display policy of the target transaction is changed;
the page display data set acquisition unit is used for acquiring a page display data set generated when the test end displays the page of the target transaction in the gray environment;
the page rendering data acquisition unit is used for acquiring page rendering data corresponding to the target page display data under the condition that the target page display data corresponding to the changed page display strategy exists in the page display data set;
the verification unit is used for verifying the changed page display strategy based on the strategy change content, the target page display data and the page rendering data to obtain a strategy verification result, wherein the strategy verification result is used for indicating whether the changed page display strategy is abnormal or not.
12. A computer device comprising one or more processors and one or more memories, the one or more memories having stored therein at least one computer program loaded and executed by the one or more processors to implement the method of checking a page presentation policy as claimed in any of claims 1 to 10.
13. A computer readable storage medium having stored therein at least one computer program loaded and executed by a processor to implement a method of verifying a page presentation policy as claimed in any one of claims 1 to 10.
14. A computer program product comprising a computer program which when executed by a processor implements the method of checking a page presentation policy as claimed in any one of claims 1 to 10.
CN202311449830.8A 2023-11-01 2023-11-01 Verification method, device, equipment and storage medium of page display strategy Pending CN117648506A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311449830.8A CN117648506A (en) 2023-11-01 2023-11-01 Verification method, device, equipment and storage medium of page display strategy

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311449830.8A CN117648506A (en) 2023-11-01 2023-11-01 Verification method, device, equipment and storage medium of page display strategy

Publications (1)

Publication Number Publication Date
CN117648506A true CN117648506A (en) 2024-03-05

Family

ID=90044103

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311449830.8A Pending CN117648506A (en) 2023-11-01 2023-11-01 Verification method, device, equipment and storage medium of page display strategy

Country Status (1)

Country Link
CN (1) CN117648506A (en)

Similar Documents

Publication Publication Date Title
CN111192005B (en) Government affair service processing method and device, computer equipment and readable storage medium
CN109784351B (en) Behavior data classification method and device and classification model training method and device
CN109636641A (en) Medical insurance method for detecting abnormality, device, equipment and medium based on big data analysis
CN110851510A (en) Data processing method and device of transaction system based on block chain
CN110503409B (en) Information processing method and related device
CN113742366B (en) Data processing method, device, computer equipment and storage medium
CN112350872B (en) Network architecture configuration information generation method and device, storage medium and electronic equipment
CN112329184B (en) Network architecture configuration information generation method and device, storage medium and electronic equipment
CN110458646A (en) Page display method, device, computer equipment and storage medium
CA3169413A1 (en) Report generating method, device, electronic equipment, and computer-readable medium
CN114244595A (en) Method and device for acquiring authority information, computer equipment and storage medium
CN111897890A (en) Financial business processing method and device
CN112005247A (en) People flow data monitoring system and people flow data display method and device thereof
CN113138771A (en) Data processing method, device, equipment and storage medium
CN110555482A (en) Vulgar picture identification method and device based on artificial intelligence and electronic equipment
CN114936199B (en) Data processing method for system reconstruction, computer equipment and storage medium
CN117648506A (en) Verification method, device, equipment and storage medium of page display strategy
CN113987326B (en) Resource recommendation method and device, computer equipment and medium
CN115495169A (en) Data acquisition method, page generation method, device, equipment and readable storage medium
CN117971397A (en) Model processing method, device, terminal equipment and storage medium
CN114237798A (en) Data processing method, device, server and storage medium
CN112333029A (en) Network architecture configuration information generation method and device, storage medium and electronic equipment
CN111026732B (en) Dynamic inspection tour method and system
CN114327372B (en) Quality requirement configuration method, device, equipment and medium
CN117611368A (en) Method, device, equipment and storage medium for debugging account checking parameters

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination