Processing method and device for counting monthly active user number of page and electronic equipment

Through the processing method of the number of monthly active users in the financial service field, the page environment information and identifier replacement technology are used to use the page environment information and identifier replacement technology, which solves the problem of repeated statistics of the corporate app and H5 pages. Statistics improve the user experience.

CN119359340APending Publication Date: 2025-01-24BANK OF NINGBO
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411467107.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-21
Publication Date
2025-01-24

AI Technical Summary

Technical Problem

In the field of financial services, there are some duplicate active customers between the monthly active data of the corporate APP page and the monthly active data of the H5 page, resulting in a decrease in the accuracy and reliability of the monthly active statistics of the page.

Method used

By responding to the page access request, the page environment information and attribute information are determined, the first identifier in the target page environment is obtained, and the identifier is used to query the second identifier in the enterprise system, replacing the third identifier in Shence's buried data. identifier to achieve user deduplication and improve the accuracy of monthly activity data.

Benefits of technology

Effectively avoid the problem of duplication of users in the monthly and monthly work statistics, improve the accuracy and reliability of statistical data. At the same time, the process does not perceive the user, does not affect the normal access of the page, and enhances the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119359340A_ABST
    Figure CN119359340A_ABST
Patent Text Reader

Abstract

The invention provides a processing method and device for counting the number of monthly active users of a page and electronic equipment, and the electronic equipment responds to a page access request, determines that the current access page is a target page accessed in a target page environment according to the page environment information and page attribute information of the page requested to be accessed, and sends the target page to the electronic equipment; the method comprises the following steps: acquiring a first identifier of a user in a target page environment, associating the first identifier with customer data in an enterprise system (such as a Ning system or a branch mechanism thereof), and determining a second identifier configured for the user in the enterprise system to replace a third identifier in policy burying point data of a request range page; according to the method, the user duplicate removal of the page monthly activity statistics is realized, the monthly activity data accuracy is improved, the process is not perceived by the user, the normal access of the page is not influenced, and the user experience feeling is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of financial services technology, and more specifically to a processing method, device and electronic device for counting the number of monthly active users of a statistical page. Background Art

[0002] In practical applications, the monthly The number (Monthly Active User, MAU, abbreviated as monthly active user) can measure its business activity and market influence, and reflect the differences in market strategies, service quality and customer satisfaction among various branches, so as to improve service quality and customer experience, attract and retain more active users, and enhance market competitiveness.

[0003] Among them, the page monthly active data is usually obtained by relying on the Sensors tracking statistics implemented on the page, and the Sensors SDK (Software Development Kit) selects different unique identifiers for Sensors tracking statistics when the customer logs in or out of the bank APP. However, in the scenario of page access through web pages (such as WeChat H5 pages, etc.), customers usually do not need to log in, resulting in some duplicate active customers between the monthly active data of the enterprise APP page and the monthly active data of the H5 page, reducing the accuracy and reliability of the monthly active statistics of the page. Summary of the invention

[0004] In view of the above problems, this application provides the following solutions:

[0005] The first aspect of the present application provides a method for processing the number of monthly active users of a page, the method comprising:

[0006] In response to a page access request, determining page environment information and page attribute information of the page requested for access;

[0007] Determine, based on the page environment information and the page attribute information, that the requested access page belongs to a target page accessed under the target page environment, and obtain a first identifier of the corresponding page access user under the target page environment;

[0008] Using the first identifier, determining a second identifier configured for the page access user in the enterprise system;

[0009] Using the second identifier, replace the third identifier in the Sensors tracking data configured for the requested access page;

[0010] Output the requested access page obtained by rendering;

[0011] Among them, the Sensors tracking data containing the second identifier is used to realize the statistics of the monthly active users who request to access the page.

[0012] In a possible implementation, the process of determining, based on the page environment information and the page attribute information, that the requested access page belongs to a target page to be accessed in the target page environment further includes:

[0013] Perform page nesting check on the requested access page;

[0014] Determine that the requested access page is not nested by other applications and belongs to a target page accessed in a target page environment, and execute a step to obtain a first identifier of a corresponding page access user in the target page environment.

[0015] In a possible implementation, the method further includes:

[0016] Obtaining page access configuration parameters for the target page environment in the electronic device;

[0017] According to the page access configuration parameters, determine to start an optimization function for counting the number of active page users in the target page environment, so as to obtain a first identifier of the corresponding page access user in the target page environment when it is determined that the requested access page belongs to the target page accessed in the target page environment;

[0018] The target page is any page outside a pre-configured page whitelist, and the page whitelist can be updated dynamically.

[0019] In a possible implementation, obtaining the first identifier of the corresponding page access user in the target page environment includes:

[0020] Obtaining the UnionID of the page access user as the first identifier through a silent authorization method in the target page environment;

[0021] If the UnionID is not successfully obtained, the OpenID of the page access user is obtained as the first identifier through the silent authorization method.

[0022] In a possible implementation, the using the first identifier to determine a second identifier configured for the page access user in the enterprise system includes:

[0023] Using the first identifier, querying the customer data in the enterprise system;

[0024] If the customer data includes a customer number configured for the page access user, determining the customer number as a second identifier configured for the page access user in the enterprise system;

[0025] If the customer data does not include the customer number, determining a user serial number configured for the page access user and included in the customer data, and determining the user serial number as a second identifier configured for the page access user in the enterprise system;

[0026] If the customer data does not include the user serial number, the first identifier is determined to be a second identifier configured in the enterprise system for the page access user.

[0027] In a possible implementation, the method further includes:

[0028] Determine whether it is necessary to redirect the requested access page;

[0029] If the requested access page needs to be redirected, the requested access page under the target page environment is directly authorized silently to redirect and output the requested access page;

[0030] If there is no need to redirect the requested access page, execute the step of outputting the rendered requested access page.

[0031] In a possible implementation, the method further includes:

[0032] In response to a page return request, determining that there is an unrendered page before entering the current output page, calling an adjacent historical output page output of the current output page, or exiting the target page environment;

[0033] The historical output page is a rendered page of the electronic device's historical output.

[0034] A second aspect of the present application provides a processing device for counting the number of monthly active users of a page, the device comprising:

[0035] An information determination module, for determining, in response to a page access request, page environment information and page attribute information of a requested page;

[0036] A first identifier acquisition module is used to determine, based on the page environment information and the page attribute information, that the requested access page belongs to a target page accessed under the target page environment, and to acquire a first identifier of the corresponding page access user under the target page environment;

[0037] A second identifier determination module, configured to determine a second identifier configured for the page access user in the enterprise system by using the first identifier;

[0038] A third identifier replacement module, used to replace the third identifier in the Sensors tracking data configured for the requested access page with the second identifier;

