Page display method, system and equipment and medium

Through the mapping relationship between page type and virtual resource type and the mapping relationship between display information, standardized display of virtual resources is achieved, and the problem of high cost of virtual resource development in the existing technology is solved and multi-service needs are met.

CN119027204APending Publication Date: 2024-11-26BEIJING YOUZHUJU NETWORK TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202310594849.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-24
Publication Date
2024-11-26

AI Technical Summary

Technical Problem

When providing virtual resources, existing applications need to be developed multiple times for different businesses, resulting in increased labor and time costs and it is difficult to meet business needs.

Method used

By obtaining the type of the current page, the target virtual resource is determined based on the mapping relationship between the page type and the virtual resource type, and the display information is determined based on the mapping relationship between the page type and the display information, so as to realize the standardized display of virtual resources.

Benefits of technology

It reduces development costs, realizes unified distribution of virtual resources under different page types, meets multiple business needs, and reduces the repeated development of virtual resource functions by operators.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119027204A_ABST
    Figure CN119027204A_ABST
Patent Text Reader

Abstract

The invention provides a page display method, system and device and a medium. The method comprises the steps of obtaining a page type of a current page; determining a target virtual resource corresponding to the page type of the current page according to a first mapping relationship between the page type and a virtual resource type, and determining display information of the target virtual resource according to a second mapping relationship between the page type and the display information; and displaying the target virtual resource in the current page according to the display information corresponding to the target virtual resource. According to the method, the virtual resources can be distributed in a universal and standardized mode, a user does not need to develop related functions for providing the virtual resources for multiple times, the labor cost and the time cost are reduced, and the service requirement for providing the virtual resources under different page types can be met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a page display method, system, electronic device, and computer-readable storage medium. Background Art

[0002] With the rapid development of computer technology, various applications (APPs) have emerged. Applications refer to computer programs written for a specific purpose of users. At present, in order to attract users, many applications can provide users with virtual resources. For example, in order to attract users to buy goods, virtual resources such as coupons and red envelopes can be provided to users in e-commerce applications.

[0003] Specifically, the provider or operator of the application can configure the virtual resources so as to display the page about the virtual resources to the user. For example, the provider or operator of the application can configure the type, display method, and usage conditions of the virtual resources so as to display the page for allocating virtual resources and using virtual resources to the user. However, in order to provide virtual resources for different services of the same application, the provider or operator of the application needs to carry out multiple developments, which increases the manpower and time costs and is difficult to meet the needs of the business. Summary of the invention

[0004] The present application provides a page display method. The method provides virtual resources to users in a universal and standardized manner and displays the virtual resources on a page, thereby reducing development costs and meeting the needs of different businesses. The present application also provides a system, electronic device, computer-readable storage medium, and computer program product corresponding to the above method.

[0005] In a first aspect, the present application provides a page display method. The method comprises:

[0006] Get the page type of the current page;

[0007] Determine a target virtual resource corresponding to the page type of the current page according to a first mapping relationship between the page type and the virtual resource type, and determine display information of the target virtual resource according to a second mapping relationship between the page type and the display information;

[0008] The target virtual resource is displayed in the current page according to the display information corresponding to the target virtual resource.

[0009] In some possible implementations, the display information of the target virtual resource indicates at least one of a display position, a display style, and a display effect of the target virtual resource on the current page, and determining the display information of the target virtual resource according to the second mapping relationship between the page type and the display information includes:

[0010] Determining, according to a second mapping relationship between page type and display information, a plurality of candidate display positions, a plurality of candidate display styles, or a plurality of candidate display effects corresponding to the page type of the current page;

[0011] The display position, display style or display effect of the target virtual resource is determined from the multiple candidate display positions, multiple candidate display styles or multiple candidate display effects.

[0012] In some possible implementations, determining the target virtual resource corresponding to the page type of the current page according to the first mapping relationship between the page type and the virtual resource type includes:

[0013] In response to the virtual resource triggering operation of the current page, a target virtual resource corresponding to the page type of the current page is determined according to a first mapping relationship between the page type and the virtual resource type.

[0014] In some possible implementations, when the virtual resource triggering operation is an operation that triggers the collection of virtual resources, the target virtual resource is a virtual resource that is not hit in the virtual resource set corresponding to the triggering account; when the virtual resource triggering operation is an operation that triggers the viewing of virtual resources, the target virtual resource is a virtual resource that is hit in the virtual resource set corresponding to the triggering account.

[0015] In some possible implementations, determining the target virtual resource corresponding to the page type of the current page according to the first mapping relationship between the page type and the virtual resource type includes:

[0016] Determining a virtual resource type corresponding to the page type of the current page according to a first mapping relationship between the page type and the virtual resource type;

[0017] Determine a candidate virtual resource set corresponding to the virtual resource type from a virtual resource pool, wherein the candidate virtual resource set includes at least one virtual resource;

[0018] A target virtual resource is determined from the virtual resource set.

[0019] In some possible implementations, the method further includes:

[0020] Get the account type of the account used to display the current page;

[0021] The step of determining the target virtual resource from the virtual resource set includes:

[0022] According to the account type, a target virtual resource corresponding to the account type is determined from the virtual resource set.

[0023] In some possible implementations, the method further includes:

[0024] Receive a first mapping relationship between a page type and a virtual resource type configured by a user, and a second mapping relationship between a page type and display information; wherein, the second mapping relationship includes when the page type is a main page, the display information includes a pop-up window style, and when the page type is a live broadcast room page, the display information includes a split-screen style.

[0025] In a second aspect, the present application provides a page display system. The system comprises:

[0026] The page type acquisition module is used to obtain the page type of the current page;

[0027] A virtual resource determination module, configured to determine a target virtual resource corresponding to the page type of the current page according to a first mapping relationship between the page type and the virtual resource type, and to determine display information of the target virtual resource according to a second mapping relationship between the page type and the display information;

[0028] The virtual resource display module is used to display the target virtual resource in the current page according to the display information corresponding to the target virtual resource.

[0029] In some possible implementations, the display information of the target virtual resource indicates at least one of a display position, a display style, and a display effect of the target virtual resource on the current page, and the virtual resource determination module is specifically configured to:

