Front-end page generation method, target user determination method, device and medium
By establishing a mapping relationship between user characteristic information and coding, the problem of inconsistency between front-end pages and server-side storage coding is solved, achieving precise screening of target users and improving the effect of content delivery.
Patent Information
- Application Number
- CN202011074737.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-10-09
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2040-10-09
AI Technical Summary
Traditional content delivery methods cannot accurately reach target users, resulting in poor delivery results. In addition, the front-end page and server-side storage coding are inconsistent, resulting in the screening intention being inconsistent with the final target users, increasing development costs and difficulties.
By establishing a data model of the one-to-one mapping relationship between user feature information and user feature encoding, the front-end page is generated to unify the mapping relationship, ensuring the consistency between the front-end page and the server-side stored data, and achieving accurate screening of target users.
It achieves a unified mapping relationship between different front-end pages and between front-end pages and server-side storage data, improves the screening accuracy and content delivery effect of target users, and reduces development costs.
Smart Images

Figure CN112214671B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of big data, and in particular to a front-end page generation method, a target user determination method, a device, and a medium. Background Art
[0002] With the development of Internet technology, more and more content developers choose to deliver content through the Internet. The delivered content is not limited to audio, video, and advertising, but also includes public accounts and mini-programs that have become popular in recent years. However, traditional content delivery can only select the delivery platform, and cannot achieve accurate reach of target users, resulting in poor delivery results.
[0003] The methods described in this section are not necessarily methods that have been previously conceived or employed. Unless otherwise indicated, it should not be assumed that any method described in this section is considered to be prior art simply because it is included in this section. Similarly, unless otherwise indicated, the issues mentioned in this section should not be considered to have been recognized in any prior art. Summary of the invention
[0004] According to one aspect of the present disclosure, a front-end page generation method is provided, comprising: receiving a content identifier corresponding to content to be pushed, wherein the content to be pushed is content to be pushed to a target user; determining a front-end page expression based on the content identifier, wherein the front-end page expression includes at least one user feature code; acquiring a relevant mapping relationship regarding at least one user feature code from a data model, wherein the data model includes a one-to-one mapping relationship between multiple user feature information and multiple user feature codes, and the user feature code is a storage code of the user feature information on a server side; and initiating generation of a front-end page based on the front-end page expression and the relevant mapping relationship, wherein the front-end page includes at least one user feature information for selecting a target user, and the front-end page can be used to map the received selected user feature information to a corresponding selected user feature code based on the relevant mapping relationship, and the selected user feature code is one or more of the at least one user feature code.
[0005] According to another aspect of the present disclosure, a method for determining a target user is also provided, comprising: receiving selected user feature information based on a front-end page generated according to the above-mentioned front-end page generation method; mapping the selected user feature information to a corresponding selected user feature code based on a relevant mapping relationship; and determining the target user on the server side based on the selected user feature code.
[0006] According to another aspect of the present disclosure, a front-end page generation device is also provided, including: a receiving unit, configured to receive a content identifier corresponding to content to be pushed, wherein the content to be pushed is content to be pushed to a target user; a determining unit, configured to determine a front-end page expression based on the content identifier, wherein the front-end page expression includes at least one user feature code; an acquiring unit, configured to acquire a relevant mapping relationship about at least one user feature code from a data model, wherein the data model includes a one-to-one mapping relationship between multiple user feature information and multiple user feature codes, and the user feature code is a storage code of the user feature information on the server side; and an initiating unit, configured to initiate generation of a front-end page based on the front-end page expression and the relevant mapping relationship, wherein the front-end page includes at least one user feature information for selecting a target user, and the front-end page maps the received selected user feature information to the corresponding selected user feature code based on the relevant mapping relationship, and the selected user feature code is one or more of the at least one user feature code.
[0007] According to another aspect of the present disclosure, a device for determining a target user is also provided, comprising: a receiving unit, configured to receive selected user feature information based on a front-end page generated according to the above-mentioned front-end page generation method; a mapping unit, configured to map the selected user feature information to a corresponding selected user feature code based on a relevant mapping relationship; and a determining unit, configured to determine the target user on a server side based on the selected user feature code.
[0008] According to another aspect of the present disclosure, a computing device is also provided, including: a processor; and a memory storing a program, wherein the program includes instructions, and when the instructions are executed by the processor, the processor executes the above-mentioned generation method and / or the above-mentioned determination method.
[0009] According to another aspect of the present disclosure, a computer-readable storage medium storing a program is also provided. The program includes instructions. When the instructions are executed by a processor of a computing device, the computing device executes the above-mentioned generation method and / or the above-mentioned determination method.
[0010] According to another aspect of the present disclosure, a computer program product is also provided, including a computer program, wherein the steps of the above method are implemented when the computer program is executed by a processor.
[0011] The present disclosure can realize a unified mapping relationship between different front-end pages, and between the front-end pages and the data stored on the server side, thereby avoiding the situation where the screening intention of the content developer is inconsistent with the final target user, and improving the screening accuracy of the target user. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] The accompanying drawings exemplarily illustrate the embodiments and constitute a part of the specification, and together with the text description of the specification, are used to explain the exemplary implementation of the embodiments. The embodiments shown are for illustrative purposes only and do not limit the scope of the claims. In all drawings, the same reference numerals refer to similar but not necessarily identical elements.
[0013] Figure 1 is a flow chart illustrating a front-end page generation method according to an exemplary embodiment;
[0014] Figure 2 is a tree-shaped page layout expression node relationship diagram according to an exemplary embodiment;
[0015] Figure 3 is a flow chart showing a method for determining a target user according to an exemplary embodiment;
[0016] Figure 4 is a timing diagram showing a content developer determining a target user according to an exemplary embodiment;
[0017] Figure 5 is a schematic block diagram showing a front-end page generating device according to an exemplary embodiment;
[0018] Figure 6 is a schematic block diagram showing a target user determination device according to an exemplary embodiment;
[0019] Figure 7 is a diagram showing a system structure according to an exemplary embodiment;
[0020] Figure 8 is a block diagram illustrating the structure of an exemplary computing device that can be used in the exemplary embodiments. DETAILED DESCRIPTION
[0021] In the present disclosure, unless otherwise specified, the use of the terms "first", "second", etc. to describe various elements is not intended to limit the positional relationship, timing relationship, or importance relationship of these elements, and such terms are only used to distinguish one element from another element. In some examples, the first element and the second element may refer to the same instance of the element, and in some cases, based on the description of the context, they may also refer to different instances.
[0022] The terms used in the description of various examples in this disclosure are only for the purpose of describing specific examples and are not intended to be limiting. Unless the context clearly indicates otherwise, if the number of elements is not specifically limited, the element can be one or more. In addition, the term "and / or" used in this disclosure covers any one of the listed items and all possible combinations.
[0023] With the development of big data technology, more and more content developers hope to use big data technology to achieve targeted content push, thereby improving the content delivery effect. In order to help content developers screen target users in big data for content to be pushed, the platform can provide a front-end page for content developers to submit user feature information for user screening.
[0024] Specifically, the front-end page may include multiple screening conditions such as gender, age, region, income level, and activity level. Under each screening condition, multiple optional user characteristic information may be provided. For example, under the screening condition of gender, two user characteristic information of male and female may be provided; under the screening condition of age, four user characteristic information of under 20, 20-40, 40-60, and over 60 may be provided. The user may select the user characteristic information under the multiple screening conditions provided on the front-end page, and submit the selected user characteristic information as the selected user characteristic information. Alternatively, the front-end page may provide the user with an input box under the screening condition, allowing the user to enter the desired user characteristic information under the screening condition as the selected user characteristic information and submit it.
[0025] The selected user feature information submitted by the user on the front-end page will first be mapped to the corresponding selected user feature code in a specific mapping relationship on the front-end page, and then the selected user feature code will be transmitted to the back-end server side. Based on the selected user feature code, the back-end server side will filter out a list of users with the selected user feature code from the massive user big data stored on the server side, and then determine the target users with the user feature information expected by the content developer.
[0026] However, since the front-end page and the back-end server are independently developed by different front-end and back-end developers, the front-end and back-end lack a linkage mechanism, which easily leads to inconsistencies between the selected user feature code obtained by the front-end page mapping and the storage code of the selected user feature information on the server side for the same selected user feature information. For example, based on the mapping relationship of "1 for male, 2 for female", the front-end maps the "female" submitted by the user to "2", and transmits "2" as the selected user feature code to the back-end server side. However, in the storage data on the server side, "female" is stored with the storage code of "B" in the manner of "male is stored as A, female is stored as B". In this case, it is impossible to filter out female target users in big data based on the "2" transmitted by the front-end.
[0027] In view of this situation, one solution is to require the front-end developers to learn the storage code on the server side to ensure that the front-end page can transmit the selected user feature code consistent with the storage code on the server side for the same selected user feature information. However, this is very costly for the front-end developers to learn and understand, and increases the development cost of the front-end page.
[0028] Another solution is to add an adapter between the front end and the back end, which is used to convert the selected user feature information code transmitted by the front end into the storage code on the server side for the same selected user feature information. However, the development cost of this adapter is high and the development cycle is long. At the same time, since different front-end pages may be developed by different front-end developers, different front-end pages may have different mapping relationships, which undoubtedly increases the difficulty of adapter development.
[0029] Based on this, the present disclosure proposes a front-end page generation method, and a target user determination method based on the front-end page generated according to the front-end page generation method. First, a data model including a one-to-one mapping relationship between multiple user feature information and multiple user feature codes is established, wherein the user feature code is the storage code of the user feature information on the server side. Based on the mapping relationship established in the data model, the generation of the front-end page is initiated, so that the front-end page can map the selected user feature code according to the unified mapping relationship with the server side, and thereby determine the target user in the big data on the server side. In this way, a unified mapping relationship can be achieved between different front-end pages, and between the front-end page and the data stored on the server side, thereby avoiding the situation where the screening intention of the content developer is inconsistent with the target user finally determined, thereby improving the screening accuracy of the target user and the content delivery effect.
[0030] The following will be combined with the attached Figure 1-2 The method for generating the front-end page is further described.
[0031] Figure 1 FIG. 1 is a flow chart showing a method for generating a front-end page according to an exemplary embodiment of the present disclosure. Figure 1 As shown, the front-end page generation method may include: step S101, receiving a content identifier corresponding to the content to be pushed, wherein the content to be pushed is the content to be pushed to the target user; step S102, determining a front-end page expression based on the content identifier, wherein the front-end page expression includes at least one user feature code; step S103, obtaining a relevant mapping relationship about at least one user feature code from a data model, wherein the data model includes a one-to-one mapping relationship between multiple user feature information and multiple user feature codes, and the user feature code is a storage code of the user feature information on the server side; and step S104, initiating generation of a front-end page based on the front-end page expression and the relevant mapping relationship, wherein the front-end page includes at least one user feature information for selecting the target user, and the front-end page can be used to map the received selected user feature information to the corresponding selected user feature code based on the relevant mapping relationship, and the selected user feature code is one or more of the at least one user feature code.
[0032] In this way, a unified mapping relationship can be achieved between different front-end pages, and between the front-end page and the data stored on the server side, avoiding the situation where, for the same user feature information, the selected user feature code transmitted by the front-end page is inconsistent with the storage code on the server side, resulting in the content developer's screening intention being inconsistent with the final target user, thereby improving the screening accuracy of the target users.
[0033] Among them, the content to be pushed may include audio, video, advertisements, public accounts, mini-programs, etc., which are not limited here.
[0034] The above steps S101-S104 are now described in detail as follows:
[0035] In real applications, developers of different content to be pushed often pay different attention to the screening conditions when screening target users. Taking mini programs as an example, for the developers of beauty e-commerce mini programs, young women may be the main target users. Therefore, it is necessary to provide a front-end page including gender and age screening conditions for beauty mini programs. For car insurance mini program developers, they hope to push content to car owners. Therefore, it is necessary to provide a front-end page including the screening conditions of whether there is a car for the car insurance mini program.
[0036] Therefore, a content identifier corresponding to the content to be pushed is received, and a front-end page expression is determined based on the content identifier, wherein the front-end page expression includes at least one user feature code. The at least one user feature code corresponds to user feature information for one or more filtering conditions that can be displayed on the front-end page. Thus, based on the content to be pushed, a combination of targeted filtering conditions and user feature information can be provided to meet the filtering needs of the developer of the content to be pushed.
[0037] In an exemplary embodiment, receiving a content identifier corresponding to the content to be pushed includes: receiving a content vertical category identifier corresponding to the content to be pushed, wherein one of the content vertical category identifiers corresponds to one or more content to be pushed; wherein, determining the front-end page expression based on the content identifier includes: determining the front-end page expression based on the correspondence between the content vertical category identifier and the front-end page expression.
[0038] Since the screening conditions that content developers are concerned about for the content to be pushed under the same content vertical category may be relatively similar, and vice versa, there may be large differences. Therefore, determining the front-end page expression based on the content vertical category to which the content to be pushed belongs, and then initiating the generation of the front-end page, can effectively reduce the amount of coding on the front-end page while meeting the screening needs of content developers.
[0039] Among them, when determining the content vertical category identifier corresponding to the content to be pushed, the system can actively obtain the content vertical category identifier of the content to be pushed, and then determine the front-end page expression through the correspondence between the stored content vertical category identifier and the front-end page expression. Alternatively, the user can directly input the content vertical category to which the content to be pushed belongs. No limitation is made here.
[0040] In order to ensure that the front-end page has a unified mapping relationship with the server side, the present disclosure provides a data model that can be shared by the front-end and the back-end. Among them, the data model can include a one-to-one mapping relationship between multiple user feature information and multiple user feature codes, and the user feature code is the storage code of the user feature information on the server side. When initiating the generation of the front-end page, the relevant mapping relationship about at least one user feature code included in the front-end page expression can be extracted from the data model, and the generation of the front-end page can be initiated based on the front-end page expression and the relevant mapping relationship.
[0041] The front-end page generated based on the relevant mapping relationship in the data model can map the received selected user feature information into the selected user feature code according to the unified mapping relationship with the server side. Since, for the same selected user feature information, the selected user feature code obtained by the front-end mapping is consistent with the storage code stored on the server side, the target user can be accurately screened out from the server side big data based on the selected user feature information submitted by the user.
[0042] On the other hand, the mapping relationship stored in the data model can be reused by multiple front-end page expressions, thereby avoiding the occupation of storage resources by storing the same mapping relationship separately in multiple front-end page expressions.
[0043] In an exemplary implementation, initiating the generation of a front-end page based on the front-end page expression and the related mapping relationship may include: parsing the front-end page expression and the related mapping relationship to obtain a parsing result; and initiating rendering to generate the front-end page according to the parsing result. Thus, the front-end page expression and the related mapping relationship can be converted into a front-end page that is easy for the front-end content developer to understand.
[0044] In an exemplary embodiment, the front-end page expression may include a tree-shaped page layout expression, but those skilled in the art are aware that various types of front-end page expressions such as linked lists, stacks, queues, and graphs may also be used.
[0045] In one embodiment, the tree-shaped page layout expression may include at least one first node, and each of the at least one first node corresponds to one or more user feature codes. Wherein, initiating the generation of the front-end page based on the front-end page expression and the relevant mapping relationship includes: initiating the generation of at least one screening condition of the front-end page based on the at least one first node, and, based on the mapping relationship, mapping the one or more user feature codes corresponding to each first node to one or more user feature information.
[0046] A tree-structured page layout expression can be composed of multiple nodes, and the same node can be reused in a large number of different tree-structured page layout expressions. Therefore, when it is necessary to develop a corresponding tree-structured page layout expression for a new content vertical category, it is only necessary to obtain the first node corresponding to the required screening condition according to the needs of the content vertical category, and set the user feature code corresponding to the first node, and then the required tree-structured page layout expression can be organized and generated, which reduces the amount of coding on the front-end page and improves the development efficiency of the front-end page.
[0047] In another embodiment, the front-end page expression may further include at least one second node, and each of the at least one second node corresponds to one or more first nodes. Wherein, initiating the generation of the front-end page based on the front-end page expression and the relevant mapping relationship also includes: initiating the generation of at least one area of the front-end page based on at least one second node. Wherein, each area may include multiple filtering conditions of the same category. For example, in the area of user attributes, filtering conditions such as gender, age, and education level may be included; in the area of user behavior, filtering conditions such as user activity may be included. In addition, the second node may also correspond to one or more second child nodes, and the second child nodes may generate corresponding sub-areas on the front-end page. Each sub-area may further divide the categories of the filtering conditions.
[0048] In addition, the tree-shaped page layout expression can sort multiple areas, multiple sub-areas in the same area, multiple filtering conditions, and multiple user feature information for the same filtering condition according to needs.
[0049] In another embodiment, the first node may further include a screening condition identifier and a user feature code list; wherein the first node corresponding to one or more user feature codes may include: the first node corresponding to other user feature codes in the classification marked by the screening condition identifier in the data model, except for the user feature codes included in the user feature code list, or the first node corresponding to the user feature code list. Thus, based on the screening condition identifier and the user feature code list included in the first node, it is convenient for developers to flexibly set the optional user feature information for each screening condition.
[0050] Specifically, the mapping relationship in the data model can be based on the corresponding filtering condition classification, and each classification can be marked with a corresponding filtering condition identifier. For example, "1 for male" and "2 for female" belong to the gender classification, and the filtering condition identifier gender is used; "A for Beijing" and "B for Tianjin" belong to the region classification, and the filtering condition identifier location is used. Based on the filtering condition identifier stored in the first node, the optional range of the user feature code corresponding to the first node can be determined.
[0051] In one embodiment, Figure 2 As shown, in order to determine the user feature code corresponding to each first node, and then determine the relevant mapping relationship corresponding to each first node, the screening condition identifier Field2sql and the user feature code list List are stored in the first node. <string>values. Furthermore, it may also include an operator Stringoperator. When the String operator is set to in, the user feature code included in the first node is List <string>The user feature code included in values is obtained from the data model when the front-end page is generated. <string>When the String operator is set to notin, the first node includes the user feature code excluding List <string>In addition to the user feature codes included in values, other user feature codes in the categories marked by Field2sql in the data model are obtained from the data model accordingly when the front-end page is generated. <string>The relevant mapping relationship of user feature encoding in values.
[0052] Among them, when the String operator is set to not in, or directly set to a null value, the user feature code and related mapping relationship corresponding to the first node can be automatically updated according to the change of the data model. For example, for the filtering condition of user activity, the data model adds a mapping relationship of "2 for very active" to the original mapping relationship of "0 for inactive" and "1 for active" in the classification of the filtering condition identification mark of user activity according to the change of the storage code in the server-side big data. For example, when the String operator is set to not in and the List <string>When values is empty, or the String operator is directly set to an empty value, it means that the user feature code corresponding to the first node is all the user feature codes in the classification marked by the filter condition identification mark of the user activity in the data model, and the relevant mapping relationship corresponding to the first node is all the mapping relationships in the classification marked by the filter condition identification mark of the user activity in the data model. When the filter condition of the user activity of the front-end page is generated according to the first node, the user feature information corresponding to the filter condition of the user activity in the front-end page will automatically add the item "very active" according to the update of the data model. In this way, the generated front-end page can be changed accordingly according to the update or increase of the big data storage data on the server side without updating the tree page layout expression.
[0053] like Figure 2 It is a tree-shaped page layout expression node relationship diagram according to an exemplary embodiment of the present disclosure.
[0054] At the first node (i.e. Figure 2 The Field of the first node can include multiple parameters. String field sets the text displayed by the filter condition generated by the first node on the front-end page, such as gender, city; Field2sql represents the filter condition identifier; String type sets the input specification of the first node; ValueRule sets the user feature information encoding included in the first node, as well as the input rule; boolean required sets whether the data received by the first node must be transmitted.
[0055] In ValueRule, String fieldeElement can set input rules, for example, whether the input is single choice or multiple choice; String operator represents the operator; List <string>values represents a list of user feature codes.
[0056] The second node (i.e. Figure 2 Area) can include multiple parameters. Among them, String areaName sets the text displayed on the front-end page of the area generated by the second node, such as user attributes, user behavior, etc.; String areacode sets the identifier of the second node on the back-end; List <area> ChildrenArea sets the second child node list corresponding to the second node; List <field>fields sets the list of first nodes corresponding to the second node; booleanrequired sets whether the area generated by the second node must be transmitted, where it can be set that as long as there is a corresponding first node that must be transmitted, the second node must be transmitted.
[0057] In the page layout of the tree page layout expression (i.e. Figure 2 Layout) can correspond to multiple second nodes (i.e. Figure 2 Area), List <area> areaList sets the second node list corresponding to the page layout.
[0058] In addition, you can set List <string>values、List <area> childrenArea、List <field>The order of the items in the fields list corresponds to the order in which the items are displayed on the front-end page.
[0059] Figure 3 FIG. 1 is a flow chart showing a method for determining a target user according to an exemplary embodiment of the present disclosure. Figure 3 As shown, the method for determining the target user may include: step S301, based on the front-end page generated according to the above-mentioned front-end page generation method, receiving the selected user feature information; step S302, based on the relevant mapping relationship, mapping the selected user feature information to the corresponding selected user feature code; step S303, determining the target user on the server side based on the selected user feature code. Thus, based on the unified mapping relationship between the front-end page and the data stored on the server side, the accuracy of the target user determined on the server side is guaranteed.
[0060] Wherein, determining the target user on the server side based on the selected user feature code may include: determining a field related to the selected user feature code in the user list stored on the server side, and then determining whether the stored data stored in the field is consistent with the selected user feature code. When the stored data stored in the field is consistent with the selected user feature code, determining the user corresponding to the user list as the target user.
[0061] Preferably, the stored data field information on the server side can be associated with the screening condition identifier, thereby facilitating searching the fields related to the selected user feature code in the stored data on the server side.
[0062] In an exemplary embodiment, when the front-end page expression includes a tree-shaped page layout expression, after the selected user feature information is mapped to the corresponding selected user feature code based on the relevant mapping relationship, and before the target user is determined on the server side based on the selected user feature code, the selected user feature code is verified based on the tree-shaped page layout expression. In response to the verification being passed, the target user can be determined on the server side based on the selected user feature code. Thus, the consistency and reliability of the selected user feature code are guaranteed, and the accuracy of screening the target user is improved.
[0063] Specifically, the selected user feature code can be verified by the rules defined in the tree-shaped page layout expression. For example, whether the selected user feature code is within the range of user feature codes included in the first node, whether the selected user feature code meets the input rules set by the String fieldeElement of the first node, or whether the user feature code is received in a first node marked as a required transmission by a boolean required, etc. The system can set one or more rules defined in the tree-shaped page layout expression to verify the selected user feature code.
[0064] In one embodiment, verifying the selected user feature code based on the tree-shaped page layout expression includes: performing a first verification on the selected user feature code; in response to the first verification passing, transmitting the selected user feature code to the server side. In response to the first verification failing, preventing the selected user feature code from being transmitted to the backend server side, and displaying an error prompt on the front-end page. Thus, by performing the first verification on the selected user feature code at the front end, user input errors can be prevented.
[0065] In another embodiment, in response to receiving the selected user feature code, the server side performs a second check on the selected user feature code based on the tree page layout expression; in response to passing the second check, the target user is determined on the server side based on the selected user feature code. Thus, by performing a second check on the selected user feature code on the back-end server side, data inconsistency caused by data tampering during transmission can be prevented.
[0066] Figure 4 FIG. 2 is a timing diagram showing a content developer determining a target user according to an exemplary embodiment. Figure 4 The process is specifically described as follows based on the tree-shaped page layout expression. However, those skilled in the art are aware that various types of front-end page expressions such as linked lists, stacks, queues, and graphs may also be used.
[0067] S1. The content developer requests the front-end page, and the front-end obtains the content vertical category identifier of the content to be pushed;
[0068] S2. The front end transmits the content vertical category identifier to the back end server side;
[0069] S3, the server side queries the tree page layout expression corresponding to the content vertical category identifier;
[0070] S4. Obtain relevant mapping relationships based on the tree-shaped page layout expression, and parse the tree-shaped page layout expression and the relevant mapping relationships;
[0071] S5, returning the parsed results to the front end;
[0072] S6. The front end renders and generates the front end page based on the returned parsing results;
[0073] S7. Content developers submit selected user feature information on the front-end page;
[0074] S8. Verify the selected user feature code mapped to the selected user feature information at the front end;
[0075] S9, after the verification of S8 is passed, the selected user feature code is transmitted to the back end;
[0076] S10, the back end verifies the received selected user feature code;
[0077] S11, after the verification of S10 is passed, the target user is determined in the big data on the backend server side based on the selected user feature code;
[0078] S12, the backend returns a notification of successful submission to the frontend;
[0079] S13. Display a success prompt on the front-end page.
[0080] According to another aspect of the present disclosure, Figure 5 As shown, a front-end page generating device 100 is also provided, including: a receiving unit 101, configured to receive a content identifier corresponding to the content to be pushed, wherein the content to be pushed is the content to be pushed to the target user; a determining unit 102, configured to determine a front-end page expression based on the content identifier, wherein the front-end page expression includes at least one user feature code; an acquiring unit 103, configured to acquire a relevant mapping relationship about at least one user feature code from a data model, wherein the data model includes a one-to-one mapping relationship between multiple user feature information and multiple user feature codes, and the user feature code is a storage code of the user feature information on the server side; and an initiating unit 104, configured to initiate the generation of a front-end page based on the front-end page expression and the relevant mapping relationship, wherein the front-end page includes at least one user feature information for selecting the target user, and the front-end page can be used to map the received selected user feature information to the corresponding selected user feature code based on the relevant mapping relationship, and the selected user feature code is one or more of the at least one user feature code.
[0081] According to some embodiments, the front-end page expression includes a tree-shaped page layout expression, the tree-shaped page layout expression includes at least one first node, and each of the at least one first node corresponds to one or more user feature codes; wherein the initiating unit includes: initiating at least one filtering condition for generating the front-end page based on the at least one first node, and, based on a mapping relationship, mapping the one or more user feature codes corresponding to each first node into one or more user feature information.
[0082] According to some embodiments, the tree-shaped page layout expression also includes at least one second node, each of the at least one second node corresponds to one or more first nodes; wherein the initiating unit also includes: initiating generation of at least one area of the front-end page based on the at least one second node.
[0083] According to some embodiments, the first node also includes a filtering condition identifier and a user feature code list; wherein, the first node corresponds to one or more user feature codes including: the first node includes other user feature codes in the classification marked by the filtering condition identifier in the data model in addition to the user feature codes included in the user feature code list, or the first node includes the user feature codes included in the user feature code list.
[0084] According to some embodiments, the initiating unit includes: a parsing unit configured to parse the front-end page expression and related mapping relationships to obtain a parsing result; and a rendering unit configured to initiate rendering to generate the front-end page according to the parsing result.
[0085] According to another aspect of the present disclosure, Figure 6 As shown, a device 300 for determining a target user is also provided, comprising: a receiving unit 301, configured to receive selected user feature information based on a front-end page generated according to the above-mentioned front-end page generation method; a mapping unit 302, configured to map the selected user feature information to a corresponding selected user feature code based on a relevant mapping relationship; and a determining unit 303, configured to determine the target user on the service side based on the selected user feature code.
[0086] According to some embodiments, when the front-end page expression includes a tree-shaped page layout expression, the determination device also includes: a verification unit, which is configured to verify the selected user feature code based on the tree-shaped page layout expression after mapping the selected user feature information to the corresponding selected user feature code based on the relevant mapping relationship and before determining the target user on the server side based on the selected user feature code; in response to the verification unit passing the verification, the determination unit executes the determination of the target user on the server side based on the selected user feature code.
[0087] Figure 7 FIG. 1 is a diagram showing a system structure that can be applied to an exemplary embodiment. Figure 7 As shown, the system is divided into two parts: the front end and the back end.
[0088] On the front end of the system, front-end pages based on multiple vertical categories can be presented to content developers, such as e-commerce vertical category pages, education vertical category pages, and automobile vertical category pages.
[0089] A data model and a tree-shaped page layout expression for various vertical categories are established in the system backend. Based on the tree-shaped page layout expression and the relevant mapping in the data model, the corresponding front-end page can be generated by the initiating unit. At the same time, the selected user feature code submitted through the front-end page can be verified for legitimacy based on the tree-shaped page layout expression through the verification unit.
[0090] According to another aspect of the present disclosure, there is also a computing device, including: a processor; and a memory storing a program, wherein the program includes instructions, and when the instructions are executed by the processor, the processor executes the above-mentioned generation method and / or determination method.
[0091] According to another aspect of the present disclosure, there is also included a computer-readable storage medium storing a program, wherein the program includes instructions, and when the instructions are executed by a processor of a computing device, the computing device executes the above-mentioned generation method and / or determination method.
[0092] See also Figure 8 As shown, a computing device 2000 will now be described, which is an example of a hardware device that can be applied to various aspects of the present disclosure. The computing device 2000 can be any machine configured to perform processing and / or calculations, and can be, but is not limited to, a workstation, a server, a desktop computer, a laptop computer, a tablet computer, a personal digital assistant, a robot, a smart phone, a vehicle-mounted computer, or any combination thereof. The above-mentioned generation method can be implemented in whole or in part by the computing device 2000 or a similar device or system.
[0093] The software elements (programs) may be located in the working memory 2014, including but not limited to the operating system 2016, one or more applications 2018, drivers and / or other data and codes. Instructions for executing the above methods and steps may be included in one or more applications 2018, and the above page generation and user determination methods may be implemented by the processor 2004 reading and executing the instructions of one or more applications 2018. More specifically, steps S101 to S104 in the above generation method and steps S301 to S303 in the above user determination method may be implemented, for example, by the processor 2004 executing the application 2018 having the instructions of the above steps. In addition, the other steps in the above method may be implemented, for example, by the processor 2004 executing the application 2018 having the instructions for executing the corresponding steps. The executable code or source code of the instructions of the software elements (programs) may be stored in a non-transitory computer-readable storage medium (such as the above storage device 2010), and may be stored in the working memory 2014 (possibly compiled and / or installed) when executed. The executable code or source code of the instructions of the software element (program) may also be downloaded from a remote location.
[0094] It should also be understood that various modifications may be made according to specific requirements. For example, custom hardware may also be used, and / or specific elements may be implemented in hardware, software, firmware, middleware, microcode, hardware description language, or any combination thereof. For example, some or all of the disclosed methods and apparatus may be implemented by programming hardware (e.g., programmable logic circuits including field programmable gate arrays (FPGAs) and / or programmable logic arrays (PLAs)) in assembly language or hardware programming languages (such as VERILOG, VHDL, C++) using logic and algorithms according to the present disclosure.
[0095] It should also be understood that the foregoing method can be implemented through a server-client model. For example, the client can receive data input by the user and send the data to the server. The client can also receive data input by the user, perform a portion of the processing in the foregoing method, and send the processed data to the server. The server can receive data from the client, and execute the foregoing method or another portion of the foregoing method, and return the execution result to the client. The client can receive the execution result of the method from the server, and present it to the user, for example, through an output device.
[0096] It should also be understood that the components of computing device 2000 can be distributed across a network. For example, some processing can be performed using one processor while other processing can be performed by another processor remote from the one processor. Other components of computing system 2000 can also be similarly distributed. In this way, computing device 2000 can be interpreted as a distributed computing system that performs processing at multiple locations.
[0097] Although the embodiments or examples of the present disclosure have been described with reference to the accompanying drawings, it should be understood that the above-mentioned methods, systems and devices are merely exemplary embodiments or examples, and the scope of the present invention is not limited by these embodiments or examples, but only by the claims after authorization and their equivalent scope. Various elements in the embodiments or examples can be omitted or replaced by their equivalent elements. In addition, each step can be performed in an order different from that described in the present disclosure. Further, the various elements in the embodiments or examples can be combined in various ways. It is important that with the evolution of technology, many elements described herein can be replaced by equivalent elements that appear after the present disclosure.< / field> < / string> < / field> < / string> < / string> < / string> < / string> < / string> < / string> < / string>
Claims
1. A front-end page generation method, comprising: Receive a content vertical category identifier corresponding to the content to be pushed, wherein the content to be pushed is content to be pushed to a target user, and one content vertical category identifier corresponds to one or more of the content to be pushed; Determine a front-end page expression based on the content vertical category identifier, wherein the front-end page expression includes at least one user feature code; Acquire a relevant mapping relationship about the at least one user feature code from a data model, wherein the data model includes a one-to-one mapping relationship between a plurality of user feature information and a plurality of user feature codes, and the user feature code is a storage code of the user feature information on the server side; and Initiating generation of a front-end page based on the front-end page expression and the relevant mapping relationship, wherein the front-end page includes at least one user feature information for selecting the target user, and The front-end page can be used to map the received selected user feature information into corresponding selected user feature codes based on the relevant mapping relationship, and the selected user feature codes are one or more of the at least one user feature code.
2. The generation method according to claim 1, wherein: The front-end page expression includes a tree-shaped page layout expression, the tree-shaped page layout expression includes at least one first node, each of the at least one first node corresponds to one or more of the user feature codes; Wherein, initiating generation of the front-end page based on the front-end page expression and the relevant mapping relationship includes: Initiating generation of at least one screening condition for the front-end page based on the at least one first node, and, Based on the mapping relationship, one or more user feature codes corresponding to each first node are mapped into one or more user feature information.
3. The generation method according to claim 2, wherein: The tree-shaped page layout expression further includes at least one second node, each of the at least one second node corresponds to one or more of the first nodes; Wherein, initiating generation of the front-end page based on the front-end page expression and the relevant mapping relationship further includes: Initiate generating at least one area of the front page based on the at least one second node.
4. The generation method according to claim 2 or 3, wherein: The first node also includes a screening condition identifier and a user feature code list; Wherein, the first node corresponds to one or more of the user feature codes including: The first node corresponds to other user feature codes in the classification marked by the screening condition identifier in the data model, except for the user feature codes included in the user feature code list, or The first node corresponds to the user feature code included in the user feature code list.
5. The generation method according to claim 1, wherein: Initiating generation of a front-end page based on the front-end page expression and the relevant mapping relationship includes: Parsing the front-end page expression and the related mapping relationship to obtain a parsing result; Rendering is initiated according to the parsing result to generate the front-end page.
6. The generation method according to claim 1, wherein: Determining the front-end page expression based on the content vertical category identifier includes: Based on the correspondence between the content vertical category identifier and the front-end page expression, the front-end page expression is determined.
7. A method for determining a target user, comprising: Based on the front-end page generated by the front-end page generation method according to any one of claims 1 to 6, receiving the selected user feature information; Mapping the selected user feature information to a corresponding selected user feature code based on the relevant mapping relationship; The target user is determined on the service side based on the selected user feature code.
8. The determination method according to claim 7, wherein: When the front-end page expression includes a tree-shaped page layout expression, the method further includes: After mapping the selected user feature information to the corresponding selected user feature code based on the relevant mapping relationship, and, Before determining the target user on the server side based on the selected user feature code, Verifying the selected user feature code based on the tree-shaped page layout expression; In response to the verification being passed, determining a target user on the server side based on the selected user feature code is performed.
9. The determination method according to claim 8, wherein: Verifying the selected user feature code based on the tree-shaped page layout expression includes: Performing a first check on the selected user feature code; In response to the first verification being passed, the selected user feature code is transmitted to the server side.
10. The determination method according to claim 9, further comprising: In response to the first verification failing, preventing the selected user feature code from being transmitted to the server side, and An error message is displayed on the front-end page.
11. The determination method according to claim 9, further comprising: In response to receiving the selected user feature code, the server side performs a second check on the selected user feature code based on the tree-shaped page layout expression; In response to the second verification being passed, determining the target user on the server side based on the selected user feature code is performed.
12. A front-end page generating device, comprising: A receiving unit is configured to receive a content vertical category identifier corresponding to the content to be pushed, wherein the content to be pushed is content to be pushed to a target user, and one content vertical category identifier corresponds to one or more of the content to be pushed; A determination unit, configured to determine a front-end page expression based on the content vertical category identifier, wherein the front-end page expression includes at least one user feature code; an acquiring unit configured to acquire a relevant mapping relationship about the at least one user feature code from a data model, wherein the data model includes a one-to-one mapping relationship between a plurality of user feature information and a plurality of user feature codes, and the user feature code is a storage code of the user feature information on the server side; and an initiating unit configured to initiate generation of a front-end page based on the front-end page expression and the relevant mapping relationship, wherein the front-end page includes at least one user feature information for selecting the target user, and The front-end page can be used to map the received selected user feature information into corresponding selected user feature codes based on the relevant mapping relationship, and the selected user feature codes are one or more of the at least one user feature code.
13. The generating device according to claim 12, wherein: The front-end page expression includes a tree-shaped page layout expression, the tree-shaped page layout expression includes at least one first node, each of the at least one first node corresponds to one or more of the user feature codes; Wherein, the initiating unit comprises: Initiating generation of at least one screening condition for the front-end page based on the at least one first node, and, Based on the mapping relationship, one or more user feature codes corresponding to each first node are mapped into one or more user feature information.
14. The generating device according to claim 13, wherein: The tree-shaped page layout expression further includes at least one second node, each of the at least one second node corresponds to one or more of the first nodes; Wherein, the initiating unit further includes: Initiate generating at least one area of the front page based on the at least one second node.
15. The generating device according to claim 13 or 14, wherein: The first node also includes a screening condition identifier and a user feature code list; Wherein, the first node corresponds to one or more of the user feature codes including: The first node corresponds to other user feature codes in the classification marked by the screening condition identifier in the data model, except for the user feature codes included in the user feature code list, or The first node corresponds to the user feature code included in the user feature code list.
16. The generating device according to claim 12, wherein: The initiating unit comprises: A parsing unit, configured to parse the front-end page expression and the related mapping relationship to obtain a parsing result; The rendering unit is configured to initiate rendering and generate the front-end page according to the parsing result.
17. A device for determining a target user, comprising: A receiving unit, configured to receive the selected user feature information based on the front-end page generated by the front-end page generation method according to any one of claims 1 to 6; A mapping unit, configured to map the selected user feature information to a corresponding selected user feature code based on the relevant mapping relationship; The determination unit is configured to determine the target user on the service side based on the selected user feature code.
18. The determination device according to claim 17, wherein: When the front-end page expression includes a tree-shaped page layout expression, the determining device further includes: A verification unit is configured to map the selected user feature information to a corresponding selected user feature code based on the relevant mapping relationship, and Before determining the target user on the server side based on the selected user feature code, Verifying the selected user feature code based on the tree-shaped page layout expression; In response to the verification by the verification unit being passed, the determination unit determines the target user on the server side based on the selected user feature code.
19. A computing device comprising: processor; as well as A memory storing a program, wherein the program includes instructions, and when the instructions are executed by the processor, the processor executes the generation method according to any one of claims 1-6 and / or the determination method according to any one of claims 7-11.
20. A computer-readable storage medium storing a program, the program comprising instructions, which, when executed by a processor of a computing device, cause the computing device to execute the generating method according to any one of claims 1 to 6 and / or the determining method according to any one of claims 7 to 11.
21. A computer program product comprising a computer program, wherein: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 11 are implemented.