[0039] A page output module, used for outputting the requested access page obtained by rendering;

[0040] Among them, the Sensors tracking data containing the second identifier is used to realize the statistics of the monthly active users who request to access the page.

[0041] The third aspect of the present application provides an electronic device, the electronic device comprising: at least one display screen, at least one memory and at least one processor, wherein:

[0042] The display screen is used to display the user access page;

[0043] The processor is configured to load and execute computer-readable instructions stored in the memory to implement the following steps:

[0044] In response to a page access request, determining page environment information and page attribute information of the page requested for access;

[0045] When it is determined based on the page environment information and the page attribute information that the requested page belongs to a target page accessed under the target page environment, obtaining a first identifier of the corresponding page access user under the target page environment;

[0046] Using the first identifier, determining a second identifier configured for the page access user in the enterprise system;

[0047] Using the second identifier, replace the third identifier in the Sensors tracking data configured for the requested access page;

[0048] Output the requested access page obtained by rendering;

[0049] Among them, the Sensors tracking data containing the second identifier is used to realize the statistics of the monthly active users who request to access the page.

[0050] It can be seen that in the processing method for counting the number of monthly active users of a page provided in the present application, in response to a page access request, based on the page environment information and page attribute information of the requested access page, after determining that the accessed page is the target page accessed under the target page environment, the first identifier of the user in the target page environment is obtained, and it is associated with the customer data in the enterprise system (such as the Ningxing system or one of its branches), and the second identifier configured for the user in the enterprise system is determined to replace the third identifier in the Sensors buried data of the request range page, thereby achieving user deduplication of the monthly active statistics of the page and improving the accuracy of the monthly active data. Moreover, the process is imperceptible to the user and does not affect the normal access to the page, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.

[0052] Figure 1 A flowchart of a method for counting the number of monthly active users of a page proposed in Example 1 of the present application;

[0053] Figure 2 A flowchart of a method for counting the number of monthly active users of a page proposed in Embodiment 2 of the present application;

[0054] Figure 3 A flowchart of a method for counting the number of monthly active users of a page proposed in Embodiment 3 of the present application;

[0055] Figure 4 A flowchart of a method for counting the number of monthly active users of a page proposed in Embodiment 4 of the present application;

[0056] Figure 5 A flowchart of a method for counting the number of monthly active users of a page proposed in Embodiment 5 of the present application;

[0057] Figure 6 A schematic diagram of a page whitelist in a method for counting the number of monthly active users of a page proposed in an embodiment of the present application;

[0058] Figure 7 A schematic diagram of the structure of a processing device for counting the number of monthly active users of a page proposed in an embodiment of the present application;

[0059] Figure 8 This is a schematic diagram of the hardware structure of the electronic device proposed in Example 1 of the present application. DETAILED DESCRIPTION

[0060] The embodiments of the present application are described below in conjunction with the drawings in the embodiments of the present application. The terms used in the implementation mode of the present application are only used to explain the specific embodiments of the present application and are not intended to limit the present application. The embodiments of the present application are described below in conjunction with the drawings. It is known to those of ordinary skill in the art that with the development of technology and the emergence of new scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0061] The terms "first", "second" etc. in the full text of the application and the above-mentioned drawings are used to distinguish similar objects, and need not be used to describe a specific order or sequential order. It should be understood that the terms used in this way can be interchangeable in appropriate circumstances, and this is only to describe the distinction mode adopted by the objects of the same attributes when describing in the embodiments of the application. Belonging to "if" can be interpreted as "at the time of ... " or "when ... " or "in response to determining" etc., can be understood according to the context. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusion, so that the process, method, product or equipment comprising a series of units need not be limited to those units, but can include other units that are not clearly listed or inherent to these processes, methods, products or equipment.

[0062] It is understandable that before using the technical solutions disclosed in the embodiments of this application, the type, scope of use, usage scenarios, etc. of the personal information involved in this application should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.

[0063] In order to solve the above technical problems, the method for processing the number of monthly active users of a statistics page according to an embodiment of the present application will be described in detail below with reference to the accompanying drawings.

[0064] Reference Figure 1 , is a flow chart of a method for counting the number of monthly active users of a page proposed in the first embodiment of the present application. The method can be applied to electronic devices, such as user terminals of any product form, such as Figure 1 As shown, the method for processing the number of monthly active users of the statistical page may include but is not limited to the following steps:

[0065] Step S11, in response to a page access request, determining page environment information and page attribute information of the page requested for access;

[0066] In an embodiment of the present application, the requested access page can be any page of the enterprise system (enterprise platform), such as any mobile banking (i.e., mobile banking client software) page, etc. When it is configured with different access channels such as mini-programs, official accounts, web page addresses, etc., users can use the bank’s own application APP, enterprise mini-program, or enter the web page address through a browser to access the same page. This application does not elaborate on the page access channels and their implementation methods.

[0067] Among them, different access channels for a page can be called corresponding different page environments. This application needs to optimize the statistical method of the number of visiting users, that is, the number of active users, of the target page (which can be one or more pre-configured ones, etc., and this application does not restrict the category and page content of the target page) under the target page environment, so as to avoid repeated counting of the same user between the monthly active users of the page in the enterprise APP, so as to achieve the purpose of improving the accuracy and reliability of the monthly active users statistics of the page.

[0068] In this regard, the embodiment of the present application needs to identify the access channel, that is, the page environment, of the page being accessed this time to determine whether it belongs to the target page environment, such as the WeChat H5 page environment, etc. Therefore, in response to the page access operation input by the user (such as triggering an application identifier, entering a page URL in a WeChat browser, or triggering a mini-program identifier, etc., the operation methods of different page access channels may be different, and the present application does not impose any restrictions on the page access operation method), a corresponding page access request is initiated, and the page environment information corresponding to the current page access operation can be obtained, such as page access path information, page environment identifier (a one-to-one corresponding page environment identifier is configured for different page environments of the same page, and the page environment is identified accordingly), etc. The present application does not impose any restrictions on the content of the page environment information and its acquisition method.

[0069] In addition, in order to enable the electronic device to identify which page the user is visiting, it can also obtain page attribute information of the visited page (i.e., the page requested to be accessed), such as the page URL (Uniform Resource Locator) or other page unique identifiers, etc. This application does not limit the content of the page attribute information and how to obtain it.

[0070] Step S12, determining that the requested access page belongs to a target page accessed under the target page environment according to the page environment information and the page attribute information, and obtaining a first identifier of the corresponding page access user under the target page environment;

[0071] Based on the above description of page environment information and page attribute information, this application needs to optimize the statistics of the number of users who visit the pre-configured target page in a specific month under the target page environment (i.e., monthly active users MAU, monthly active user for short) to ensure that during the page monthly activity statistics process, the same user who visits the same page through different channels is counted once to avoid repeated statistics of the same user, which affects the accuracy of the monthly activity data.