[0030] Determining, according to a second mapping relationship between page type and display information, a plurality of candidate display positions, a plurality of candidate display styles, or a plurality of candidate display effects corresponding to the page type of the current page;

[0031] The display position, display style or display effect of the target virtual resource is determined from the multiple candidate display positions, multiple candidate display styles or multiple candidate display effects.

[0032] In some possible implementations, the virtual resource determination module is specifically used to:

[0033] In response to the virtual resource triggering operation of the current page, a target virtual resource corresponding to the page type of the current page is determined according to a first mapping relationship between the page type and the virtual resource type.

[0034] In some possible implementations, when the virtual resource triggering operation is an operation that triggers the collection of virtual resources, the target virtual resource is a virtual resource that is not hit in the virtual resource set corresponding to the triggering account; when the virtual resource triggering operation is an operation that triggers the viewing of virtual resources, the target virtual resource is a virtual resource that is hit in the virtual resource set corresponding to the triggering account.

[0035] In some possible implementations, the virtual resource determination module is specifically used to:

[0036] Determining a virtual resource type corresponding to the page type of the current page according to a first mapping relationship between the page type and the virtual resource type;

[0037] Determine a candidate virtual resource set corresponding to the virtual resource type from a virtual resource pool, wherein the candidate virtual resource set includes at least one virtual resource;

[0038] A target virtual resource is determined from the virtual resource set.

[0039] In some possible implementations, the system further includes:

[0040] An account type acquisition module, used to acquire the account type of the account used to display the current page;

[0041] The virtual resource determination module is specifically used for:

[0042] According to the account type, a target virtual resource corresponding to the account type is determined from the virtual resource set.

[0043] In some possible implementations, the system further includes:

[0044] A mapping relationship configuration module is used to receive a first mapping relationship between a page type and a virtual resource type configured by a user and a second mapping relationship between a page type and display information; wherein, the second mapping relationship includes when the page type is a main page, the display information includes a pop-up window style, and when the page type is a live broadcast room page, the display information includes a split-screen style.

[0045] In a third aspect, the present application provides an electronic device, the electronic device comprising a processor and a memory. The processor and the memory communicate with each other. The processor is used to execute instructions stored in the memory, so that the electronic device performs the page display method in the first aspect or any implementation of the first aspect.

[0046] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, wherein the instructions instruct an electronic device to execute the page display method described in the first aspect or any one of the implementations of the first aspect.

[0047] In a fifth aspect, the present application provides a computer program product comprising instructions, which, when executed on an electronic device, enables the electronic device to execute the page display method described in the first aspect or any one of the implementations of the first aspect.

[0048] Based on the implementations provided in the above aspects, this application can also be further combined to provide more implementations.

[0049] It can be seen from the above technical solutions that the embodiments of the present application have the following advantages:

[0050] The embodiment of the present application provides a page display method. The method first obtains the type of the current page, determines the target virtual resource corresponding to the page type of the current page according to a first mapping relationship between the page type and the virtual resource type, and determines the display information corresponding to the target virtual resource according to a second mapping relationship between the page type and the display information, and then displays the target virtual resource in the current page according to the display information corresponding to the target virtual resource.

[0051] The method associates the virtual resources displayed by the page and the display information of the virtual resources with the page type through a first mapping relationship and a second mapping relationship, so that the virtual resources displayed by pages of different page types and the display information of the virtual resources, such as the display position, display style or display effect, can be determined according to the page type. In this way, virtual resource distribution can be achieved in a universal and standardized manner. Users (such as operators) do not need to carry out multiple developments for related functions of providing virtual resources, which reduces labor costs and time costs, and can meet the business needs of providing virtual resources under different page types. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] In order to more clearly illustrate the technical method of the embodiments of the present application, the drawings required for use in the embodiments are briefly introduced below.

[0053] Figure 1 An architectural diagram of a page display system provided in an embodiment of the present application;

[0054] Figure 2 A flow chart of a page display method provided in an embodiment of the present application;

[0055] Figure 3 A flowchart of another page display method provided in an embodiment of the present application;

[0056] FIG. 4A to FIG. 4C A schematic diagram of a live broadcast selection page provided in an embodiment of the present application;

[0057] FIG. 5A to FIG. 5C A schematic diagram of a page of a live broadcast room provided by an embodiment of the present application;

[0058] Fig. 6A and Figure 6B A schematic diagram of a flash sale channel page provided in an embodiment of the present application;

[0059] Fig. 7A and Figure 7B A schematic diagram of another page of a live broadcast room provided by an embodiment of the present application;

[0060] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0061] The terms "first" and "second" in the embodiments of the present application are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features.

[0062] First, some technical terms involved in the embodiments of the present application are introduced.

[0063] An application is a computer program written for a specific purpose of a user. Applications can be divided into different types according to their purpose, such as office, entertainment, e-commerce, finance, social networking or games. For example, e-commerce applications may include comprehensive e-commerce, e-commerce live streaming, group buying e-commerce, overseas e-commerce and other applications.

[0064] Virtual resources refer to digital assets in an application that can be allocated to different accounts for use. For example, in e-commerce applications, virtual resources can include coupons, red envelopes, points, virtual coins, etc. Virtual resources are usually deductible. For example, in e-commerce applications, virtual resources can be deducted from cash.

[0065] In order to attract new users, retain old users, and increase the number of daily active users and user retention rate of the application, the application can launch activities related to virtual resources. Users can obtain virtual resources by participating in activities. For example, in e-commerce applications, users can receive coupons of different denominations by participating in promotional activities.

[0066] Specifically, the provider or operator of the application can configure the virtual resources to display the page related to the virtual resources to the user so that the user can participate in the activity. For example, in an e-commerce application, the provider or operator of the application can configure the type, display method, and usage conditions of the coupon to display the page for receiving and using the coupon to the user.

[0067] However, when application providers or operators provide virtual resources for different services of the application, multiple developments are usually required, which increases manpower and time costs and makes it difficult to meet business needs. For example, in e-commerce applications, coupons can be issued under live broadcast services or under product flash sales services. Under different services, e-commerce application providers or operators need to develop functions related to issuing coupons multiple times, such as designing interfaces for issuing coupons and developing functions for querying user coupons, which significantly increases operating costs.

