Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail with reference to the following embodiments and accompanying drawings. The exemplary embodiments and descriptions of the present invention are provided to explain the present invention, but not to limit the present invention.
In an embodiment of the present invention, a method for processing a page layout is provided, as shown in fig. 1, the method includes:
step 102: receiving a page layout setting request, wherein the setting request comprises user information;
step 104: generating a page layout according to the function selected by the user, the display position of the function and the character form, and sending the page layout for auditing;
step 106: and after the verification is passed, binding the page layout with the user information, and displaying the page layout when the user information logs in again.
As can be seen from the flow shown in fig. 1, in the embodiment of the present invention, a receiving page layout setting request is proposed, where the setting request includes user information, and then a page layout is generated according to a function selected by a user, a display position of the function, and a text form, and the page layout is sent to be checked, and after the checking is passed, the page layout is bound with the user information, and the page layout is displayed when the user information logs in again, so that a user can set the page layout according to his own preference, use habits, and the like, and the method is favorable for improving the diversity, flexibility, and personalization of the page layout, and further favorable for improving user experience.
In specific implementation, a button or an icon for triggering page layout processing may be set, and after a user makes a setting request for triggering page layout setting by operating the button or the icon, all functions and text forms may be displayed to the user for the user to select, for example, the user may click, drag, and the like to select a function, and determine a display position for the selected function by a dragging function, a clicking position, and the like, so as to set the functions and the display position included in the page layout in a personalized manner, and the user may also select a text form (i.e., a text display style, for example, font styles such as song style and imitative style, a text size, a display color, and the like) by clicking and the like, so as to set the text style of the page layout in a personalized manner.
In specific implementation, after a page layout is generated according to a function selected by a user, a display position of the function and a text form, the page layout is sent to a background system for auditing, for example, the page layout is sent to a background system for auditing, the main auditing form can be whether a text expression mode is in compliance or not, whether a picture style background is in compliance or not, whether a sensitive field exists or not, and the page layout and user information are bound after the auditing is passed, the page layout belongs to the user information, and the page layout is directly displayed for the user to use when the user information logs in again.
In specific implementation, in order to further improve the page layout of the user, in this embodiment, as shown in fig. 2, functions are recommended to the user through the following steps:
step 202: determining the style type of the user according to the user information and the characteristics of the page layout;
step 204: and recommending the functions in the page layouts of other users in the style types to the user.
Specifically, the style type of the user, i.e., the style of the page layout preferred by the user, such as an lovely style, a reduced style, etc., is determined according to the user information and the characteristics of the page layout set by the user. Specifically, the user information may be information of the user's age, occupation, hobby, and the like, and the page layout may be characterized by a function type, distribution of function display positions, a font style, a font color, and the like.
Specifically, after the style type of the user is determined, functions in the page layouts of other users in the style type of the user can be recommended to the user, and the functions belong to the same style type, so that the function recommending mode is more accurate, and the requirements of the user can be met more possibly. At this time, the user may or may not receive the recommendation for the recommended function, and may implement the recommendation by using a markov algorithm.
In specific implementation, in order to accurately determine the genre type of the user, in this embodiment, as shown in fig. 3, the genre type of the user may be determined through the following steps:
step 302: calculating similarity between the characteristics of the user information and the page layout and the characteristics of the user information and the page layout corresponding to different preset style types based on a K nearest neighbor algorithm, wherein the different preset style types are determined based on historical user information and the corresponding characteristics of the page layout;
step 304: and determining the style type of the user according to the similarity.
Specifically, different preset style types can be determined based on the historical user information and the corresponding characteristics of the page layout, and the different preset style types can be determined based on statistics, classification and standard reaching of big data such as the historical user information and the corresponding characteristics of the page layout.
Specifically, the process of calculating the similarity between the user information and the characteristics of the page layout and the user information and the characteristics of the page layout corresponding to different preset style types may be calculating a euclidean distance between the user information and the characteristics of the page layout and the user information and the characteristics of the page layout corresponding to different preset style types, and then obtaining the similarity based on the euclidean distance.
Specifically, the style type of the user is determined according to the similarity, which may be determined according to a similarity between related information of the user (for example, characteristics of user information and page layout) and related information corresponding to different preset style types, for example, if the similarity to a certain preset style type is greater than a preset value, the certain preset style type may be determined as the style type of the user.
In specific implementation, in order to implement sharing of page layout, in this embodiment, the page layout may also be stored in a block chain; and allowing users meeting preset conditions to use the page layout.
Specifically, after the user successfully sets the page layout, the page layout of the user may allow the user meeting the preset condition to use, for example, may allow the user to use for paying a purchase, or may allow the user to use a specific user (for example, a relative or a specific type of user).
In specific implementation, in order to screen out a page layout with high preference and provide data for subsequently improving the page layout, in this embodiment, other users may also be allowed to evaluate the page layout (for example, collect evaluation manners such as approval, appreciation, and scoring); and when the evaluation of the page layout reaches the preset requirement, setting the page layout as a sample.
Specifically, when the evaluation of the page layout of a certain user reaches a preset requirement, for example, the set praise, the reward, the score and the like reach the preset requirement, the page layout of the user can be set as a sample for other users to refer to, or data corresponding to preset style types are enriched, so that functions can be recommended better.
In specific implementation, the collection approval and the appreciation of the page layout of the user can be converted into a coupon or directly buy the reward into a related product, for example, the processing method of the page layout can be changed into the coupon or directly buy the reward into the financial product by an application program of the financial product of the user.
In specific implementation, the above page layout processing method may be used for any page layout processing, for example, the page layout processing may be used for page layout processing of an application program, a system interface, and the like of a terminal, and may also be used for page layout processing of a system interface of a server.
In this embodiment, a computer device is provided, as shown in fig. 4, and includes a memory 402, a processor 404, and a computer program stored on the memory and executable on the processor, and the processor implements the processing method of any of the above-mentioned page layouts when executing the computer program.
In particular, the computer device may be a computer terminal, a server or a similar computing device.
In the present embodiment, there is provided a computer-readable storage medium storing a computer program for executing the above-described arbitrary page layout processing method.
In particular, computer-readable storage media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer-readable storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable storage medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
Based on the same inventive concept, the embodiment of the present invention further provides a processing apparatus for page layout, as described in the following embodiments. Because the principle of the processing device for page layout for solving the problem is similar to the processing method for page layout, the implementation of the processing device for page layout can refer to the implementation of the processing method for page layout, and repeated details are not repeated. As used hereinafter, the term "unit" or "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 5 is a block diagram of a structure of a page layout processing apparatus according to an embodiment of the present invention, and as shown in fig. 5, the apparatus includes:
a request receiving module 502, configured to receive a page layout setting request, where the setting request includes user information;
a page layout setting module 504, configured to generate a page layout according to a function selected by a user, a display position of the function, and a text form, and send the page layout for auditing;
and a page layout processing module 506, configured to bind the page layout with the user information after the user information is approved, and display the page layout when the user information logs in again.
In one embodiment, further comprising:
the style determining module is used for determining the style type of the user according to the user information and the characteristics of the page layout;
and the function recommending module is used for recommending the functions in the page layouts of other users in the style types to the users.
In one embodiment, the style determination module includes:
the similarity calculation module is used for calculating the similarity between the characteristics of the user information and the page layout and the characteristics of the user information and the page layout corresponding to different preset style types based on a K nearest neighbor algorithm, wherein the different preset style types are determined based on historical user information and the corresponding characteristics of the page layout;
and the style determining unit is used for determining the style type of the user according to the similarity.
In one embodiment, further comprising:
the storage module is used for storing the page layout into a block chain;
and the acquisition module is used for allowing a user meeting preset conditions to use the page layout.
In one embodiment, further comprising:
the evaluation module is used for allowing other users to evaluate the page layout;
and the sample screening module is used for setting the page layout as a sample when the evaluation of the page layout reaches a preset requirement.
The embodiment of the invention realizes the following technical effects: the method comprises the steps of receiving a page layout setting request, wherein the setting request comprises user information, generating a page layout according to functions selected by a user, display positions of the functions and character forms, sending the page layout for auditing, binding the page layout with the user information after the auditing is passed, and displaying the page layout when the user information logs in again, so that the user can set the page layout according to own preference, use habits and the like, the diversity, flexibility and individuation of the page layout are improved, and the user experience is improved.
Although the present invention provides method steps as described in the examples or flowcharts, more or fewer steps may be included based on routine or non-inventive labor. The order of steps recited in the embodiments is merely one manner of performing the steps in a multitude of orders and does not represent the only order of execution. When an actual apparatus or client product executes, it may execute sequentially or in parallel (e.g., in the context of parallel processors or multi-threaded processing) according to the embodiments or methods shown in the figures.
As will be appreciated by one skilled in the art, embodiments of the present description may be provided as a method, apparatus (system) or computer program product. Accordingly, embodiments of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment. In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. The terms "upper", "lower", and the like, indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience in describing the present invention and simplifying the description, but do not indicate or imply that the referred devices or elements must have a specific orientation, be constructed and operated in a specific orientation, and thus, should not be construed as limiting the present invention. Unless expressly stated or limited otherwise, the terms "mounted," "connected," and "connected" are intended to be inclusive and mean, for example, that they may be fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations. It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict. The present invention is not limited to any single aspect, nor is it limited to any single embodiment, nor is it limited to any combination and/or permutation of these aspects and/or embodiments. Moreover, each aspect and/or embodiment of the present invention may be utilized alone or in combination with one or more other aspects and/or embodiments thereof.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the present invention, and they should be construed as being included in the following claims and description.