[0072] Therefore, based on the page environment information and page attribute information of the page requested for access, it is possible to detect whether the channel through which the user accesses the page, i.e., the page environment, is the target page environment, and whether the page is any target page configured for the monthly active statistics optimization requirements under the target page environment. The detection implementation method can be determined based on the information content, and this embodiment will not be described in detail here. In this way, it is determined that the user is accessing any pre-configured target page under the target page environment, the monthly active statistics of the target page under the target page environment can be optimized, and the first identifier of the user under the target page environment can be obtained.

[0073] Among them, the target page environment can be the WeChat H5 (HTML5, Hyper Text Markup Language 5, fifth generation hypertext markup language) page environment. It can be seen that the embodiment of the present application can realize the optimization of WeChat H5 page monthly active statistics, and avoid the problem of repeated statistics of some users between the monthly active APP page and the monthly active WeChat H5 page. It should be understood that the target page environment can also be other specified scenarios that need to optimize the monthly active statistics, such as the environment where the target page is accessed by WeChat applet or functional components integrated based on other communication software, etc., in order to improve the accuracy of the monthly active data in the corresponding page environment according to the processing method of the monthly active user number of the statistical page proposed in this application. Of course, the statistical optimization implementation method for daily active data is similar, and this application does not give detailed examples one by one.

[0074] The first identifier of the user in the target page environment is used to distinguish different users in the target page environment, and can identify the same user account of different service applications supported by the platform to which the target page environment belongs as needed, so that when the user has multiple corresponding application accounts in different service applications, the same user belonging to these application accounts can be identified based on the first identifier. This application does not limit the content of the first identifier, which can be determined as appropriate.

[0075] Step S13, using the first identifier, determining a second identifier configured for the page access user in the enterprise system;

[0076] Following the above description of the first identifier, in order to be able to identify the same user who accesses the same page through the page access channel indicated by the target page environment and through the page access channel of the enterprise APP, this application proposes to configure the identifier relied on to identify the same page access user (i.e., active user) under different page access channels as the same identifier to avoid repeated statistics. Therefore, for the first identifier used to identify the page access user in the target page environment, it can be associated with the customer data in the enterprise system, and the customer identifier of the same page access user in the enterprise system can be recorded as the second identifier. The first identifier of the same page access user can be used to replace the second identifier in the enterprise system, so that the user with the first identifier in the target page environment is the same user as the user with the second identifier in the enterprise system, such as the page access user who accessed the page this time.

[0077] Among them, the second identifier used to identify different users in the enterprise system can be determined based on the actual processing of the corresponding user in the enterprise system. For example, if the user is a registered customer of the enterprise, the second identifier can be the customer number configured for the registered customer; if the user is a new customer of the enterprise and the registration process has not yet been executed, the second identifier can be the customer serial number configured by the enterprise system for the new customer. Of course, if the user handles other businesses in the enterprise system, the second identifier can also be a unique identifier configured for the customer handling the corresponding business, etc. For different types of customer identifiers, a customer identifier with a stronger unique characteristic is preferentially selected as the second identifier, and is not limited to the customer identifier content listed in the embodiments of the present application.

[0078] In some embodiments, in order to associate user data in a target page environment with customer data in an enterprise system (which can represent another page environment different from the target page environment, or another access channel) to identify the same page access user in both the target page environment and the enterprise system access channels, the customer identifier, i.e., the second identifier, of the same user (the page access user) in the enterprise system can be obtained based on the content carried in the page access request initiated by the user in the target page environment. The present application does not limit the implementation method of how to use the first identifier to replace the second identifier in the enterprise system.

[0079] Step S14, using the second identifier to replace the third identifier in the Sensors embedding data configured for the requested access page; wherein the Sensors embedding data containing the second identifier is used to implement monthly active user statistics for the requested access page;

[0080] Step S15, outputting the rendered requested access page.

[0081] Combined with the above description of the technical solution of the present application, in the process of monthly active statistics based on the page-based Sensors tracking data, different Sensors IDs (i.e., the third identifier) ​​will be configured for the same electronic device according to the initialization of different access channels (page environments) of the page, and a Sensors tracking data will be constructed to count the number of users visiting the page in the corresponding page environment. As a result, when users use the electronic device to access the same page through different access channels, the monthly active statistics of the page will be counted once for each access channel, and there will be a problem of repeated statistics of the same user visiting the page, resulting in inaccurate monthly active numbers for the page.

[0082] In this regard, the present application proposes to unify the different third identifiers initialized and configured for different page access channels (corresponding to different Sensors SDKs), and use the second identifier to replace the third identifier, as described in the embodiment of the present application, so that the identifiers in the Sensors tracking data for the different page access channels on the same page are all the same second identifier. In this way, when it is necessary to perform monthly active data statistics on the page based on the Sensors tracking data, the second identifier can be used to accurately identify the same user who accesses the same page through different page access channels, avoid repeated statistics, and ensure the accuracy of the obtained monthly active data of the page.

[0083] In an embodiment of the present application, when a user accesses a page, before successfully entering the page, the third identifier in the Sensors embedded data can be promptly replaced according to the method described above. This processing does not affect the user's access to the page, and the electronic device can output the page content normally. This application does not describe in detail how to render the page in the page access scenario to output the actual page content of the page on the display screen of the electronic device.

[0084] Among them, the above-mentioned page rendering process can be implemented by the server that provides the page service, and then the rendered page data is sent to the electronic device, which executes the page data and outputs the page through the display screen, that is, enters the page. Optionally, in some scenarios, such as offline page access scenarios, the electronic device can also implement the rendering of the requested access page and output the rendered page through the display screen. This application does not limit the page rendering process and its execution device, which can be determined according to the actual scenario requirements.