[0068] In view of this, the present application provides a page display method. The method first obtains the type of the current page, determines the target virtual resource corresponding to the page type of the current page according to a first mapping relationship between the page type and the virtual resource type, and determines the display information corresponding to the target virtual resource according to a second mapping relationship between the page type and the display information, and then displays the target virtual resource in the current page according to the display information corresponding to the target virtual resource.

[0069] The method associates the virtual resources displayed by the page and the display information of the virtual resources with the page type through a first mapping relationship and a second mapping relationship, so that the virtual resources displayed by pages of different page types and the display information of the virtual resources, such as the display position, display style or display effect, can be determined according to the page type. In this way, virtual resource distribution can be achieved in a universal and standardized manner. Users (such as operators) do not need to carry out multiple developments for related functions of providing virtual resources, which reduces labor costs and time costs, and can meet the business needs of providing virtual resources under different page types.

[0070] In order to make the technical solution of the present application clearer and easier to understand, the system architecture of the page display method provided in the embodiment of the present application is introduced below with reference to the accompanying drawings.

[0071] Among them, the page display system can be a software system, which can be deployed in a computing device cluster, such as distributedly deployed in a server or terminal, and the computing device cluster executes the program code of the software system to execute the page display method provided in the embodiment of the present application. The page display system can also be a hardware system, which can be a computing device cluster with a page display function. The computing device cluster may include at least one computing device, including but not limited to a cloud server in a cloud computing cluster, an edge server in an edge computing cluster, or a server in a local data center (referred to as a local server). Among them, a local data center refers to a data center directly controlled by a user.

[0072] See also Figure 1 As shown in the schematic diagram of the architecture of the page display system, the page display system 10 includes a page type acquisition module 101, a virtual resource determination module 102, a virtual resource display module 103, a virtual resource configuration module 104, a display information configuration module 104 and a mapping relationship configuration module 106. The virtual resource configuration module 104, the display information configuration module 104 and the mapping relationship configuration module 106 are optional modules. For example, when the page display system 10 is provided with a default virtual resource configuration item, default display information or a default mapping relationship, the page display system 10 may not include the virtual resource configuration module 102, the display information configuration module 104 or the mapping relationship configuration module 106.

[0073] The page type acquisition module 101 is used to acquire the page type of the current page. Specifically, the page type acquisition module 101 may pre-store N page types, and by acquiring the current page, the page type of the current page may be determined according to the business type of the current page.

[0074] The virtual resource determination module 102 is used to determine the target virtual resource and the display information of the target virtual resource according to the page type of the current page. Specifically, the virtual resource determination module 102 can determine the target virtual resource corresponding to the page type of the current page according to a first mapping relationship between the page type and the virtual resource type, and determine the display information of the target virtual resource according to a second mapping relationship between the page type and the display information.

[0075] The virtual resource display module 103 is used to display the target virtual resource in the current page according to the display information of the target virtual resource. According to different page types, the virtual resource display module 103 can display different target virtual resources. For example, the virtual resource display module 103 can display one or more of the virtual resources available to the account, the virtual resources already owned by the account, the virtual resources owned by the account, the instructions for the account to claim the virtual resources, and the instructions for the account to use the virtual resources.

[0076] In some embodiments, the page display system 10 also includes a virtual resource configuration module 104. The virtual resource configuration module 104 is used to support the configuration of virtual resources that need to be displayed, for example, to configure the attribute information of virtual resources to create and manage virtual resources. Among them, the attribute information of virtual resources may include one or more of the denomination of virtual resources, description information of virtual resources, and usage conditions of virtual resources, and the management of virtual resources may include one or more of making virtual resources effective and making virtual resources invalid. Further, different virtual resources can be distributed in different activities (such as various marketing activities), based on which, the virtual resource configuration module 104 can also be used to configure the activities to which the virtual resources are applicable. Similarly, different virtual resources can be distributed to different types of accounts, that is, distributed to different groups of people, based on which, the virtual resource configuration module 102 can also be used to configure the groups to which the virtual resources are applicable, so as to achieve the screening of groups (such as the groups to which virtual resources can be issued).

[0077] In some embodiments, the page display system 10 further includes a display information configuration module 105. The display information configuration module 105 is used to configure the display information of the virtual resource. Among them, the display information of the virtual resource can indicate at least one of the display position, display style or display effect of the virtual resource on the page. The display style can include one or more of the font, character size (also known as font size), character color, background color, and pop-up window type used for display, and the display effect can include one or more of the display animation of the virtual resource and the exit animation of the virtual resource. Among them, the display information configuration module 105 includes a user interface (UI) interface component, and the UI interface component can be used to configure the font, character size, character color, and background color used for display. The display information configuration module 105 can also include a pop-up window component, which supports multiple pop-up window types. When configuring the display information, the corresponding pop-up window type can be selected according to the needs. Further, the display information configuration module 105 can also configure the application version of the virtual resource for version control. For example, the display information configuration module 105 supports the display of the corresponding virtual resource when the application is updated to a specified version (such as the version corresponding to the big promotion activity). The display information configuration module 105 also supports configuration of virtual resource delivery strategies. For example, the display information configuration module 105 supports displaying virtual resources on the current page when the current page is accessed through a first channel, and not displaying virtual resources on the current page when the current page is accessed through a second channel.

[0078] In some embodiments, the page display system 10 also includes a mapping relationship configuration module 106. The mapping relationship configuration module 106 is used to configure a first mapping relationship between a page type and a virtual resource type and a second mapping relationship between a page type and display information. Among them, the first mapping relationship represents the virtual resource type supported by the page type, and the second mapping relationship represents the display position, display style or display effect supported by the page type. Since the configuration information of the mapping relationship configuration module 106 can represent the virtual resource type and display information supported by different page types, the virtual resource configuration module 104 and the display information configuration module 105 do not need to be repeatedly configured for the virtual resource type and display information. For example, the virtual resources can be configured from the virtual resources corresponding to the virtual resource type supported by the page type of the current page, and the display information of the target virtual resource can be configured from the display position or display style supported by the page type of the current page, thereby reducing the configuration cost and improving the configuration efficiency.

