[go: up one dir, main page]

WO2025036016A1 - Benefit information display method and electronic device - Google Patents

Benefit information display method and electronic device Download PDF

Info

Publication number
WO2025036016A1
WO2025036016A1 PCT/CN2024/104317 CN2024104317W WO2025036016A1 WO 2025036016 A1 WO2025036016 A1 WO 2025036016A1 CN 2024104317 W CN2024104317 W CN 2024104317W WO 2025036016 A1 WO2025036016 A1 WO 2025036016A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
rights
items
interests
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
PCT/CN2024/104317
Other languages
French (fr)
Chinese (zh)
Inventor
王洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Alibaba International Internet Industry Co Ltd
Original Assignee
Hangzhou Alibaba International Internet Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Alibaba International Internet Industry Co Ltd filed Critical Hangzhou Alibaba International Internet Industry Co Ltd
Publication of WO2025036016A1 publication Critical patent/WO2025036016A1/en
Pending legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/01Customer relationship services

Definitions

  • the present application relates to the field of information technology, and in particular to a method and electronic device for displaying equity information.
  • membership system In many application systems, there is a membership system, and users can obtain more membership benefits by becoming a higher level member. For example, in the commodity information service system, a variety of different membership types can be provided for merchant users. At a higher membership level, merchants can obtain multiple membership benefits such as industry management guidance, priority for high-quality logistics services, and so on.
  • customer service staff usually introduces information such as the rights and interests that can be enjoyed under various membership levels to users.
  • information about the rights and interests that can be used is usually revealed in multiple different scenarios. For example, when a merchant ships goods to overseas users, the user may be prompted that the merchant enjoys "sea shipping priority", etc. It can be seen that in this way, the user's perception and use of various rights and interests are in a relatively passive state. Therefore, many rights and interests may be difficult for users to use, or the frequency of use is very low, so that it is difficult to reflect the value that the corresponding membership level can actually bring to the user.
  • the present application provides a method and electronic device for displaying rights and interests information, which can aggregate and display information of multiple different rights and interests items on the same page, and has low development cost and high scalability.
  • the rights and interests data definition template includes a plurality of data fields, wherein the plurality of data fields include a data field related to basic information and a data field related to user usage;
  • the data of the user in multiple data fields of multiple rights and interests items are saved, wherein the data in the data fields related to the user's usage is determined according to the user's rights and interests item usage information and the data display rule information;
  • the data of the target user on multiple data fields of the multiple rights and interests items are read from the saved information and assembled into display contents corresponding to the multiple rights and interests items respectively, so as to display the display contents corresponding to the multiple rights and interests items respectively in the target page.
  • the data display rule information specifically includes: the correspondence between the candidate values of the same benefit item in the same field and the user's usage, so as to determine the data to be displayed for the corresponding benefit item in the corresponding field from the candidate values of the corresponding benefit item in the corresponding field according to the usage information of the specific user.
  • the fields related to user usage include: description text and/or action items to be displayed when displaying benefit items;
  • the action item information includes the name of the action item and a jump address, so as to jump to a corresponding page according to the jump address to obtain detailed information related to the benefit item, or to perform processing related to the benefit item.
  • the description text includes: the number of times the target user has used the benefit item, the remaining number of times and/or the information on the use effect obtained.
  • the description text includes: functional description summary information about the benefit item.
  • the usage information of the multiple rights and interests items of multiple users is obtained, and according to the usage information and the data display rules, the data on the data field related to the user's usage is determined when the rights and interests items are displayed to each user.
  • the rights and interests data definition template includes: a first template and a second template, wherein the first template is used to define data fields related to the rights and interests items and basic information, and the second template is used to define data fields related to multiple rights and interests items and user usage conditions;
  • data on the data fields of the plurality of equity items and the basic information are saved as equity configuration information
  • the data of the multiple rights and interests items in the data fields related to the basic information and the data of the data fields related to the user usage are assembled to generate display contents corresponding to the multiple rights and interests items respectively.
  • the data of the multiple rights and interests items corresponding to the member type in the data fields related to the basic information are obtained from the rights and interests configuration information.
  • the following further includes:
  • the corresponding processor module is determined according to the member type information, so that the processor module can read and assemble the data.
  • the equity configuration information includes a sorting index field corresponding to the equity item
  • the method further comprises:
  • the display contents corresponding to the multiple rights and interests items are sorted so as to be displayed in the target page in a corresponding order.
  • the benefit configuration information and/or benefit usage related data information are updated to update the displayed benefit item and/or the corresponding displayed content.
  • a method for displaying equity information comprising:
  • Target page includes display contents corresponding to a plurality of rights and interests items, respectively, and the display contents are generated by reading and assembling the data of the target user on a plurality of data fields of the plurality of rights and interests items by the same processor module;
  • the data of the target user on the multiple data fields of the multiple rights and interests items are determined according to the rights and interests data definition template, including data fields related to basic information and data fields related to user usage.
  • the data in the data field related to the user's usage is determined based on the user's benefit item usage information and the data display rules.
  • the display contents corresponding to the multiple rights and interests items include:
  • the action item information corresponding to the equity item including the name of the action item and the jump address, so as to jump to the corresponding page according to the jump address to obtain detailed information related to the equity item, or perform processing related to the equity item;
  • a device for displaying equity information comprising:
  • a template acquisition unit used to acquire a rights and interests data definition template, wherein the rights and interests data definition template includes a plurality of data fields, wherein the plurality of data fields include a data field related to basic information and a data field related to user usage;
  • a data acquisition unit configured to save the data of the user in multiple data fields of multiple benefit items according to the benefit data definition template, wherein the data in the data field related to the user's usage is determined according to the user's benefit item usage information and the data display rule;
  • a display content construction unit is used to respond to a request for viewing rights information initiated by a target user, read the data of the target user on multiple data fields of the multiple rights items from the saved information, and assemble them into display contents corresponding to the multiple rights items respectively, so as to display the display contents corresponding to the multiple rights items respectively in the target page.
  • a device for displaying equity information comprising:
  • a request receiving unit used to receive a request initiated by a target user to view rights and interests information
  • a page display unit used for displaying a target page, wherein the target page includes display contents corresponding to a plurality of rights and interests items, respectively, and the display contents are generated by reading and assembling the data of the target user on a plurality of data fields of the plurality of rights and interests items by the same processor module;
  • the data of the target user in multiple data fields of the multiple rights and interests items are determined according to the rights and interests data definition template, including data fields related to basic information and data fields related to user usage.
  • the data in the data fields related to user usage is determined based on the user's rights and interests item usage information and the data display rules.
  • a computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of any of the methods described above.
  • An electronic device comprising:
  • a memory associated with the one or more processors the memory being used to store program instructions, wherein the program instructions, when read and executed by the one or more processors, execute the steps of any of the methods described above.
  • the display information of multiple different rights and interests items can be standardized and disassembled and extracted into a standardized template.
  • the data that needs to be displayed corresponding to the rights and interests items can be split into data fields related to basic information and data fields related to user usage.
  • the data display rules on the fields related to user usage corresponding to multiple rights and interests items under different user usage conditions can also be configured.
  • the data of the user on multiple data fields of multiple rights and interests items can be saved according to the rights and interests data definition template. Among them, the data on the fields related to user usage can be determined based on the user's usage information of the multiple rights and interests items and the aforementioned data display rules.
  • the data of the target user on multiple data fields of the multiple rights and interests items can be read from the saved information, and assembled into the display content corresponding to the multiple rights and interests items, so as to be displayed on the target page.
  • the information of multiple different rights and interests items can be aggregated and displayed on the same page, and information related to user usage can be displayed.
  • the information that needs to be conveyed in the same field for each benefit item may be different and related to the specific user's use of the corresponding benefit item
  • the data fields corresponding to each benefit item are uniformly defined and the data to be displayed for different users in multiple fields of each benefit item can be obtained in advance, when it is necessary to display it to the user, it can be processed by the same processing logic to complete the data assembly. Accordingly, only the same set of processing logic needs to be developed to complete the display of multiple different benefit items, thereby achieving the purpose of reducing development costs.
  • the data related to the rights and interests item can also be split into two parts, namely, the data on the fields related to the basic information and the data on the fields related to the user's usage, and the first template and the second template are provided respectively.
  • the data on the fields related to the user's usage needs to be saved in the user dimension and dynamically updated, while the data on the fields related to the basic information only needs to be saved for each rights and interests item, and there is no need to save a copy for each user, thereby saving storage space.
  • FIG1 is a schematic diagram of a system architecture provided in an embodiment of the present application.
  • FIG2 is a flow chart of a first method provided in an embodiment of the present application.
  • FIG3 is a schematic diagram of a first interface provided in an embodiment of the present application.
  • FIG4 is a schematic diagram of a second interface provided in an embodiment of the present application.
  • FIG5 is a schematic diagram of a third interface provided in an embodiment of the present application.
  • FIG6 is a flow chart of a second method provided in an embodiment of the present application.
  • FIG7 is a schematic diagram of a first device provided in an embodiment of the present application.
  • FIG8 is a schematic diagram of a second device provided in an embodiment of the present application.
  • FIG. 9 is a schematic diagram of an electronic device provided in an embodiment of the present application.
  • a specific page can be provided for users, in which information on a variety of rights and interests that can be enjoyed under a specific membership type can be aggregated and displayed.
  • information on a variety of rights and interests that can be enjoyed under a specific membership type can be aggregated and displayed.
  • basic information such as the name and introduction of each right and interest be displayed, but also corresponding description text (for example, whether it has been used, if it has been used, how the use effect is, etc.)
  • related action item information and other information related to user usage can be provided according to the specific user's use of each right and interest.
  • the specific copy and action items that need to be displayed to the user may be different.
  • the copy that needs to be displayed may be "X goals to be completed", and for right and interest B, the copy that needs to be displayed may be "X have been reported this month", etc., where "X" needs to be determined according to the specific user's usage; or, for the two rights and interests C and D, a user has not used these two rights and interests, but the action item that needs to be displayed to the user for right and interest C may be "Go to register", and the action item that needs to be displayed to the user for right and interest D may be "Go to verify", etc.
  • a specific implementation method may be to define a processing class (also called a processor module) for each equity item to undertake the processing logic of each equity, including acquiring and processing the data of each equity item.
  • a processing class also called a processor module
  • each processor needs to output descriptions such as the equity item name, icon, whether it meets the standard, equity description text, and the remaining N equity items.
  • a specific solution is also provided in an embodiment of the present application.
  • a unified processing class can be developed for multiple different rights and interests items, and the differentiated needs of different rights and interests items in display copy and action items can be met through the same processing logic.
  • an embodiment of the present application can first provide a standardized rights and interests data definition template, in which multiple specific data fields can be defined, and different rights and interests items can share the unified template when being displayed. That is, the specific display content of each rights and interests item can be assembled from the data on each field in the specific template.
  • the data of each benefit item in each field can be configured in the user dimension according to the template for assembling specific display content.
  • the display rule mainly refers to the data display rule information on the data field related to user usage corresponding to multiple benefit items under different user usage conditions.
  • the specific data display rule information can be the correspondence between the candidate values of the same benefit item on the same field and the user usage. In this way, the data to be displayed for the corresponding benefit item on the corresponding field can be determined from the candidate values of the corresponding benefit item on the corresponding field according to the usage information of the specific user, and so on.
  • the specific rights data definition template and the aforementioned data display rule information since it includes data fields related to the user's use of rights items, and these data may change continuously, therefore, under the preferred implementation, it is possible to obtain data related to the use of user-dimensional rights items from the corresponding data source (for example, a data base table that maintains user-dimensional feature data, such as the number of times a certain rights item is used, etc.) by executing a scheduled task, including whether a certain user has used a certain rights item, the specific effect of use, etc. After obtaining these data, it is possible to determine what kind of text needs to be displayed when displaying a specific rights item to the user, and which specific action item, etc., based on the display rule information corresponding to the specific rights item. These data can be saved in the form of a vertical table, etc., and updated regularly by the aforementioned scheduled tasks.
  • the corresponding data source for example, a data base table that maintains user-dimensional feature data, such as the number of times a certain rights item is used, etc
  • the data of each benefit item in multiple fields is maintained in the user dimension, when a specific target user needs to access a specific benefit center or other pages, the basic information of the specific benefit item and the data in the fields related to the user's usage can be read from the pre-saved data, and assembled into specific display content for display on the page. Since the various data fields in the above template are uniformly defined, although the content displayed on each field of each benefit item may be different, when it needs to be displayed to the user, it can be processed by the same processing logic to complete the data assembly. Therefore, only a unified processor module needs to be developed to complete the display of each different benefit item, so as to achieve the purpose of reducing development costs.
  • the specific rights and interests data may include some fields whose specific data is relatively fixed and will not change due to different users or different user usage, such as the name, icon and other basic information of the rights and interests item
  • the specific rights and interests data definition template can also be split into two parts, which are used to standardize the fields related to the basic information of the rights and interests items and the fields related to the user's usage.
  • multiple users can share the same basic information about each rights and interests item, and only the data related to the user's usage needs to be dynamically constructed and saved separately by user. In this way, it is possible to avoid storing the basic information of each right and interest item separately for each user, thereby saving storage space.
  • the embodiments of the present application may involve the client and server of a specific application system, wherein, on the server side, specific rights and interests data definition templates may be mainly saved (specifically, a first template corresponding to the basic information field and a second template corresponding to the field related to user usage) and data display rule information on fields related to user usage corresponding to multiple rights and interests items under different user usage conditions may also be saved.
  • the data of each rights and interests item in the basic information field may be obtained and saved, and the data of the user-dimensional rights and interests items in the fields related to user usage may be constructed by executing scheduled tasks and the like, and may be updated regularly.
  • the server may also By reading the data corresponding to each right item of the target user, and assembling it into specific display content, the content is provided to the client for display.
  • this embodiment 1 provides a method for displaying rights and interests information.
  • the method may specifically include:
  • S201 Acquire a rights and interests data definition template, wherein the rights and interests data definition template includes a plurality of data fields, wherein the plurality of data fields include a data field related to basic information and a data field related to user usage.
  • the specific rights and interests data definition template can be used to define multiple data fields.
  • the data on these data fields can be the relevant data used to construct the display content of the specific rights and interests item.
  • the specific data fields can include the name, icon, text, action item information, etc. of the rights and interests item.
  • some fields may include some specific data that are relatively fixed and usually do not change due to different users or different user usage. These fields are usually used to define some basic information of specific rights and interests items, for example, the name and icon of the rights and interests item; in addition, some fields are also included, which are related to user usage, that is, what kind of data needs to be displayed in the corresponding fields, which changes dynamically according to the user's usage of the specific rights and interests item, for example, the copywriting to be displayed, the name of the action item, etc.
  • the specific rights and interests data definition template can also be standardized and disassembled into a first template and a second template, wherein the first template is mainly used to define some relatively fixed basic information-related fields, and the second template is mainly used to define some fields related to user usage.
  • the first template can be universal for different users, that is, for each rights and interests item, it is only necessary to maintain a unified configuration data according to the first template, including the name and icon of the rights and interests item (since the data on these fields will not change due to different users or different user usage, there is no need to configure a separate copy for each user).
  • the fields related to user usage that is, the fields whose specific data may change due to different user usage
  • a separate copy of the rights and interests data can be maintained for each user and saved by constructing a vertical table or other means.
  • the first template may specifically include the fields shown in the following Table 1:
  • S202 Obtaining data display rule information on data fields related to user usage conditions corresponding to a plurality of benefit items in different user usage conditions.
  • the specific data that needs to be displayed for different rights items may be different.
  • the specific data that needs to be displayed on the fields related to user usage such as copywriting or action items
  • specific data display rule information can also be configured for each rights item.
  • this data display rule can be used to describe the specific relationship between each rights item and the user. What candidate values are there in the fields related to user usage, and what kind of data is required to be revealed in the specific fields in various user usage situations, for example, including what kind of descriptive copy and/or what kind of action items are revealed, etc.
  • the specific candidate copy, action items, and corresponding disclosure rules for each benefit item can be different.
  • the candidate action items corresponding to a certain benefit item A include “stop using” and “stop activating”, while the candidate action items corresponding to another benefit item B include “stop using” and “stop authenticating”, etc.; accordingly, the corresponding rules can be set as follows:
  • the displayed action item is "deactivate”; if the user has not used benefit item A, since benefit item A needs to be activated before use, the displayed action item may be "deactivate”;
  • the action item displayed is "stop using”; if the user has not used benefit item B, since benefit item B requires the user to be authenticated before use, the action item displayed may be "stop authenticating".
  • the description includes: the number of times the target user has used the benefit item, the remaining number of times and/or the usage effect information obtained, etc. If the target user has not used the benefit item, the description includes: summary information about the function description of the benefit item, etc.
  • the descriptions that need to be displayed for different benefit items may be different. For example, if a user has used two benefit items, the text that needs to be displayed for one of the benefit items may be "X goals to be completed", and the text that needs to be displayed for the other benefit item may be "X reported this month", etc.
  • S203 According to the rights and interests data definition template, the user's data on multiple data fields of multiple rights and interests items are saved, wherein the data on the data fields related to the user's usage is determined based on the user's rights and interests item usage information and the data display rules.
  • the data of multiple users in multiple data fields of multiple rights items can be saved according to the template and data display rules.
  • the data on each data field can be configured for each equity item for the first template. These data usually do not need to be updated unless the name, icon, etc. of a certain equity item changes.
  • the data on the fields related to the basic information of the equity item can be constructed by manual configuration and other methods.
  • the specific equity configuration item definition can be configured and designed in the format of JSON (JavaScript Object Notation). After the data configuration on the fields related to the basic information of each equity item is completed, it can be saved on the server side, for example, it can be saved through the configuration center server of the server side, and so on.
  • the data on the fields related to user usage can be specifically determined based on the user's rights and interests item usage information and the data display rules.
  • the data on the fields related to the user's usage may also change dynamically.
  • the data on the fields related to user usage can be acquired and regularly updated by executing scheduled tasks.
  • the user's usage data for each right can be obtained from a data source such as a data base table that maintains user-dimensional feature data. The above-mentioned data base table can be maintained by a log system, etc.
  • the obtained user usage data of various rights and interests may specifically include whether the user has used a certain right item, the specific usage amount of a certain right item, etc.
  • These data can be directly obtained from the aforementioned data base table, or they can be obtained by processing the data in the data base table, etc. In other words, if there are processed data indicators in the data base table, they can be used directly. If not, the aforementioned scheduled task can also process the data in the base table to obtain the user usage data indicators of the rights and interests items. For example, for a certain right item, it is necessary to obtain whether the user has participated in a certain activity. However, the data does not directly exist in the data base table.
  • the scheduled task can use the existing data in the data base table to count whether the user has participated in the activity, etc.
  • the specific scheduled task can implement the logic of processing the data in the base table through SQL (Structured Query Language) statements and other methods.
  • the user's usage data for the benefit items After determining the user's usage data for the benefit items, it is possible to determine what information needs to be displayed in the fields related to the user's usage when displaying the specific benefit item to the user based on the aforementioned display rule information corresponding to the specific benefit item, for example, including specific descriptive text, action items, etc. For example, assuming that a user has used benefit item A, and benefit item A is related to quotation and has a limit on the number of uses, the text displayed can be "Quoted X times this month", and the action item can be "Go to quote", etc. Among them, the specific number of quotations "X" can also be obtained by the aforementioned scheduled task from the specific data base table (directly or after processing).
  • a user-dimensional rights and interests item data table can be constructed (for example, it can be saved in the form of a vertical table).
  • the data table can include the rights and interests item data constructed for each user, for example, including the description text determined based on each user's use of each right and interest item (whether it has been used, how effective it is, etc.), and can also include the action item information that needs to be displayed based on each user's use of each right and interest item, etc.
  • S204 In response to a request for viewing rights information initiated by a target user, the data of the target user on multiple data fields of the multiple rights items are read from the saved information, and assembled into display contents corresponding to the multiple rights items respectively, so as to display the display contents corresponding to the multiple rights in the target page.
  • the data required to be displayed in each field of the rights and interests items in the user dimension have been acquired in advance, when it is necessary to display the rights and interests information to a specific target user, the data of the target user in multiple data fields of the multiple rights and interests items can be read from the saved data and assembled into display content corresponding to the multiple rights and interests items.
  • the data of multiple rights items in the data fields related to the basic information can be first obtained from the rights configuration information, and the data of the target user on the data fields related to the user usage of the multiple rights items can be obtained from the rights usage related data; then, the data of the multiple rights items in the data fields related to the basic information and the data in the data fields related to the user usage are assembled to generate the display content corresponding to the multiple rights items respectively.
  • the information of various rights and interests items corresponding to the current target user can be displayed, among which the rights and interests item shown at 31 is named "Industry Business Guidance". Since the current target user has used this rights and interests item, the displayed text is "2 goals to be completed" (wherein the number “2" can change dynamically to prompt the user's use of the rights and interests item), and the action item is "Go to check”; the rights and interests item shown at 32 is named “Management Certificate”. Since the current target user has not used this rights and interests item, the displayed text is "Management System Certificate", and the action item can be "Go to verify", and so on.
  • the icons of specific rights and interests items can also be in an interactive state.
  • some detailed description information of the rights and interests items can be displayed through pop-up windows/floating layers.
  • a pop-up window as shown in Figure 4 can be displayed, which can display more detailed information about the rights and interests item;
  • a pop-up window as shown in Figure 5 can be displayed, which can display relevant information such as detailed introduction of the rights and interests item, etc.
  • multiple rights and interests items can share the same processing logic for display.
  • some rights and interests items may have some special requirements when being displayed, etc. Therefore, in the specific implementation, different processing logics can be implemented for different types of members. In this way, when displaying the rights and interests items for the target user, it is possible to first determine which membership type the current target user belongs to, and then call the processing logic corresponding to the type for processing.
  • the display information of multiple different rights and interests items can be standardized and disassembled and extracted into a standardized template.
  • the data that needs to be displayed corresponding to the rights and interests items can be split into data fields related to basic information and data fields related to user usage.
  • the data display rules on the fields related to user usage corresponding to multiple rights and interests items under different user usage conditions can also be configured.
  • the data of the user on multiple data fields of multiple rights and interests items can be saved according to the rights and interests data definition template. Among them, the data on the fields related to user usage can be determined based on the user's usage information of the multiple rights and interests items and the aforementioned data display rules.
  • the data of the target user on multiple data fields of the multiple rights and interests items can be read from the saved information, and assembled into the display content corresponding to the multiple rights and interests items, so as to be displayed on the target page.
  • the information of multiple different rights and interests items can be aggregated and displayed on the same page, and information related to user usage can be displayed.
  • the information that needs to be conveyed in the same field for each benefit item may be different and related to the specific user's use of the corresponding benefit item
  • the data fields corresponding to each benefit item are uniformly defined and the data to be displayed for different users in multiple fields of each benefit item can be obtained in advance, when it is necessary to display it to the user, it can be processed by the same processing logic to complete the data assembly. Accordingly, only the same set of processing logic needs to be developed to complete the display of multiple different benefit items, thereby achieving the purpose of reducing development costs.
  • the data related to the rights and interests item be split into two parts, namely, the data on the fields related to the basic information and the data on the fields related to the user's usage, but also the first template and the second template can be provided respectively.
  • the data on the fields related to the user's usage needs to be saved in the user dimension and dynamically updated, while the data on the fields related to the basic information only needs to be saved for each rights and interests item, and there is no need to save a copy for each user, thereby saving storage space.
  • the second embodiment corresponds to the first embodiment and provides a method for displaying rights and interests information from the perspective of the client.
  • the method may include:
  • S601 receiving a request from a target user to view rights and interests information
  • S602 Display a target page, wherein the target page includes display contents corresponding to a plurality of rights and interests items, and the display contents are generated by reading and assembling the data of the target user on a plurality of data fields of the plurality of rights and interests items by the same processor module;
  • the data of the target user on the multiple data fields of the multiple rights and interests items are determined according to the rights and interests data definition template, including data fields related to basic information and data fields related to user usage.
  • the data in the data field related to the user's usage is determined based on the user's benefit item usage information and the data display rules.
  • the display content corresponding to the multiple rights and interests items respectively includes: action item information corresponding to the rights and interests items, the action item information including the name of the action item and the jump address, so as to jump to the corresponding page according to the jump address to obtain detailed information related to the rights and interests item, or perform processing related to the rights and interests item; wherein different rights and interests items correspond to different action items under the same user usage situation.
  • user-specific personal data can be used in the scheme described herein within the scope permitted by applicable laws and regulations, subject to the requirements of applicable laws and regulations of the country where the user is located (for example, with the user's explicit consent, effective notification to the user, etc.).
  • the embodiment of the present application further provides a device for displaying rights and interests information.
  • the device may include:
  • the template acquisition unit 701 is used to acquire a rights and interests data definition template, wherein the rights and interests data definition template includes a plurality of data fields, wherein the plurality of data fields include a data field related to basic information and a data field related to user usage;
  • a data display rule acquisition unit 702 is used to acquire data display rule information on data fields related to user usage conditions corresponding to multiple benefit items under different user usage conditions;
  • the data acquisition unit 703 is used to save the data of the user in multiple data fields of multiple benefit items according to the benefit data definition template, wherein the data in the data field related to the user's usage is determined according to the user's benefit item usage information and the data display rule;
  • the display content construction unit 704 is used to respond to a request for viewing rights information initiated by a target user, read the data of the target user on multiple data fields of the multiple rights items from the saved information, and assemble them into display contents corresponding to the multiple rights items respectively, so as to display the display contents corresponding to the multiple rights items respectively in the target page.
  • the fields related to user usage include: description text and/or action items to be displayed when displaying benefit items;
  • the data display rule acquisition unit can be specifically used to: obtain the description copy and/or action item display rule information corresponding to multiple rights and interests items under different user usage situations; wherein each rights and interests item corresponds to a different candidate copy and/or candidate action item, and the data display rule information includes: the correspondence between each candidate copy and/or candidate action item of the same rights and interests item and the user usage situation;
  • the data acquisition unit can be specifically used to: obtain usage information of the multiple rights and interests items by multiple users respectively, and determine the corresponding description text and/or action items to be displayed when displaying the rights and interests items to each user based on the usage information and the data display rules, and save them as data in the corresponding data fields.
  • the action item information includes the name of the action item and a jump address, so as to jump to a corresponding page according to the jump address to obtain detailed information related to the benefit item, or to perform processing related to the benefit item.
  • the description text includes: the number of times the target user has used the benefit item, the remaining number of times and/or information on the use effect obtained.
  • the description text includes: functional description summary information about the benefit item.
  • the data acquisition unit can specifically obtain the usage information of the multiple rights and interests items by multiple users by executing a scheduled task, and determine the data on the data field related to the user's usage when displaying the rights and interests items to each user based on the usage information and the data display rules.
  • the rights and interests data definition template includes: a first template and a second template, wherein the first template is used to define data fields related to the rights and interests items and basic information, and the second template is used to define data fields related to multiple rights and interests items and user usage conditions;
  • the data acquisition unit can be specifically used for:
  • data on the data fields of the plurality of equity items and the basic information are saved as equity configuration information
  • the display content assembly unit can be specifically used for:
  • the data of the multiple rights and interests items in the data fields related to the basic information and the data of the data fields related to the user usage are assembled to generate display contents corresponding to the multiple rights and interests items respectively.
  • the display content assembly unit can be specifically used to: determine the membership type information corresponding to the target user; obtain data on multiple rights and interests items corresponding to the membership type in data fields related to basic information from the rights and interests configuration information.
  • the display content assembly unit may be specifically used to: after determining the membership type information corresponding to the target user, determine the corresponding processor module according to the membership type information, so that the processor module can read and assemble the data.
  • the equity configuration information may further include a sorting index field corresponding to the equity item;
  • the device may further include:
  • the sorting unit is used to sort the display contents corresponding to the multiple rights and interests items according to the data on the sorting index field, so as to display them in the corresponding order on the target page.
  • the benefit configuration information and/or benefit usage related data information are updated to update the displayed benefit item and/or the corresponding displayed content.
  • the embodiment of the present application further provides a device for displaying rights and interests information.
  • the device may include:
  • the request receiving unit 801 is used to receive a request initiated by a target user to view rights and interests information
  • the page display unit 802 is used to display a target page, wherein the target page includes display contents corresponding to a plurality of rights and interests items, and the display contents are generated by reading and assembling the data of the target user in a plurality of data fields of the plurality of rights and interests items by the same processor module;
  • the data of the target user in multiple data fields of the multiple rights and interests items are determined according to the rights and interests data definition template, including data fields related to basic information and data fields related to user usage.
  • the data in the data fields related to user usage is determined based on the user's rights and interests item usage information and the data display rules.
  • the display contents corresponding to the multiple rights and interests items include:
  • the action item information corresponding to the benefit item includes the name of the action item and a jump address, so as to jump to the corresponding page according to the jump address to obtain detailed information related to the benefit item, or perform processing related to the benefit item; wherein different benefit items correspond to different action items under the same user usage situation.
  • an embodiment of the present application further provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of any one of the methods in the aforementioned method embodiments are implemented.
  • an electronic device comprising:
  • a memory associated with the one or more processors the memory being used to store program instructions, wherein the program instructions, when read and executed by the one or more processors, execute the steps of the method described in any one of the aforementioned method embodiments.
  • FIG. 9 exemplarily shows the architecture of the electronic device, which may include a processor 910, a video display adapter 911, a disk drive 912, an input/output interface 913, a network interface 914, and a memory 920.
  • the processor 910, the video display adapter 911, the disk drive 912, the input/output interface 913, the network interface 914, and the memory 920 may be communicatively connected via a communication bus 930.
  • the processor 910 can be implemented by a general-purpose CPU (Central Processing Unit, processor), a microprocessor, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solution provided in this application.
  • a general-purpose CPU Central Processing Unit, processor
  • a microprocessor e.g., a central processing unit, processor
  • an application-specific integrated circuit e.g., application specific integrated circuit, ASIC
  • ASIC Application Specific Integrated Circuit
  • the memory 920 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc.
  • the memory 920 can store an operating system 921 for controlling the operation of the electronic device 900, and a basic input and output system (BIOS) for controlling the low-level operation of the electronic device 900.
  • BIOS basic input and output system
  • a web browser 923, a data storage management system 924, and a rights and interests information display processing system 925, etc. can also be stored.
  • the above-mentioned rights and interests information display processing system 925 can be an application program that specifically implements the operations of the aforementioned steps in the embodiment of the present application.
  • the relevant program code is stored in the memory 920 and is called and executed by the processor 910.
  • the input/output interface 913 is used to connect the input/output module to realize information input and output.
  • the input/output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions.
  • the input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc.
  • the output device may include a display, a speaker, a vibrator, an indicator light, etc.
  • the network interface 914 is used to connect to a communication module (not shown) to realize communication interaction between the device and other devices.
  • the communication module can realize communication through a wired mode (such as USB, network cable, etc.) or a wireless mode (such as mobile network, WIFI, Bluetooth, etc.).
  • the bus 930 comprises a pathway for transmitting information between the various components of the device (eg, the processor 910, the video display adapter 911, the disk drive 912, the input/output interface 913, the network interface 914, and the memory 920).
  • the various components of the device eg, the processor 910, the video display adapter 911, the disk drive 912, the input/output interface 913, the network interface 914, and the memory 920).
  • the above device only shows a processor 910, a video display adapter 911, a disk drive 912, an input/output interface 913, a network interface 914, a memory 920, a bus 930, etc., in the specific implementation process, the device may also include other components necessary for normal operation.
  • the above device may also only include components necessary for implementing the solution of the present application, and does not necessarily include all the components shown in the figure.

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Finance (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Storage Device Security (AREA)

Abstract

Disclosed in embodiments of the present application are a benefit information display method and an electronic device. The method comprises: acquiring a benefit data definition template, wherein the benefit data definition template comprises a plurality of data fields; acquiring data display rule information respectively corresponding to a plurality of benefit items; on the basis of the benefit data definition template, storing data of a user respectively on the plurality of data fields of the plurality of benefit items; and in response to a benefit information viewing request initiated by a target user, reading, from the stored information, data of the target user on the plurality of data fields of the plurality of benefit items, and assembling the data into display content respectively corresponding to the plurality of benefit items, so as to display, in a target page, the display content respectively corresponding to the plurality of benefit items. By means of the embodiments of the present application, information of a plurality of different benefit items can be displayed in an aggregated manner by means of a same page, and low development cost and high expandability are achieved.

Description

展示权益信息的方法及电子设备Method and electronic device for displaying equity information

本申请要求于2023年08月14日提交中国专利局、申请号为202311015911.7、申请名称为“展示权益信息的方法及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed with the China Patent Office on August 14, 2023, with application number 202311015911.7 and application name “Method and electronic device for displaying rights and interests information”, all contents of which are incorporated by reference in this application.

技术领域Technical Field

本申请涉及信息技术领域,特别是涉及展示权益信息的方法及电子设备。The present application relates to the field of information technology, and in particular to a method and electronic device for displaying equity information.

背景技术Background Art

在很多应用系统中,都具有会员体系,用户可以通过成为更高等级的会员类型来获取更多的会员权益。例如,在商品信息服务系统中,针对商家用户可以提供多种不同的会员类型,在更高的会员等级下,商家可以获得诸如行业经营指导、优质物流服务优先权等多项会员权益,等等。In many application systems, there is a membership system, and users can obtain more membership benefits by becoming a higher level member. For example, in the commodity information service system, a variety of different membership types can be provided for merchant users. At a higher membership level, merchants can obtain multiple membership benefits such as industry management guidance, priority for high-quality logistics services, and so on.

现有技术中,通常是由客服人员向用户介绍各种会员等级下可享受的权益等信息,但是,在用户成为对应等级的会员后,通常是在多个不同的场景中透出关于可使用的权益的信息。例如,在商家为境外用户发货时,可能会提示用户其享有“海运优先权”,等等。可见,这种方式下,用户对各种权益的感知及使用属于比较被动的状态,因此,可能会出现很多权益难以被用户使用到,或者使用频率很低,以至于难以体现出对应的会员等级实际可为用户带来的价值。In the prior art, customer service staff usually introduces information such as the rights and interests that can be enjoyed under various membership levels to users. However, after the user becomes a member of the corresponding level, information about the rights and interests that can be used is usually revealed in multiple different scenarios. For example, when a merchant ships goods to overseas users, the user may be prompted that the merchant enjoys "sea shipping priority", etc. It can be seen that in this way, the user's perception and use of various rights and interests are in a relatively passive state. Therefore, many rights and interests may be difficult for users to use, or the frequency of use is very low, so that it is difficult to reflect the value that the corresponding membership level can actually bring to the user.

发明内容Summary of the invention

本申请提供了展示权益信息的方法及电子设备,可以通过同一页面对多种不同权益项的信息进行聚合展示,且开发成本低、扩展性高。The present application provides a method and electronic device for displaying rights and interests information, which can aggregate and display information of multiple different rights and interests items on the same page, and has low development cost and high scalability.

本申请提供了如下方案:This application provides the following solutions:

一种展示权益信息的方法,包括:A method for displaying equity information, comprising:

获取权益数据定义模板,所述权益数据定义模板中包括多个数据字段,所述多个数据字段包括与基础信息相关的数据字段以及与用户使用情况相关的数据字段;Acquire a rights and interests data definition template, wherein the rights and interests data definition template includes a plurality of data fields, wherein the plurality of data fields include a data field related to basic information and a data field related to user usage;

获取多个权益项分别在不同的用户使用情况下,对应的与用户使用情况相关的数据字段上的数据展示规则信息; Obtain data display rule information on data fields related to user usage corresponding to multiple benefit items under different user usage conditions;

按照所述权益数据定义模板,对用户分别在多个权益项的多个数据字段上的数据进行保存,其中,所述与用户使用情况相关的数据字段上的数据是根据用户的权益项使用情况信息以及所述数据展示规则信息确定的;According to the rights and interests data definition template, the data of the user in multiple data fields of multiple rights and interests items are saved, wherein the data in the data fields related to the user's usage is determined according to the user's rights and interests item usage information and the data display rule information;

响应于目标用户发起的查看权益信息的请求,从所保存的信息中读取所述目标用户在所述多个权益项的多个数据字段上的数据,并组装成所述多个权益项分别对应的展示内容,以便在目标页面中对所述多个权益项分别对应的展示内容进行展示。In response to a request initiated by a target user to view rights and interests information, the data of the target user on multiple data fields of the multiple rights and interests items are read from the saved information and assembled into display contents corresponding to the multiple rights and interests items respectively, so as to display the display contents corresponding to the multiple rights and interests items respectively in the target page.

其中,对于与用户使用情况相关的字段,不同的权益项在同一字段上对应不同的候选值;Among them, for fields related to user usage, different benefit items correspond to different candidate values on the same field;

所述数据展示规则信息具体包括:同一权益项的在同一字段上的各候选值与用户使用情况之间的对应关系,以便根据具体用户的使用情况信息,从对应权益项在对应字段上的候选值中,确定所述对应权益项在对应字段上的待展示数据。The data display rule information specifically includes: the correspondence between the candidate values of the same benefit item in the same field and the user's usage, so as to determine the data to be displayed for the corresponding benefit item in the corresponding field from the candidate values of the corresponding benefit item in the corresponding field according to the usage information of the specific user.

其中,所述与用户使用情况相关的字段包括:在展示权益项时,所需展示的描述文案和/或行动项;The fields related to user usage include: description text and/or action items to be displayed when displaying benefit items;

所述获取多个权益项分别在不同的用户使用情况下,对应的与用户使用情况相关的数据字段上的数据展示规则信息,包括:The obtaining of data display rule information on data fields related to user usage corresponding to the plurality of rights and interests items under different user usage situations includes:

获取多个权益项分别在不同的用户使用情况下,对应的描述文案和/或行动项展示规则信息;其中,每个权益项对应不同的候选文案和/或候选行动项,所述数据展示规则信息包括:同一权益项的各候选文案和/或候选行动项与用户使用情况之间的对应关系;Obtaining description texts and/or action item display rule information corresponding to a plurality of benefit items under different user usage situations; wherein each benefit item corresponds to a different candidate text and/or candidate action item, and the data display rule information includes: a correspondence between each candidate text and/or candidate action item of the same benefit item and the user usage situation;

所述按照所述权益数据定义模板,对多个用户分别在多个权益项的多个数据字段上的数据进行保存,包括:The step of saving data of multiple users in multiple data fields of multiple rights and interests items according to the rights and interests data definition template includes:

获取多个用户分别对所述多个权益项的使用情况信息,并根据所述使用情况信息以及所述数据展示规则,确定在向各用户展示所述权益项时,对应展示的描述文案和/或行动项,并保存为在对应数据字段上的数据。Obtain usage information of the multiple benefit items by multiple users respectively, and determine the corresponding description text and/or action items to be displayed when displaying the benefit items to each user based on the usage information and the data display rules, and save them as data in the corresponding data fields.

其中,所述行动项信息包括行动项的名称及跳转地址,以便根据所述跳转地址跳转到对应的页面获取与所述权益项相关的详情信息,或者执行与所述权益项相关的处理。The action item information includes the name of the action item and a jump address, so as to jump to a corresponding page according to the jump address to obtain detailed information related to the benefit item, or to perform processing related to the benefit item.

其中,如果所述目标用户使用过所述权益项,所述描述文案包括:所述目标用户对所述权益项的使用次数、剩余次数和/或获得的使用效果信息。If the target user has used the benefit item, the description text includes: the number of times the target user has used the benefit item, the remaining number of times and/or the information on the use effect obtained.

其中,如果所述目标用户未使用过所述权益项,所述描述文案包括:关于所述权益项的功能描述摘要信息。If the target user has not used the benefit item, the description text includes: functional description summary information about the benefit item.

其中,通过执行定时任务,获取多个用户分别对所述多个权益项的使用情况信息,并根据所述使用情况信息以及所述数据展示规则,确定在向各用户展示所述权益项时,对应与用户使用情况相关的数据字段上的数据。Among them, by executing the scheduled task, the usage information of the multiple rights and interests items of multiple users is obtained, and according to the usage information and the data display rules, the data on the data field related to the user's usage is determined when the rights and interests items are displayed to each user.

其中,所述权益数据定义模板包括:第一模板以及第二模板,其中,所述第一模板用于对所述权益项与基础信息相关的数据字段进行定义,所述第二模板用于对多个权益项与用户使用情况相关的数据字段进行定义; The rights and interests data definition template includes: a first template and a second template, wherein the first template is used to define data fields related to the rights and interests items and basic information, and the second template is used to define data fields related to multiple rights and interests items and user usage conditions;

所述按照所述权益数据定义模板,对多个用户分别在多个权益项的多个数据字段上的数据进行保存,包括:The step of saving data of multiple users in multiple data fields of multiple rights and interests items according to the rights and interests data definition template includes:

按照所述第一模板,将所述多个权益项与所述基础信息相关的数据字段上的数据保存为权益配置信息;According to the first template, data on the data fields of the plurality of equity items and the basic information are saved as equity configuration information;

按照所述第二模板,将所述多个权益项与用户使用情况相关的数据字段上的数据保存为权益使用相关数据信息;According to the second template, data on the data fields related to the plurality of benefit items and user usage are saved as benefit usage related data information;

在响应所述目标用户发起的查看权益信息的请求时,包括:When responding to the request for viewing the rights and interests information initiated by the target user, it includes:

从权益配置信息中获取所述多个权益项在基础信息相关的数据字段上的数据;Acquire data of the plurality of equity items in data fields related to the basic information from the equity configuration information;

从权益使用相关数据中获取所述目标用户对所述多个权益项在用户使用情况相关的数据字段上的数据;Acquire data of the target user on data fields related to user usage of the plurality of benefit items from the benefit usage related data;

将所述多个权益项在基础信息相关的数据字段上的数据,以及在用户使用情况相关的数据字段上的数据进行组装,生成所述多个权益项分别对应的展示内容。The data of the multiple rights and interests items in the data fields related to the basic information and the data of the data fields related to the user usage are assembled to generate display contents corresponding to the multiple rights and interests items respectively.

其中,所述从权益配置信息中获取所述多个权益项在基础信息相关的数据字段上的数据,包括:The step of obtaining data of the plurality of equity items in data fields related to basic information from the equity configuration information includes:

确定所述目标用户对应的会员类型信息;Determine the membership type information corresponding to the target user;

从权益配置信息中获取所述会员类型对应的多个权益项在基础信息相关的数据字段上的数据。The data of the multiple rights and interests items corresponding to the member type in the data fields related to the basic information are obtained from the rights and interests configuration information.

其中,不同的会员类型对应不同的处理器模块;Among them, different membership types correspond to different processor modules;

所述确定所述目标用户对应的会员类型信息之后还包括:After determining the membership type information corresponding to the target user, the following further includes:

根据所述会员类型信息确定对应的处理器模块,以便由该处理器模块进行所述数据的读取以及组装处理。The corresponding processor module is determined according to the member type information, so that the processor module can read and assemble the data.

其中,所述权益配置信息中包括所述权益项对应的排序索引字段;Wherein, the equity configuration information includes a sorting index field corresponding to the equity item;

所述方法还包括:The method further comprises:

按照所述排序索引字段上的数据,对所述多个权益项对应的展示内容进行排序,以便在所述目标页面按照对应的顺序进行展示。According to the data on the sorting index field, the display contents corresponding to the multiple rights and interests items are sorted so as to be displayed in the target page in a corresponding order.

其中,在权益项发生新增、删除或信息更新时,通过更新所述权益配置信息和/或权益使用相关数据信息,以更新展示出的权益项和/或对应的展示内容。When a benefit item is added, deleted, or the information is updated, the benefit configuration information and/or benefit usage related data information are updated to update the displayed benefit item and/or the corresponding displayed content.

一种展示权益信息的方法,包括:A method for displaying equity information, comprising:

接收目标用户发起的查看权益信息的请求;Receive a request from a target user to view rights information;

展示目标页面,所述目标页面中包括多个权益项分别对应的展示内容,所述展示内容是由同一处理器模块读取所述目标用户在所述多个权益项的多个数据字段上的数据并进行组装后生成的;Displaying a target page, wherein the target page includes display contents corresponding to a plurality of rights and interests items, respectively, and the display contents are generated by reading and assembling the data of the target user on a plurality of data fields of the plurality of rights and interests items by the same processor module;

其中,所述目标用户在所述多个权益项的多个数据字段上的数据是按照权益数据定义模板确定的,其中包括与基础信息相关的数据字段以及与用户使用情况相关的数据字段, 所述与用户使用情况相关的数据字段上的数据是根据用户的权益项使用情况信息以及所述数据展示规则确定的。The data of the target user on the multiple data fields of the multiple rights and interests items are determined according to the rights and interests data definition template, including data fields related to basic information and data fields related to user usage. The data in the data field related to the user's usage is determined based on the user's benefit item usage information and the data display rules.

其中,所述多个权益项分别对应的展示内容包括:The display contents corresponding to the multiple rights and interests items include:

所述权益项对应的行动项信息,所述行动项信息包括行动项的名称及跳转地址,以便根据所述跳转地址跳转到对应的页面获取与所述权益项相关的详情信息,或者执行与所述权益项相关的处理;The action item information corresponding to the equity item, the action item information including the name of the action item and the jump address, so as to jump to the corresponding page according to the jump address to obtain detailed information related to the equity item, or perform processing related to the equity item;

其中,不同的权益项在相同的用户使用情况下对应不同的行动项。Among them, different benefit items correspond to different action items under the same user usage situation.

一种展示权益信息的装置,包括:A device for displaying equity information, comprising:

模板获取单元,用于获取权益数据定义模板,所述权益数据定义模板中包括多个数据字段,所述多个数据字段包括与基础信息相关的数据字段以及与用户使用情况相关的数据字段;A template acquisition unit, used to acquire a rights and interests data definition template, wherein the rights and interests data definition template includes a plurality of data fields, wherein the plurality of data fields include a data field related to basic information and a data field related to user usage;

数据展示规则获取单元,用于获取多个权益项分别在不同的用户使用情况下,对应的与用户使用情况相关的数据字段上的数据展示规则信息;A data display rule acquisition unit, used to acquire data display rule information on data fields related to user usage conditions corresponding to a plurality of benefit items under different user usage conditions;

数据获取单元,用于按照所述权益数据定义模板,对用户分别在多个权益项的多个数据字段上的数据进行保存,其中,所述与用户使用情况相关的数据字段上的数据是根据用户的权益项使用情况信息以及所述数据展示规则确定的;A data acquisition unit, configured to save the data of the user in multiple data fields of multiple benefit items according to the benefit data definition template, wherein the data in the data field related to the user's usage is determined according to the user's benefit item usage information and the data display rule;

展示内容构造单元,用于响应于目标用户发起的查看权益信息的请求,从所保存的信息中读取所述目标用户在所述多个权益项的多个数据字段上的数据,并组装成所述多个权益项分别对应的展示内容,以便在目标页面中对所述多个权益项分别对应的展示内容进行展示。A display content construction unit is used to respond to a request for viewing rights information initiated by a target user, read the data of the target user on multiple data fields of the multiple rights items from the saved information, and assemble them into display contents corresponding to the multiple rights items respectively, so as to display the display contents corresponding to the multiple rights items respectively in the target page.

一种展示权益信息的装置,包括:A device for displaying equity information, comprising:

请求接收单元,用于接收目标用户发起的查看权益信息的请求;A request receiving unit, used to receive a request initiated by a target user to view rights and interests information;

页面展示单元,用于展示目标页面,所述目标页面中包括多个权益项分别对应的展示内容,所述展示内容是由同一处理器模块读取所述目标用户在所述多个权益项的多个数据字段上的数据并进行组装后生成的;A page display unit, used for displaying a target page, wherein the target page includes display contents corresponding to a plurality of rights and interests items, respectively, and the display contents are generated by reading and assembling the data of the target user on a plurality of data fields of the plurality of rights and interests items by the same processor module;

其中,所述目标用户在所述多个权益项的多个数据字段上的数据是按照权益数据定义模板确定的,其中包括与基础信息相关的数据字段以及与用户使用情况相关的数据字段,所述与用户使用情况相关的数据字段上的数据是根据用户的权益项使用情况信息以及所述数据展示规则确定的。Among them, the data of the target user in multiple data fields of the multiple rights and interests items are determined according to the rights and interests data definition template, including data fields related to basic information and data fields related to user usage. The data in the data fields related to user usage is determined based on the user's rights and interests item usage information and the data display rules.

一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现前述任一项所述的方法的步骤。A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of any of the methods described above.

一种电子设备,包括:An electronic device, comprising:

一个或多个处理器;以及one or more processors; and

与所述一个或多个处理器关联的存储器,所述存储器用于存储程序指令,所述程序指令在被所述一个或多个处理器读取执行时,执行前述任一项所述的方法的步骤。 A memory associated with the one or more processors, the memory being used to store program instructions, wherein the program instructions, when read and executed by the one or more processors, execute the steps of any of the methods described above.

根据本申请提供的具体实施例,本申请公开了以下技术效果:According to the specific embodiments provided in this application, this application discloses the following technical effects:

通过本申请实施例,可以将多个不同权益项的展示信息进行标准化的拆解,抽取为标准化的模板,模板中可以将权益项对应的需要展示的数据拆分为与基础信息相关的数据字段以及与用户使用情况相关的数据字段,同时还可以配置多个权益项分别在不同的用户使用情况下,对应的与用户使用情况相关的字段上的数据展示规则。之后,可以按照所述权益数据定义模板,对用户分别在多个权益项的多个数据字段上的数据进行保存。其中,对于与用户使用情况相关的字段上的数据,可以是根据用户对所述多个权益项的使用情况信息以及前述数据展示规则进行确定的。这样,在目标用户发起查看权益信息的请求后,可以从所保存的信息中读取所述目标用户在所述多个权益项的多个数据字段上的数据,并组装成所述多个权益项分别对应的展示内容,以便在目标页面中进行展示。通过这种方式,可以通过同一页面对多种不同权益项的信息进行聚合展示,并且可以展示与用户使用情况相关的信息。在实现过程中,虽然每个权益项在同一字段上需要透出的信息可能不同,且与具体用户对对应权益项的使用情况有关,但是,由于每个权益项对应的各个数据字段都是统一进行定义的,且可以提前获取到不同用户在各个权益项的多个字段上的待展示数据,因此,在需要向用户进行展示时,可以由相同的处理逻辑进行处理,完成数据的组装,相应的,仅需要开发同一套处理逻辑,即可完成对多个不同权益项的展示,以此达到降低开发成本的目的。Through the embodiment of the present application, the display information of multiple different rights and interests items can be standardized and disassembled and extracted into a standardized template. In the template, the data that needs to be displayed corresponding to the rights and interests items can be split into data fields related to basic information and data fields related to user usage. At the same time, the data display rules on the fields related to user usage corresponding to multiple rights and interests items under different user usage conditions can also be configured. Afterwards, the data of the user on multiple data fields of multiple rights and interests items can be saved according to the rights and interests data definition template. Among them, the data on the fields related to user usage can be determined based on the user's usage information of the multiple rights and interests items and the aforementioned data display rules. In this way, after the target user initiates a request to view the rights and interests information, the data of the target user on multiple data fields of the multiple rights and interests items can be read from the saved information, and assembled into the display content corresponding to the multiple rights and interests items, so as to be displayed on the target page. In this way, the information of multiple different rights and interests items can be aggregated and displayed on the same page, and information related to user usage can be displayed. During the implementation process, although the information that needs to be conveyed in the same field for each benefit item may be different and related to the specific user's use of the corresponding benefit item, since the data fields corresponding to each benefit item are uniformly defined and the data to be displayed for different users in multiple fields of each benefit item can be obtained in advance, when it is necessary to display it to the user, it can be processed by the same processing logic to complete the data assembly. Accordingly, only the same set of processing logic needs to be developed to complete the display of multiple different benefit items, thereby achieving the purpose of reducing development costs.

另外,在权益项发生新增、删除或者信息更新时,只需要更新具体的配置信息,例如,对于新增的权益项,只需要按照前述模板进行各个字段上数据的配置即可,不需要单独开发新的处理逻辑,因此,该方案具有更强的可扩展性。In addition, when rights items are added, deleted, or information is updated, only the specific configuration information needs to be updated. For example, for newly added rights items, it is only necessary to configure the data on each field according to the aforementioned template. There is no need to develop new processing logic separately. Therefore, this solution has stronger scalability.

在优选的实施方式下,还可以将权益项的相关数据拆解为两部分,分别为与基础信息相关的字段上的数据,以及与用户使用情况相关的字段上的数据,并分别对应提供第一模板以及第二模板。这样,只需要对与用户使用情况相关的字段上的数据在用户维度上进行保存,并进行动态更新,而关于基础信息相关的字段上的数据,只需要为每个权益项保存一份即可,也不需要分别为每个用户保存一份,以此起到节省存储空间的作用。In a preferred implementation, the data related to the rights and interests item can also be split into two parts, namely, the data on the fields related to the basic information and the data on the fields related to the user's usage, and the first template and the second template are provided respectively. In this way, only the data on the fields related to the user's usage needs to be saved in the user dimension and dynamically updated, while the data on the fields related to the basic information only needs to be saved for each rights and interests item, and there is no need to save a copy for each user, thereby saving storage space.

当然,实施本申请的任一产品并不一定需要同时达到以上所述的所有优点。Of course, any product implementing the present application does not necessarily need to achieve all of the advantages described above at the same time.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

图1是本申请实施例提供的系统架构的示意图;FIG1 is a schematic diagram of a system architecture provided in an embodiment of the present application;

图2是本申请实施例提供的第一方法的流程图; FIG2 is a flow chart of a first method provided in an embodiment of the present application;

图3是本申请实施例提供的第一界面的示意图;FIG3 is a schematic diagram of a first interface provided in an embodiment of the present application;

图4是本申请实施例提供的第二界面的示意图;FIG4 is a schematic diagram of a second interface provided in an embodiment of the present application;

图5是本申请实施例提供的第三界面的示意图;FIG5 is a schematic diagram of a third interface provided in an embodiment of the present application;

图6是本申请实施例提供的第二方法的流程图;FIG6 is a flow chart of a second method provided in an embodiment of the present application;

图7是本申请实施例提供的第一装置的示意图;FIG7 is a schematic diagram of a first device provided in an embodiment of the present application;

图8是本申请实施例提供的第二装置的示意图;FIG8 is a schematic diagram of a second device provided in an embodiment of the present application;

图9是本申请实施例提供的电子设备的示意图。FIG. 9 is a schematic diagram of an electronic device provided in an embodiment of the present application.

具体实施方式DETAILED DESCRIPTION

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员所获得的所有其他实施例,都属于本申请保护的范围。The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

首先需要说明的是,本申请发明人在实现本申请实施例的过程中发现,在现有技术中,通常不会提供一个专门的页面对具体会员类型下可享受哪些权益进行展示,而是散落在不同的页面中,如果用户(具体可以是商家用户)需要使用或者启用(包括激活、配置、认证等)某项权益,则需要通过多级目录找到对应的权益的使用或者启用等操作的入口,然后才能执行对应的操作。First of all, it should be explained that the inventors of the present application found in the process of implementing the embodiments of the present application that in the prior art, a special page is usually not provided to display what rights and interests can be enjoyed under a specific membership type, but are scattered on different pages. If a user (specifically a merchant user) needs to use or enable (including activation, configuration, authentication, etc.) a certain right or interest, it is necessary to find the entry for the use or activation of the corresponding right or interest through a multi-level directory before the corresponding operation can be performed.

针对以上情况,为了更好地向用户提供关于权益的信息,并方便用户对具体的权益进行使用,在本申请实施例中,可以为用户提供具体的页面,在该页面中,可以对具体会员类型下包括的多种可享受的权益的信息进行聚合展示。并且,不仅仅可以展示出各项权益的名称、介绍等基础信息,还可以根据具体用户对各项权益的使用情况,提供对应的描述文案(例如,是否使用过,如果使用过,使用效果如何,等等),相关的行动项信息等与用户使用情况相关的信息。这样,使得用户可以通过同一页面了解到具有哪些权益项,是否使用过,如果使用过,对应的使用效果等信息,另外,还可以直接通过该页面做出具体的行动,例如,包括去使用、激活、报名某个权益项,等等,而不需要分别到不同的页面中去查找对应的行动入口。In view of the above situation, in order to better provide users with information about rights and interests, and facilitate users to use specific rights and interests, in an embodiment of the present application, a specific page can be provided for users, in which information on a variety of rights and interests that can be enjoyed under a specific membership type can be aggregated and displayed. In addition, not only can basic information such as the name and introduction of each right and interest be displayed, but also corresponding description text (for example, whether it has been used, if it has been used, how the use effect is, etc.), related action item information and other information related to user usage can be provided according to the specific user's use of each right and interest. In this way, users can understand which rights and interests they have, whether they have been used, if they have been used, the corresponding use effect and other information through the same page. In addition, specific actions can be taken directly through the page, for example, including using, activating, and registering for a certain right and interest item, etc., without having to go to different pages to find the corresponding action entry.

但是,本申请发明人在实现上述方案的过程中发现,对于不同的用户而言,由于对各个权益项的使用情况不同,因此,对应需要展示出的文案、行动项等也会不同。例如,如果用户已经使用过某权益项,则意味着已经完成了前期的激活、认证等过程,可以直接进行使用,因此,可以直接提供“去使用”等行动项;而如果用户尚未使用过某权益项,则可能需要首先进行激活、认证等处理,因此,可以展示“去激活”、“去认证”等选项。另一方 面,对于不同的权益项而言,即使是相同的用户使用状态,具体所需要向用户透出的文案、行动项也可能是不同的。例如,对于权益项A、B,某用户已经使用过这两项权益,但是,对于权益项A而言,需要展示的文案可能是“待完成目标X个”,对于权益项B而言,需要展示的文案可能是“本月已报X个”,等等,其中,“X”需要根据具体用户的使用情况而定;或者,对于权益项C以及权益项D这两项权益,某用户对这两项权益均未使用过,但是,权益项C需要向用户展示的行动项可能是“去报名”,而权益项D需要向用户展示的行动项可能是“去验真”,等等。However, in the process of implementing the above solution, the inventors of the present application discovered that for different users, due to the different usage of each benefit item, the corresponding copywriting, action items, etc. that need to be displayed will also be different. For example, if a user has used a benefit item, it means that the previous activation, authentication, and other processes have been completed and it can be used directly. Therefore, action items such as "go to use" can be directly provided; and if the user has not used a benefit item, it may be necessary to activate, authenticate, and other processes first. Therefore, options such as "deactivate" and "deauthenticate" can be displayed. On the other hand For different rights and interests, even if the user's usage status is the same, the specific copy and action items that need to be displayed to the user may be different. For example, for rights and interests A and B, a user has used these two rights and interests. However, for right and interest A, the copy that needs to be displayed may be "X goals to be completed", and for right and interest B, the copy that needs to be displayed may be "X have been reported this month", etc., where "X" needs to be determined according to the specific user's usage; or, for the two rights and interests C and D, a user has not used these two rights and interests, but the action item that needs to be displayed to the user for right and interest C may be "Go to register", and the action item that needs to be displayed to the user for right and interest D may be "Go to verify", etc.

也就是说,如果需要通过统一的页面对多个不同的权益项、对应的与用户使用相关的数据/行动项进行展示,则由于每个权益项需要向用户透出的信息/行动点不同,具体包括哪些描述文案、行动项也可能不同,因此,情况比较复杂,需要考虑具体如何实现的问题。In other words, if you need to display multiple different rights and interests items and corresponding data/action items related to user usage through a unified page, then since each rights and interests item needs to convey different information/action points to the user, the specific descriptions and action items may also be different. Therefore, the situation is more complicated and you need to consider how to implement it.

例如,一种具体的实现方式可以是:需要分别定义针对每个权益项的处理类(也可以称为处理器模块),来承接每一种权益的处理逻辑,包括分别对每个权益项的数据进行获取、加工处理等。但是,由于需要分别定义多种不同权益项的处理器,每一个处理器中需要输出权益项名称、图标、是否达标、权益描述文案、权益剩余N条等描述文案,另外还需要输出不同的行动项,因此,在权益项的数量比较多的情况下,开发成本会比较高;另外,每新增一个权益项就需要重新定义一个权益处理类,因此,方案的扩展性也会比较差。For example, a specific implementation method may be to define a processing class (also called a processor module) for each equity item to undertake the processing logic of each equity, including acquiring and processing the data of each equity item. However, since it is necessary to define processors for a variety of different equity items, each processor needs to output descriptions such as the equity item name, icon, whether it meets the standard, equity description text, and the remaining N equity items. In addition, it is also necessary to output different action items. Therefore, when the number of equity items is relatively large, the development cost will be relatively high; in addition, each new equity item requires a redefinition of a equity processing class, so the scalability of the solution will be relatively poor.

为了降低开发成本,同时提升方案的扩展性,在本申请实施例中,还提供了具体的解决方案,在该方案中,可以为多个不同的权益项开发统一的处理类,通过相同的处理逻辑,来满足不同权益项在展示文案、行动项方面的差异化需求。为了达到该目的,本申请实施例可以首先提供标准化的权益数据定义模板,在该模板中可以定义出多个具体的数据字段,不同的权益项在进行展示时,可以共用该统一的模板。也即,各个权益项具体的展示内容可以都是由具体模板中各字段上的数据进行组装而成的。In order to reduce development costs and improve the scalability of the solution, a specific solution is also provided in an embodiment of the present application. In this solution, a unified processing class can be developed for multiple different rights and interests items, and the differentiated needs of different rights and interests items in display copy and action items can be met through the same processing logic. In order to achieve this goal, an embodiment of the present application can first provide a standardized rights and interests data definition template, in which multiple specific data fields can be defined, and different rights and interests items can share the unified template when being displayed. That is, the specific display content of each rights and interests item can be assembled from the data on each field in the specific template.

在配置了数据定义模板之后,可以按照该模板在用户维度上配置出各个权益项在各个字段上的数据,以用于组装具体的展示内容。其中,如前文所述,由于不同的权益项即使在相同的用户使用状态下,在透出描述文案、行动项等与用户使用情况相关的信息时也可能有不同的需求,因此,还可以为各个权益项配置各自的展示规则,该展示规则主要是指多个权益项分别在不同的用户使用情况下,分别对应的与用户使用情况相关的数据字段上的数据展示规则信息。例如,由于对于与用户使用情况相关的字段,不同的权益项在同一字段上对应不同的候选值,因此,具体的数据展示规则信息可以是同一权益项的在同一字段上的各候选值与用户使用情况之间的对应关系。这样,可以根据具体用户的使用情况信息,从对应权益项在对应字段上的候选值中,确定所述对应权益项在对应字段上的待展示数据,等等。 After configuring the data definition template, the data of each benefit item in each field can be configured in the user dimension according to the template for assembling specific display content. Among them, as mentioned above, since different benefit items may have different requirements when revealing descriptive text, action items and other information related to user usage even under the same user usage status, it is also possible to configure each benefit item with its own display rule. The display rule mainly refers to the data display rule information on the data field related to user usage corresponding to multiple benefit items under different user usage conditions. For example, since different benefit items correspond to different candidate values on the same field for the fields related to user usage, the specific data display rule information can be the correspondence between the candidate values of the same benefit item on the same field and the user usage. In this way, the data to be displayed for the corresponding benefit item on the corresponding field can be determined from the candidate values of the corresponding benefit item on the corresponding field according to the usage information of the specific user, and so on.

在配置了具体的权益数据定义模板以及前述数据展示规则信息之后,由于其中包括与用户对权益项使用情况相关的数据字段,而这些数据可能会不断发生变化,因此,在优选的实施方式下,可以通过执行定时任务,从相应的数据源(例如,维护有用户维度的特征数据的数据底表,比如对某个权益项的使用数量等)获取用户维度的权益项使用情况相关的数据,包括某个用户是否使用过某个权益项,具体的使用效果,等等。在获取到这些数据后,可以根据具体权益项对应的展示规则信息,确定向该用户展示具体的权益项时,具体需要展示怎样的文案,以及哪个具体的行动项,等等。这些数据可以通过纵表等形式进行保存,并由前述定时任务进行定时更新。After configuring the specific rights data definition template and the aforementioned data display rule information, since it includes data fields related to the user's use of rights items, and these data may change continuously, therefore, under the preferred implementation, it is possible to obtain data related to the use of user-dimensional rights items from the corresponding data source (for example, a data base table that maintains user-dimensional feature data, such as the number of times a certain rights item is used, etc.) by executing a scheduled task, including whether a certain user has used a certain rights item, the specific effect of use, etc. After obtaining these data, it is possible to determine what kind of text needs to be displayed when displaying a specific rights item to the user, and which specific action item, etc., based on the display rule information corresponding to the specific rights item. These data can be saved in the form of a vertical table, etc., and updated regularly by the aforementioned scheduled tasks.

由于在用户维度上维护了各个权益项在多个字段上的数据,因此,在具体某个目标用户需要访问具体的权益中心等页面时,就可以从预先保存的数据中,读取出具体权益项的基础信息、与用户使用情况相关的字段上的数据,并组装成具体的展示内容,以用于在页面中进行展示。由于上述模板中的各个数据字段都是统一进行定义的,因此,虽然每个权益项具体在各个字段上展示的内容可能不同,但是,在需要向用户进行展示时,可以由相同的处理逻辑进行处理,完成数据的组装,因此,仅需要开发统一的处理器模块,即可完成对各个不同权益项的展示,以此达到降低开发成本的目的。另外,在增加新的权益项时,也只需要按照前述模板进行各个字段上数据的配置或者获取即可,不需要单独开发新的处理逻辑,因此,该方案具有更强的可扩展性。当然,在实际应用中,还可以根据会员类型的不同,开发不同的处理器模块,使得同一处理器模块能够处理同一会员类型对应的多个不同权益项的相关数据并进行组装等处理。Since the data of each benefit item in multiple fields is maintained in the user dimension, when a specific target user needs to access a specific benefit center or other pages, the basic information of the specific benefit item and the data in the fields related to the user's usage can be read from the pre-saved data, and assembled into specific display content for display on the page. Since the various data fields in the above template are uniformly defined, although the content displayed on each field of each benefit item may be different, when it needs to be displayed to the user, it can be processed by the same processing logic to complete the data assembly. Therefore, only a unified processor module needs to be developed to complete the display of each different benefit item, so as to achieve the purpose of reducing development costs. In addition, when adding new benefit items, it is only necessary to configure or obtain the data on each field according to the above template, and there is no need to develop new processing logic separately. Therefore, this solution has stronger scalability. Of course, in actual applications, different processor modules can also be developed according to different member types, so that the same processor module can process the relevant data of multiple different benefit items corresponding to the same member type and perform assembly and other processing.

其中,在优选的实施方式下,由于具体的权益数据中可能会包括一些具体数据相对比较固定、不会因用户的不同或者用户使用情况不同而发生数据变化的字段,例如,权益项的名称、图标等基础信息,因此,还可以将具体的权益数据定义模板拆解成两部分,分别用于对权益项的基础信息相关的字段、以及与用户使用情况相关的字段进行标准化定义。这样,可以实现多个用户共用同一份关于各权益项的基础信息,只有与用户使用情况相关的数据需要动态构建,并以用户为单位分别进行保存,这样,可以避免将各项权益的基础信息也分别为各个用户进行单独存储,因此,可以起到节省存储空间的作用。Among them, under the preferred implementation, since the specific rights and interests data may include some fields whose specific data is relatively fixed and will not change due to different users or different user usage, such as the name, icon and other basic information of the rights and interests item, the specific rights and interests data definition template can also be split into two parts, which are used to standardize the fields related to the basic information of the rights and interests items and the fields related to the user's usage. In this way, multiple users can share the same basic information about each rights and interests item, and only the data related to the user's usage needs to be dynamically constructed and saved separately by user. In this way, it is possible to avoid storing the basic information of each right and interest item separately for each user, thereby saving storage space.

从系统架构角度而言,参见图1,本申请实施例可以涉及到具体应用系统的客户端以及服务端,其中,在服务端,主要可以保存具体的权益数据定义模板(具体可以包括基础信息字段对应的第一模板,与用户使用情况相关的字段对应的第二模板),另外还可以保存多个权益项分别在不同的用户使用情况下,对应的与用户使用情况相关的字段上的数据展示规则信息。之后,可以获取到各个权益项的在基础信息字段上的数据并保存,还可以通过执行定时任务等方式,构建起用户维度的权益项在用户使用情况相关的字段上的数据,并且可以定时更新。在具体的用户通过客户端发起对权益信息的查看请求后,服务端还可 以通过读取该目标用户在各权益项下分别对应的数据,并组装成具体的展示内容,以提供给客户端进行展示。From the perspective of system architecture, referring to Figure 1, the embodiments of the present application may involve the client and server of a specific application system, wherein, on the server side, specific rights and interests data definition templates may be mainly saved (specifically, a first template corresponding to the basic information field and a second template corresponding to the field related to user usage) and data display rule information on fields related to user usage corresponding to multiple rights and interests items under different user usage conditions may also be saved. Afterwards, the data of each rights and interests item in the basic information field may be obtained and saved, and the data of the user-dimensional rights and interests items in the fields related to user usage may be constructed by executing scheduled tasks and the like, and may be updated regularly. After a specific user initiates a request to view the rights and interests information through the client, the server may also By reading the data corresponding to each right item of the target user, and assembling it into specific display content, the content is provided to the client for display.

下面对本申请实施例提供的具体实现方案进行详细介绍。The specific implementation scheme provided in the embodiments of the present application is described in detail below.

实施例一Embodiment 1

首先,该实施例一从服务端的角度,提供了一种展示权益信息的方法,参见图2,该方法具体可以包括:First, from the perspective of the server, this embodiment 1 provides a method for displaying rights and interests information. Referring to FIG. 2 , the method may specifically include:

S201:获取权益数据定义模板,所述权益数据定义模板中包括多个数据字段,所述多个数据字段包括与基础信息相关的数据字段以及与用户使用情况相关的数据字段。S201: Acquire a rights and interests data definition template, wherein the rights and interests data definition template includes a plurality of data fields, wherein the plurality of data fields include a data field related to basic information and a data field related to user usage.

具体的权益数据定义模板具体可以用于定义多个数据字段,这些数据字段上的数据就可以是用于构造具体权益项的展示内容的相关数据,例如,具体的数据字段可以包括权益项的名称、图标、文案、行动项信息,等等。The specific rights and interests data definition template can be used to define multiple data fields. The data on these data fields can be the relevant data used to construct the display content of the specific rights and interests item. For example, the specific data fields can include the name, icon, text, action item information, etc. of the rights and interests item.

其中,如前文所述,关于具体模板中的多个数据字段,其中可能会包括一些具体数据相对比较固定、通常不会因面向的用户不同或者用户使用情况的不同而发生变化的字段,这些字段通常是用于定义具体权益项的一些基础信息,例如,包括权益项的名称、图标等;另外还会包括一些字段,与用户使用情况相关,也即需要在对应字段上透出怎样的数据,是根据用户对具体权益项的使用情况而动态变化的,例如,所需展示的文案、行动项名称等。Among them, as mentioned above, regarding the multiple data fields in the specific template, some fields may include some specific data that are relatively fixed and usually do not change due to different users or different user usage. These fields are usually used to define some basic information of specific rights and interests items, for example, the name and icon of the rights and interests item; in addition, some fields are also included, which are related to user usage, that is, what kind of data needs to be displayed in the corresponding fields, which changes dynamically according to the user's usage of the specific rights and interests item, for example, the copywriting to be displayed, the name of the action item, etc.

因此,在具体实现时,为了节省存储空间,还可以将具体的权益数据定义模板进行标准化的拆解,分别为第一模板以及第二模板,其中,第一模板主要用于对一些相对比较固定的基础信息相关的字段进行定义,第二模板则主要用于对一些与用户使用情况相关的字段进行定义。这样,对于不同用户而言,第一模板可以是通用的,也即,对于各个权益项,只需要按照第一模板维护统一的一份配置数据即可,其中包括权益项的名称、图标等(由于这些字段上的数据不会因用户的不同或用户使用情况的不同而发生变化,因此,没有必要分别为每个用户单独配置一份)。而关于与用户使用情况相关的字段,也即因用户使用情况不同,具体的数据可能会发生变化的字段,则可以分别为每个用户单独维护一份权益数据,通过构建纵表等方式进行保存。Therefore, in order to save storage space during specific implementation, the specific rights and interests data definition template can also be standardized and disassembled into a first template and a second template, wherein the first template is mainly used to define some relatively fixed basic information-related fields, and the second template is mainly used to define some fields related to user usage. In this way, the first template can be universal for different users, that is, for each rights and interests item, it is only necessary to maintain a unified configuration data according to the first template, including the name and icon of the rights and interests item (since the data on these fields will not change due to different users or different user usage, there is no need to configure a separate copy for each user). As for the fields related to user usage, that is, the fields whose specific data may change due to different user usage, a separate copy of the rights and interests data can be maintained for each user and saved by constructing a vertical table or other means.

例如,具体实现时,第一模板中具体可以包括以下表1中所示的字段:For example, in a specific implementation, the first template may specifically include the fields shown in the following Table 1:

表1

Table 1

关于第二模板,具体定义的数据字段可以如表2所示:Regarding the second template, the specific defined data fields may be as shown in Table 2:

表2
Table 2

这里需要说明的是,在涉及到跨境的应用系统中,具体的用户可能来自于多个不同的国家/地区,因此,具体在获取权益项的各个权益项的名称、分组、描述文案等信息时,可能涉及到多语言展示的问题。具体的,针对这种基础信息,可以为各个权益项在各个字段下的数据分别保存为多种不同语言,在向具体某个用户进行展示时,可以根据用户所在的国家/地区等,选择使用对应语种的权益项名称等进行展示。It should be noted here that in cross-border application systems, specific users may come from multiple different countries/regions. Therefore, when obtaining the name, grouping, description text and other information of each benefit item, the problem of multi-language display may be involved. Specifically, for this basic information, the data of each benefit item under each field can be saved in multiple different languages. When displaying to a specific user, the benefit item name in the corresponding language can be selected for display based on the user's country/region.

S202:获取多个权益项分别在不同的用户使用情况下,对应的与用户使用情况相关的数据字段上的数据展示规则信息。S202: Obtaining data display rule information on data fields related to user usage conditions corresponding to a plurality of benefit items in different user usage conditions.

由于对于与用户使用情况相关的字段,不同的权益项在同一字段上可能对应不同的候选值,即使在相同的用户使用情况下,不同的权益项需要透出的具体数据也可能是不同的,例如,不同的权益项针对相同的用户使用状态时,具体所需透出的文案或者行动项等与用户使用情况相关的字段上的数据也可能是不同的。因此,还可以分别为各个权益项配置具体的数据展示规则信息,例如,这种数据展示规则就可以用于描述各个权益项在具体与用 户使用情况相关的字段上分别具有哪些候选值,以及在各种不同的用户使用情况下,分别需要具体字段上透出怎样的数据,例如,包括具体透出怎样的描述文案和/或怎样的行动项,等等。其中,每个权益项具体有哪些候选的文案、行动项,以及对应的透出规则都可以是不同的。Since different rights items may correspond to different candidate values on the same field related to user usage, even in the same user usage, the specific data that needs to be displayed for different rights items may be different. For example, when different rights items are for the same user usage status, the specific data that needs to be displayed on the fields related to user usage, such as copywriting or action items, may also be different. Therefore, specific data display rule information can also be configured for each rights item. For example, this data display rule can be used to describe the specific relationship between each rights item and the user. What candidate values are there in the fields related to user usage, and what kind of data is required to be revealed in the specific fields in various user usage situations, for example, including what kind of descriptive copy and/or what kind of action items are revealed, etc. Among them, the specific candidate copy, action items, and corresponding disclosure rules for each benefit item can be different.

例如,某权益项A对应的候选行动项有“去使用”、“去激活”等,而另一权益项B对应的候选行动项有“去使用”、“去认证”等;相应的,对应的规则可以分别设置为:For example, the candidate action items corresponding to a certain benefit item A include "stop using" and "stop activating", while the candidate action items corresponding to another benefit item B include "stop using" and "stop authenticating", etc.; accordingly, the corresponding rules can be set as follows:

权益项A:Equity Item A:

如果用户使用过该权益项A,则展示的行动项为“去使用”;如果用户未使用过该权益项A,由于该权益项A在使用之前需要执行激活操作,因此,展示的行动项可以为“去激活”;If the user has used benefit item A, the displayed action item is "deactivate"; if the user has not used benefit item A, since benefit item A needs to be activated before use, the displayed action item may be "deactivate";

权益项B:Equity Item B:

如果用户使用过该权益项B,则展示的行动项为“去使用”;如果用户未使用过该权益项B,由于该权益项B在使用之前需要对用户进行认证,因此,展示的行动项可以为“去认证”。If the user has used benefit item B, the action item displayed is "stop using"; if the user has not used benefit item B, since benefit item B requires the user to be authenticated before use, the action item displayed may be "stop authenticating".

需要说明的是,具体的展示规则中,关于行动项,除了可以配置行动项的名称,还可以配置具体行动项对应的跳转地址等信息,这样,以便于在展示出具体的行动项后,如果用户点击具体的行动项,则可以通过该跳转地址跳转到对应的页面进行展示,以便于用户完成对应的“行动”。It should be noted that in the specific display rules, regarding action items, in addition to configuring the name of the action item, you can also configure information such as the jump address corresponding to the specific action item. In this way, after the specific action item is displayed, if the user clicks on the specific action item, the jump address can be used to jump to the corresponding page for display, so that the user can complete the corresponding "action".

关于具体的描述文案,也是可以根据不同的用户使用情况进行不同的配置,例如,如果所述目标用户使用过所述权益项,所述描述文案包括:所述目标用户对所述权益项的使用次数、剩余次数和/或获得的使用效果信息等。如果所述目标用户未使用过所述权益项,所述描述文案包括:关于所述权益项的功能描述摘要信息,等等。另外,在相同的用户使用情况下,不同权益项对应所需透出的描述文案可以是不同的,例如,如果某用户对某两个权益项都使用过,但其中一个权益项需要透出的文案可能是“待完成目标X个”,另一个权益项需要透出的文案可能是“本月已报X个”,等等。这些都可以通过规则的方式进行配置,其中具体的数量信息可以是根据具体用户的实际使用情况而进行动态确定。Regarding specific descriptions, they can also be configured differently according to different user usage situations. For example, if the target user has used the benefit item, the description includes: the number of times the target user has used the benefit item, the remaining number of times and/or the usage effect information obtained, etc. If the target user has not used the benefit item, the description includes: summary information about the function description of the benefit item, etc. In addition, under the same user usage situation, the descriptions that need to be displayed for different benefit items may be different. For example, if a user has used two benefit items, the text that needs to be displayed for one of the benefit items may be "X goals to be completed", and the text that needs to be displayed for the other benefit item may be "X reported this month", etc. These can all be configured in a rule-based manner, where the specific quantity information can be dynamically determined based on the actual usage of the specific user.

S203:按照所述权益数据定义模板,对用户分别在多个权益项的多个数据字段上的数据进行保存,其中,所述与用户使用情况相关的数据字段上的数据是根据用户的权益项使用情况信息以及所述数据展示规则确定的。S203: According to the rights and interests data definition template, the user's data on multiple data fields of multiple rights and interests items are saved, wherein the data on the data fields related to the user's usage is determined based on the user's rights and interests item usage information and the data display rules.

由于配置了权益数据定义模板及数据展示规则,因此,可以按照该模板及数据展示规则,对多个用户分别在多个权益项的多个数据字段上的数据进行保存。其中,如果拆分成 了第一模板以及第二模板,则对于第一模板部分,可以分别为各个权益项配置各个数据字段上的数据,这些数据通常是不需要更新的,除非某权益项的名称、图标等发生变化。也就是说,对于与权益项的基础信息相关的字段上的数据,可以通过人工配置等方式进行构建,例如,具体的权益配置项定义可以采用JSON(JavaScript Object Notation,JS对象简谱)等格式进行配置设计,在对各个权益项的完成基础信息相关字段上的数据配置后,可以保存在服务端,例如,可以通过服务端的配置中心服务器进行保存,等等。Since the rights data definition template and data display rules are configured, the data of multiple users in multiple data fields of multiple rights items can be saved according to the template and data display rules. If the first template and the second template are used, the data on each data field can be configured for each equity item for the first template. These data usually do not need to be updated unless the name, icon, etc. of a certain equity item changes. In other words, the data on the fields related to the basic information of the equity item can be constructed by manual configuration and other methods. For example, the specific equity configuration item definition can be configured and designed in the format of JSON (JavaScript Object Notation). After the data configuration on the fields related to the basic information of each equity item is completed, it can be saved on the server side, for example, it can be saved through the configuration center server of the server side, and so on.

对于与用户使用情况相关的字段上的数据,具体可以根据用户的权益项使用情况信息以及所述数据展示规则进行确定。其中,具体实现时,由于每个用户对权益项的使用情况可能是动态变化的,因此,与用户使用情况相关的字段上的数据也可能会动态变化。为此,在优选的实施方式下,可以通过执行定时任务的方式来进行这种与用户使用相关的字段上的数据的获取及定时更新。具体实现时,可以从维护有用户维度的特征数据的数据底表等数据源中获取用户对各项权益的使用情况数据。其中,上述数据底表可以是由日志系统等进行维护。The data on the fields related to user usage can be specifically determined based on the user's rights and interests item usage information and the data display rules. In a specific implementation, since each user's usage of the rights and interests items may change dynamically, the data on the fields related to the user's usage may also change dynamically. To this end, in a preferred implementation, the data on the fields related to user usage can be acquired and regularly updated by executing scheduled tasks. In a specific implementation, the user's usage data for each right can be obtained from a data source such as a data base table that maintains user-dimensional feature data. The above-mentioned data base table can be maintained by a log system, etc.

其中,获取到的用户对各项权益的使用情况数据,具体可以包括用户是否使用过某权益项,具体对某个权益项的使用数量等。关于这些数据,可以直接从前述数据底表中进行获取,或者,也可以通过对数据底表中的数据进行加工处理后来获得,等等。也就是说,如果数据底表中有加工好的数据指标,则可以直接用,如果没有,则前述定时任务还可以底表中的数据进行加工处理,以得到权益项的用户使用情况数据指标。例如,对于某权益项而言,需要获取用户是否参与过某活动,但是,数据底表中不直接存在该数据,则可以由该定时任务根据数据底表中已有的数据去统计用户是否参与活动,等等。其中,具体的定时任务可以通过SQL(Structured Query Language,结构化查询语言)语句等方式,实现上述对底表中的数据进行加工处理的逻辑。Among them, the obtained user usage data of various rights and interests may specifically include whether the user has used a certain right item, the specific usage amount of a certain right item, etc. These data can be directly obtained from the aforementioned data base table, or they can be obtained by processing the data in the data base table, etc. In other words, if there are processed data indicators in the data base table, they can be used directly. If not, the aforementioned scheduled task can also process the data in the base table to obtain the user usage data indicators of the rights and interests items. For example, for a certain right item, it is necessary to obtain whether the user has participated in a certain activity. However, the data does not directly exist in the data base table. In this case, the scheduled task can use the existing data in the data base table to count whether the user has participated in the activity, etc. Among them, the specific scheduled task can implement the logic of processing the data in the base table through SQL (Structured Query Language) statements and other methods.

在确定出用户对权益项的使用情况数据后,就可以根据具体权益项对应的前述展示规则信息,确定出具体针对该用户展示具体权益项时,需要在与用户使用相关的字段上透出怎样的信息,例如,包括具体的描述文案、行动项等。例如,假设某用户使用过某权益项A,该权益项A与报价有关,且具有使用次数的限制,则透出的文案可以是“本月已报X次”,行动项可以是“去报价”,等等。其中,关于具体已报价的次数“X”,也可以是由前述定时任务从具体的数据底表中获取(直接获取或者经过加工处理后获取)的。After determining the user's usage data for the benefit items, it is possible to determine what information needs to be displayed in the fields related to the user's usage when displaying the specific benefit item to the user based on the aforementioned display rule information corresponding to the specific benefit item, for example, including specific descriptive text, action items, etc. For example, assuming that a user has used benefit item A, and benefit item A is related to quotation and has a limit on the number of uses, the text displayed can be "Quoted X times this month", and the action item can be "Go to quote", etc. Among them, the specific number of quotations "X" can also be obtained by the aforementioned scheduled task from the specific data base table (directly or after processing).

在获取到用户对具体权益项的使用情况相关数据,并根据各个权益项对应的数据展示规则,确定出在面向具体用户时需要在具体与用户使用情况相关的字段上所需展示信息后,可以构造出用户维度的权益项数据表(例如,可以通过纵表的形式进行保存)。该数据表中就可以包括分别为每个用户构建起的权益项数据,例如,包括根据每个用户对各个权益项的使用情况(是否使用过,使用效果如何,等等)确定出的描述文案,另外还可以包括根据每个用户对各个权益项的使用情况确定出的需要展示的行动项信息,等等。 After obtaining the data related to the user's use of specific rights and interests items, and determining the information that needs to be displayed on the specific fields related to the user's use of the rights and interests items according to the data display rules corresponding to each right and interest item, a user-dimensional rights and interests item data table can be constructed (for example, it can be saved in the form of a vertical table). The data table can include the rights and interests item data constructed for each user, for example, including the description text determined based on each user's use of each right and interest item (whether it has been used, how effective it is, etc.), and can also include the action item information that needs to be displayed based on each user's use of each right and interest item, etc.

S204:响应于目标用户发起的查看权益信息的请求,从所保存的信息中读取所述目标用户在所述多个权益项的多个数据字段上的数据,并组装成所述多个权益项分别对应的展示内容,以便在目标页面中对所述多个权益分别对应的展示内容进行展示。S204: In response to a request for viewing rights information initiated by a target user, the data of the target user on multiple data fields of the multiple rights items are read from the saved information, and assembled into display contents corresponding to the multiple rights items respectively, so as to display the display contents corresponding to the multiple rights in the target page.

由于已经预先获取到了用户维度的权益项在各个字段上所需展示的数据,因此,在具体需要向某个具体的目标用户展示权益信息时,可以从已经保存的数据中读取所述目标用户在所述多个权益项的多个数据字段上的数据,并组装成所述多个权益项分别对应的展示内容。Since the data required to be displayed in each field of the rights and interests items in the user dimension have been acquired in advance, when it is necessary to display the rights and interests information to a specific target user, the data of the target user in multiple data fields of the multiple rights and interests items can be read from the saved data and assembled into display content corresponding to the multiple rights and interests items.

其中,如果是按照前述第一模板以及第二模板拆解成了两部分,则可以首先从权益配置信息中获取多个权益项在基础信息相关的数据字段上的数据,并从权益使用相关数据中获取所述目标用户对所述多个权益项在用户使用情况相关的数据字段上的数据;然后,将所述多个权益项在基础信息相关的数据字段上的数据,以及在用户使用情况相关的数据字段上的数据进行组装,生成所述多个权益项分别对应的展示内容。Among them, if it is disassembled into two parts according to the aforementioned first template and the second template, the data of multiple rights items in the data fields related to the basic information can be first obtained from the rights configuration information, and the data of the target user on the data fields related to the user usage of the multiple rights items can be obtained from the rights usage related data; then, the data of the multiple rights items in the data fields related to the basic information and the data in the data fields related to the user usage are assembled to generate the display content corresponding to the multiple rights items respectively.

需要说明的是,具体的权益配置信息中还可以包括所述权益项对应的排序索引字段,该字段上的数据可以包括具体权益项的排序位次编号等。此时,还可以按照所述排序索引字段上的数据,对所述多个权益项对应的展示内容进行排序,以便在所述目标页面按照对应的顺序进行展示。It should be noted that the specific equity configuration information may also include a sorting index field corresponding to the equity item, and the data on the field may include the sorting position number of the specific equity item. At this time, the display content corresponding to the multiple equity items may also be sorted according to the data on the sorting index field, so as to be displayed in the corresponding order on the target page.

例如,具体在展示时,如图3所示,可以展示出当前目标用户对应的各项权益项的信息,其中,31处所示的权益项,其名称为“行业经营指导”,由于当前目标用户已经使用过该权益项,因此,展示出的文案为“待完成目标2个”(其中,数字“2”是可以动态变化的,以提示用户对该权益项的使用情况),行动项为“去查看”;32处所示的权益项,其名称为“管理证书”,由于当前目标用户尚未使用过该权益项,因此,展示出的文案为“管理体系证书”,行动项可以为“去验真”,等等。For example, when displaying, as shown in Figure 3, the information of various rights and interests items corresponding to the current target user can be displayed, among which the rights and interests item shown at 31 is named "Industry Business Guidance". Since the current target user has used this rights and interests item, the displayed text is "2 goals to be completed" (wherein the number "2" can change dynamically to prompt the user's use of the rights and interests item), and the action item is "Go to check"; the rights and interests item shown at 32 is named "Management Certificate". Since the current target user has not used this rights and interests item, the displayed text is "Management System Certificate", and the action item can be "Go to verify", and so on.

其中,具体权益项的图标等也可以是可交互的状态,当执行点击等交互操作时,可以通过弹出窗口/浮层等方式展示出权益项的一些详情描述类的信息等。例如,在点击“L2+自营销”这一权益项的图标时,可以展示出如图4所示的弹窗,其中可以展示出关于该权益项的更详细的介绍等信息;在点击“RFQ”这一权益项时,可以展示出如图5所示的弹窗,其中可以展示出关于该权益项的详情介绍等相关的信息,等等。Among them, the icons of specific rights and interests items can also be in an interactive state. When performing interactive operations such as clicking, some detailed description information of the rights and interests items can be displayed through pop-up windows/floating layers. For example, when clicking the icon of the rights and interests item "L2+Self-Marketing", a pop-up window as shown in Figure 4 can be displayed, which can display more detailed information about the rights and interests item; when clicking the rights and interests item "RFQ", a pop-up window as shown in Figure 5 can be displayed, which can display relevant information such as detailed introduction of the rights and interests item, etc.

另外,在权益项发生新增、删除或者数据更新时,只需要更新配置信息即可。例如,对于新增权益项的情况,按照前述模板对新增权益项进行各个字段上数据的配置即可,不需要单独开发新的处理逻辑,因此,该方案具有更强的可扩展性。In addition, when a new benefit item is added, deleted, or the data is updated, only the configuration information needs to be updated. For example, in the case of a new benefit item, the data on each field of the new benefit item can be configured according to the above template, without the need to develop new processing logic separately. Therefore, this solution has stronger scalability.

另外需要说明的是,在本申请实施例中,可以多个权益项共用同一处理逻辑进行展示,但是,在具体的应用系统中,可能会分为多种不同的会员类型,不同的会员类型对应可使用的权益项可能是不同的,另外,还可能存在一些权益项在进行展示时可能具有一些特殊的需求,等等。因此,在具体实现时,还可以分别为不同的会员类型实现不同的处理逻辑, 这样,具体在为目标用户进行权益项展示时,可以首先判断出当前目标用户属于何种会员类型,然后调用该类型对应的处理逻辑进行处理。It should also be noted that in the embodiment of the present application, multiple rights and interests items can share the same processing logic for display. However, in a specific application system, there may be multiple different types of members, and different types of members may have different rights and interests items available. In addition, some rights and interests items may have some special requirements when being displayed, etc. Therefore, in the specific implementation, different processing logics can be implemented for different types of members. In this way, when displaying the rights and interests items for the target user, it is possible to first determine which membership type the current target user belongs to, and then call the processing logic corresponding to the type for processing.

总之,通过本申请实施例,可以将多个不同权益项的展示信息进行标准化的拆解,抽取为标准化的模板,模板中可以将权益项对应的需要展示的数据拆分为与基础信息相关的数据字段以及与用户使用情况相关的数据字段,同时还可以配置多个权益项分别在不同的用户使用情况下,对应的与用户使用情况相关的字段上的数据展示规则。之后,可以按照所述权益数据定义模板,对用户分别在多个权益项的多个数据字段上的数据进行保存。其中,对于与用户使用情况相关的字段上的数据,可以是根据用户对所述多个权益项的使用情况信息以及前述数据展示规则进行确定的。这样,在目标用户发起查看权益信息的请求后,可以从所保存的信息中读取所述目标用户在所述多个权益项的多个数据字段上的数据,并组装成所述多个权益项分别对应的展示内容,以便在目标页面中进行展示。通过这种方式,可以通过同一页面对多种不同权益项的信息进行聚合展示,并且可以展示与用户使用情况相关的信息。在实现过程中,虽然每个权益项在同一字段上需要透出的信息可能不同,且与具体用户对对应权益项的使用情况有关,但是,由于每个权益项对应的各个数据字段都是统一进行定义的,且可以提前获取到不同用户在各个权益项的多个字段上的待展示数据,因此,在需要向用户进行展示时,可以由相同的处理逻辑进行处理,完成数据的组装,相应的,仅需要开发同一套处理逻辑,即可完成对多个不同权益项的展示,以此达到降低开发成本的目的。In summary, through the embodiment of the present application, the display information of multiple different rights and interests items can be standardized and disassembled and extracted into a standardized template. In the template, the data that needs to be displayed corresponding to the rights and interests items can be split into data fields related to basic information and data fields related to user usage. At the same time, the data display rules on the fields related to user usage corresponding to multiple rights and interests items under different user usage conditions can also be configured. Afterwards, the data of the user on multiple data fields of multiple rights and interests items can be saved according to the rights and interests data definition template. Among them, the data on the fields related to user usage can be determined based on the user's usage information of the multiple rights and interests items and the aforementioned data display rules. In this way, after the target user initiates a request to view the rights and interests information, the data of the target user on multiple data fields of the multiple rights and interests items can be read from the saved information, and assembled into the display content corresponding to the multiple rights and interests items, so as to be displayed on the target page. In this way, the information of multiple different rights and interests items can be aggregated and displayed on the same page, and information related to user usage can be displayed. During the implementation process, although the information that needs to be conveyed in the same field for each benefit item may be different and related to the specific user's use of the corresponding benefit item, since the data fields corresponding to each benefit item are uniformly defined and the data to be displayed for different users in multiple fields of each benefit item can be obtained in advance, when it is necessary to display it to the user, it can be processed by the same processing logic to complete the data assembly. Accordingly, only the same set of processing logic needs to be developed to complete the display of multiple different benefit items, thereby achieving the purpose of reducing development costs.

另外,在权益项发生新增、删除或者信息更新时,只需要更新具体的配置信息,例如,对于新增的权益项,只需要按照前述模板进行各个字段上数据的配置即可,不需要单独开发新的处理逻辑,因此,该方案具有更强的可扩展性。In addition, when rights items are added, deleted, or information is updated, only the specific configuration information needs to be updated. For example, for newly added rights items, it is only necessary to configure the data on each field according to the aforementioned template. There is no need to develop new processing logic separately. Therefore, this solution has stronger scalability.

在优选的实施方式下,不仅可以将权益项的相关数据拆解为两部分,分别为与基础信息相关的字段上的数据,以及与用户使用情况相关的字段上的数据,还可以分别对应提供第一模板以及第二模板。这样,只需要对与用户使用情况相关的字段上的数据在用户维度上进行保存,并进行动态更新,而关于基础信息相关的字段上的数据,只需要为每个权益项保存一份即可,也不需要分别为每个用户保存一份,以此起到节省存储空间的作用。In a preferred implementation, not only can the data related to the rights and interests item be split into two parts, namely, the data on the fields related to the basic information and the data on the fields related to the user's usage, but also the first template and the second template can be provided respectively. In this way, only the data on the fields related to the user's usage needs to be saved in the user dimension and dynamically updated, while the data on the fields related to the basic information only needs to be saved for each rights and interests item, and there is no need to save a copy for each user, thereby saving storage space.

实施例二Embodiment 2

该实施例二是与实施例一相对应的,从客户端的角度,提供了一种展示权益信息的方法,参见图6,该方法可以包括:The second embodiment corresponds to the first embodiment and provides a method for displaying rights and interests information from the perspective of the client. Referring to FIG. 6 , the method may include:

S601:接收目标用户发起的查看权益信息的请求;S601: receiving a request from a target user to view rights and interests information;

S602:展示目标页面,所述目标页面中包括多个权益项分别对应的展示内容,所述展示内容是由同一处理器模块读取所述目标用户在所述多个权益项的多个数据字段上的数据并进行组装后生成的;S602: Display a target page, wherein the target page includes display contents corresponding to a plurality of rights and interests items, and the display contents are generated by reading and assembling the data of the target user on a plurality of data fields of the plurality of rights and interests items by the same processor module;

其中,所述目标用户在所述多个权益项的多个数据字段上的数据是按照权益数据定义模板确定的,其中包括与基础信息相关的数据字段以及与用户使用情况相关的数据字段, 所述与用户使用情况相关的数据字段上的数据是根据用户的权益项使用情况信息以及所述数据展示规则确定的。The data of the target user on the multiple data fields of the multiple rights and interests items are determined according to the rights and interests data definition template, including data fields related to basic information and data fields related to user usage. The data in the data field related to the user's usage is determined based on the user's benefit item usage information and the data display rules.

具体的,所述多个权益项分别对应的展示内容包括:所述权益项对应的行动项信息,所述行动项信息包括行动项的名称及跳转地址,以便根据所述跳转地址跳转到对应的页面获取与所述权益项相关的详情信息,或者执行与所述权益项相关的处理;其中,不同的权益项在相同的用户使用情况下对应不同的行动项。Specifically, the display content corresponding to the multiple rights and interests items respectively includes: action item information corresponding to the rights and interests items, the action item information including the name of the action item and the jump address, so as to jump to the corresponding page according to the jump address to obtain detailed information related to the rights and interests item, or perform processing related to the rights and interests item; wherein different rights and interests items correspond to different action items under the same user usage situation.

关于该实施例二中的未详述内容,可以参见实施例一以及本说明书其他部分的记载,这里不再赘述。For the contents not described in detail in the second embodiment, please refer to the records in the first embodiment and other parts of this specification, which will not be repeated here.

需要说明的是,本申请实施例中可能会涉及到对用户数据的使用,在实际应用中,可以在符合所在国的适用法律法规要求的情况下(例如,用户明确同意,对用户切实通知,等),在适用法律法规允许的范围内在本文描述的方案中使用用户特定的个人数据。It should be noted that the embodiments of the present application may involve the use of user data. In actual applications, user-specific personal data can be used in the scheme described herein within the scope permitted by applicable laws and regulations, subject to the requirements of applicable laws and regulations of the country where the user is located (for example, with the user's explicit consent, effective notification to the user, etc.).

与实施例一相对应,本申请实施例还提供了一种展示权益信息的装置,参见图7,该装置可以包括:Corresponding to the first embodiment, the embodiment of the present application further provides a device for displaying rights and interests information. Referring to FIG. 7 , the device may include:

模板获取单元701,用于获取权益数据定义模板,所述权益数据定义模板中包括多个数据字段,所述多个数据字段包括与基础信息相关的数据字段以及与用户使用情况相关的数据字段;The template acquisition unit 701 is used to acquire a rights and interests data definition template, wherein the rights and interests data definition template includes a plurality of data fields, wherein the plurality of data fields include a data field related to basic information and a data field related to user usage;

数据展示规则获取单元702,用于获取多个权益项分别在不同的用户使用情况下,对应的与用户使用情况相关的数据字段上的数据展示规则信息;A data display rule acquisition unit 702 is used to acquire data display rule information on data fields related to user usage conditions corresponding to multiple benefit items under different user usage conditions;

数据获取单元703,用于按照所述权益数据定义模板,对用户分别在多个权益项的多个数据字段上的数据进行保存,其中,所述与用户使用情况相关的数据字段上的数据是根据用户的权益项使用情况信息以及所述数据展示规则确定的;The data acquisition unit 703 is used to save the data of the user in multiple data fields of multiple benefit items according to the benefit data definition template, wherein the data in the data field related to the user's usage is determined according to the user's benefit item usage information and the data display rule;

展示内容构造单元704,用于响应于目标用户发起的查看权益信息的请求,从所保存的信息中读取所述目标用户在所述多个权益项的多个数据字段上的数据,并组装成所述多个权益项分别对应的展示内容,以便在目标页面中对所述多个权益项分别对应的展示内容进行展示。The display content construction unit 704 is used to respond to a request for viewing rights information initiated by a target user, read the data of the target user on multiple data fields of the multiple rights items from the saved information, and assemble them into display contents corresponding to the multiple rights items respectively, so as to display the display contents corresponding to the multiple rights items respectively in the target page.

其中,所述与用户使用情况相关的字段包括:在展示权益项时,所需展示的描述文案和/或行动项;The fields related to user usage include: description text and/or action items to be displayed when displaying benefit items;

此时,所述数据展示规则获取单元具体可以用于:获取多个权益项分别在不同的用户使用情况下,对应的描述文案和/或行动项展示规则信息;其中,每个权益项对应不同的候选文案和/或候选行动项,所述数据展示规则信息包括:同一权益项的各候选文案和/或候选行动项与用户使用情况之间的对应关系; At this time, the data display rule acquisition unit can be specifically used to: obtain the description copy and/or action item display rule information corresponding to multiple rights and interests items under different user usage situations; wherein each rights and interests item corresponds to a different candidate copy and/or candidate action item, and the data display rule information includes: the correspondence between each candidate copy and/or candidate action item of the same rights and interests item and the user usage situation;

所述数据获取单元具体可以用于:获取多个用户分别对所述多个权益项的使用情况信息,并根据所述使用情况信息以及所述数据展示规则,确定在向各用户展示所述权益项时,对应展示的描述文案和/或行动项,并保存为在对应数据字段上的数据。The data acquisition unit can be specifically used to: obtain usage information of the multiple rights and interests items by multiple users respectively, and determine the corresponding description text and/or action items to be displayed when displaying the rights and interests items to each user based on the usage information and the data display rules, and save them as data in the corresponding data fields.

其中,所述行动项信息包括行动项的名称及跳转地址,以便根据所述跳转地址跳转到对应的页面获取与所述权益项相关的详情信息,或者执行与所述权益项相关的处理。The action item information includes the name of the action item and a jump address, so as to jump to a corresponding page according to the jump address to obtain detailed information related to the benefit item, or to perform processing related to the benefit item.

如果所述目标用户使用过所述权益项,所述描述文案包括:所述目标用户对所述权益项的使用次数、剩余次数和/或获得的使用效果信息。If the target user has used the benefit item, the description text includes: the number of times the target user has used the benefit item, the remaining number of times and/or information on the use effect obtained.

如果所述目标用户未使用过所述权益项,所述描述文案包括:关于所述权益项的功能描述摘要信息。If the target user has not used the benefit item, the description text includes: functional description summary information about the benefit item.

其中,所述数据获取单元具体可以通过执行定时任务,获取多个用户分别对所述多个权益项的使用情况信息,并根据所述使用情况信息以及所述数据展示规则,确定在向各用户展示所述权益项时,对应与用户使用情况相关的数据字段上的数据。Among them, the data acquisition unit can specifically obtain the usage information of the multiple rights and interests items by multiple users by executing a scheduled task, and determine the data on the data field related to the user's usage when displaying the rights and interests items to each user based on the usage information and the data display rules.

其中,所述权益数据定义模板包括:第一模板以及第二模板,其中,所述第一模板用于对所述权益项与基础信息相关的数据字段进行定义,所述第二模板用于对多个权益项与用户使用情况相关的数据字段进行定义;The rights and interests data definition template includes: a first template and a second template, wherein the first template is used to define data fields related to the rights and interests items and basic information, and the second template is used to define data fields related to multiple rights and interests items and user usage conditions;

此时,数据获取单元具体可以用于:At this time, the data acquisition unit can be specifically used for:

按照所述第一模板,将所述多个权益项与所述基础信息相关的数据字段上的数据保存为权益配置信息;According to the first template, data on the data fields of the plurality of equity items and the basic information are saved as equity configuration information;

按照所述第二模板,将所述多个权益项与用户使用情况相关的数据字段上的数据保存为权益使用相关数据信息;According to the second template, data on the data fields related to the plurality of benefit items and user usage are saved as benefit usage related data information;

所述展示内容组装单元具体可以用于:The display content assembly unit can be specifically used for:

在响应所述目标用户发起的查看权益信息的请求时,从权益配置信息中获取所述多个权益项在基础信息相关的数据字段上的数据;In response to a request for viewing rights information initiated by the target user, obtaining data of the plurality of rights items in data fields related to basic information from the rights configuration information;

从权益使用相关数据中获取所述目标用户对所述多个权益项在用户使用情况相关的数据字段上的数据;Acquire data of the target user on data fields related to user usage of the plurality of benefit items from the benefit usage related data;

将所述多个权益项在基础信息相关的数据字段上的数据,以及在用户使用情况相关的数据字段上的数据进行组装,生成所述多个权益项分别对应的展示内容。The data of the multiple rights and interests items in the data fields related to the basic information and the data of the data fields related to the user usage are assembled to generate display contents corresponding to the multiple rights and interests items respectively.

具体的,如果存在多种不同的会员类型,则展示内容组装单元具体可以用于:确定所述目标用户对应的会员类型信息;从权益配置信息中获取所述会员类型对应的多个权益项在基础信息相关的数据字段上的数据。Specifically, if there are multiple different membership types, the display content assembly unit can be specifically used to: determine the membership type information corresponding to the target user; obtain data on multiple rights and interests items corresponding to the membership type in data fields related to basic information from the rights and interests configuration information.

另外,不同的会员类型还可以对应不同的处理器模块,此时,展示内容组装单元具体还可以用于:确定所述目标用户对应的会员类型信息之后,根据所述会员类型信息确定对应的处理器模块,以便由该处理器模块进行所述数据的读取以及组装处理。In addition, different membership types may correspond to different processor modules. In this case, the display content assembly unit may be specifically used to: after determining the membership type information corresponding to the target user, determine the corresponding processor module according to the membership type information, so that the processor module can read and assemble the data.

其中,所述权益配置信息中还可以包括所述权益项对应的排序索引字段;The equity configuration information may further include a sorting index field corresponding to the equity item;

此时,该装置还可以包括: At this time, the device may further include:

排序单元,用于按照所述排序索引字段上的数据,对所述多个权益项对应的展示内容进行排序,以便在所述目标页面按照对应的顺序进行展示。The sorting unit is used to sort the display contents corresponding to the multiple rights and interests items according to the data on the sorting index field, so as to display them in the corresponding order on the target page.

其中,在权益项发生新增、删除或信息更新时,通过更新所述权益配置信息和/或权益使用相关数据信息,以更新展示出的权益项和/或对应的展示内容。When a benefit item is added, deleted, or the information is updated, the benefit configuration information and/or benefit usage related data information are updated to update the displayed benefit item and/or the corresponding displayed content.

与实施例二相对应,本申请实施例还提供了一种展示权益信息的装置,参见图8,该装置可以包括:Corresponding to the second embodiment, the embodiment of the present application further provides a device for displaying rights and interests information. Referring to FIG. 8 , the device may include:

请求接收单元801,用于接收目标用户发起的查看权益信息的请求;The request receiving unit 801 is used to receive a request initiated by a target user to view rights and interests information;

页面展示单元802,用于展示目标页面,所述目标页面中包括多个权益项分别对应的展示内容,所述展示内容是由同一处理器模块读取所述目标用户在所述多个权益项的多个数据字段上的数据并进行组装后生成的;The page display unit 802 is used to display a target page, wherein the target page includes display contents corresponding to a plurality of rights and interests items, and the display contents are generated by reading and assembling the data of the target user in a plurality of data fields of the plurality of rights and interests items by the same processor module;

其中,所述目标用户在所述多个权益项的多个数据字段上的数据是按照权益数据定义模板确定的,其中包括与基础信息相关的数据字段以及与用户使用情况相关的数据字段,所述与用户使用情况相关的数据字段上的数据是根据用户的权益项使用情况信息以及所述数据展示规则确定的。Among them, the data of the target user in multiple data fields of the multiple rights and interests items are determined according to the rights and interests data definition template, including data fields related to basic information and data fields related to user usage. The data in the data fields related to user usage is determined based on the user's rights and interests item usage information and the data display rules.

其中。所述多个权益项分别对应的展示内容包括:Among them, the display contents corresponding to the multiple rights and interests items include:

所述权益项对应的行动项信息,所述行动项信息包括行动项的名称及跳转地址,以便根据所述跳转地址跳转到对应的页面获取与所述权益项相关的详情信息,或者执行与所述权益项相关的处理;其中,不同的权益项在相同的用户使用情况下对应不同的行动项。The action item information corresponding to the benefit item includes the name of the action item and a jump address, so as to jump to the corresponding page according to the jump address to obtain detailed information related to the benefit item, or perform processing related to the benefit item; wherein different benefit items correspond to different action items under the same user usage situation.

另外,本申请实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现前述方法实施例中任一项所述的方法的步骤。In addition, an embodiment of the present application further provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of any one of the methods in the aforementioned method embodiments are implemented.

以及一种电子设备,包括:And an electronic device, comprising:

一个或多个处理器;以及one or more processors; and

与所述一个或多个处理器关联的存储器,所述存储器用于存储程序指令,所述程序指令在被所述一个或多个处理器读取执行时,执行前述方法实施例中任一项所述的方法的步骤。A memory associated with the one or more processors, the memory being used to store program instructions, wherein the program instructions, when read and executed by the one or more processors, execute the steps of the method described in any one of the aforementioned method embodiments.

其中,图9示例性的展示出了电子设备的架构,具体可以包括处理器910,视频显示适配器911,磁盘驱动器912,输入/输出接口913,网络接口914,以及存储器920。上述处理器910、视频显示适配器911、磁盘驱动器912、输入/输出接口913、网络接口914,与存储器920之间可以通过通信总线930进行通信连接。9 exemplarily shows the architecture of the electronic device, which may include a processor 910, a video display adapter 911, a disk drive 912, an input/output interface 913, a network interface 914, and a memory 920. The processor 910, the video display adapter 911, the disk drive 912, the input/output interface 913, the network interface 914, and the memory 920 may be communicatively connected via a communication bus 930.

其中,处理器910可以采用通用的CPU(Central Processing Unit,处理器)、微处理器、应用专用集成电路(Application Specific Integrated Circuit,ASIC)、或者一个或多个集成电路等方式实现,用于执行相关程序,以实现本申请所提供的技术方案。 Among them, the processor 910 can be implemented by a general-purpose CPU (Central Processing Unit, processor), a microprocessor, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solution provided in this application.

存储器920可以采用ROM(Read Only Memory,只读存储器)、RAM(Random Access Memory,随机存取存储器)、静态存储设备,动态存储设备等形式实现。存储器920可以存储用于控制电子设备900运行的操作系统921,用于控制电子设备900的低级别操作的基本输入输出系统(BIOS)。另外,还可以存储网页浏览器923,数据存储管理系统924,以及权益信息展示处理系统925等等。上述权益信息展示处理系统925就可以是本申请实施例中具体实现前述各步骤操作的应用程序。总之,在通过软件或者固件来实现本申请所提供的技术方案时,相关的程序代码保存在存储器920中,并由处理器910来调用执行。The memory 920 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 920 can store an operating system 921 for controlling the operation of the electronic device 900, and a basic input and output system (BIOS) for controlling the low-level operation of the electronic device 900. In addition, a web browser 923, a data storage management system 924, and a rights and interests information display processing system 925, etc. can also be stored. The above-mentioned rights and interests information display processing system 925 can be an application program that specifically implements the operations of the aforementioned steps in the embodiment of the present application. In short, when the technical solution provided by the present application is implemented by software or firmware, the relevant program code is stored in the memory 920 and is called and executed by the processor 910.

输入/输出接口913用于连接输入/输出模块,以实现信息输入及输出。输入输出/模块可以作为组件配置在设备中(图中未示出),也可以外接于设备以提供相应功能。其中输入设备可以包括键盘、鼠标、触摸屏、麦克风、各类传感器等,输出设备可以包括显示器、扬声器、振动器、指示灯等。The input/output interface 913 is used to connect the input/output module to realize information input and output. The input/output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.

网络接口914用于连接通信模块(图中未示出),以实现本设备与其他设备的通信交互。其中通信模块可以通过有线方式(例如USB、网线等)实现通信,也可以通过无线方式(例如移动网络、WIFI、蓝牙等)实现通信。The network interface 914 is used to connect to a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired mode (such as USB, network cable, etc.) or a wireless mode (such as mobile network, WIFI, Bluetooth, etc.).

总线930包括一通路,在设备的各个组件(例如处理器910、视频显示适配器911、磁盘驱动器912、输入/输出接口913、网络接口914,与存储器920)之间传输信息。The bus 930 comprises a pathway for transmitting information between the various components of the device (eg, the processor 910, the video display adapter 911, the disk drive 912, the input/output interface 913, the network interface 914, and the memory 920).

需要说明的是,尽管上述设备仅示出了处理器910、视频显示适配器911、磁盘驱动器912、输入/输出接口913、网络接口914,存储器920,总线930等,但是在具体实施过程中,该设备还可以包括实现正常运行所必需的其他组件。此外,本领域的技术人员可以理解的是,上述设备中也可以仅包含实现本申请方案所必需的组件,而不必包含图中所示的全部组件。It should be noted that, although the above device only shows a processor 910, a video display adapter 911, a disk drive 912, an input/output interface 913, a network interface 914, a memory 920, a bus 930, etc., in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include components necessary for implementing the solution of the present application, and does not necessarily include all the components shown in the figure.

通过以上的实施方式的描述可知,本领域的技术人员可以清楚地了解到本申请可借助软件加必需的通用硬件平台的方式来实现。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例或者实施例的某些部分所述的方法。It can be known from the description of the above implementation methods that those skilled in the art can clearly understand that the present application can be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present application can be essentially or partly contributed to the prior art in the form of a software product, which can be stored in a storage medium such as ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in the various embodiments of the present application or certain parts of the embodiments.

本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统或系统实施例而言,由于其基本相似于方法实施例,所以描述得比较简单,相关之处参见方法实施例的部分说明即可。以上所描述的系统及系统实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或 者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for systems or system embodiments, since they are basically similar to method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments. The systems and system embodiments described above are merely illustrative, in which the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physically separated. The physical unit may not be a physical unit, that is, it may be located in one place, or it may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Ordinary technicians in this field can understand and implement it without creative work.

以上对本申请所提供的展示权益信息的方法及电子设备,进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处。综上所述,本说明书内容不应理解为对本申请的限制。 The above is a detailed introduction to the method and electronic device for displaying rights and interests information provided by the present application. This article uses specific examples to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and its core idea of the present application. At the same time, for those skilled in the art, according to the idea of the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present application.

Claims (14)

一种展示权益信息的方法,其特征在于,包括:A method for displaying equity information, characterized by comprising: 获取权益数据定义模板,所述权益数据定义模板中包括多个数据字段,所述多个数据字段包括与基础信息相关的数据字段以及与用户使用情况相关的数据字段;Acquire a rights and interests data definition template, wherein the rights and interests data definition template includes a plurality of data fields, wherein the plurality of data fields include a data field related to basic information and a data field related to user usage; 获取多个权益项分别在不同的用户使用情况下,对应的与用户使用情况相关的数据字段上的数据展示规则信息;Obtain data display rule information on data fields related to user usage corresponding to multiple benefit items under different user usage conditions; 按照所述权益数据定义模板,对用户分别在多个权益项的多个数据字段上的数据进行保存,其中,所述与用户使用情况相关的数据字段上的数据是根据用户的权益项使用情况信息以及所述数据展示规则信息确定的;According to the rights and interests data definition template, the data of the user in multiple data fields of multiple rights and interests items are saved, wherein the data in the data fields related to the user's usage is determined according to the user's rights and interests item usage information and the data display rule information; 响应于目标用户发起的查看权益信息的请求,从所保存的信息中读取所述目标用户在所述多个权益项的多个数据字段上的数据,并组装成所述多个权益项分别对应的展示内容,以便在目标页面中对所述多个权益项分别对应的展示内容进行展示。In response to a request initiated by a target user to view rights and interests information, the data of the target user on multiple data fields of the multiple rights and interests items are read from the saved information and assembled into display contents corresponding to the multiple rights and interests items respectively, so as to display the display contents corresponding to the multiple rights and interests items respectively in the target page. 根据权利要求1所述的方法,其特征在于,The method according to claim 1, characterized in that 对于与用户使用情况相关的字段,不同的权益项在同一字段上对应不同的候选值;For fields related to user usage, different benefit items correspond to different candidate values for the same field; 所述数据展示规则信息具体包括:同一权益项的在同一字段上的各候选值与用户使用情况之间的对应关系,以便根据具体用户的使用情况信息,从对应权益项在对应字段上的候选值中,确定所述对应权益项在对应字段上的待展示数据。The data display rule information specifically includes: the correspondence between the candidate values of the same benefit item in the same field and the user's usage, so as to determine the data to be displayed for the corresponding benefit item in the corresponding field from the candidate values of the corresponding benefit item in the corresponding field according to the usage information of the specific user. 根据权利要求2所述的方法,其特征在于,The method according to claim 2, characterized in that 所述与用户使用情况相关的字段包括:在展示权益项时,所需展示的描述文案和/或行动项;The fields related to user usage include: description text and/or action items to be displayed when displaying benefit items; 所述获取多个权益项分别在不同的用户使用情况下,对应的与用户使用情况相关的数据字段上的数据展示规则信息,包括:The obtaining of data display rule information on data fields related to user usage corresponding to the plurality of rights and interests items under different user usage situations includes: 获取多个权益项分别在不同的用户使用情况下,对应的描述文案和/或行动项展示规则信息;其中,每个权益项对应不同的候选文案和/或候选行动项,所述数据展示规则信息包括:同一权益项的各候选文案和/或候选行动项与用户使用情况之间的对应关系;Obtaining description texts and/or action item display rule information corresponding to a plurality of benefit items under different user usage situations; wherein each benefit item corresponds to a different candidate text and/or candidate action item, and the data display rule information includes: a correspondence between each candidate text and/or candidate action item of the same benefit item and the user usage situation; 所述按照所述权益数据定义模板,对多个用户分别在多个权益项的多个数据字段上的数据进行保存,包括:The step of saving data of multiple users in multiple data fields of multiple rights and interests items according to the rights and interests data definition template includes: 获取多个用户分别对所述多个权益项的使用情况信息,并根据所述使用情况信息以及所述数据展示规则,确定在向各用户展示所述权益项时,对应展示的描述文案和/或行动项,并保存为在对应数据字段上的数据。 Obtain usage information of the multiple benefit items by multiple users respectively, and determine the corresponding description text and/or action items to be displayed when displaying the benefit items to each user based on the usage information and the data display rules, and save them as data in the corresponding data fields. 根据权利要求3所述的方法,其特征在于,The method according to claim 3, characterized in that 所述行动项信息包括行动项的名称及跳转地址,以便根据所述跳转地址跳转到对应的页面获取与所述权益项相关的详情信息,或者执行与所述权益项相关的处理。The action item information includes the name of the action item and a jump address, so as to jump to a corresponding page according to the jump address to obtain detailed information related to the benefit item, or perform processing related to the benefit item. 根据权利要求3所述的方法,其特征在于,The method according to claim 3, characterized in that 如果所述目标用户使用过所述权益项,所述描述文案包括:所述目标用户对所述权益项的使用次数、剩余次数和/或获得的使用效果信息。If the target user has used the benefit item, the description text includes: the number of times the target user has used the benefit item, the remaining number of times and/or information on the use effect obtained. 根据权利要求3所述的方法,其特征在于,The method according to claim 3, characterized in that 如果所述目标用户未使用过所述权益项,所述描述文案包括:关于所述权益项的功能描述摘要信息。If the target user has not used the benefit item, the description text includes: functional description summary information about the benefit item. 根据权利要求1所述的方法,其特征在于,The method according to claim 1, characterized in that 通过执行定时任务,获取多个用户分别对所述多个权益项的使用情况信息,并根据所述使用情况信息以及所述数据展示规则,确定在向各用户展示所述权益项时,对应与用户使用情况相关的数据字段上的数据。By executing scheduled tasks, the usage information of the multiple benefit items by multiple users is obtained, and based on the usage information and the data display rules, the data corresponding to the data field related to the user's usage is determined when the benefit items are displayed to each user. 根据权利要求1至7任一项所述的方法,其特征在于,The method according to any one of claims 1 to 7, characterized in that 所述权益数据定义模板包括:第一模板以及第二模板,其中,所述第一模板用于对所述权益项与基础信息相关的数据字段进行定义,所述第二模板用于对多个权益项与用户使用情况相关的数据字段进行定义;The rights and interests data definition template includes: a first template and a second template, wherein the first template is used to define data fields related to the rights and interests items and basic information, and the second template is used to define data fields related to multiple rights and interests items and user usage conditions; 所述按照所述权益数据定义模板,对多个用户分别在多个权益项的多个数据字段上的数据进行保存,包括:The step of saving data of multiple users in multiple data fields of multiple rights and interests items according to the rights and interests data definition template includes: 按照所述第一模板,将所述多个权益项与所述基础信息相关的数据字段上的数据保存为权益配置信息;According to the first template, data on the data fields of the plurality of equity items and the basic information are saved as equity configuration information; 按照所述第二模板,将所述多个权益项与用户使用情况相关的数据字段上的数据保存为权益使用相关数据信息;According to the second template, data on the data fields related to the plurality of benefit items and user usage are saved as benefit usage related data information; 在响应所述目标用户发起的查看权益信息的请求时,包括:When responding to the request for viewing the rights and interests information initiated by the target user, it includes: 从权益配置信息中获取所述多个权益项在基础信息相关的数据字段上的数据;Acquire data of the plurality of equity items in data fields related to the basic information from the equity configuration information; 从权益使用相关数据中获取所述目标用户对所述多个权益项在用户使用情况相关的数据字段上的数据;Acquire data of the target user on data fields related to user usage of the plurality of benefit items from the benefit usage related data; 将所述多个权益项在基础信息相关的数据字段上的数据,以及在用户使用情况相关的数据字段上的数据进行组装,生成所述多个权益项分别对应的展示内容。 The data of the multiple rights and interests items in the data fields related to the basic information and the data of the data fields related to the user usage are assembled to generate display contents corresponding to the multiple rights and interests items respectively. 根据权利要求8所述的方法,其特征在于,The method according to claim 8, characterized in that 所述从权益配置信息中获取所述多个权益项在基础信息相关的数据字段上的数据,包括:The acquiring data of the plurality of equity items in data fields related to basic information from the equity configuration information includes: 确定所述目标用户对应的会员类型信息;Determine the membership type information corresponding to the target user; 从权益配置信息中获取所述会员类型对应的多个权益项在基础信息相关的数据字段上的数据。The data of the multiple rights and interests items corresponding to the member type in the data fields related to the basic information are obtained from the rights and interests configuration information. 根据权利要求9所述的方法,其特征在于,The method according to claim 9, characterized in that 不同的会员类型对应不同的处理器模块;Different membership types correspond to different processor modules; 所述确定所述目标用户对应的会员类型信息之后还包括:After determining the membership type information corresponding to the target user, the following further includes: 根据所述会员类型信息确定对应的处理器模块,以便由该处理器模块进行所述数据的读取以及组装处理。The corresponding processor module is determined according to the member type information, so that the processor module can read and assemble the data. 根据权利要求8所述的方法,其特征在于,The method according to claim 8, characterized in that 所述权益配置信息中包括所述权益项对应的排序索引字段;The equity configuration information includes a sorting index field corresponding to the equity item; 所述方法还包括:The method further comprises: 按照所述排序索引字段上的数据,对所述多个权益项对应的展示内容进行排序,以便在所述目标页面按照对应的顺序进行展示。According to the data on the sorting index field, the display contents corresponding to the multiple rights and interests items are sorted so as to be displayed in the target page in a corresponding order. 一种展示权益信息的方法,其特征在于,包括:A method for displaying equity information, characterized by comprising: 接收目标用户发起的查看权益信息的请求;Receive a request from a target user to view rights information; 展示目标页面,所述目标页面中包括多个权益项分别对应的展示内容,所述展示内容是由同一处理器模块读取所述目标用户在所述多个权益项的多个数据字段上的数据并进行组装后生成的;Displaying a target page, wherein the target page includes display contents corresponding to a plurality of rights and interests items, respectively, and the display contents are generated by reading and assembling the data of the target user on a plurality of data fields of the plurality of rights and interests items by the same processor module; 其中,所述目标用户在所述多个权益项的多个数据字段上的数据是按照权益数据定义模板确定的,其中包括与基础信息相关的数据字段以及与用户使用情况相关的数据字段,所述与用户使用情况相关的数据字段上的数据是根据用户的权益项使用情况信息以及所述数据展示规则确定的。Among them, the data of the target user in multiple data fields of the multiple rights and interests items are determined according to the rights and interests data definition template, including data fields related to basic information and data fields related to user usage. The data in the data fields related to user usage is determined based on the user's rights and interests item usage information and the data display rules. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现权利要求1至12任一项所述的方法的步骤。A computer-readable storage medium having a computer program stored thereon, characterized in that when the program is executed by a processor, the steps of the method described in any one of claims 1 to 12 are implemented. 一种电子设备,其特征在于,包括:An electronic device, comprising: 一个或多个处理器;以及 one or more processors; and 与所述一个或多个处理器关联的存储器,所述存储器用于存储程序指令,所述程序指令在被所述一个或多个处理器读取执行时,执行权利要求1至12任一项所述的方法的步骤。 A memory associated with the one or more processors, the memory being used to store program instructions, wherein the program instructions, when read and executed by the one or more processors, execute the steps of the method described in any one of claims 1 to 12.
PCT/CN2024/104317 2023-08-14 2024-07-08 Benefit information display method and electronic device Pending WO2025036016A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202311015911.7A CN116739612B (en) 2023-08-14 2023-08-14 Method for displaying rights and interests information and electronic equipment
CN202311015911.7 2023-08-14

Publications (1)

Publication Number Publication Date
WO2025036016A1 true WO2025036016A1 (en) 2025-02-20

Family

ID=87911782

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2024/104317 Pending WO2025036016A1 (en) 2023-08-14 2024-07-08 Benefit information display method and electronic device

Country Status (2)

Country Link
CN (1) CN116739612B (en)
WO (1) WO2025036016A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116739612B (en) * 2023-08-14 2024-01-09 杭州阿里巴巴海外数字商业有限公司 Method for displaying rights and interests information and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120271732A1 (en) * 2010-10-13 2012-10-25 Gift Card Impressions, LLC Online personalized gifting system
CN112347363A (en) * 2020-11-18 2021-02-09 北京百家科技集团有限公司 Page generation method and device
CN115373561A (en) * 2022-04-27 2022-11-22 浙江口碑网络技术有限公司 Information display method and device, electronic equipment and storage medium
CN116186679A (en) * 2022-12-28 2023-05-30 北京五八信息技术有限公司 Information display method and device, electronic equipment and storage medium
CN116739612A (en) * 2023-08-14 2023-09-12 杭州阿里巴巴海外数字商业有限公司 Methods and electronic devices for displaying equity information

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10430865B2 (en) * 2012-01-30 2019-10-01 Gift Card Impressions, LLC Personalized webpage gifting system
CN110298678B (en) * 2018-03-23 2023-12-05 阿里巴巴集团控股有限公司 User rights and interests information processing method, device and system
CN113537992A (en) * 2020-04-15 2021-10-22 阿里巴巴集团控股有限公司 User rights information push method, terminal device and server
WO2021223117A1 (en) * 2020-05-06 2021-11-11 阿里巴巴集团控股有限公司 Method and apparatus for providing user rights and interests information, and electronic device
CN112862500A (en) * 2021-02-01 2021-05-28 广州华多网络科技有限公司 Dynamic assembling method for user interest processor, device, equipment and medium thereof
CN114037474A (en) * 2021-11-10 2022-02-11 拉扎斯网络科技(上海)有限公司 Rights and interests configuration method and device, storage medium and computer equipment
CN114329117B (en) * 2022-01-04 2025-11-21 杭州网易云音乐科技有限公司 Information recommendation method, medium, device and computing equipment
CN114398194A (en) * 2022-01-21 2022-04-26 平安科技(深圳)有限公司 Data collection method and device, electronic equipment and readable storage medium
CN115129409A (en) * 2022-06-14 2022-09-30 阿里巴巴(中国)有限公司 Page display method, device and electronic device
CN115618122A (en) * 2022-12-21 2023-01-17 融合通信技术(天津)有限公司 Platform member management method, device, electronic equipment and storage medium
CN115797021A (en) * 2023-02-07 2023-03-14 卓望数码技术(深圳)有限公司 Commodity template configuration system and method based on components

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120271732A1 (en) * 2010-10-13 2012-10-25 Gift Card Impressions, LLC Online personalized gifting system
CN112347363A (en) * 2020-11-18 2021-02-09 北京百家科技集团有限公司 Page generation method and device
CN115373561A (en) * 2022-04-27 2022-11-22 浙江口碑网络技术有限公司 Information display method and device, electronic equipment and storage medium
CN116186679A (en) * 2022-12-28 2023-05-30 北京五八信息技术有限公司 Information display method and device, electronic equipment and storage medium
CN116739612A (en) * 2023-08-14 2023-09-12 杭州阿里巴巴海外数字商业有限公司 Methods and electronic devices for displaying equity information

Also Published As

Publication number Publication date
CN116739612A (en) 2023-09-12
CN116739612B (en) 2024-01-09

Similar Documents

Publication Publication Date Title
US20250005627A1 (en) Configurable relevance service platform incorporating a relevance test driver
WO2021184725A1 (en) User interface test method and apparatus, storage medium, and computer device
US20210208854A1 (en) System and method for enhancing component based development models with auto-wiring
US10438168B2 (en) Facilitating dynamic customization of reporting tools in an on-demand services environment
US20150293764A1 (en) Method and system to compose and execute business rules
EP2189929A1 (en) Popup window for error correction
US11972465B2 (en) Social network-based inventory management
WO2017157104A1 (en) Information copying system, method and electronic device, and machine-readable storage medium
US20190122271A1 (en) Mobile solution for purchase orders
CN111598707A (en) Page generation method and electronic equipment
US10552233B2 (en) Application convergence method and apparatus
CN114490136A (en) Service invocation and provisioning methods, apparatus, electronic equipment, media and program products
WO2025036016A1 (en) Benefit information display method and electronic device
CN113434063A (en) Information display method, device and equipment
US20130124372A1 (en) Integrated multi-licensor application and data purveyance
CN116185384A (en) Visual development method, electronic equipment and storage medium
CN114527972A (en) Page generation method and device, electronic equipment and computer readable medium
CN117369866A (en) Parameter verification method, device, equipment and storage medium
CN114417208A (en) Configurable general system and system configuration method
CN112949670B (en) Data set switching method and device for federal learning model
JP7095531B2 (en) Information processing equipment, information processing system, information processing method and program
CN116166558A (en) Transaction testing method, device, equipment and storage medium
CN114723532A (en) Order operation limiting method, device, equipment and storage medium
CN119205097A (en) Limit generation method, device, equipment, medium and product
CN114996295A (en) Data authority control method and device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 24853431

Country of ref document: EP

Kind code of ref document: A1