[0085] To summarize, in the process of page access, the embodiment of the present application determines that the page being accessed is the target page accessed under the target page environment based on the page environment information and page attribute information of the page. In order to optimize the monthly active page statistics results under the target page environment and avoid repeated monthly active statistics of the user accessing the same page in other page environments (the enterprise's own application, i.e., the enterprise APP, such as mobile banking APP, etc.), the present embodiment will obtain the first identifier of the user in the target page environment, associate it with the customer data in the enterprise system (such as the Ningxing system or one of its branches), and determine the second identifier configured for the user in the enterprise system to replace the third identifier in the Sensors buried data of the request range page. In the monthly active page statistics, the third identifier can be used to accurately identify the same user who accesses the page in the target page environment and accesses the page through the enterprise APP, thereby avoiding repeated statistics of the same user on the same page through different access channels, and improving the accuracy of the page monthly active data. In addition, the processing does not affect the user's current access needs to the page, and the rendered page can be output normally, that is, the user is not aware of the page access, thereby ensuring the user's page access experience.

[0086] Reference Figure 2 , is a flow chart of a method for processing the number of monthly active users of a statistical page proposed in Example 2 of the present application. This embodiment can describe the optional detailed implementation of the steps of the method for processing the number of monthly active users of a statistical page proposed above, but is not limited to the detailed implementation described in this embodiment, such as Figure 2 As shown, the detailed implementation may include:

[0087] Step S21, in response to the page access request, determining the page environment information and page attribute information of the page requested to be accessed;

[0088] Step S22, determining whether the requested access page belongs to the target page accessed under the target page environment according to the page environment information and the page attribute information; if so, proceeding to step S23; if not, executing step S28;

[0089] Regarding the implementation process of step S21 and step S22, please refer to the description of the corresponding part of the above embodiment, which will not be repeated in this embodiment. In the embodiment of the present application, according to this method, it is determined that the requested access page is not the target page accessed in the target page environment, that is, the target page accessed in other page environments, or the non-target page accessed in the target page environment, there is no need to optimize the monthly active statistics of the target page accessed in the target page environment, only need to respond to the page access request normally and enter the requested access page.

[0090] Step S23, obtaining the UnionID of the page access user through the silent authorization method under the target page environment; if the acquisition is successful, proceed to step S24; if the acquisition is unsuccessful, proceed to step S25;

[0091] The authorization (WeChat authorization) of the target page environment of the embodiment of the present application can be divided into silent authorization and non-silent authorization. In the silent authorization method, the system automatically authorizes the user's permissions without requiring explicit consent or interaction from the user, and there is no need to explicitly prompt the customer for authorization (such as outputting an authorization pop-up window or prompt information, etc.). The non-silent authorization method requires explicit consent or interaction, and can output a display such as an authorization prompt pop-up window to prompt the user to authorize.

[0092] Based on this, for the monthly active data statistics scenario of the page, the embodiment of the present application can choose the silent authorization method to reduce the user operation steps. In this way, after the silent authorization of the target page environment, the user logs in / enters the target page environment and obtains the unique UnionID configured for the page access user by the system / platform (such as WeChat Open Platform) to which the target page environment belongs, which is used to identify the same user in different service applications (such as official accounts, mini-programs, website applications or mobile applications, etc.) under the platform. This application does not limit the method of obtaining the UnionID.

[0093] Step S24, determining the successfully acquired UnionID as the first identifier;

[0094] Step S25, obtaining the OpenID of the user accessing the page as the first identifier through silent authorization;

[0095] Following the above analysis, each application service of the platform to which the target page environment belongs corresponds to a unique UnionID, that is, UnionID is a unique identifier across applications. This application can give priority to obtaining the UnionID as the first identifier to identify the user, so as to realize user identity identification between multiple applications or official accounts; if the UnionID is not successfully obtained, in order to identify the user identity, you can continue to obtain the unique identifier OpenID corresponding to the target page environment through silent authorization as the first identifier, so as to realize user identity identification in a single official account or mini program.

[0096] Among them, WeChat's UnionID and OpenID are two different mechanisms used by the WeChat platform to identify user identities. The UnionID shared by WeChat users in multiple service applications such as different public accounts or applets is the same, but the OpenID of each service application is different. Even for the same user in different service applications, their OpenID is different, but the UnionID is the same. It can be seen that the identifier UnionID can be used to reliably and accurately identify the same user in different service applications under the WeChat platform account. It is preferred to obtain the UnionID of the user accessing the page as the first identifier. If it is not successfully obtained, the OpenID corresponding to the target page environment (which can correspond to the website application of the WeChat open platform, that is, the WeChat H5 page environment) is obtained as the first identifier to identify the user identity in the target page environment. This application does not limit the method of obtaining these two identifiers.

[0097] Step S26: using the first identifier, querying the customer data in the enterprise system for the second identifier configured for the page access user;

[0098] Step S27, using the second identifier to replace the third identifier in the Sensors embedding data configured for the requested access page;

[0099] Step S28, outputting the rendered requested access page.

[0100] As analyzed above, after successfully obtaining the UnionID corresponding to the target page environment, it can be associated with the customer data in the enterprise system (such as the customer data in Ningxing) to determine the customer identifier of the page requesting user with the UnionID in the enterprise system, that is, the second identifier. The content of the second identifier can be selected according to the different business handling situations of the page requesting customer in the enterprise system. It should be understood that for second identifiers with different contents, the second identifiers of different customers in the customer data of the enterprise system have unique characteristics.

[0101] Combined with the description of the relevant parts of step S26-step S28 above, the page access user who accesses the target page in the target page environment is associated with the customer data in the enterprise system. After determining the unique second identifier of the page access user in the enterprise system, the second identifier is used to replace the third identifier in the Sensors buried data on the target page, so that in the process of monthly active statistics for the target page, each user who accesses the target page in the corresponding month can be accurately identified based on the third identifier, avoiding the problem of partial duplication of user statistics between the monthly active page of the enterprise mobile APP page and the monthly active page of WeChat H5 page (i.e., accessing the target page in a target page environment), thereby improving the accuracy of the monthly active page statistics. Moreover, the processing process is not perceived by the page access user, and does not affect the user's current access needs to the target page. The electronic device can normally output the rendered request access page, which improves the user's page access experience.

[0102] Reference Figure 3 , is a flow chart of a method for processing the number of monthly active users of a statistical page proposed in Example 3 of the present application. This embodiment can describe another optional detailed implementation of the method for processing the number of monthly active users of a statistical page proposed above, such as Figure 3 As shown, the detailed implementation may include:

[0103] Step S31, in response to a page access request, determining page environment information and page attribute information of the page requested for access;

[0104] Step S32, determining whether the requested access page belongs to the target page accessed under the target page environment according to the page environment information and the page attribute information; if so, proceeding to step S33; if not, executing step S310;

[0105] Step S33, obtaining the first identifier of the corresponding page access user in the target page environment through a silent authorization method in the target page environment;

[0106] Regarding the implementation process of step S31-step S33, reference may be made to the description of the corresponding parts of the above embodiments, such as the description of the corresponding parts of step S21-step S25, and the embodiments of the present application will not be described in detail here.

[0107] Step S34, using the first identifier, querying customer data in the enterprise system;

[0108] Step S35, determining whether the customer data contains the customer number configured for the page access user, if yes, proceeding to step S37; if no, proceeding to step S36;

[0109] Step S36, determining whether the customer data contains a customer serial number configured for the page access user; if yes, proceeding to step S38; if no, proceeding to step S39;

[0110] In this embodiment, the user information in the target page environment is associated with the customer data in the enterprise system to determine the second identifier of the page access user in the target page environment in the enterprise system. In the determination process, the second identifier can be obtained and determined in the order of high to low priority of the customer number (Customer Number, which can be expressed as cust_no, also known as the customer number, which can be a 10-digit character composed of numbers or a combination of letters and numbers. A customer has a unique customer number in the entire enterprise system), customer serial number (userseq, which can be used to track the customer's transaction history, account information and other customer-related activities to achieve customer relationship management), UnionID and OpenID.

[0111] The customer data within the enterprise system may include at least one second identifier content as described above that belongs to the customer of the enterprise system. The customer data may use a table (which may be called customer table data) or other storage methods to record the customer's relevant information. The present application does not limit the storage method of the enterprise system's customer data and the content of the storage, which may be determined according to the circumstances.

[0112] Step S37, replacing the Sensors ID in the Sensors tracking data configured for the requested access page with the customer number, so as to implement monthly active user statistics for the requested access page based on the customer number;

[0113] Step S38, replacing the Sensors ID in the Sensors tracking data configured for the requested access page with the customer serial number, so as to implement monthly active user statistics for the requested access page based on the customer serial number;

[0114] Step S39, replacing the Sensors ID in the Sensors tracking data configured for the requested access page with the first identifier, so as to implement monthly active user statistics for the requested access page based on the first identifier;

[0115] In combination with the description of the above steps, in the process of associating with customer data in the enterprise system (such as in-row customer table data), that is, in the process of replacing the enterprise system customer identifier (that is, the second identifier), if the customer number of the page access user in the enterprise system is replaced, the Sensors ID (distinct_ID of the Sensors embedding data) will be replaced; if the customer number is not replaced, the customer serial number of the page access user in the enterprise system will be further replaced to replace the Sensors ID; if the customer serial number is not replaced, it is further determined that the first identifier is UnionID (that is, the UnionID successfully obtained in the above steps), and the Sensors ID can be replaced accordingly; if the UnionID is not successfully obtained, the first identifier successfully obtained is OpenID, which replaces the Sensors ID.

[0116] It can be seen that the present application can preferentially replace the Sensors ID according to the second identifier content as described in the above deployment, that is, replace the Sensors ID in the Sensors buried data configured on the requested access page for implementing the monthly active page statistics. In this way, in response to the request for monthly active page statistics, the statistics on the number of active users in the corresponding month of the requested access page can be implemented based on the second identifier of the corresponding content. In this implementation process, since the second identifier of the same user is associated with the first identifier, the monthly active data of accessing the page under the mobile APP of the enterprise system and the monthly active data of accessing the target page under the target page environment can accurately identify the same user based on the association, avoid repeated statistics of the same user, and ensure the accuracy of the monthly active data of the page. This application does not elaborate on the monthly active statistics process.

[0117] Among them, the Sensors tracking data configured on the page may include but is not limited to the Sensors ID. This application does not restrict the Sensors tracking configuration method and the content contained in the Sensors tracking data, which can be determined according to the circumstances.

[0118] Step S310: outputting the rendered requested access page.

[0119] In summary, in the embodiment of the present application, in the scenario where a user uses an electronic device to access a page, in the process of responding to a page access request, it is first determined whether the user is requesting to access any target page in the target page environment. If not, it is not necessary to optimize the page monthly activity statistics and directly render and output the requested access page; if so, the page monthly activity statistics optimization method proposed in this embodiment can be used to associate the first identifier of the user accessing the page in the target page environment with the customer data in the enterprise system, and the Sensors ID in the Sensors buried data configured on the requested access page is replaced preferentially according to the priority order of the second identifier and the first identifier of different contents in the customer data, so as to lay a reliable foundation for the accurate statistics of the number of active users accessing the same target page through different channels in the future, and ensure the accuracy of the monthly activity data of the target page. And this processing process is not perceived by the user and does not affect the user's current access needs to the target page.

[0120] Reference Figure 4 , is a flow chart of a method for processing the number of monthly active users of a statistical page proposed in the fourth embodiment of the present application. This embodiment can describe another optional detailed implementation of the method for processing the number of monthly active users of a statistical page proposed above, such as Figure 4 As shown, the detailed implementation may include:

[0121] Step S41, in response to a page access request, determining page environment information and page attribute information of the page requested for access;

[0122] Step S42, determining, based on the page environment information, that the page access request is generated in the target page environment, and performing a page nesting check on the requested access page;

[0123] When the target page environment is the WeChat H5 page environment, in the process of identifying the page environment, combined with the above analysis, if the page access request is initiated by the user through the mobile banking APP or enterprise mini program channel, the corresponding page environment does not belong to the target page environment, and there is no need to execute the embodiment of the present application to optimize the page monthly activity statistics, and directly enter the requested access page. If the user requests to access the page in the WeChat browser or WeChat mini program, it can be determined through the corresponding page environment information that the page access request initiated was initiated in the WeChat environment.

[0124] However, when the WeChat H5 page is embedded in an iframe of another page, the iframe element is used to embed another page (i.e., the outer page) in the current page. If the outer page has initialized the WeChat SDK, it will cause an exception when using the WeChat API in this page, such as cross-domain restriction issues. The browser's homology policy restricts interactions between different domains, which is likely to restrict operations performed in the iframe. In order to avoid this situation, this application can exclude this page nesting method from the target page environment. Parent can be used to check whether the requested access page is nested. If it involves cross-domain, that is, there is a page nesting problem, an exception prompt message can be output, and it is considered that the nested scenario is other access channels (access channels corresponding to non-target page environments), and is not included in the WeChat access channel monthly active statistics. Only when it is determined that there is no page nesting in the requested access page will the subsequent processing steps be continued. This application does not restrict the page nesting check method.

[0125] Step S43, determining that the requested page is not nested by other applications, and obtaining page access configuration parameters for the target page environment in the electronic device;

[0126] Step S44, determining to start an optimization function for counting the number of active page users in the target page environment according to the page access configuration parameters;

[0127] In the actual application of the present application, after obtaining the page access request, the method described in step S43 and step S44 can be directly used to determine whether the electronic device starts the optimization function for the statistics of the number of active page users in the target page environment, such as Figure 5 The flow chart shown can detect whether the electronic device has turned on the internal switch. The internal switch can be a parameter switch used to control whether to execute the Sensors ID replacement logic when accessing the WeChat H5 page to optimize the monthly active statistics. The corresponding page access configuration parameter values ​​are different when it is in different states. In this way, it can be determined by reading the value of the page access configuration parameter to determine whether the current electronic device has turned on the internal switch, but it is not limited to this judgment method.

[0128] Among them, when the electronic device does not start the above-mentioned optimization function, if it is determined that this is a page access request initiated in the target page environment, or even further determined that the requested access page is a target page, it can output a startup prompt information for the optimization function to remind the user to turn on the optimization function. In response to the confirmation operation of the startup prompt information, such as touching the "Start" button in the optimization function startup prompt window, the optimization function will be started, and then subsequent operations will be performed. Of course, if Figure 5 As shown, you do not need to optimize the monthly active statistics at this time and can directly enter the request access page.

[0129] Step S45, determining, based on the page attribute information, that the requested access page belongs to a target page to be accessed in the target page environment;

[0130] In some embodiments, the target page can be a pre-configured page whitelist (e.g. Figure 6 The page whitelist can be dynamically updated, such as Figure 6 As shown, due to the consumption of code parameters (such as parameters returned after silent authorization, used to obtain the user's first identifier) ​​that may be involved in some H5 pages, if the code is consumed in advance at the framework layer to replace the in-line customer identifier (i.e., the second identifier), the business logic of the H5 page itself will be affected. For such pages, this application can configure a page whitelist to filter at the framework layer, so that when a user accesses any target page outside the page whitelist through the WeChat browser, the user information will be associated with the in-line customer data with the help of WeChat authorization (i.e., the user information in the target page environment (such as the first identifier of each user) is associated with the customer data in the enterprise system to determine the second identifier of the same user in the enterprise system), avoiding repeated statistics of the same user's visits. It should be understood that for pages in the page whitelist that users access through the WeChat browser, monthly active statistics are still performed according to traditional processing logic.

[0131] Among them, Figure 6 The page whitelist shown can record the URLs of the target pages applicable to the embodiments of the present application. The page URL to be added to the page whitelist can be entered in the page whitelist URL input box. After the page is determined to be configured as a non-target page, the "Add" button can be clicked to add it to the list page below. In order to facilitate viewing and managing the non-target pages in the page whitelist, in addition to recording its page URL, identification information such as the name of the updater who added the page URL can also be recorded, and the corresponding update time, etc. can be recorded.

[0132] In actual applications, as time goes by and business needs change, you can perform operations on any non-target page in the page whitelist, such as dynamic operations such as deletion or modification, or you can click the "Details" button in the operation list to output the page details of the corresponding non-target page, and determine whether to delete or modify the record content of the non-target page. This application does not limit the implementation process.

[0133] Step S46, obtaining a first identifier of the corresponding page access user in the target page environment;

[0134] Step S47, using the first identifier, determining a second identifier configured for the page access user in the enterprise system;

[0135] Step S48, using the second identifier to replace the third identifier in the Sensors embedding data configured for the requested access page;

[0136] Combined with the above analysis, refer to Figure 5 According to the flow chart shown in the figure and the description of the corresponding parts of steps S46-S48 in the above embodiment, it is determined that the requested access page does not belong to a target page in the page whitelist. The WeChat ID of the user accessing the page can be obtained to replace the in-bank customer ID, that is, the first identifier is obtained and associated with the second identifier of the customer data in the enterprise system (such as in the bank), and the Sensors ID is replaced with the replaced second identifier to achieve deduplication of monthly active data based on the Sensors ID. The implementation process is not described in detail in this embodiment.

[0137] In the embodiment of the present application, after WeChat (i.e., the target page environment) is silently authorized, WeChat will officially jump back to the page callback address (redirect_uri) and carry the code parameter (i.e., the authorization status code) on the page URL, i.e., the WeChat H5 page obtains the code parameter returned by WeChat after silent authorization by redirection. Through the code reference, the WeChat API (Application Programming Interface) can be called to exchange for the web page authorization access_token (access token, i.e., the only interface call credential in the WeChat environment), and the WeChat API can be called through the access_token to exchange for user information (i.e., the first identifier of the page access user), which is associated with the internal customer data to replace the Sensors ID.

[0138] Step S49: output the rendered requested access page.

[0139] In actual applications, since the above-mentioned silent authorization involves page redirection, that is, after completing a rendering output request to access the page (target page), jump to execute the silent authorization step. After completing the silent authorization, redirect the rendering output request to access the page. This will cause the customer to visually feel that the page is rendered twice when entering the requested access page, reducing the user's experience of accessing the page.

[0140] Therefore, in order to avoid multiple renderings of the redirection code scene page, the present application proposes to determine whether the requested access page needs to be redirected before the requested access page is rendered. If the requested access page needs to be redirected, the first rendering of the requested access page will not be performed, and the silent authorization step will be directly jumped to perform, that is, the requested access page under the target page environment is directly silently authorized to redirect the output of the requested access page, thereby reducing the number of renderings of the requested access page and ensuring the visual experience of the user accessing the page.

[0141] Among them, when there is no need to redirect the requested access page, the requested access page can be rendered and output. This application does not limit the page rendering process and its execution device. The rendered requested access page is displayed on the display screen of the electronic device. The implementation process is not described in detail in this application.

[0142] In some embodiments, combined with the processing method described in the above embodiments, after entering the page requested for access this time, or returning to the previous historical output page for access, a page return operation can be performed, such as performing a sliding operation on the touch screen to return to the previous page (such as a sliding operation from bottom to top or from right to left, etc.), etc., hoping to output the previous page. In this process, if WeChat silent authorization involves page redirection, resulting in returning to the previous page on the WeChat side, it may return to the unrendered intermediate page, resulting in a white / black screen on the display screen of the electronic device. In order to avoid this situation, the intermediate page mark can be judged. If it is an intermediate page, the WeChat browser window can be closed to exit the target page environment, or the adjacent historical output page can be jumped to output to ensure that the normal page content is displayed on the display screen of the electronic device.

[0143] Based on this, the electronic device responds to the page return request, determines that there is an unrendered page before entering the current output page, and calls the adjacent historical output page of the current output page for output, or exits the target page environment to avoid outputting intermediate pages and affecting user experience.

[0144] The above introduces the method for processing the number of monthly active users of a statistics page provided in an embodiment of the present application. The following will introduce a device for executing the above method for processing the number of monthly active users of a statistics page.

[0145] Reference Figure 7 , which is a schematic diagram of the structure of a processing device for counting the number of monthly active users of a page proposed in an embodiment of the present application, such as Figure 7 As shown, the processing device for counting the number of monthly active users of the statistics page may include:

[0146] The information determination module 710 is used to determine the page environment information and page attribute information of the requested page in response to the page access request;

[0147] A first identifier acquisition module 720 is used to determine, based on the page environment information and the page attribute information, that the requested access page belongs to a target page accessed under the target page environment, and to acquire a first identifier of the corresponding page access user under the target page environment;

[0148] A second identifier determination module 730, configured to determine a second identifier configured for the page access user in the enterprise system using the first identifier;

[0149] A third identifier replacement module 740 is used to replace the third identifier in the Sensors tracking data configured for the requested access page with the second identifier;

[0150] A page output module 750, configured to output the requested access page obtained by rendering;

[0151] Among them, the Sensors tracking data containing the second identifier is used to realize the statistics of the monthly active users who request to access the page.

[0152] In a possible implementation, the processing device for counting the number of monthly active users of a page may further include:

[0153] The page nesting check module is used to perform page nesting check on the requested access page, determine that the requested access page is not nested by other applications and belongs to the target page accessed in the target page environment, and trigger the first identifier acquisition module 720 to obtain the first identifier of the corresponding page access user in the target page environment.

[0154] In a possible implementation, the processing device for counting the number of monthly active users of a page may further include:

[0155] A page access configuration parameter acquisition module, used to acquire page access configuration parameters in the electronic device for the target page environment;

[0156] An optimization function start determination module is used to determine, based on the page access configuration parameters, to start an optimization function for counting the number of active page users under the target page environment, so as to trigger the first identifier acquisition module 720 to acquire the first identifier of the corresponding page access user under the target page environment when it is determined that the requested access page belongs to the target page accessed under the target page environment;

[0157] The target page is any page outside a pre-configured page whitelist, and the page whitelist can be updated dynamically.

[0158] In some embodiments, the first identifier acquisition module 720 may include:

[0159] A first acquisition unit, configured to acquire, by a silent authorization method in the target page environment, a UnionID of a page access user as a first identifier;

[0160] The second acquisition unit is configured to acquire the OpenID of the page access user as the first identifier through the silent authorization method if the UnionID is not successfully acquired.

[0161] In some embodiments, the second identifier determination module 730 may include:

[0162] A customer data query unit, configured to query customer data in an enterprise system using the first identifier;

[0163] A first determining unit is configured to determine the customer number as a second identifier configured for the page access user in the enterprise system if the customer data includes the customer number configured for the page access user;

[0164] A second determining unit is configured to determine, if the customer data does not include the customer number, a user serial number configured for the page access user included in the customer data, and determine the user serial number as a second identifier configured for the page access user in the enterprise system;

[0165] The third determining unit is configured to determine the first identifier as a second identifier configured for the page access user in the enterprise system if the customer data does not include the user serial number.

[0166] In some embodiments, the third identifier replacement module 740 may include:

[0167] A Sensors buried data determination unit, used to determine the Sensors buried data configured by the electronic device for the requested access page;

[0168] A replacement unit, used to replace the third identifier in the Sensors tracking data with the second identifier; the third identifier includes the Sensors ID.

[0169] In some embodiments, the processing device for counting the number of monthly active users of a page may further include:

[0170] A page redirection determination module is used to determine whether the requested access page needs to be redirected; if the requested access page does not need to be redirected, the page output module 750 is triggered to output the rendered requested access page;

[0171] The redirection module is used to directly perform silent authorization on the requested access page under the target page environment in order to redirect the requested access page when the requested access page needs to be redirected.

[0172] In some embodiments, the processing device for counting the number of monthly active users of a page may further include:

[0173] A page return request response module, used to respond to a page return request, determine that there is an unrendered page before entering the current output page, call the adjacent historical output page output of the current output page, or exit the target page environment;

[0174] The historical output page is a rendered page of the electronic device's historical output.

[0175] An embodiment of the present application also provides a computer program product including computer-readable instructions. When the computer-readable instructions are executed on an electronic device, the electronic device implements any method for processing the number of monthly active users of a statistical page provided in the embodiments of the present application.

[0176] A computer-readable storage medium is also provided in an embodiment of the present application. The storage medium carries one or more computer programs. When the one or more computer programs are executed by an electronic device, the electronic device can implement any one of the processing methods for counting the number of monthly active users of a statistical page provided in an embodiment of the present application.

[0177] The computer-readable storage medium may be any available medium that can be stored by a computer or a data storage device such as a training device or a data center that includes one or more available media. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state disk (SSD)).

[0178] The above introduces the method for processing the number of monthly active users of a statistics page provided in an embodiment of the present application. The following will introduce in detail an electronic device suitable for the method for processing the number of monthly active users of a statistics page proposed in the present application in conjunction with the accompanying drawings.

[0179] Reference Figure 8 , is a schematic diagram of the hardware structure of an electronic device proposed in the first embodiment of the present application. The electronic device may be a user terminal such as a mobile phone, a tablet computer, a wearable device, an augmented reality (AR) / virtual reality (VR) device, a laptop computer, a netbook or a robot, for example Figure 8 As shown, the electronic device may include at least one display screen 810, at least one memory 820 and at least one processor 830, wherein:

[0180] At least one display screen 810, at least one memory 820 and at least one processor 830 can communicate with each other via a bus. The bus can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 8Only one bidirectional line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0181] The display screen 810 can be used to display the user access page. It can be a touch screen or a non-touch screen. In the case where the display screen 810 is a touch screen, the user can use an input device (such as one or more of a finger, a joint, a stylus or a joystick) to perform operations on the touch screen or near the touch screen, such as performing touch operations on the WeChat application icon / applet logo, etc., performing a return operation based on the current page, etc. It should be understood that according to actual needs, other input devices such as mouse keys, function keys (such as volume control keys or power keys, etc.), trackballs, etc. can also be used to perform input operations on electronic devices, which can be determined according to actual conditions, and this application will not be described in detail here.

[0182] The memory 820 can be used to store computer instructions and data, and may include an instruction storage area and a data storage area. The data storage area can store various data, such as historical output page data or page rendering data, etc.; the instruction storage area can store software units such as an operating system, an application, and computer instructions required for at least one function, etc. In an embodiment of the present application, the memory 820 can provide the processor 830 with a plurality of computer-readable instructions for implementing a method for processing the number of monthly active users of a statistical page in an embodiment of the present application, as well as data or other software and hardware resources required during the execution of the method for processing the number of monthly active users of a statistical page.

[0183] The processor 830, as the control center of the electronic device, can use various interfaces and lines to connect various parts of the entire electronic device, and implement the various steps of the processing method for counting the number of monthly active users of a page proposed in the embodiment of the present application by loading and executing multiple computer-readable instructions of the memory 820. The implementation process can refer to the description of the corresponding part of the method embodiment above. Other components of the electronic device (such as communication elements, one or more input components and output components, etc.) can also be called to implement corresponding functions.

[0184] In the embodiment of the present application, the memory 820 may include a volatile memory (volatile memory), such as a random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as a read-only memory (ROM), a flash memory, a hard drive drive (HDD) or a solid state drive (SSD), etc. The processor 830 may include any one or more of a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor (MP), a digital signal processor (DSP), an application specific integrated circuit (ASIC) or a field-programmable gate array (FPGA).

[0185] Among them, the first communication element used to realize communication between the various components inside the electronic device may include but is not limited to: a general-purpose input / output (GPIO) interface, a USB interface, a universal asynchronous receiver / transmitter (UART) interface, etc.; the second communication element used to realize communication between the electronic device and an external device (such as an external display device or a server, etc.) may include but is not limited to: a wireless communication element that supports wireless communication methods such as wifi, 5G / 6G, Global System of Mobilecommunication (GSM), General Packet Radio Service (GPRS) and / or near-field channel methods.

[0186] It should be understood that Figure 8 The structure of the electronic device shown does not constitute a limitation on the electronic device in the embodiment of the present application. In practical applications, the electronic device may include Figure 6 More or fewer components than those shown, or combinations of certain components, such as various sensors, audio players, audio collectors, power supply components, antennas, etc., are not listed one by one in this application.

[0187] It should also be noted that the device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed over multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, in the drawings of the device embodiments provided by the present application, the connection relationship between the modules indicates that there is a communication connection between them, which may be specifically implemented as one or more communication buses or signal lines.

[0188] Through the description of the above implementation mode, the technicians in the field can clearly understand that the present application can be implemented by means of software plus necessary general hardware, and of course, it can also be implemented by special hardware including special integrated circuits, special CPUs, special memories, special components, etc. In general, all functions completed by computer programs can be easily implemented by corresponding hardware, and the specific hardware structure used to implement the same function can also be various, such as analog circuits, digital circuits or special circuits. However, for the present application, software program implementation is a better implementation mode in more cases. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a readable storage medium, such as a computer floppy disk, a U disk, a mobile hard disk, a ROM, a RAM, a disk or an optical disk, etc., including a number of instructions to enable a computer device (which can be a personal computer, a training device, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0189] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loading and executing computer program instructions on a computer, the process or function described in accordance with the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable devices. The computer instruction can be stored in a computer-readable storage medium, or transmitted from a computer-readable storage medium to another computer-readable storage medium, for example, the computer instruction can be transmitted from a website site, a computer, a training device or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, training device or data center.

Claims

1. A method for counting the number of monthly active users of a page, characterized in that: The method comprises: In response to a page access request, determining page environment information and page attribute information of the page requested for access; Determine, based on the page environment information and the page attribute information, that the requested access page belongs to a target page accessed under the target page environment, and obtain a first identifier of the corresponding page access user under the target page environment; Using the first identifier, determining a second identifier configured for the page access user in the enterprise system; Using the second identifier, replace the third identifier in the Sensors tracking data configured for the requested access page; Output the requested access page obtained by rendering; Among them, the Sensors tracking data containing the second identifier is used to realize the statistics of the monthly active users who request to access the page.

2. The method according to claim 1, characterized in that The process of determining, based on the page environment information and the page attribute information, that the requested access page belongs to a target page to be accessed under the target page environment further includes: Perform page nesting check on the requested access page; Determine that the requested access page is not nested by other applications and belongs to a target page accessed in a target page environment, and execute a step to obtain a first identifier of a corresponding page access user in the target page environment.

3. The method according to claim 1, characterized in that The method further comprises: Obtaining page access configuration parameters for the target page environment in the electronic device; According to the page access configuration parameters, determine to start an optimization function for counting the number of active page users in the target page environment, so as to obtain a first identifier of the corresponding page access user in the target page environment when it is determined that the requested access page belongs to the target page accessed in the target page environment; The target page is any page outside a pre-configured page whitelist, and the page whitelist can be updated dynamically.

4. The method according to any one of claims 1 to 3, characterized in that: The step of obtaining a first identifier of a user accessing the corresponding page in the target page environment includes: Obtaining the UnionID of the page access user as the first identifier through a silent authorization method in the target page environment; If the UnionID is not successfully obtained, the OpenID of the page access user is obtained as the first identifier through the silent authorization method.

5. The method according to any one of claims 1 to 3, characterized in that: The using the first identifier to determine a second identifier configured for the page access user in the enterprise system includes: Using the first identifier, querying the customer data in the enterprise system; If the customer data includes a customer number configured for the page access user, determining the customer number as a second identifier configured for the page access user in the enterprise system; If the customer data does not include the customer number, determining a user serial number configured for the page access user and included in the customer data, and determining the user serial number as a second identifier configured for the page access user in the enterprise system; If the customer data does not include the user serial number, the first identifier is determined to be a second identifier configured in the enterprise system for the page access user.

6. The method according to any one of claims 1 to 3, characterized in that: The using the second identifier to replace the third identifier in the Sensors tracking data configured for the requested access page includes: Determine the Sensors buried data configured by the electronic device for the requested access page; Replace the third identifier in the Sensors tracking data with the second identifier; the third identifier includes the Sensors ID.

7. The method according to claim 4, characterized in that The method further comprises: Determine whether it is necessary to redirect the requested access page; If the requested access page needs to be redirected, the requested access page under the target page environment is directly authorized silently to redirect and output the requested access page; If there is no need to redirect the requested access page, execute the step of outputting the rendered requested access page.

8. The method according to claim 4, characterized in that The method further comprises: In response to a page return request, determining that there is an unrendered page before entering the current output page, calling an adjacent historical output page output of the current output page, or exiting the target page environment; The historical output page is a rendered page of the electronic device's historical output.

9. A processing device for counting the number of monthly active users of a page, characterized in that: The device comprises: An information determination module, for determining, in response to a page access request, page environment information and page attribute information of a requested page; A first identifier acquisition module is used to determine, based on the page environment information and the page attribute information, that the requested access page belongs to a target page accessed under the target page environment, and to acquire a first identifier of the corresponding page access user under the target page environment; A second identifier determination module, configured to determine a second identifier configured for the page access user in the enterprise system by using the first identifier; A third identifier replacement module, used to replace the third identifier in the Sensors tracking data configured for the requested access page with the second identifier; A page output module, used for outputting the requested access page obtained by rendering; Among them, the Sensors tracking data containing the second identifier is used to realize the statistics of the monthly active users who request to access the page.

10. An electronic device, characterized in that: The electronic device comprises: at least one display screen, at least one memory and at least one processor, wherein: The display screen is used to display the user access page; The processor is configured to load and execute computer-readable instructions stored in the memory to implement the following steps: In response to a page access request, determining page environment information and page attribute information of the page requested for access; When it is determined based on the page environment information and the page attribute information that the requested page belongs to a target page accessed under the target page environment, obtaining a first identifier of the corresponding page access user under the target page environment; Using the first identifier, determining a second identifier configured for the page access user in the enterprise system; Using the second identifier, replace the third identifier in the Sensors tracking data configured for the requested access page; Output the requested access page obtained by rendering; Among them, the Sensors tracking data containing the second identifier is used to realize the statistics of the monthly active users who request to access the page.