[0079] In some embodiments, the page display system also includes an account type acquisition module (not shown in the figure). The account type acquisition module is used to obtain the account type of the account displaying the current page. Among them, the account refers to the account browsed or operated on the current page, and the account type may include a category identifier obtained by classifying the account from at least one dimension, for example, it can be a new account, an old account, or it can also be a beauty account, a food account. By obtaining the account type, the target virtual resource corresponding to the account type can be determined. In this way, the adaptability between the target virtual resource and the account is improved.

[0080] In order to facilitate understanding of the page display method provided in the embodiment of the present application, the process of the page display method will be described below.

[0081] See also Figure 2 A flow chart of a page display method is shown. First, by obtaining the user's operation information, the page type of the current page can be determined. Further, by obtaining the mapping relationship between the page type and the virtual resource type and the mapping relationship between the page type and the display information (for example, the first mapping relationship and the second mapping relationship configured in the mapping relationship configuration module 101), the virtual resource type and the display position or display style supported by the page type of the current page can be determined, so as to determine the target virtual resource and the display information of the target virtual resource according to the obtained configuration information (for example, the configuration information of the virtual resource configuration module 102 and the configuration information of the display information configuration module 104), so that the target virtual resource can be displayed in the current page according to the display information of the target virtual resource. Wherein, the configuration information can be stored in a database, and the database can be a relational database service (RDS).

[0082] In some embodiments, user operation information acquisition, configuration information acquisition, and mapping relationship acquisition may be provided in the form of services, thus eliminating the need to develop related functions for providing virtual resources multiple times, thereby reducing costs.

[0083] The page display system 10 for executing the page display method is introduced above. Based on the above page display system 10, the present application further provides a page display method. Next, the page display method provided by the present application will be described in detail in conjunction with an embodiment.

[0084] See also Figure 3 The flowchart of the page display method shown in FIG. 1 includes:

[0085] S302: Obtain the page type of the current page.

[0086] The current page refers to the page being displayed in the application. Among them, the application can provide at least one page, which can use a graphical user interface (GUI) or a command user interface (CUI) to support interaction with the user, so as to realize the corresponding functions. The above-mentioned page of the application can be loaded into the client for display, and the page currently being displayed by the client is the current page. The user can browse the current page through the client, and further, the user can also perform operations on the current page to interact. For example, in an e-commerce application, when a user triggers the operation of entering a store through the client, the client can display the store homepage of the store. The current page can be the store homepage of the store. The user can browse the products on the store homepage of the store, or view the product details by triggering the operation of the product icon.

[0087] The page type is used to characterize the business type to which the current page belongs. In other words, the page can be classified according to the business type to which the page belongs, thereby obtaining the page type. For example, the business types of an e-commerce application may include live broadcasting business and flash sale business, and the page type may include a live broadcast room page and a flash sale channel page. Multiple pages under the live broadcast business may belong to the live broadcast room page, and multiple pages under the flash sale business may belong to the flash sale channel page.

[0088] In the embodiment of the present application, the page type of the page is obtained by classifying the page. Since the process of providing virtual resources in different page types (i.e., different services of the same application) is similar, if the application provider or operator wants to provide virtual resources in a new page type (i.e., a new service of the application), code reuse can be achieved, thereby saving time and labor costs.

[0089] S304: Determine a target virtual resource corresponding to the current page type according to a first mapping relationship between the page type and the virtual resource type, and determine display information of the target virtual resource according to a second mapping relationship between the page type and the display information.

[0090] Virtual resources refer to digital assets that can be allocated to different accounts in an application for use. For example, in an e-commerce application, virtual resources can be coupons, red envelopes, etc. Among them, virtual resources can be set with usage conditions, such as virtual resources can be set with the time when they can be used, objects that can be used, etc. Further, virtual resources are usually deductible, for example, in e-commerce applications, virtual resources can be deducted from cash. Correspondingly, virtual resources can also be set with a deduction threshold, which can be used to describe the maximum limit that virtual resources can be deducted. In some embodiments, virtual resources can also be general virtual resources, such as virtual resources for which usage conditions and deduction thresholds are not set.

[0091] The virtual resource pool includes a large number of virtual resources. For example, the virtual resource pool of an e-commerce application may include a large number of coupons that can be allocated to different accounts in the e-commerce application. The target virtual resource is at least one virtual resource in the virtual resource pool. The target virtual resource may specifically be a virtual resource in the virtual resource pool corresponding to the page type. Depending on the page type, the target virtual resource may be different. For example, the target virtual resource under the live broadcast room business of an e-commerce application may be a live broadcast room coupon, and the target virtual resource under the flash sale business may be a flash sale coupon.

[0092] Different page types can support different virtual resource types and display information. Among them, the virtual resource type can be used to describe the business type of the virtual resource applicable business. In actual application, a page type can support one or more virtual resource types. For example, in e-commerce applications, virtual resource types can include live broadcast room coupons and platform general coupons. The live broadcast room page supports live broadcast room coupons and platform general coupons. The flash sale channel page supports platform general coupons, but does not support live broadcast room coupons. The display information is used to describe the specific display method of the virtual resource, for example, it can include at least one of the display location, display style or display effect.

[0093] In specific implementation, a user (e.g., a developer) can configure the relevant information of the page type to obtain a first mapping relationship between the page type and the virtual resource type and a second mapping relationship between the page type and the display information. The first mapping relationship represents the virtual resource type supported by the page type, and the second mapping relationship represents the display position, display style, or display effect supported by the page type.

[0094] In this way, the target virtual resource corresponding to the page type of the current page can be determined according to the page type of the current page and the first mapping relationship, and the display information of the target virtual resource with the page type of the current page can be determined according to the page type of the current page and the second mapping relationship.

[0095] In an embodiment of the present application, by configuring the mapping relationship between page type and virtual resource type and the mapping relationship between page type and display information, different page types can support different virtual resource types and different display locations, display styles or display effects, so that users (such as operators) do not need to repeatedly configure virtual resource types and display information, thereby improving configuration efficiency.

