CN113760285A - Page configuration method and device, computer equipment and page display method - Google Patents

Page configuration method and device, computer equipment and page display method Download PDF

Info

Publication number
CN113760285A
CN113760285A CN202110907306.5A CN202110907306A CN113760285A CN 113760285 A CN113760285 A CN 113760285A CN 202110907306 A CN202110907306 A CN 202110907306A CN 113760285 A CN113760285 A CN 113760285A
Authority
CN
China
Prior art keywords
page
component
terminal
display
attribute 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
CN202110907306.5A
Other languages
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.)
Shanghai Shuhe Information Technology Co Ltd
Original Assignee
Shanghai Shuhe Information Technology 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 Shanghai Shuhe Information Technology Co Ltd filed Critical Shanghai Shuhe Information Technology Co Ltd
Priority to CN202110907306.5A priority Critical patent/CN113760285A/en
Publication of CN113760285A publication Critical patent/CN113760285A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/35Creation or generation of source code model driven
    • G06F8/355Round-trip engineering

Abstract

The application relates to a page configuration method, a page configuration device, computer equipment, a storage medium, a page display method, a page display device, computer equipment and a storage medium. The page configuration method comprises the following steps: acquiring appointed terminal attribute information; creating a page to be configured according to the terminal attribute information; acquiring a designated component of a page to be configured, wherein the designated component is a configurable component packaged in advance, the designated component comprises at least one rule configuration item, and the rule configuration item is used for configuring a display rule of component content of the designated component; and acquiring the display rule information input through the rule configuration item, and generating a configured page according to the display rule information. By adopting the page configuration method, the flexibility and the diversity of page configuration can be improved.

Description

