Page processing method and device, electronic equipment and storage medium
By receiving device and network information from terminal devices, querying historical performance information records, identifying target business units, and generating business template data, the problem of inconsistent page loading caused by differences in device and network conditions is solved, improving user experience and reducing page interruption rate.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING WODONG TIANJUN INFORMATION TECH CO LTD
- Filing Date
- 2023-09-13
- Publication Date
- 2026-06-16
AI Technical Summary
Due to differences in users' devices, systems, and network conditions, page loading times vary, affecting user experience. This may lead to user actions before the page loads successfully, increasing page interruption and user churn rates.
By receiving device and network information from the terminal device, querying historical performance information records, identifying the target business unit in the target page that matches the performance information, generating business template data, and sending it to the terminal device for page rendering and display.
Dynamically adjust page display to improve user experience, reduce page interruption rate, decrease user churn rate, and increase revenue.
Smart Images

Figure CN117290624B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of Internet technology, and in particular to a page processing method, apparatus, electronic device, and storage medium. Background Technology
[0002] When a user accesses an application or webpage through a terminal device, the device sends a request to the server and retrieves data, displaying the application or webpage on the user's device. Ideally, all users accessing the same application or webpage should see the same page. However, because users use different devices, operating systems, and have different network conditions, page loading times can vary, potentially leading to a poor user experience for some, resulting in user churn and reduced revenue. Summary of the Invention
[0003] The present invention aims to at least partially solve one of the technical problems in the related art.
[0004] Therefore, the first objective of this invention is to provide a page processing method to achieve dynamic adjustment of the displayed page.
[0005] The second objective of this invention is to propose an alternative page processing method.
[0006] The third objective of this invention is to provide a page processing apparatus.
[0007] The fourth objective of this invention is to provide another page processing apparatus.
[0008] The fifth objective of this invention is to provide an electronic device.
[0009] The sixth object of the present invention is to provide a computer-readable storage medium.
[0010] To achieve the above objectives, a first aspect of the present invention provides a page processing method, comprising:
[0011] Receive an access request for a target page sent by a terminal device, wherein the access request carries device information and / or network information of the terminal device;
[0012] Based on the device information and / or network information of the terminal device, historically collected performance information records are queried to obtain the performance information of the terminal device; wherein, the performance information records are used to record the performance information collected by the terminal device when rendering pages based on historical service template data;
[0013] Based on the performance information of the terminal device, determine the target business unit in the target page that matches the performance information;
[0014] Based on the target business unit, business template data is generated and sent to the terminal device, wherein the business template data is used for page rendering for display.
[0015] To achieve the above objectives, a second aspect of the present invention provides another page processing method, comprising:
[0016] Send an access request for the target page to the server, wherein the access request carries device information and / or network information of the terminal device, the device information and / or network information being used by the server to query historically collected performance information records to obtain the performance information of the terminal device; the performance information records are used to record the performance information collected by the terminal device when rendering the page based on historical business template data;
[0017] The server receives service template data, wherein the service template data is generated based on the performance information of the terminal device, which determines the target service unit in the target page that matches the performance information, and the target service unit.
[0018] The page is rendered and displayed based on the business template data.
[0019] To achieve the above objectives, a third aspect of the present invention provides a page processing apparatus, comprising:
[0020] The first receiving module is used to receive an access request for a target page sent by a terminal device, wherein the access request carries device information and / or network information of the terminal device.
[0021] The query module is used to query historically collected performance information records based on the device information and / or network information of the terminal device to obtain the performance information of the terminal device; wherein, the performance information records are used to record the performance information collected by the terminal device when rendering pages based on historical service template data;
[0022] The determination module is used to determine the target business unit in the target page that matches the performance information based on the performance information of the terminal device;
[0023] The generation module is used to generate business template data based on the target business unit and send it to the terminal device, wherein the business template data is used for page rendering for display.
[0024] To achieve the above objectives, a fourth aspect of the present invention provides another page processing apparatus, comprising:
[0025] The sending module is used to send an access request for a target page to the server. The access request carries device information and / or network information of the terminal device. The device information and / or network information is used by the server to query historically collected performance information records to obtain the performance information of the terminal device. The performance information records are used to record the performance information collected by the terminal device when rendering the page based on historical business template data.
[0026] The second receiving module is used to receive service template data sent by the server, wherein the service template data is generated based on the performance information of the terminal device, the target service unit in the target page that matches the performance information, and the service template data is generated based on the target service unit.
[0027] The rendering module is used to render the page based on the business template data for display.
[0028] To achieve the above objectives, a fifth aspect of the present invention provides an electronic device, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the instructions to implement a page processing method as provided in the above embodiments of the present invention.
[0029] To achieve the above objectives, a sixth aspect of the present invention provides a computer-readable storage medium that, when instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to perform a page processing method as described in the above embodiments of the present invention.
[0030] The present invention has at least the following beneficial effects:
[0031] The system receives an access request for a target page from a terminal device, wherein the access request carries device information and / or network information of the terminal device; based on the device information and / or network information of the terminal device, it queries historically collected performance information records to obtain the performance information of the terminal device; based on the performance information of the terminal device, it determines the target business unit in the target page that matches the performance information; based on the target business unit, it generates business template data and sends it to the terminal device, wherein the business template data is used for page rendering for display. This invention can dynamically adjust the page display based on the performance information of the terminal device, thereby allowing users to see page content faster, improving user experience, reducing page interruption rate, reducing user churn rate, and increasing revenue.
[0032] Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description
[0033] The above and / or additional aspects and advantages of the present invention will become apparent and readily understood from the following description of the embodiments taken in conjunction with the accompanying drawings, wherein:
[0034] Figure 1 This is a schematic flowchart of a page processing method provided in an embodiment of the present invention;
[0035] Figure 2 This is a schematic flowchart of another page processing method provided in an embodiment of the present invention;
[0036] Figure 3 This is a schematic diagram illustrating the acquisition of a performance index value provided in an embodiment of the present invention;
[0037] Figure 4 This is a diagram of a dynamic page configuration structure provided in an embodiment of the present invention;
[0038] Figure 5 This is a page rendering flowchart provided in an embodiment of the present invention;
[0039] Figure 6 This is a schematic flowchart of another page processing method provided in an embodiment of the present invention;
[0040] Figure 7 This is a schematic flowchart of another page processing method provided in an embodiment of the present invention;
[0041] Figure 8 This is a signaling interaction diagram provided in an embodiment of the present invention;
[0042] Figure 9 This is an example structural diagram provided in an embodiment of the present invention;
[0043] Figure 10 This is a data flow diagram provided in an embodiment of the present invention;
[0044] Figure 11 This is a schematic diagram of the structure of a page processing device provided in an embodiment of the present invention;
[0045] Figure 12 This is a schematic diagram of another page processing apparatus provided in an embodiment of the present invention;
[0046] Figure 13 This is a block diagram of an electronic device provided in an embodiment of the present invention. Detailed Implementation
[0047] Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain the present invention, and should not be construed as limiting the present invention.
[0048] The page processing method and apparatus of the present invention are described below with reference to the accompanying drawings.
[0049] Figure 1 This is a schematic flowchart of a page processing method provided in an embodiment of the present invention.
[0050] The server is responsible for data processing and storage, while front-end developers are responsible for designing and implementing the page layout, interactions, and data display. When a user accesses an application or webpage, their terminal device sends a request to the server and retrieves data, displaying the page designed by the front-end developers on the terminal device.
[0051] Because users use different devices, systems, and network conditions, page loading times vary, which may lead to a poor user experience. Before the page loads successfully, users may click back or navigate back to the previous page, move the application (App) to the background, or kill the App, causing the terminal device to fail to display the page in time and increasing the page interruption rate.
[0052] To address this issue, embodiments of the present invention provide a page processing method to achieve dynamic adjustment of the displayed page, such as... Figure 1 As shown, the method includes the following steps:
[0053] Step 101: Receive an access request for the target page sent by the terminal device, wherein the access request carries the device information and / or network information of the terminal device.
[0054] In this embodiment of the invention, the terminal device can be a device that provides data connectivity to the user, such as a mobile phone or computer. The target page is the page displayed on the terminal device when the user accesses an application or webpage, after the user's terminal device sends an access request to the server and retrieves data.
[0055] Optionally, in response to an access request to a target page initiated by a terminal device, the server receives the access request, especially the device information and / or network information of the terminal device carried therein.
[0056] Device information, such as the operating system, brand, and version of the terminal device, can be used to understand the performance characteristics of different terminal devices and the attributes of user groups, so as to better optimize the performance and experience of applications and web pages.
[0057] Network information, such as the operator of the terminal device, Internet Protocol (IP), and network, including technologies like Wi-Fi, 5G, and 4G, allows for better understanding of the user's network environment, enabling more effective network optimization and fault prediction.
[0058] Step 102: Based on the device information and / or network information of the terminal device, query the historically collected performance information records to obtain the performance information of the terminal device.
[0059] Among them, the performance information record is used to record the performance information collected by the terminal device when rendering the page based on historical business template data.
[0060] Optionally, the performance information record is pre-generated. It can be generated by collecting and reporting historical performance information of the target page from multiple dimensions such as different models, different systems, and different networks.
[0061] Optionally, the server queries performance information records based on the received device information and / or network information, compares the received access information with historically collected performance information records, and obtains the performance information corresponding to the terminal device.
[0062] Optionally, the performance information of the terminal device may include indicators such as device information, network information, and page interruption rate. This performance information can measure the quality of the terminal device, enabling the generation of a display page that matches the performance information.
[0063] Step 103: Based on the performance information of the terminal device, determine the target business unit in the target page that matches the performance information.
[0064] It should be noted that the target page is the page displayed on the user's terminal device when the user accesses the application or webpage, after the user's terminal device sends a request to the server and retrieves data.
[0065] Optionally, the target page includes multiple independent business units, which may include product information, settlement information, address information, return and exchange information, invoice information, member information, etc. The business units that the terminal device can support display are determined based on the terminal device's performance information; these are the target business units that match the terminal device's performance information.
[0066] As one possible implementation, if the performance of the terminal device can support the display of all business units on the target page, then all business units are target business units that match the performance information of the terminal device.
[0067] Step 104: Based on the target business unit, generate business template data and send it to the terminal device. The business template data is used for page rendering for display.
[0068] Optionally, a set of business template data is assembled based on the target business unit and sent to the terminal device. The terminal device renders the page based on the business template data to obtain a visual display page, which is then displayed on the terminal device for the user to perform subsequent operations.
[0069] By identifying target service units that match the performance information of the terminal device, corresponding service template data is generated. When the terminal device is a low-end device or the network conditions of the terminal device are poor, only the service template data generated by the target service unit that matches the performance information of the terminal device is displayed, thus avoiding the failure of the target page to load and not affecting the user's subsequent operations.
[0070] In this embodiment, the system first receives an access request for a target page from a terminal device, wherein the access request carries device information and / or network information of the terminal device. Based on the device information and / or network information of the terminal device, historically collected performance information records are queried to obtain the performance information of the terminal device. Based on the performance information of the terminal device, a target business unit matching the performance information in the target page is determined. Based on the target business unit, business template data is generated and sent to the terminal device, wherein the business template data is used for page rendering for display. This invention can obtain performance information based on the access request for a target page sent by the terminal device, and then display business template data matching the performance information on the display page, dynamically adjusting the user page display. This allows users to see page content faster, improves the user experience, reduces page interruption rate, reduces user churn rate, and increases revenue.
[0071] To clearly illustrate the previous embodiment, Figure 1 Based on the illustrated embodiment, this embodiment provides another page processing method. Figure 2 This is a schematic flowchart of another page processing method provided in an embodiment of the present invention.
[0072] like Figure 2 As shown, the method may include the following steps:
[0073] Step 201: Receive an access request for the target page sent by the terminal device, wherein the access request carries the device information and / or network information of the terminal device.
[0074] In this embodiment of the invention, step 201 can refer to the relevant description of step 101 in the foregoing embodiment, and will not be repeated here.
[0075] Step 202: Based on the device information and / or network information of the terminal device, query the historically collected performance information records to obtain the performance information of the terminal device.
[0076] As one possible implementation, the performance information of the terminal device may include at least one of the following: device information, network information, application / web page system information, scene information, page routing information, page lifecycle events, page element rendering information, and page interruption rate.
[0077] Device information, such as the operating system, brand, and version of the terminal device, can be used to understand the performance characteristics of different terminal devices and the attributes of user groups, so as to better optimize the performance and experience of applications and web pages.
[0078] Network information includes, for example, the operator to which the terminal device belongs, the Internet Protocol (IP), and the network itself. Networks include wireless network communication technologies such as Wi-Fi, 5G, and 4G. Based on the network information of the terminal device, we can understand the network environment in which the user is located, so as to better optimize the network and predict network faults.
[0079] Application / webpage system information, such as system version and routing / path, can be used to understand the structure and architecture of an application or webpage, enabling better application and webpage optimization.
[0080] Among them, scenario information, such as terminal information (App, browser, mini-program, etc.), can help us understand the user's usage scenario and terminal device type, so as to carry out better performance optimization and experience design.
[0081] Among them, page routing information, such as collecting page switching time nodes, starts from the triggering of page switching and ends when the page switching animation is completed. Based on page routing information, we can understand the time and process of page switching in order to optimize page smoothness.
[0082] Among them, page lifecycle events include the time of page rendering nodes such as page initialization, page loading (onload), page display (onshow), and page initial rendering completion (onReady). Based on page lifecycle events, we can understand the time distribution of the page lifecycle, so as to make better page performance optimization.
[0083] Among them, page element rendering information, such as the first rendering of the page (the time when the first pixel is rendered on the screen) (the time when the first piece of content is rendered on the screen), and the rendering time of all elements in the visible area of the screen, can be used to understand the rendering speed and smoothness of the page, so as to make better page rendering optimization.
[0084] Among them, the page interruption rate is the number of times a user exits the page before the page is onReady after triggering a page routing event. Based on the page interruption rate, we can understand the page drop-off situation and make better user retention and conversion optimizations.
[0085] Step 203: Determine the performance index value of the terminal device based on the performance information of the terminal device; based on the performance index value, query the display conditions of each business unit pre-configured on the target page, so as to select the business unit whose performance index value meets the display conditions as the target business unit.
[0086] Optionally, performance metrics include User Experience Index (UEI) and key performance indicators.
[0087] Among them, the User Experience Index (UEI) value is obtained by determining the weight and score of the business unit based on the performance information of the terminal device; the key performance indicator value is obtained by measuring through pre-determined quantitative indicators.
[0088] For example, the target page can be divided into three parts: main business, functional attributes, and marketing attributes. Each part includes multiple business units. For instance, the main business may include four business units: address information, product information, settlement information, and payment method; the functional attributes may include two business units: invoice information and return / exchange information; and the marketing attributes may include two business units: recommended group buying information and membership information.
[0089] Based on the performance information of the terminal device, the user's business needs are determined, and then priority levels are marked. For example, for a certain terminal device, when a user accesses the target page, the priority levels of each part are ranked as follows: main business > functional attributes > marketing attributes. The higher the priority level, the greater the weight, and the sum of the weights of the above three parts is 1. As an example, the weight of the main business is 0.5, the weight of the functional attributes is 0.3, and the weight of the marketing attributes is 0.2.
[0090] As one possible implementation, the weight of each business unit included in each part is the weight of the corresponding part. For example, if the weight of the main business is 0.5, then the weight of the four business units included in the main business—address information, product information, settlement information, and payment method—is 0.5.
[0091] As another possible implementation, the weight of any business unit is determined according to the priority level of all business units in its part. For example, for a certain terminal device, when a user accesses the target page, the priority level of the business units included in the main business is ordered as follows: address information > product information > settlement information > payment method. The higher the priority level, the greater the weight, and the sum of the weights of the above four business units is 0.5. As an example, the weight of address information is 0.2, the weight of product information is 0.15, the weight of settlement information is 0.1, and the weight of payment method is 0.05.
[0092] Each business unit is assigned a score based on the performance information of the terminal device, and the weighted average of the business units is calculated to obtain the User Experience Index (UEI) value.
[0093] It should be noted that the weight and score of the corresponding business units may differ for terminal devices with different performance levels, and a comprehensive evaluation based on the above performance information is required.
[0094] Optionally, the target page is pre-configured with configuration information applicable to various UEI values. The configuration information records the display conditions of each business unit when the terminal device meets the corresponding UEI value.
[0095] As one possible implementation, based on the UEI value of the terminal device, the applicable configuration information is queried to obtain the display conditions for each business unit; the business units whose key performance index values of the terminal device meet the display conditions are taken as the target business units.
[0096] For example, if the UEI is below the first threshold, the business unit corresponding to the main business is displayed, and other business units are hidden; if the UEI is in the first interval, the business units corresponding to the main business and functional attributes are displayed according to the priority level of the business units; if the UEI is above the second threshold, all business units are displayed. The first interval is composed of the first threshold and the second threshold.
[0097] After obtaining the configuration information of UEI values for each business unit, the key performance indicator values are calculated for each business unit, and the business units that meet the display conditions of the key performance indicator values are selected as the target business units.
[0098] Key performance indicators (KPIs) are measured using pre-defined quantitative metrics, such as maximum initial page rendering time, initial content rendering time, and interruption rate. For example, if the preset quantitative metric is maximum initial page rendering time, then when a user accesses the target page via a terminal device, the maximum initial page rendering time reaches the quantitative metric, thus meeting the display requirements.
[0099] As another possible implementation, the target service unit is determined based on the UEI value and key performance indicator values of the terminal device.
[0100] For example, adaptation metrics are obtained based on UEI values and key performance indicator values. If the adaptation metrics are below the first threshold, the business unit corresponding to the main business is displayed as the target business unit, and other business units are blocked. If the adaptation metrics are in the first range, the business units corresponding to the main business and functional attributes are displayed as the target business units according to the priority level of the business units. If the adaptation metrics are above the second threshold, all business units are displayed as the target business units.
[0101] As one possible approach, the average of the UEI value and key performance indicator values is calculated as the adaptation metric.
[0102] As another possible implementation, the adaptation index is obtained by weighted summation of the UEI value and the key performance index value.
[0103] Alternatively, the calculation of performance metric values can be performed on a cloud server.
[0104] As an exemplary embodiment, please refer to Figure 3 Users access applications / web pages through terminal devices. Based on the access requests issued by the terminal devices, performance data is collected, including device information, network status, application / web page system information, scene information, page routing events, page lifecycle events, page element rendering time, and resource download time. This data is then uploaded to the cloud storage server. On the other hand, key performance indicators of the terminal devices are collected and calculated through raw data analysis. These key performance indicators include the time taken for the first page rendering, the first content rendering, the maximum content rendering time, and the page interruption rate. This data is also uploaded to the cloud storage server.
[0105] Based on performance data and key performance indicators, and referencing the Lighthouse scoring algorithm to output indicator scores, multi-dimensional UEI indicator weights are formed, and data weight configuration is performed.
[0106] Furthermore, the performance information of terminal devices may change dynamically. For example, the network information in which the terminal device is located may change dynamically, and correspondingly, the performance index values will also change dynamically. Therefore, the target service unit obtained based on the performance index values will change accordingly. Figure 4 As shown, based on the performance information of the terminal device, the corresponding target business unit is obtained and uploaded to the cloud storage server. When the performance information of the terminal device changes, the changed performance index value is obtained through the cloud storage server, and the target business unit is determined again, thereby realizing the dynamic configuration of the display page.
[0107] It's important to note that, under normal circumstances, a shopping app's order page displays three parts of data to the user: main business data, functional attributes, and marketing attributes. However, the time it takes for a user to load the entire page varies depending on the device's performance, which in turn affects the order submission rate. Since the core reason users visit this page is to submit an order, from a data perspective, simply returning the main business data is sufficient to meet user needs. Therefore, in low-performance environments, to avoid impacting user order submissions, other auxiliary functional attribute data is hidden to improve page loading speed, meet basic user needs, and reduce page interruption rates.
[0108] Step 204: If there are multiple target business units, acquire the required business data for each target business unit in parallel; assemble and arrange each target business unit and business data to obtain business template data; and send the business template data to the terminal device.
[0109] Optionally, during the process of acquiring the target business unit, a data orchestration engine based on performance index values and business unit priorities can be formed based on the display conditions, thereby generating the final configuration protocol.
[0110] Optionally, different terminal devices may correspond to different target business units. When a user accesses a target page, the system first obtains the configuration protocol, determines the target business unit, and if there are multiple target business units, requests the business components in parallel to obtain the business data required by the target business unit. The system then arranges the business data according to the configuration protocol, assembles and typesets each target business unit and the business data, and sends the business template data to the terminal device.
[0111] Furthermore, after generating business template data based on the target business unit and sending it to the terminal device, the following steps may also be included:
[0112] Obtain performance information collected when the terminal device renders based on business template data; add the performance information collected when rendering based on business template data to the historical performance information record.
[0113] As another possible implementation, if the performance information of the terminal device is not found in the historically collected performance information records based on the device information and / or network information of the terminal device, then the full service template data of the target page is sent to the terminal device to render and display the full target page.
[0114] Furthermore, after sending the full business template data of the target page to the terminal device, the following steps may also be included:
[0115] Obtain performance information collected by the terminal device during full-volume business template data rendering; add performance information collected during full-volume business template data rendering to the historical performance information record.
[0116] Specifically, such as Figure 5 As shown, when a user accesses an application / page, the access request carries performance information such as the user's device, network, and application. Based on the performance information, the data visualization weight platform reads the matching weight configuration. If a matching weight configuration exists, it means that there is pre-judged data. The matching configuration is read directly to generate business template data for page rendering.
[0117] If there is little performance sample data when a user accesses the site, and no matching weight configuration is identified (i.e., no predictive data exists), the system will return all business template data and collect the user's performance data on the first visit. When the user revisits the site, matching performance data will be obtained (i.e., predictive data exists). The system will read the corresponding configuration, make concurrent requests to business components based on the weight configuration, obtain business unit data, and finally assemble it into business template data to be sent to the terminal device.
[0118] Furthermore, the target page is rendered based on business template data, ultimately providing users with a UI interaction interface based on the terminal device.
[0119] In this embodiment, the performance information of the terminal device is obtained; based on the performance information, the performance index value of the terminal device is determined; based on the performance index value, the display conditions of each business unit pre-configured on the target page are queried, so that the business unit whose performance index value meets the display conditions is selected as the target business unit; when there are multiple target business units, the required business data is obtained for each target business unit in parallel; each target business unit and the business data are assembled and arranged to obtain business template data; and the business template data is sent to the terminal device. This invention can return specific data based on the performance information of the terminal device, and display business template data matching the performance information on the display page, thereby meeting the core needs of users, dynamically adjusting the user page display, allowing users to see page content faster, improving user experience, reducing page interruption rate, reducing user churn rate, and increasing revenue.
[0120] Figure 6 This is a schematic flowchart of another page processing method provided in an embodiment of the present invention.
[0121] like Figure 6 As shown, the method includes the following steps:
[0122] Step 601: Send an access request for the target page to the server. The access request carries device information and / or network information of the terminal device. The device information and / or network information are used by the server to query historically collected performance information records in order to obtain the performance information of the terminal device.
[0123] Optionally, the terminal device sends an access request to the server to request access to the target page.
[0124] In this embodiment of the invention, the terminal device can be a device that provides data connectivity to the user, such as a mobile phone or computer. The target page is the page displayed on the terminal device when the user accesses an application or webpage, after the user's terminal device sends an access request to the server and retrieves data.
[0125] Optionally, in response to an access request to a target page initiated by a terminal device, the server receives the access request, especially the device information and / or network information of the terminal device carried therein.
[0126] Among them, the performance information record is used to record the performance information collected by the terminal device when rendering the page based on historical business template data.
[0127] In this embodiment of the invention, the performance information record is pre-generated.
[0128] Optionally, historical performance information of the target page across different models, operating systems, and networks can be collected and reported to generate performance information records.
[0129] Optionally, the server queries performance information records based on the received device information and / or network information, compares the received access information with historically collected performance information records, and obtains the performance information corresponding to the terminal device.
[0130] Optionally, the performance information of the terminal device may include indicators such as device information, network information, and page interruption rate. This performance information can measure the quality of the terminal device, enabling the generation of a display page that matches the performance information.
[0131] Step 602: Receive service template data sent by the server. The service template data is generated based on the performance information of the terminal device, which determines the target service unit in the target page that matches the performance information.
[0132] Optionally, the terminal device receives service template data sent by the server.
[0133] Among them, the business template data is generated by the server after receiving the access request from the terminal device, based on the performance information of the terminal device, determining the target business unit in the target page accessed by the terminal device that matches its performance information, and then generating it based on the target business unit.
[0134] In this embodiment of the invention, the server determines the target business unit in the target page that matches the performance information based on the performance information of the terminal device.
[0135] Optionally, the target page includes multiple independent business units, which may include product information, settlement information, address information, return and exchange information, invoice information, member information, etc. The business units that the terminal device can support display are determined based on the terminal device's performance information; these are the target business units that match the terminal device's performance information.
[0136] As one possible implementation, if the performance of the terminal device can support the display of all business units on the target page, then all business units are target business units that match the performance information of the terminal device.
[0137] Optionally, a set of service template data is assembled based on the target service unit and sent to the terminal device, which then receives the service template data.
[0138] Step 603: Render the page based on the business template data for display.
[0139] Optionally, the terminal device renders the page based on the business template data to obtain a visual display page, which is then displayed on the terminal device for users to perform subsequent operations.
[0140] By identifying target service units that match the performance information of the terminal device, corresponding service template data is generated. When the terminal device is a low-end device or the network conditions of the terminal device are poor, only the service template data generated by the target service unit that matches the performance information of the terminal device is displayed, thus avoiding the failure of the target page to load and not affecting the user's subsequent operations.
[0141] In this embodiment, an access request for the target page is sent to the server; business template data is received from the server, wherein the business template data is generated based on the performance information of the terminal device, identifying target business units on the target page that match the performance information; and page rendering is performed based on the business template data for display. This invention can dynamically adjust the user page display based on the performance information of the terminal device, allowing users to see page content faster, improving user experience, reducing page interruption rate, decreasing user churn rate, and increasing revenue.
[0142] To clearly illustrate the previous embodiment, Figure 6 Based on the illustrated embodiment, this embodiment provides another page processing method. Figure 7 This is a schematic flowchart of another page processing method provided in an embodiment of the present invention.
[0143] like Figure 7 As shown, the method may include the following steps:
[0144] Step 701: Send an access request for the target page to the server.
[0145] The access request carries device information and / or network information of the terminal device. This device information and / or network information is used by the server to query historically collected performance information records in order to obtain the performance information of the terminal device.
[0146] The specific process for obtaining performance information from terminal devices can be found in [link to relevant documentation]. Figure 2 The relevant description of step 202 in the illustrated embodiment will not be repeated here.
[0147] Step 702: Receive business template data sent by the server.
[0148] Among them, the business template data is generated by determining the target business unit in the target page that matches the performance information based on the performance information of the terminal device, and generating business template data based on the target business unit.
[0149] For details on generating business template data, please refer to [link / reference]. Figure 2 The relevant descriptions of steps 203 and 204 in the illustrated embodiments will not be repeated here.
[0150] Step 703: Render the page based on the business template data for display.
[0151] Optionally, the terminal device renders the page based on the business template data to obtain a visual display page, which is then displayed on the terminal device for users to perform subsequent operations.
[0152] Furthermore, when rendering based on business template data, the performance information of the terminal device is collected; the performance information of the terminal device is sent to the server, whereby the performance information of the terminal device is added to the historically collected performance information record.
[0153] In this embodiment, an access request for the target page is sent to the server; business template data is received from the server; and the page is rendered and displayed based on the business template data. This invention can return specific data based on the performance information of the terminal device, and display business template data matching the performance information on the display page, thereby meeting the user's core needs. It dynamically adjusts the user page display, allowing users to see page content faster, improving the user experience, reducing page interruption rates, decreasing user churn, and increasing revenue.
[0154] To clearly illustrate the page processing method of this invention, the following is combined with... Figure 8 The signaling interaction diagram shown illustrates an exemplary implementation of the page processing method according to an embodiment of the present invention. For example... Figure 8 As shown, the page processing method of this invention includes:
[0155] Step 801: The user sends an access request for the target page to the server through the terminal device.
[0156] Step 802: The server obtains the performance information of the terminal device based on the access request.
[0157] Step 803: The server determines the performance index value of the terminal device based on the performance information of the terminal device.
[0158] Step 804: The server queries the display conditions of each business unit pre-configured on the target page based on the performance index values.
[0159] Step 805: The server selects the business units whose performance metric values meet the display conditions as the target business units.
[0160] Step 806: When there are multiple target business units, the server acquires the required business data for each target business unit in parallel.
[0161] Step 807: The server assembles and arranges each target business unit and business data to obtain business template data.
[0162] Step 808: The server sends service template data to the terminal device.
[0163] Step 809: The terminal device renders the page based on the business template data for display.
[0164] As another exemplary embodiment, please refer to Figure 9 When a user accesses a target page, the server retrieves performance data from the user's access request, stores it in a cloud storage server, and processes the performance data to determine performance metrics, including UEI values and key performance data. Based on these performance metrics, target business units are identified. During the acquisition of target business units, a data orchestration engine based on performance metric values and business unit priorities can be formed, generating the final configuration protocol. When a user accesses the target page, the configuration protocol is first obtained, the target business units matching the terminal device's performance data are identified, and the necessary business data for each target business unit is acquired. These target business units and business data are then assembled and arranged into a set of business template data. When the terminal device's performance data changes, the performance metrics change accordingly, leading to corresponding changes in the matching target business units determined by the configuration protocol, generating new business template data, thus forming dynamic data. The business template data is then sent to the terminal device for page rendering and display.
[0165] As another exemplary embodiment, please refer to Figure 10 When a user accesses the target page, the terminal device accesses the server, which determines whether the performance information carried by the user contains the predicted data, i.e., whether there is a matching weight configuration.
[0166] When no matching weight configuration exists, i.e., no predictive data is available, the full set of business template data for the target page is sent to the terminal device to render and display the full target page. Furthermore, the performance information collected by the terminal device during rendering based on the full set of business template data is obtained, and this performance information is added to the historical performance information record.
[0167] The collected performance data includes key performance data, namely the time taken for the first page rendering, the page content rendering, and the interruption rate.
[0168] When a matching weight configuration exists, i.e. when predictive data exists, the corresponding weight configuration is read, the target business unit is obtained based on the weight configuration and the corresponding UEI value is obtained, and then the business component is requested to obtain the business unit data. The business component data is then assembled through the data orchestration engine to generate business template data.
[0169] To implement the above embodiments, the present invention also proposes a page processing apparatus.
[0170] Figure 11 This is a schematic diagram of a page processing device provided in an embodiment of the present invention.
[0171] like Figure 11 As shown, the page processing device 1100 includes: a first receiving module 1101, a query module 1102, a determining module 1103, and a generating module 1104.
[0172] The first receiving module 1101 is used to receive an access request for a target page sent by a terminal device, wherein the access request carries device information and / or network information of the terminal device.
[0173] The query module 1102 is used to query historically collected performance information records based on the device information and / or network information of the terminal device in order to obtain the performance information of the terminal device; wherein, the performance information record is used to record the performance information collected by the terminal device when rendering the page based on historical service template data;
[0174] The determination module 1103 is used to determine the target business unit in the target page that matches the performance information based on the performance information of the terminal device;
[0175] The generation module 1104 is used to generate business template data based on the target business unit and send it to the terminal device. The business template data is used for page rendering for display.
[0176] Furthermore, in one possible implementation of this invention, the determining module 1103 is further configured to:
[0177] Determine the performance index values of the terminal device based on its performance information;
[0178] Based on the performance metric values, query the display conditions of each business unit pre-configured on the target page, and select the business units whose performance metric values meet the display conditions as the target business units.
[0179] Performance metrics include User Experience Index (UEI) and key performance metrics. The target page is pre-configured with various UEI values and the configuration information records the display conditions of each business unit when the terminal device meets the corresponding UEI value.
[0180] Based on the UEI value of the terminal device, query the applicable configuration information to obtain the display conditions for each service unit;
[0181] Business units whose key performance indicators of terminal devices meet the display conditions are designated as target business units.
[0182] Furthermore, in one possible implementation of this invention, the generation module 1104 is further configured to:
[0183] When there are multiple target business units, the required business data is acquired in parallel for each target business unit.
[0184] The target business units and business data are assembled and laid out to obtain business template data;
[0185] Send service template data to the terminal device.
[0186] Obtain performance information collected when the terminal device renders based on business template data;
[0187] Add performance information collected during rendering based on business template data to the historical performance information records.
[0188] If the performance information of the terminal device is not found in the historically collected performance information records based on the device information and / or network information of the terminal device, then the full business template data of the target page is sent to the terminal device to render and display the full target page.
[0189] Obtain performance information collected by the terminal device during rendering based on the full volume of business template data;
[0190] Add performance information collected during the rendering of full business template data to the historical performance information records.
[0191] It should be noted that the foregoing explanation of the page processing method embodiment also applies to the page processing device of this embodiment, and will not be repeated here.
[0192] To implement the above embodiments, the present invention also proposes another page processing apparatus. Figure 12 This is a schematic diagram of another page processing device provided in an embodiment of the present invention.
[0193] like Figure 12 As shown, the page processing device 1200 includes: a sending module 1201, a second receiving module 1202, and a rendering module 1203.
[0194] The sending module 1201 is used to send an access request for the target page to the server. The access request carries device information and / or network information of the terminal device. The device information and / or network information is used by the server to query historically collected performance information records to obtain the performance information of the terminal device. The performance information records are used to record the performance information collected by the terminal device when rendering the page based on historical business template data.
[0195] The second receiving module 1202 is used to receive service template data sent by the server. The service template data is generated based on the performance information of the terminal device, which determines the target service unit in the target page that matches the performance information.
[0196] Rendering module 1203 is used to render pages based on business template data for display.
[0197] Furthermore, in one possible implementation of this invention, the rendering module 1203 is further configured to:
[0198] When rendering based on business template data, collect performance information of the terminal device;
[0199] The performance information of the terminal device is sent to the server, and the performance information of the terminal device is used to add to the historical performance information record.
[0200] It should be noted that the foregoing explanation of the page processing method embodiment also applies to the page processing device of this embodiment, and will not be repeated here.
[0201] Figure 13 This is a block diagram of an electronic device 1300 provided in an embodiment of the present invention.
[0202] like Figure 13 As shown, the aforementioned electronic device 1300 includes:
[0203] The memory 1301 and the processor 1302 are connected by a bus 1303, which connects different components (including the memory 1301 and the processor 1302). The memory 1301 stores a computer program, and when the processor 1302 executes the program, it implements the page processing method of the present invention.
[0204] Bus 1303 represents one or more of several bus architectures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of the various bus architectures. Examples of these architectures include, but are not limited to, the Industry Standard Architecture (ISA) bus, the Micro Channel Architecture (MAC) bus, the Enhanced ISA bus, the Video Electronics Standards Association (VESA) local bus, and the Peripheral Component Interconnect (PCI) bus.
[0205] Electronic device 1300 typically includes a variety of electronic device readable media. These media can be any available media that can be accessed by electronic device 1300, including volatile and non-volatile media, removable and non-removable media.
[0206] Memory 1301 may also include computer system readable media in the form of volatile memory, such as random access memory (RAM) 1304 and / or cache memory 1305. Electronic device 1300 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system 1306 may be used to read and write non-removable, non-volatile magnetic media (… Figure 13 Not shown; usually referred to as a "hard drive"). Although Figure 13 Not shown, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk") and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 1303 via one or more data media interfaces. Memory 1301 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of the embodiments of the present invention.
[0207] A program / utility 1308 having a set (at least one) of program modules 1307 may be stored, for example, in memory 1301. Such program modules 1307 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include an implementation of a network environment. Program modules 1307 typically perform the functions and / or methods described in the embodiments of the present invention.
[0208] Electronic device 1300 can also communicate with one or more external devices 1309 (e.g., keyboard, pointing device, display 1311, etc.), and with one or more devices that enable a user to interact with the electronic device 1300, and / or with any device that enables the electronic device 1300 to communicate with one or more other computing devices (e.g., network card, modem, etc.). This communication can be performed via input / output (I / O) interface 1312. Furthermore, electronic device 1300 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via network adapter 1313. Figure 13 As shown, network adapter 1313 communicates with other modules of electronic device 1300 via bus 1303. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with electronic device 1300, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0209] The processor 1302 performs various functional applications and data processing by running programs stored in the memory 1301.
[0210] To implement the above embodiments, the present invention also proposes a non-transitory computer-readable storage medium, which, when the instructions in the storage medium are executed by the processor of an electronic device, enables the electronic device to perform a page processing method as described above. Optionally, the computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0211] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the present invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Moreover, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0212] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of that feature. In the description of this invention, "a plurality of" means at least two, such as two, three, etc., unless otherwise explicitly specified.
[0213] Any process or method description in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing custom logic functions or processes, and the scope of preferred embodiments of the invention includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as should be understood by those skilled in the art to which embodiments of the invention pertain.
[0214] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-included system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable media include: an electrical connection having one or more wires (electronic device), a portable computer disk drive (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Alternatively, the computer-readable medium may be paper or other suitable media on which the program can be printed, since the program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in a computer memory.
[0215] It should be understood that various parts of the present invention can be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware as in another embodiment, it can be implemented using any of the following techniques known in the art, or a combination thereof: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.
[0216] Those skilled in the art will understand that all or part of the steps of the methods in the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.
[0217] Furthermore, the functional units in the various embodiments of the present invention can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into a module. The integrated module can be implemented in hardware or as a software functional module. If the integrated module is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.
[0218] The storage medium mentioned above can be a read-only memory, a disk, or an optical disk, etc. Although embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and should not be construed as limiting the present invention. Those skilled in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of the present invention.
Claims
1. A page processing method, characterized in that, Includes the following steps: Receive an access request for a target page sent by a terminal device, wherein the access request carries device information and / or network information of the terminal device; Based on the device information and / or network information of the terminal device, historically collected performance information records are queried to obtain the performance information of the terminal device; wherein, the performance information records are used to record the performance information collected by the terminal device when rendering pages based on historical service template data; Based on the performance information of the terminal device, determine the target business unit in the target page that matches the performance information; Based on the target business unit, business template data is generated and sent to the terminal device, wherein the business template data is used for page rendering for display; The step of determining the target service unit in the target page that matches the performance information based on the performance information of the terminal device includes: Based on the performance information of the terminal device, determine the performance index value of the terminal device; Based on the performance index value, query the display conditions of each business unit pre-configured on the target page, so as to select the business unit whose performance index value meets the display conditions as the target business unit; The performance index values include the User Experience Index (UEI) and key performance index values. The UEI value is obtained by determining the weight and score of the business unit based on the performance information of the terminal device. The key performance index values are obtained by measuring through pre-determined quantitative indicators. The target page is pre-configured with configuration information applicable to various UEI values. The configuration information records the display conditions of each business unit when the terminal device meets the corresponding UEI value. The step of querying the display conditions of each business unit pre-configured on the target page based on the performance index value, so as to select the business unit whose performance index value meets the display conditions as the target business unit, includes: Based on the UEI value of the terminal device, query the applicable configuration information to obtain the display conditions for each service unit; The business units whose key performance indicators of the terminal device meet the display conditions are designated as the target business units.
2. The method according to claim 1, characterized in that, The step of generating service template data based on the target service unit and sending it to the terminal device includes: When there are multiple target business units, the required business data are acquired in parallel for each target business unit. The target business units and the business data are assembled and arranged to obtain the business template data; Send the service template data to the terminal device.
3. The method according to claim 1, characterized in that, After generating service template data based on the target service unit and sending it to the terminal device, the process further includes: Obtain performance information collected when the terminal device renders based on the service template data; Add the performance information collected during rendering based on the business template data to the historically collected performance information record.
4. The method according to claim 1, characterized in that, After receiving the access request for the target page sent by the terminal device, the method further includes: If the performance information of the terminal device is not found in the historically collected performance information records based on the device information and / or the network information of the terminal device, then the full service template data of the target page is sent to the terminal device to render and display the full target page.
5. The method according to claim 4, characterized in that, After sending the full service template data of the target page to the terminal device to render and display the full target page, the method further includes: Obtain the performance information collected by the terminal device during rendering based on the full volume of service template data; Add performance information collected during the rendering of the full volume of business template data to the historically collected performance information record.
6. A page processing method, characterized in that, Includes the following steps: Send an access request for the target page to the server, wherein the access request carries device information and / or network information of the terminal device, the device information and / or network information being used by the server to query historically collected performance information records to obtain the performance information of the terminal device; the performance information records are used to record the performance information collected by the terminal device when rendering the page based on historical business template data; The server receives service template data, wherein the service template data is generated based on the performance information of the terminal device, which determines the target service unit in the target page that matches the performance information, and the target service unit. The page is rendered and displayed based on the aforementioned business template data; The target business unit is determined based on the performance information of the terminal device. The performance index values include the User Experience Index (UEI) and key performance index values. The UEI value is obtained by determining the weight and score of the business unit based on the performance information of the terminal device. The key performance index values are obtained by measuring pre-determined quantitative indicators. Based on the UEI value of the terminal device, applicable configuration information is queried to obtain the display conditions for each business unit. The business unit whose key performance index value of the terminal device meets the display conditions is selected as the target business unit.
7. The method according to claim 6, characterized in that, The method further includes: When rendering based on the business template data, the performance information of the terminal device is collected. The performance information of the terminal device is sent to the server, wherein the performance information of the terminal device is used to add to the historically collected performance information record.
8. A page processing apparatus, characterized in that, include: The first receiving module is used to receive an access request for a target page sent by a terminal device, wherein the access request carries device information and / or network information of the terminal device. The query module is used to query historically collected performance information records based on the device information and / or network information of the terminal device to obtain the performance information of the terminal device; wherein, the performance information records are used to record the performance information collected by the terminal device when rendering pages based on historical service template data; The determination module is used to determine the target business unit in the target page that matches the performance information based on the performance information of the terminal device; The generation module is used to generate business template data based on the target business unit and send it to the terminal device, wherein the business template data is used for page rendering for display. The determining module is specifically used to determine the performance index value of the terminal device based on the performance information of the terminal device. Based on the performance index value, query the display conditions of each business unit pre-configured on the target page, so as to select the business unit whose performance index value meets the display conditions as the target business unit; The performance index values include the User Experience Index (UEI) and key performance index values. The UEI value is obtained by determining the weight and score of the business unit based on the performance information of the terminal device. The key performance index values are obtained by measuring through pre-determined quantitative indicators. The target page is pre-configured with configuration information applicable to various UEI values. The configuration information records the display conditions of each business unit when the terminal device meets the corresponding UEI value. The determining module is also used to query applicable configuration information based on the UEI value of the terminal device to obtain the display conditions for each service unit. The business units whose key performance indicators of the terminal device meet the display conditions are designated as the target business units.
9. A page processing apparatus, characterized in that, include: The sending module is used to send an access request for a target page to the server. The access request carries device information and / or network information of the terminal device. The device information and / or network information is used by the server to query historically collected performance information records to obtain the performance information of the terminal device. The performance information records are used to record the performance information collected by the terminal device when rendering the page based on historical business template data. The second receiving module is used to receive service template data sent by the server, wherein the service template data is generated based on the performance information of the terminal device, the target service unit in the target page that matches the performance information, and the service template data is generated based on the target service unit. The rendering module is used to render the page based on the business template data for display. The target business unit is determined based on the performance information of the terminal device. The performance index values include the User Experience Index (UEI) and key performance index values. The UEI value is obtained by determining the weight and score of the business unit based on the performance information of the terminal device. The key performance index values are obtained by measuring pre-determined quantitative indicators. Based on the UEI value of the terminal device, applicable configuration information is queried to obtain the display conditions for each business unit. The business unit whose key performance index value of the terminal device meets the display conditions is selected as the target business unit.
10. An electronic device, characterized in that, include: processor; Memory for storing the executable instructions of the processor; The processor is configured to execute the instructions to implement the method as claimed in any one of claims 1 to 5 or 6 to 7.
11. A computer-readable storage medium, characterized in that, When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is able to perform the method as claimed in any one of claims 1 to 5 or 6 to 7.