[0096] When determining the target virtual resource, the virtual resource type corresponding to the page type of the current page can be determined first according to the page type of the current page, and then a candidate virtual resource set corresponding to the virtual resource type can be determined from the virtual resource pool, and the target virtual resource can be determined from the candidate virtual resource set. The candidate virtual resource set can include at least one virtual resource.

[0097] In some embodiments, the virtual resource type corresponding to the page type of the current page can be determined through the first mapping relationship between the page type of the current page and the virtual resource type, thereby determining the candidate virtual resource set. For example, if the page type of the current page has a first mapping relationship with virtual resource type A and virtual resource type B, then the virtual resource type corresponding to the page type of the current page may include virtual resource type A and virtual resource type B, and then at least one virtual resource included in the candidate virtual resource set may be a virtual resource whose virtual resource type is virtual resource type A or virtual resource type B.

[0098] When determining the target virtual resource from the candidate virtual resource set, the account type of the account on the current page may also be considered. Wherein, the account refers to the account browsed or operated on the current page. The account type may include a category identifier obtained by classifying the account from at least one dimension. In some possible implementations, the account may be classified according to the historical interactive behavior information of the account, wherein the historical interactive behavior information refers to the interactive behavior information of the account under the page type of the current page within the historical time period, and the interactive behavior information may specifically include information on interactive behaviors such as viewing goods, collecting goods, and trading goods. Specifically, when the historical interactive behavior information of the account under the page type of the current page is empty, the account type of the account may be a new account, and when the historical interactive behavior information of the account under the page type of the current page is not empty, the account type of the account may be an old account. In other possible implementations, when the account is a new account, the account type may be determined according to the field in the registration information of the account, for example, if the field in the registration information of the account is beauty, the account type of the account may be a beauty account. When the account is not a new account, the account type may be determined in combination with the historical interactive behavior information of the account. For example, if the historical interactive behavior information of an account mainly involves the field of food, the account type of the account can be determined as food. Furthermore, the account type can be further subdivided into subtypes, for example, food can be divided into Chinese food and Western food, and beauty can be divided into skin care and makeup.

[0099] In this way, the target virtual resource corresponding to the account type can be determined from the candidate virtual resource set according to the account type. It is understandable that the candidate virtual resource set may include virtual resources for different account types. For example, the candidate virtual resource set may include virtual resources for new accounts, and may also include virtual resources for a specific field (such as the beauty field). By determining the target virtual resource by account type, the compatibility between the target virtual resource and the account is improved, thereby providing a target virtual resource with a high degree of compatibility.

[0100] Furthermore, the display information of the target virtual resource may indicate at least one of the display position, display style or display effect of the target virtual resource on the current page. In specific implementation, the display position, display style or display effect of the target virtual resource may be determined according to the page type of the current page. Among them, the display position is used to describe the position when the target virtual resource is displayed on the current page, and the display position may specifically include multiple display positions located in different areas of the current page. The display style is used to describe the way in which the target virtual resource is displayed on the current page, and the display style may specifically include one or more of the font used for display, character size (also known as font size), character color, background color, and pop-up window type. The display effect is used to describe the animation effect when the target virtual resource is displayed on the current page, and the display effect may specifically include one or more of the display animation of the virtual resource and the exit animation of the virtual resource.

[0101] Considering that the number of target virtual resources may exceed the number of display positions supported by the page type of the current page, the display style may also include the display method of the target virtual resources. By determining that the display method corresponding to the target virtual resources is dynamic display, the target virtual resources are displayed in turn in multiple display positions of the current page. For example, if the page type of the current page supports 3 display positions, and the target virtual resources corresponding to the page type of the current page include 6, then the 6 target virtual resources can be divided into 2 groups, and one group of target virtual resources is displayed at a certain interval, such as 20 seconds. For another example, if the number of target virtual resources is less than the number of display positions supported by the page type of the current page, then the target virtual resources can be displayed in a static display manner.

[0102] In some embodiments, a plurality of candidate display positions, a plurality of candidate display styles, or a plurality of candidate display effects corresponding to the page type of the current page can be determined through a second mapping relationship between the page type and the display information, and then the display position, display style, or display effect of the target virtual resource can be determined from the plurality of candidate display positions or the plurality of candidate display styles. Among them, the second mapping relationship between the page type and the display information may include a mapping relationship between the page type and at least one display position, a mapping relationship between the page type and at least one display style, or a mapping relationship between the page type and at least one display effect. For example, the page type of the current page has a second mapping relationship with display position A, display position B, and display position C, the page type of the current page has a second mapping relationship with display style A and display style B, and the page type of the current page has a second mapping relationship with display effect A and display effect B. Based on the second mapping relationship, the user (for example, an operator) can specifically configure the display position, display style, or display effect of the target virtual resource. For example, the display information for the target virtual resource A may include display position C, display style A, and display effect A.

[0103] In some embodiments, when the page type of the current page is a main page (for example, it may include main pages under different services), the display style may include a pop-up window style, so that when the user enters the main page, the target virtual resource may be displayed in a pop-up window style to attract the user's interest. In other embodiments, the page type of the current page is a live broadcast room page, and the display style may include a split screen style, so that the target virtual resource is displayed without affecting the user's viewing of the live broadcast content, thereby improving the screen utilization rate.

[0104] In an embodiment of the present application, a user can perform a virtual resource triggering operation on the current page. The virtual resource triggering operation refers to an operation that triggers virtual resource interaction. For example, the virtual resource triggering operation can be an operation that triggers the collection of virtual resources, an operation that triggers the viewing of virtual resources, etc. The virtual resource triggering operation can be different depending on the triggering method. For example, the virtual resource triggering operation can include one or more of an operation of clicking a virtual resource interaction control with a mouse, an operation of touching a virtual resource interaction control, a shortcut key operation, or a voice command triggering operation.

[0105] In response to the virtual resource triggering operation of the current page, the target virtual resource corresponding to the page type of the current page and the display information of the target virtual resource can be determined. In some embodiments, the virtual resource triggering operation includes an operation of triggering the collection of virtual resources, and the target virtual resource can be a virtual resource that is not hit in the virtual resource set corresponding to the triggering account. Among them, the virtual resource set corresponding to the triggering account can include at least one virtual resource corresponding to the triggering account, for example, at least one virtual resource corresponding to the account identifier of the triggering account, and the missed virtual resource refers to a virtual resource that is not matched with the triggering account. For example, in an e-commerce application, the operation of triggering the collection of virtual resources can be an operation of triggering the collection of coupons, and the target virtual resource can be a coupon that has not been collected in the coupon set corresponding to the triggering account.