Page configuration method and device, computer equipment and page display method
Technical Field
The present application relates to the field of computer technologies, and in particular, to a page configuration method, an apparatus, a computer device, a storage medium, a page display method, an apparatus, a computer device, and a storage medium.
Background
With the development of computer technology, the development of terminal applications is more and more, and the development of terminal pages is the key point of the development of terminal applications.
In the conventional page development technology, page production is generally performed based on a page template of H5(Hyper Text Markup Language 5). However, the page creation by H5 needs to be performed in a browser operating environment, and since the page template style by H5 is limited and only the components can be assembled based on the template, only the layout of the landing page can be simply performed, and the terminal page cannot be flexibly and variously disposed.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a page configuration method, device, computer device and storage medium capable of improving flexibility and diversity of terminal page configurations.
A method of page configuration, the method comprising: acquiring appointed terminal attribute information; creating a page to be configured according to the terminal attribute information; acquiring a designated component of a page to be configured, wherein the designated component is a configurable component packaged in advance, the designated component comprises at least one rule configuration item, and the rule configuration item is used for configuring a display rule of component content of the designated component; and acquiring the display rule information input through the rule configuration item, and generating a configured page according to the display rule information.
In one embodiment, the terminal attribute information is at least one of terminal user attribute information and terminal device attribute information.
In one embodiment, the rule configuration item is at least one of display gray scale, display passenger group, display period of validity, display frequency and material display priority.
In one embodiment, acquiring a specified component of a page to be configured includes: and identifying the components falling into the page to be configured through the dragging operation, and determining the components falling into the page to be configured as the designated components.
In one embodiment, the method further comprises: and taking the display condition of the component content as a dimension, abstracting and abstracting the information representing the component content display rule, setting a corresponding configuration item according to the abstracted and abstracted information, and packaging the component according to the set configuration item.
A page configuration apparatus, the apparatus comprising:
the appointed information acquisition module is used for acquiring appointed terminal attribute information;
the page to be configured creating module is used for creating a page to be configured according to the terminal attribute information;
the system comprises a designated component acquisition module, a display module and a display module, wherein the designated component acquisition module is used for acquiring a designated component of a page to be configured, the designated component is a configurable component packaged in advance, the designated component comprises at least one rule configuration item, and the rule configuration item is used for configuring a display rule of component content of the designated component;
and the rule information acquisition module is used for acquiring the display rule information input through the rule configuration item and generating a configured page according to the display rule information.
In addition, a page display method and device, computer equipment and storage medium for improving page display diversity are also provided.
A page display method comprises the following steps: receiving a page access request sent by a terminal; acquiring current attribute information of the terminal according to the page access request; screening a target page from a page library according to the current attribute information, wherein the page library comprises pages configured according to the page configuration method; screening component content according to the display rule information of the components in the target page; and returning the screened component contents to the terminal so that the terminal displays the target page according to the screened component contents.
In one embodiment, the current attribute information includes current user attribute information and current device attribute information, and the screening of the target page from the page library according to the current attribute information includes: screening a page matched with the current user attribute information from a page library; and determining a target page matched with the current equipment attribute information from the screened pages.
A page display apparatus, the apparatus comprising:
the access request receiving module is used for receiving a page access request sent by the terminal;
the terminal attribute acquisition module is used for acquiring the current attribute information of the terminal according to the page access request;
the target page screening module is used for screening a target page from a page library according to the current attribute information, wherein the page library comprises pages configured according to the page configuration method;
the component content screening module is used for screening component content according to the display rule information of the components in the target page;
and the component content returning module is used for returning the screened component content to the terminal so that the terminal can display the target page according to the screened component content.
A computer device comprises a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the page configuration method or the page display method when executing the computer program.
A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the above-mentioned page allocation method or page presentation method.
According to the page configuration method, the page configuration device, the computer equipment and the storage medium, because the terminal attribute information adapted to the page can be specified, and the components in the page and the display rules of the component contents can be specified or configured in a user-defined manner, the page can be flexibly configured and managed based on different terminal attributes and different service logics by using the method, so that the flexibility and the diversity of the terminal page configuration are improved.
In addition, according to the page display method, the page display device, the computer equipment and the storage medium, because the page is configured, when the terminal requests to access the page, the server can quickly screen the matched page from the configured page according to the attribute information of the current terminal and can also screen the component content according to the preconfigured display rule, and therefore, even if the same page is requested, the page can be dynamically displayed in a diversified manner due to different attributes and different preconfigurations of the requesting terminal.
Drawings
FIG. 1 is a diagram of an application environment of a page configuration method in one embodiment;
FIG. 2 is a flowchart illustrating a page allocation method according to an embodiment;
FIG. 3 is a flowchart illustrating a page allocation method in an application example;
FIG. 4 is a diagram of an application environment of the page presentation method in one embodiment;
FIG. 5 is a flowchart illustrating a page display method according to an embodiment;
FIG. 6 is a diagram illustrating interaction between a terminal and a server in a page display method according to an exemplary application;
FIG. 7 is a block diagram showing the structure of a page allocating apparatus in one embodiment;
FIG. 8 is a block diagram showing the structure of a page display apparatus in one embodiment;
FIG. 9 is a diagram showing an internal structure of a computer device in one embodiment;
fig. 10 is an internal structural view of a computer device in another embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The page configuration method provided by the application can be applied to the application environment shown in fig. 1. The terminal 100 obtains terminal attribute information specified by a user, creates a page to be configured according to the terminal attribute information, the terminal 100 obtains a specified component of the page to be configured, the specified component is a configurable component packaged in advance, the specified component comprises at least one rule configuration item, the rule configuration item is used for configuring a display rule of component content of the specified component, the terminal 100 receives display rule information input by the user through the rule configuration item, and generates a configured page according to the display rule information. Among them, the terminal 100 may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices.
In an embodiment, as shown in fig. 2, a page configuration method is provided, which is described by taking the application of the method to the terminal in fig. 1 as an example, and includes the following steps:
step S202: and acquiring the appointed terminal attribute information.
The terminal attribute information refers to information capable of reflecting relevant attributes of the page request terminal, and for example, the terminal attribute information may be at least one of terminal user attribute information and terminal device attribute information. The attribute information of the terminal user refers to information capable of reflecting a guest group to which the terminal user belongs, the guest group can be divided according to the life cycle state of the user, and the life cycle state of the user can include: unregistered, not checked for registration, under review, heavy asset over review, light asset over review, heavy asset rejected light asset not applied, heavy asset rejected light asset over review, heavy asset rejected light asset, heavy asset rejected light asset rejected, etc. The terminal device attribute information refers to attribute information capable of reflecting the type, system (Android/IOS) and software version of the terminal device.
Specifically, the terminal may receive terminal attribute information specified by a user via a terminal display interface through a mouse click, a keyboard input, a touch screen, or the like.
Step S204: and creating a page to be configured according to the terminal attribute information.
Specifically, after the terminal acquires the terminal attribute information specified by the user, a page layout corresponding to the terminal attribute information may be generated based on the terminal attribute information, so as to create a corresponding page to be configured. The page to be configured may be a blank page, or may be a page to be modified or edited. Therefore, the pages to be configured created based on different terminal attributes can be configured, managed and operated independently.
Step S206: the method comprises the steps of obtaining a designated component of a page to be configured, wherein the designated component is a configurable component packaged in advance, the designated component comprises at least one rule configuration item, and the rule configuration item is used for configuring a display rule of component content of the designated component.
The designated component refers to a component in the page to be configured, and may be a component selected by the user and put into the page to be configured, or a component adapted to the layout of the default page to be configured by the system. The component is pre-packaged and includes at least one configurable rule configuration item. The display rule of the component content of the component can be configured through the rule configuration item, for example, the display rule of gray level display, display passenger group display, display validity period, display frequency, display material priority and the like can be configured.
Specifically, a user can perform operations such as selection, entry, dragging and the like through a terminal display interface, a configurable component is placed in a page to be configured, and the terminal identifies the component falling into the page to be configured and takes the component as a specified component of the page to be configured. Or the terminal automatically matches the corresponding component as the designated component through the layout of the page to be configured, which is created based on the terminal attribute information.
Step S208: and acquiring the display rule information input through the rule configuration item, and generating a configured page according to the display rule information.
Specifically, a user can perform custom configuration of component content display rules through the visualized component rule configuration items in the display interface, submit data after configuration is completed, obtain, by the terminal, display rule information set in each rule configuration item submitted by the user, and generate a configured page according to each display rule information. Furthermore, the terminal can also issue or store the configured page online according to the operation instruction of the user.
According to the page configuration method, the terminal attribute information adapted to the page can be specified, and the display rules of the components and the component contents in the page can be configured in a user-defined manner, so that the page can be flexibly configured and managed based on different terminal attributes and different service logics by using the method, and the flexibility and the diversity of the terminal page configuration are improved.
In one embodiment, acquiring a specified component of a page to be configured includes: and identifying the components falling into the page to be configured through the dragging operation, and determining the components falling into the page to be configured as the designated components. According to the embodiment, the component selection can be realized more conveniently through the interactive operation between the user and the terminal interface, so that the component selection is flexible and the selected path is dynamically visible.
In one embodiment, the rule configuration item is at least one of a display gray scale, a display passenger group, a display period of validity, a display frequency, and a display priority of the material. In this embodiment, the user-defined and personalized configuration of the component content display rule can be realized by setting the rule configuration item.
Further, at least one content configuration item can be included in the designated component, and the content configuration item can be used for configuring the content of the component, such as picture material, text material, material link, data connection, buried roll name, component title and the like. Still further, at least one property configuration item may be included, and the property configuration item may be used to configure common properties of the components, such as component type, style, order, data, link or component association for obtaining component data, and the like. Therefore, the self-definition and fine configuration of the components are further realized.
In one embodiment, the method further comprises: and taking the display condition of the component content as a dimension, abstracting and abstracting the information representing the component content display rule, setting a corresponding configuration item according to the abstracted and abstracted information, and packaging the component according to the set configuration item.
In this embodiment, the component for performing page configuration is a configurable component which is packaged in advance, when the component is packaged, the presentation condition of the component content can be used as an information extraction dimension, and the extraction component information is abstracted to set rule configuration items of the corresponding dimension. Furthermore, information can be extracted from dimensions such as public attributes and component contents of the components, and corresponding attribute configuration items and content configuration items can be set, so that configurable information in the components can be further refined, and refinement, personalized configuration and management of the components are realized.
For example, in practice, the specific process of abstracting the package assembly may be referred to as follows: firstly, extracting common attributes of the components, such as component types, styles, sequences, data, links for acquiring component data, component association and component self-adaptation; secondly, general contents of the components, such as pictures, jump links, titles, corner marks, buttons, buried points and the like, can be extracted from the components in special service scenes, for example, the financial card component can extract configurable contents such as protocols, titles, multiple buttons, to-be-paid accounts and the like, and the components in shopping malls, coupons, task centers and the like can extract configurable contents such as data patterns and the like; and finally, refining display rules of the component contents, such as guest groups, gray scale, validity period, display frequency and the like. The packaged component can be refined and configured in a personalized mode from multiple dimensions such as public attributes, general contents, extended contents and display rules.
In the following, the page configuration method related to the present application is further described with reference to an application example, and referring to fig. 3, fig. 3 shows a flow diagram of the page configuration method in the application example, which may specifically include the following contents:
1. the operator creates a page layout and selects an App name, a terminal guest group and a page name to create a blank page.
2. Operator drags component from component library into blank page
3. The operator edits the content and rules that need to be configured, such as material, display gray scale, display guest group, display validity period, display frequency, material priority, etc.
4. And completing page configuration after all the components are configured, and publishing the configured pages on line.
In addition, the application also provides a page display method, and the page display method can be applied to the application environment shown in fig. 4.
Specifically, the server 404 and the terminal 402 may communicate over a network. The server 404 receives a page access request sent by the terminal 402, the server 404 obtains current attribute information of the terminal 402 according to the page access request, the server 404 screens a target page from a page library according to the current attribute information, the page library includes a page configured according to the page configuration method of any one of the above embodiments, the server 404 screens component content according to display rule information of a component in the target page, and the server 404 returns the screened component content to the terminal 402, so that the terminal 402 displays the target page according to the screened component content. The terminal 402 may be, but is not limited to, various personal computers, laptops, smartphones, tablets, and portable wearable devices. The server 404 may be implemented by a stand-alone server or a cluster of servers.
In one embodiment, as shown in fig. 5, a page display method is provided, which is described by taking the application of the method to the server in fig. 5 as an example, and includes the following steps:
step S502: and receiving a page access request sent by the terminal.
Specifically, a user can open an application through a terminal, the terminal sends an access request for requesting access to a page of the application to a server, and the server receives the access request sent by the terminal.
Step S504: and acquiring the current attribute information of the terminal according to the page access request.
The current attribute information refers to attribute information of the terminal in the current access state, and may include current user attribute information and/or current device attribute information.
Specifically, the server obtains the current attribute information of the page request terminal, for example, the server may query, through a User Identification (UID) of the User, a guest group to which the current User belongs, so as to obtain the attribute information of the current User.
Step S506: and screening a target page from a page library according to the current attribute information, wherein the page library comprises pages configured according to the page configuration method.
The page library includes a page configured according to the page configuration method of any one of the above embodiments, and the page library may be stored in a server cache or a background database.
Specifically, since the page in the page library is configured with the corresponding terminal attribute information, the specific configuration process refers to the above-mentioned embodiments related to page configuration, and is not described herein again. Therefore, the server can filter the configured page with the matched terminal attribute information and the current attribute information from the plurality of pages on line in the cache as the target page according to the inquired current attribute information of the terminal.
Step S508: and screening the component content according to the display rule information of the components in the target page.
Specifically, the target page includes at least one configured component, and the server filters the component content meeting the display rule according to the display rule, such as display passenger group, display gray scale, display frequency, and the like, of the component content configured for each component in the target page.
Step S510: and returning the screened component contents to the terminal so that the terminal displays the target page according to the screened component contents.
Specifically, the server returns component contents meeting the display rule in the screened components to the terminal, and the terminal renders a target page according to the returned component contents of the server and displays the target page on a display interface.
According to the page display method, because the page which is uploaded to the page library is configured by the page configuration method, when the terminal requests to access the page, the server can quickly screen out the matched target page from the configured page according to the current attribute information of the current terminal and can also screen the component content according to the display rule pre-configured for the target page, and therefore even if the same page is requested, diversified dynamic display of the page can be realized due to different attributes of the request terminal and different pre-configured rules.
In one embodiment, the current attribute information includes current user attribute information and current device attribute information, and the screening of the target page from the page library according to the current attribute information includes: screening a page matched with the current user attribute information from a page library; and determining a target page matched with the current equipment attribute information from the screened pages.
In this embodiment, when the current attribute information of the terminal acquired by the server is various, the pages can be screened layer by layer based on different current attribute information, and diversified display of thousands of people and thousands of pages is further realized.
In the following, with reference to an application example, from the perspective of page configuration accessed by a terminal user, a page presentation method related to the present application is further described in detail, and reference may be made to fig. 6, where fig. 6 shows a schematic diagram of interaction between a terminal and a server in the page presentation method of the application example, and specifically may include the following contents:
1. a user logs in an App (application) access page, and a terminal (client) calls a server (server) interface.
2. And the server judges the life cycle state (belonging guest group) of the user, acquires an online page layout list from the server cache according to the current user attribute information, the requested page type and the requested App type, and then filters the page which meets the conditions and has the highest priority to return to the terminal.
3. And the terminal acquires the data link according to each component in the component list in the returned page and calls a server interface to acquire the content of each component.
4. And the server filters the client group, the gray scale, the validity period, the display frequency, the material priority and the like according to the unique identification of the content configuration of each component required, and obtains the content meeting the corresponding display rule and returns the content to the terminal.
5. And rendering and displaying the page by the terminal according to the returned component content.
It should be understood that although the various steps in the flowcharts of fig. 2, 3 and 5 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2, 3 and 5 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed alternately or alternatingly with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 7, there is provided a page configuring apparatus including: a designated information obtaining module 710, a to-be-configured page creating module 720, a designated component obtaining module 730, and a rule information obtaining module 740, wherein:
a designated information obtaining module 710, configured to obtain designated terminal attribute information;
a to-be-configured page creating module 720, configured to create a to-be-configured page according to the terminal attribute information;
the designated component acquisition module 730 is used for acquiring a designated component of the page to be configured, the designated component is a configurable component packaged in advance, the designated component comprises at least one rule configuration item, and the rule configuration item is used for configuring a display rule of component content of the designated component;
the rule information obtaining module 740 is configured to obtain the display rule information input through the rule configuration item, and generate a configured page according to the display rule information.
In one embodiment, the designated component obtaining module 730 identifies a component falling into the page to be configured through the drag operation, and determines the component falling into the page to be configured as the designated component.
In an embodiment, the specified component obtaining module 730 is further configured to abstract and refine information representing a component content display rule by using a display condition of the component content as a dimension, set a corresponding configuration item according to the abstract and refined information, and package the component according to the set configuration item.
For the specific definition of the page configuration device, reference may be made to the above definition of the page configuration method, which is not described herein again. The various modules in the page configuring apparatus may be implemented wholly or partially by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, as shown in fig. 8, there is provided a page displaying apparatus including: an access request receiving module 810, a terminal attribute obtaining module 820, a target page screening module 830, a component content screening module 840 and a component content returning module 850, wherein:
an access request receiving module 810, configured to receive a page access request sent by a terminal;
a terminal attribute obtaining module 820, configured to obtain current attribute information of the terminal according to the page access request;
the target page screening module 830 is configured to screen a target page from a page library according to the current attribute information, where the page library includes pages configured according to the page configuration method;
the component content screening module 840 is used for screening component contents according to the display rule information of the components in the target page;
and the component content returning module 850 is configured to return the screened component content to the terminal, so that the terminal displays the target page according to the screened component content.
In one embodiment, the target page filtering module 830 filters a page matching the current user attribute information from a page library, and determines a target page matching the current device attribute information from the filtered pages.
For the specific definition of the page displaying device, reference may be made to the above definition of the page displaying method, which is not described herein again. The various modules in the page display apparatus can be wholly or partially implemented by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 9. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a page configuration method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
In one embodiment, another computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 10. The computer device comprises a processor, a memory and a network interface which are connected through a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a page presentation method.
Those skilled in the art will appreciate that the configurations shown in fig. 9 and 10 are merely block diagrams of some configurations relevant to the present disclosure, and do not constitute a limitation on the computing devices to which the present disclosure may be applied, and that a particular computing device may include more or less components than those shown, or combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program: acquiring appointed terminal attribute information; creating a page to be configured according to the terminal attribute information; acquiring a designated component of a page to be configured, wherein the designated component is a configurable component packaged in advance, the designated component comprises at least one rule configuration item, and the rule configuration item is used for configuring a display rule of component content of the designated component; and acquiring the display rule information input through the rule configuration item, and generating a configured page according to the display rule information.
In one embodiment, when the processor executes the computer program to obtain the designated component of the page to be configured, the following steps are specifically implemented: and identifying the components falling into the page to be configured through the dragging operation, and determining the components falling into the page to be configured as the designated components.
In one embodiment, the processor, when executing the computer program, further performs the steps of: and taking the display condition of the component content as a dimension, abstracting and abstracting the information representing the component content display rule, setting a corresponding configuration item according to the abstracted and abstracted information, and packaging the component according to the set configuration item.
In one embodiment, another computer device is provided, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program: receiving a page access request sent by a terminal; acquiring current attribute information of the terminal according to the page access request; screening a target page from a page library according to the current attribute information, wherein the page library comprises pages configured according to the page configuration method; screening component content according to the display rule information of the components in the target page; and returning the screened component contents to the terminal so that the terminal displays the target page according to the screened component contents.
In one embodiment, when the processor executes the computer program to realize the screening of the target page from the page library according to the current attribute information, the following steps are specifically realized: screening a page matched with the current user attribute information from a page library; and determining a target page matched with the current equipment attribute information from the screened pages.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: acquiring appointed terminal attribute information; creating a page to be configured according to the terminal attribute information; acquiring a designated component of a page to be configured, wherein the designated component is a configurable component packaged in advance, the designated component comprises at least one rule configuration item, and the rule configuration item is used for configuring a display rule of component content of the designated component; and acquiring the display rule information input through the rule configuration item, and generating a configured page according to the display rule information.
In one embodiment, when the computer program is executed by the processor to obtain the designated component of the page to be configured, the following steps are specifically implemented: and identifying the components falling into the page to be configured through the dragging operation, and determining the components falling into the page to be configured as the designated components.
In one embodiment, the computer program when executed by the processor further performs the steps of: and taking the display condition of the component content as a dimension, abstracting and abstracting the information representing the component content display rule, setting a corresponding configuration item according to the abstracted and abstracted information, and packaging the component according to the set configuration item.
In one embodiment, another computer-readable storage medium is provided, having a computer program stored thereon, the computer program, when executed by a processor, implementing the steps of: receiving a page access request sent by a terminal; acquiring current attribute information of the terminal according to the page access request; screening a target page from a page library according to the current attribute information, wherein the page library comprises pages configured according to the page configuration method; screening component content according to the display rule information of the components in the target page; and returning the screened component contents to the terminal so that the terminal displays the target page according to the screened component contents.
In one embodiment, when the computer program is executed by the processor to realize the screening of the target page from the page library according to the current attribute information, the following steps are specifically realized: screening a page matched with the current user attribute information from a page library; and determining a target page matched with the current equipment attribute information from the screened pages.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method of page configuration, the method comprising:
acquiring appointed terminal attribute information;
creating a page to be configured according to the terminal attribute information;
acquiring a designated component of the page to be configured, wherein the designated component is a configurable component packaged in advance, the designated component comprises at least one rule configuration item, and the rule configuration item is used for configuring a display rule of component content of the designated component;
and acquiring the display rule information input through the rule configuration item, and generating a configured page according to the display rule information.
2. The method of claim 1, wherein the terminal attribute information is at least one of terminal user attribute information and terminal device attribute information.
3. The method of claim 1, wherein the rule configuration item is at least one of display gray scale, display passenger group, display validity period, display frequency and material display priority.
4. The method according to claim 1, wherein the obtaining of the specified component of the page to be configured comprises:
identifying the components falling into the page to be configured through dragging operation, and determining the components falling into the page to be configured as the designated components.
5. The method of claim 1, further comprising:
and taking the display condition of the component content as a dimension, abstracting and abstracting the information representing the component content display rule, setting a corresponding configuration item according to the abstracted and abstracted information, and packaging the component according to the set configuration item.
6. A method of page display, the method comprising:
receiving a page access request sent by a terminal;
acquiring current attribute information of the terminal according to the page access request;
screening a target page from a page library according to the current attribute information, wherein the page library comprises pages configured according to the method of any one of claims 1 to 5;
screening component contents according to the display rule information of the components in the target page;
and returning the screened component contents to the terminal so that the terminal displays the target page according to the screened component contents.
7. The method of claim 6, wherein the current attribute information comprises current user attribute information and current device attribute information, and wherein the screening a target page from a page library according to the current attribute information comprises:
screening a page matched with the current user attribute information from the page library;
and determining a target page matched with the current equipment attribute information from the screened pages.
8. A page configuring apparatus, the apparatus comprising:
the appointed information acquisition module is used for acquiring appointed terminal attribute information;
the page to be configured creating module is used for creating a page to be configured according to the terminal attribute information;
a designated component obtaining module, configured to obtain a designated component of the page to be configured, where the designated component is a pre-packaged configurable component, the designated component includes at least one rule configuration item, and the rule configuration item is used to configure a display rule of a component content of the designated component;
and the rule information acquisition module is used for acquiring the display rule information input through the rule configuration item and generating a configured page according to the display rule information.
9. A page display apparatus, the apparatus comprising:
the access request receiving module is used for receiving a page access request sent by the terminal;
the terminal attribute acquisition module is used for acquiring the current attribute information of the terminal according to the page access request;
a target page screening module, configured to screen a target page from a page library according to the current attribute information, where the page library includes pages configured according to the method of any one of claims 1 to 5;
the component content screening module is used for screening component content according to the display rule information of the components in the target page;
and the component content returning module is used for returning the screened component content to the terminal so that the terminal displays the target page according to the screened component content.
10. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the page configuration method of any one of claims 1 to 5 when executing the computer program or implements the steps of the page presentation method of any one of claims 6 to 7 when executing the computer program.
CN202110907306.5A 2021-08-09 2021-08-09 Page configuration method and device, computer equipment and page display method Pending CN113760285A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110907306.5A CN113760285A (en) 2021-08-09 2021-08-09 Page configuration method and device, computer equipment and page display method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110907306.5A CN113760285A (en) 2021-08-09 2021-08-09 Page configuration method and device, computer equipment and page display method