[0106] In other embodiments, the virtual resource triggering operation includes an operation of triggering a virtual resource viewing, and the target virtual resource may be a virtual resource hit in the virtual resource set corresponding to the triggering account. The hit virtual resource refers to a virtual resource that matches the triggering account, and may specifically include virtual resources that have been claimed by the triggering account and have not been used, and virtual resources that have been claimed by the triggering account and have been used. For example, in an e-commerce application, the operation of triggering the claiming of a virtual resource may be an operation of triggering the viewing of an existing coupon, and the target virtual resource may be a coupon that has been claimed in the coupon set corresponding to the triggering account.

[0107] S306: Display the target virtual resource in the current page according to the display information corresponding to the target virtual resource.

[0108] Specifically, the target virtual resource can be displayed at the target virtual resource's display position, display style or display effect on the current page. For example, in an e-commerce application, the coupons available for redemption can be displayed in a pop-up window at the display position in the middle area of ​​the live broadcast room page.

[0109] Furthermore, the display style may also include text to be displayed and an icon to be displayed. When the target resource is displayed in the current page, the text to be displayed and the icon to be displayed may also be displayed together, thereby meeting customized display requirements.

[0110] Based on the above description, an embodiment of the present application provides a page display method. The method first obtains the type of the current page, determines the target virtual resource corresponding to the page type of the current page according to a first mapping relationship between the page type and the virtual resource type, and determines the display information corresponding to the target virtual resource according to a second mapping relationship between the page type and the display information, and then displays the target virtual resource in the current page according to the display information corresponding to the target virtual resource.

[0111] The method associates the virtual resources displayed by the page and the display information of the virtual resources with the page type through a first mapping relationship and a second mapping relationship, so that the virtual resources displayed by pages of different page types and the display information of the virtual resources, such as the display position, display style or display effect, can be determined according to the page type. In this way, virtual resource distribution can be achieved in a universal and standardized manner. Users (such as operators) do not need to carry out multiple developments for related functions of providing virtual resources, which reduces labor costs and time costs, and can meet the business needs of providing virtual resources under different page types.

[0112] Next, the page display method provided by this application will be explained in conjunction with specific application scenarios.

[0113] In the e-commerce scenario, virtual resources may include coupons, red envelopes, and other virtual resources that can be distributed to one or more accounts. In order to attract users to purchase goods, coupons can be distributed under different services (i.e., different page types) of e-commerce applications. For example, coupons can be distributed under the live broadcast room page and the flash sale channel page of an e-commerce application.

[0114] When issuing coupons to users, you can display a coupon redemption page to facilitate users to redeem coupons through this page. FIG. 4A to FIG. 4CA schematic diagram of a live broadcast featured page is shown. The page type of the live broadcast featured page 40 may be a live broadcast room page. The server may determine the target coupons to be issued corresponding to the live broadcast room page (usually coupons restricted to be used in the live broadcast room page) and the display information of the target coupons according to the page type of the live broadcast featured page 40.

[0115] In some embodiments, the server can automatically issue the target virtual resource. Specifically, the server can record the browsing time of the user on the current page. When the browsing time reaches a preset browsing time threshold, the target virtual resource can be displayed on the current page according to the display information of the target virtual resource. For example, the server can record the browsing time of the user on the live featured page 40. When the browsing time reaches a preset browsing time threshold (such as 2 seconds), the target coupon to be collected can be displayed to the user based on the display pop-up window 402. In this way, the page for collecting the target virtual resource can be displayed to the user without the user performing a trigger operation.

[0116] Further, the server can also realize the automatic collection of the target virtual resource. Specifically, the server can record the display time of the target virtual resource on the current page. When the display time reaches the preset display time threshold, the target virtual resource can be added to the virtual resource set corresponding to the account displaying the current page, thereby realizing the automatic collection of the target virtual resource. For example, the server can record the display time of the display pop-up window 402 displaying the target coupon in the live selection page 40. When the display time reaches the preset display time threshold (such as 3 seconds), the target coupon can be added to the account corresponding to the user, thereby realizing the automatic collection of the coupon. At the same time, the live selection page 40 can display the successful collection pop-up window 404. In the successful collection pop-up window 404, the denomination of the coupon (such as 10 yuan), the use conditions of the coupon (such as full 200 yuan can be used), the coupon type (such as the coupon corresponding to the live room page, which needs to be used in the live selection) and the coupon use control can be displayed to the user, so that the user can intuitively understand the attribute information of the coupon through the successful collection pop-up window 404 and use the coupon. In some embodiments, if the automatic collection of the target virtual resource fails, for example, there are no coupons available for collection on that day, a prompt message 406 may also be displayed in the live featured page 40 to prompt the user that the coupon collection has failed.

[0117] In the embodiment of the present application, the same page type may include multiple pages, and the server may distribute target virtual resources belonging to the same virtual resource type in multiple pages under the same page type. FIG. 5A to FIG. 5CThe page diagram of a live broadcast room of an anchor is shown, and the page type of the live broadcast room page 50 of the anchor can also be a live broadcast room page. The server can determine the target coupon of the coupon type corresponding to the live broadcast room page and the display information of the target coupon according to the page type of the live broadcast room page 50, so as to issue coupons corresponding to the page type to users in multiple different pages under the same page type.

[0118] Specifically, the anchor live broadcast room page 50 may include a coupon collection trigger control 502. The user can trigger the coupon collection operation by clicking the coupon collection trigger control 502. In response to the coupon collection operation, the target coupon can be displayed to the user based on the coupon collection sub-interface 504. In some embodiments, the page size of the coupon collection sub-interface 504 can correspond to the page size of the anchor live broadcast room page 50. For example, the page length of the coupon collection sub-interface 504 can be 70% of the page length of the anchor live broadcast room page 50, that is, the coupon collection sub-interface 504 can display the target coupon in the anchor live broadcast room page 50 in a 7-split screen manner.

[0119] After the user receives the coupon, the user's existing coupons can also be automatically displayed. For example, the user's existing coupons can be displayed in at least one page included in the page type corresponding to the coupon type. Specifically, the user can click the coupon collection control in the coupon collection sub-interface 504 to receive the coupon. The coupon is a coupon corresponding to the live broadcast room page and needs to be used in the live broadcast selection. In this way, the user's existing coupons can be displayed in the live broadcast selection sub-interface 42. In other embodiments, the coupon can be a universal coupon that can be used in any business of the application, and then the user's existing coupons can be displayed in the sub-interface corresponding to any business of the application.

[0120] In some possible implementations, the user can also actively view existing coupons. Fig. 6A and Figure 6B A schematic diagram of a flash sale channel page is shown. The flash sale channel page 60 includes a coupon viewing control 602, and the user can click the coupon viewing control 602 to trigger the coupon viewing operation. In response to the coupon viewing operation, the user's existing coupons can be displayed on the flash sale channel page 60 based on the coupon list 604. The coupon list 604 can include the user's existing and unused coupons, existing and used coupons, and existing and expired coupons.

[0121] Furthermore, in e-commerce applications, coupons can also be used to retain users. Specifically, when the user triggers the operation of leaving the current page, coupons can be issued to the user to retain the user. Fig. 7Aand Figure 7B Another page schematic diagram of a live broadcast room of an anchor is shown. The live broadcast room page 50 includes a leave control 506, and the user can click the leave control 506 to leave the live broadcast room page 50. In order to retain users and increase the popularity of the live broadcast room, in response to the leave operation, the target coupon can be displayed in the live broadcast room page 50 based on the retention pop-up window 508. The user can receive the coupon through the retention pop-up window 508 and stay on the live broadcast room page 50 to achieve user retention.

[0122] In the embodiment of the present application, by obtaining the page type of the current page, the target coupon corresponding to the page type of the current page can be determined according to the first mapping relationship between the page type and the coupon type, and the display information corresponding to the target coupon can be determined according to the second mapping relationship between the page type and the display information, so that the target coupon can be displayed in the current page according to the display information of the target coupon. In this way, it is possible to display the coupon corresponding to the page type in pages of different page types with the display information corresponding to the page type, thereby increasing the daily active users and user retention rate of the e-commerce application.

[0123] Combination of the above Figure 1 Figure 7 provides a detailed introduction to the page display method provided in the embodiment of the present application. The system and device provided in the embodiment of the present application will be introduced below in conjunction with the accompanying drawings.

[0124] See also Figure 1 The structure diagram of the page display system shown in FIG. 10 includes:

[0125] The page type acquisition module 101 is used to acquire the page type of the current page;

[0126] A virtual resource determination module 102, configured to determine a target virtual resource corresponding to the page type of the current page according to a first mapping relationship between the page type and the virtual resource type, and to determine display information of the target virtual resource according to a second mapping relationship between the page type and the display information;

[0127] The virtual resource display module 103 is used to display the target virtual resource in the current page according to the display information corresponding to the target virtual resource.

[0128] In some possible implementations, the display information of the target virtual resource indicates at least one of a display position, a display style, and a display effect of the target virtual resource on the current page, and the virtual resource determination module 102 is specifically configured to:

[0129] Determining, according to a second mapping relationship between page type and display information, a plurality of candidate display positions, a plurality of candidate display styles, or a plurality of candidate display effects corresponding to the page type of the current page;

[0130] The display position, display style or display effect of the target virtual resource is determined from the multiple candidate display positions, multiple candidate display styles or multiple candidate display effects.

[0131] In some possible implementations, the virtual resource determination module 102 is specifically configured to:

[0132] In response to the virtual resource triggering operation of the current page, a target virtual resource corresponding to the page type of the current page is determined according to a first mapping relationship between the page type and the virtual resource type.

[0133] In some possible implementations, when the virtual resource triggering operation is an operation that triggers the collection of virtual resources, the target virtual resource is a virtual resource that is not hit in the virtual resource set corresponding to the triggering account; when the virtual resource triggering operation is an operation that triggers the viewing of virtual resources, the target virtual resource is a virtual resource that is hit in the virtual resource set corresponding to the triggering account.

[0134] In some possible implementations, the virtual resource determination module 102 is specifically configured to:

[0135] Determining the virtual resource type corresponding to the page type of the current page according to a first mapping relationship between the page type and the virtual resource type;

[0136] Determine a candidate virtual resource set corresponding to the virtual resource type from a virtual resource pool, wherein the candidate virtual resource set includes at least one virtual resource;

[0137] A target virtual resource is determined from the virtual resource set.

[0138] In some possible implementations, the system 10 further includes:

[0139] Account type acquisition module ( Figure 1 (not shown), used to obtain the account type of the account used to display the current page;

[0140] The virtual resource determination module 102 is specifically used for:

[0141] According to the account type, a target virtual resource corresponding to the account type is determined from the virtual resource set.

[0142] In some possible implementations, the system 10 further includes:

[0143] The mapping relationship configuration module 106 is used to receive a first mapping relationship between a page type and a virtual resource type configured by a user and a second mapping relationship between a page type and display information; the second mapping relationship includes when the page type is a main page, the display information includes a pop-up window style, and when the page type is a live broadcast room page, the display information includes a split-screen style.

[0144] The page display system 10 according to the embodiment of the present application may correspond to executing the method described in the embodiment of the present application, and the above and other operations and / or functions of each module / unit of the page display system 10 are respectively to implement Figure 3 For the sake of brevity, the corresponding processes of each method in the illustrated embodiment are not described in detail here.

[0145] The present application also provides an electronic device. The electronic device is specifically used to implement Figure 1 The page display system 10 in the illustrated embodiment shows the functionality of the system 10 .

[0146] Figure 8 A schematic diagram of the structure of an electronic device 800 is provided. Figure 8 As shown, the electronic device 800 includes a bus 801, a processor 802, a communication interface 803 and a memory 804. The processor 802, the memory 804 and the communication interface 803 communicate with each other via the bus 801.

[0147] The bus 801 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 8 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0148] The processor 802 may be any one or more of a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor (MP), or a digital signal processor (DSP).

[0149] The communication interface 803 is used for communicating with the outside. For example, the communication interface 803 can be used for communicating with a terminal. The communication interface 803 is used to obtain the page type of the current page in the terminal so as to display the target virtual resource in the terminal.

[0150] The memory 804 may include a volatile memory, such as a random access memory (RAM). The memory 804 may also include a non-volatile memory, such as a read-only memory (ROM), a flash memory, a hard disk drive (HDD), or a solid state drive (SSD).

[0151] The memory 804 stores executable codes, and the processor 802 executes the executable codes to perform the aforementioned page display method.

[0152] Specifically, in implementing Figure 1 In the case of the embodiment shown, and Figure 1 When each module or unit of the page display system 10 described in the embodiment is implemented by software, the execution Figure 1 The software or program code required for the functions of each module / unit in the application may be partially or completely stored in the memory 804. The processor 802 executes the program code corresponding to each unit stored in the memory 804 to perform the aforementioned page display method.

[0153] The embodiment of the present application also provides a computer-readable storage medium. The computer-readable storage medium can be any available medium that can be stored by a computing device or a data storage device such as a data center that contains one or more available media. The available medium can be a magnetic medium (such as a floppy disk, a hard disk, a tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid-state hard disk). The computer-readable storage medium includes instructions that instruct the computing device to execute the page display method applied to the page display system 10.

[0154] The embodiment of the present application further provides a computer program product, which includes one or more computer instructions. When the computer instructions are loaded and executed on a computing device, the process or function described in the embodiment of the present application is generated in whole or in part.

[0155] The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer or data center to another website, computer or data center via wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means.

[0156] When the computer program product is executed by a computer, the computer executes any of the aforementioned page display methods. The computer program product may be a software installation package, and when any of the aforementioned page display methods is required, the computer program product may be downloaded and executed on a computer.

[0157] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to each embodiment of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0158] The units involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the unit / module does not, in some cases, constitute a limitation on the unit itself.

[0159] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0160] In the context of the present application embodiment, machine-readable medium can be a tangible medium that can contain or store a program for use by an instruction execution system, device or equipment or used in combination with an instruction execution system, device or equipment. Machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. Machine-readable medium can include but is not limited to electronic, magnetic, optical, electromagnetic, infrared or semiconductor systems, devices or equipment, or any suitable combination of the above. More specific examples of machine-readable storage media can include electrical connections based on one or more lines, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above.

[0161] It should be noted that the various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the various embodiments can be referred to each other. For the system or device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description.

[0162] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.

[0163] It should also be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0164] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0165] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A page display method, characterized in that: The method comprises: Get the page type of the current page; Determine a target virtual resource corresponding to the page type of the current page according to a first mapping relationship between the page type and the virtual resource type, and determine display information of the target virtual resource according to a second mapping relationship between the page type and the display information; The target virtual resource is displayed in the current page according to the display information corresponding to the target virtual resource.

2. The method according to claim 1, characterized in that The display information of the target virtual resource indicates at least one of a display position, a display style, and a display effect of the target virtual resource on the current page, and determining the display information of the target virtual resource according to the second mapping relationship between the page type and the display information includes: Determining, according to a second mapping relationship between page type and display information, a plurality of candidate display positions, a plurality of candidate display styles, or a plurality of candidate display effects corresponding to the page type of the current page; The display position, display style or display effect of the target virtual resource is determined from the multiple candidate display positions, multiple candidate display styles or multiple candidate display effects.

3. The method according to claim 1, characterized in that The determining, according to the first mapping relationship between the page type and the virtual resource type, a target virtual resource corresponding to the page type of the current page includes: In response to the virtual resource triggering operation of the current page, a target virtual resource corresponding to the page type of the current page is determined according to a first mapping relationship between the page type and the virtual resource type.

4. The method according to claim 3, characterized in that When the virtual resource triggering operation is an operation that triggers the collection of virtual resources, the target virtual resource is a virtual resource that is not hit in the virtual resource set corresponding to the triggering account; when the virtual resource triggering operation is an operation that triggers the viewing of virtual resources, the target virtual resource is a virtual resource that is hit in the virtual resource set corresponding to the triggering account.

5. The method according to claim 1, characterized in that The determining, according to the first mapping relationship between the page type and the virtual resource type, a target virtual resource corresponding to the page type of the current page includes: Determining a virtual resource type corresponding to the page type of the current page according to a first mapping relationship between the page type and the virtual resource type; Determine a candidate virtual resource set corresponding to the virtual resource type from a virtual resource pool, wherein the candidate virtual resource set includes at least one virtual resource; A target virtual resource is determined from the virtual resource set.

6. The method according to claim 5, characterized in that The method further comprises: Get the account type of the account used to display the current page; The step of determining the target virtual resource from the virtual resource set includes: According to the account type, a target virtual resource corresponding to the account type is determined from the virtual resource set.

7. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: Receive a first mapping relationship between a page type and a virtual resource type configured by a user, and a second mapping relationship between a page type and display information; wherein, the second mapping relationship includes when the page type is a main page, the display information includes a pop-up window style, and when the page type is a live broadcast room page, the display information includes a split-screen style.

8. A page display system, characterized in that: The system comprises: The page type acquisition module is used to obtain the page type of the current page; A virtual resource determination module, configured to determine a target virtual resource corresponding to the page type of the current page according to a first mapping relationship between the page type and the virtual resource type, and to determine display information of the target virtual resource according to a second mapping relationship between the page type and the display information; The virtual resource display module is used to display the target virtual resource in the current page according to the display information corresponding to the target virtual resource.

9. An electronic device, characterized in that: The electronic device comprises a processor and a memory; The processor is configured to execute instructions stored in the memory, so that the electronic device performs the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The method comprises instructions, wherein the instructions instruct an electronic device to execute the method as claimed in any one of claims 1 to 7.

Citation Information

Cited By

  • Page display method and system, device, and medium

    EP4723018A1

  • Page display method and system, device, and medium

    WO2024239977A1