Publications (1)

Publication Number Publication Date
CN113760285A true CN113760285A (en) 2021-12-07

Family

ID=78788760

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110907306.5A Pending CN113760285A (en) 2021-08-09 2021-08-09 Page configuration method and device, computer equipment and page display method

Country Status (1)

Country Link
CN (1) CN113760285A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115562652A (en) * 2022-11-24 2023-01-03 金现代信息产业股份有限公司 Component style processing method and system for low-code development platform

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104462131A (en) * 2013-09-23 2015-03-25 阿里巴巴集团控股有限公司 Method and device for processing information issuing page
CN110058856A (en) * 2019-04-28 2019-07-26 恒生电子股份有限公司 Page configuration method and device
CN110221831A (en) * 2019-04-25 2019-09-10 深圳壹账通智能科技有限公司 The automatically generating method, apparatus and computer equipment of the H5 page
CN111413876A (en) * 2020-03-02 2020-07-14 青岛聚好联科技有限公司 Method for configuring control page of APP, cloud platform and terminal equipment
CN111598707A (en) * 2020-04-16 2020-08-28 中国人民财产保险股份有限公司 Page generation method and electronic equipment
EP3816823A1 (en) * 2019-10-31 2021-05-05 Baidu Online Network Technology (Beijing) Co., Ltd. Webpage rendering method, device, electronic apparatus and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104462131A (en) * 2013-09-23 2015-03-25 阿里巴巴集团控股有限公司 Method and device for processing information issuing page
CN110221831A (en) * 2019-04-25 2019-09-10 深圳壹账通智能科技有限公司 The automatically generating method, apparatus and computer equipment of the H5 page
CN110058856A (en) * 2019-04-28 2019-07-26 恒生电子股份有限公司 Page configuration method and device
EP3816823A1 (en) * 2019-10-31 2021-05-05 Baidu Online Network Technology (Beijing) Co., Ltd. Webpage rendering method, device, electronic apparatus and storage medium
CN111413876A (en) * 2020-03-02 2020-07-14 青岛聚好联科技有限公司 Method for configuring control page of APP, cloud platform and terminal equipment
CN111598707A (en) * 2020-04-16 2020-08-28 中国人民财产保险股份有限公司 Page generation method and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115562652A (en) * 2022-11-24 2023-01-03 金现代信息产业股份有限公司 Component style processing method and system for low-code development platform
CN115562652B (en) * 2022-11-24 2023-08-15 金现代信息产业股份有限公司 Component style processing method and system for low-code development platform

Similar Documents

Publication Publication Date Title
US10416851B2 (en) Electronic publishing mechanisms
US10466971B2 (en) Generation of an application from data
CN110727431A (en) Applet generation method and apparatus
EP2806380A1 (en) Methods and apparatus for translating forms to native mobile applications
CN108595697B (en) Webpage integration method, device and system
CN110968309A (en) Template generation method and device, electronic equipment and storage medium
US11030385B2 (en) Enhanced preview technology for application add-ins
CN111338690A (en) Method and device for configuring pages of small program shop, computer equipment and storage medium
CN114385940A (en) Data visualization method, device, equipment and medium
CN111984902A (en) Visual page configuration method, system, computer equipment and storage medium
CA3158358A1 (en) Virtual resource activity processing method, device, computer equipment and storage medium
US10951486B2 (en) Terminal device, UI expansion method, and UI expansion program
CN115098098A (en) Page generation method, page display method and device
KR20110099158A (en) Content sharing system
CN110990700A (en) Comment information display method, device, client, server and system
CN108319474B (en) Page information generation method, device and equipment
CN113760285A (en) Page configuration method and device, computer equipment and page display method
KR101261753B1 (en) Method and system for generating and managing annotation on electronic book
CA3063175A1 (en) Data storage method and apparatus
CN111626021B (en) Presentation generation method and device
CN112700522A (en) Method and system for displaying spine animation file in unity
KR101242878B1 (en) Method and system for extracting and providing item having annotation on electronic book
KR101884648B1 (en) Method, apparatus and computer-readable medium for web-site development through sketch screen creation
CN112051952A (en) Picture dynamic browsing method and device, electronic equipment and readable storage medium
US20230059606A1 (en) Automation tool for generating web pages and links

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination