CN114253543A - Page configuration method and device, electronic equipment and storage medium - Google Patents
Page configuration method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN114253543A CN114253543A CN202210183205.2A CN202210183205A CN114253543A CN 114253543 A CN114253543 A CN 114253543A CN 202210183205 A CN202210183205 A CN 202210183205A CN 114253543 A CN114253543 A CN 114253543A
- Authority
- CN
- China
- Prior art keywords
- page
- component
- sample
- characteristic information
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 45
- 230000006399 behavior Effects 0.000 claims description 14
- 238000012545 processing Methods 0.000 claims description 14
- 238000010276 construction Methods 0.000 claims description 5
- 238000004891 communication Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 7
- 238000004590 computer program Methods 0.000 description 6
- 238000011161 development Methods 0.000 description 6
- 238000012827 research and development Methods 0.000 description 6
- 238000012360 testing method Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000009877 rendering Methods 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000004806 packaging method and process Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000001953 sensory effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/38—Creation or generation of source code for implementing user interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/903—Querying
- G06F16/90335—Query processing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/36—Software reuse
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The disclosure provides a page configuration method, a page configuration device, an electronic device and a storage medium, wherein the method comprises the following steps: acquiring page information of a page to be configured; determining components in the page to be configured based on the page information; acquiring component characteristic information corresponding to the component from a characteristic database; and constructing the page to be configured based on the component characteristic information.
Description
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a page configuration method and apparatus, an electronic device, and a storage medium.
Background
With the continuous development of technologies such as computers, internet and the like, the demands of page display and the like are continuously increased and changed, and different pages have great difference, so that a great deal of research and development, testing and labor cost are required to be invested, and a long research and development testing period cannot meet the increasingly increased and continuously changed demands.
Therefore, in the process of page configuration, a method capable of meeting the page display requirement and saving resources and cost needs to be found.
Disclosure of Invention
The present disclosure provides a page configuration method, device, electronic device and storage medium, so as to at least solve the above technical problems in the prior art.
According to a first aspect of the present disclosure, there is provided a page configuration method, the method including: acquiring page information of a page to be configured; determining components in the page to be configured based on the page information; acquiring component characteristic information corresponding to the component from a characteristic database; and constructing the page to be configured based on the component characteristic information.
In one possible embodiment, the feature database is determined based on a sample page; the method further comprises the following steps: determining sample components in the sample page; acquiring sample assembly characteristic information corresponding to the sample assembly; constructing the feature database based on the sample component feature information.
In an embodiment, the obtaining component feature information corresponding to the component from the feature database includes: searching the characteristic database for a sample component matched with the component; and determining the sample assembly characteristic information corresponding to the sample assembly as the assembly characteristic information corresponding to the assembly.
In an implementation manner, the building the page to be configured based on the component feature information includes: and configuring page elements of the page to be configured based on the component characteristic information.
In the foregoing possible embodiments, the component feature information includes: at least one of style characteristic information, behavior characteristic information, and data characteristic information of the component.
According to a second aspect of the present disclosure, there is provided a page configuring apparatus, the apparatus including: the acquisition module is used for acquiring page information of a page to be configured; the processing module is used for determining components in the page to be configured based on the page information; the acquisition module is further used for acquiring component characteristic information corresponding to the component from a characteristic database; and the building module is used for building the page to be configured based on the component characteristic information.
In an embodiment, the processing module is further configured to determine the feature database based on a sample page; also for determining sample components in the sample page; the obtaining module is further configured to obtain sample component feature information corresponding to the sample component; the construction module is further used for constructing the feature database based on the sample assembly feature information.
In one embodiment, the obtaining module includes: the searching sub-module is used for searching the sample assembly matched with the assembly in the characteristic database; and the determining submodule is used for determining the sample assembly characteristic information corresponding to the sample assembly as the assembly characteristic information corresponding to the assembly.
In an implementation manner, the building module is further configured to configure a page element of the page to be configured based on the component feature information.
In the foregoing possible embodiments, the component feature information includes: at least one of style characteristic information, behavior characteristic information, and data characteristic information of the component.
According to a third aspect of the present disclosure, there is provided an electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the methods of the present disclosure.
According to a fourth aspect of the present disclosure, there is provided a non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of the present disclosure.
According to the page configuration method, the page configuration device, the electronic equipment and the storage medium, the page components are determined through the acquired page information, and the page is configured based on the component characteristic information acquired from the characteristic database, so that the waste of manpower, research and development and test resources is avoided, the efficiency of research and development and service delivery is improved on the basis of meeting service requirements, and the rapid construction and dynamic configuration of the page are realized.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The above and other objects, features and advantages of exemplary embodiments of the present disclosure will become readily apparent from the following detailed description read in conjunction with the accompanying drawings. Several embodiments of the present disclosure are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which:
in the drawings, the same or corresponding reference numerals indicate the same or corresponding parts.
FIG. 1 is a flow chart illustrating a page configuration method according to an embodiment of the disclosure;
FIG. 2 is a schematic flow chart diagram illustrating a page configuration method according to an embodiment of the present disclosure;
FIG. 3 is a detailed optional flowchart diagram of a page configuration method according to an embodiment of the disclosure;
fig. 4 is a schematic diagram illustrating a component structure of a page configuration apparatus according to an embodiment of the disclosure;
fig. 5 shows a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
In order to make the objects, features and advantages of the present disclosure more apparent and understandable, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present disclosure, and it is apparent that the described embodiments are only a part of the embodiments of the present disclosure, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
The e-commerce shopping guide service has a demand for rapid development of a variety of fast applications including User Interface (UI) customization, 5 th generation Html (H5) page or function, data. Meanwhile, the page style, data characteristics and functions meeting the e-commerce shopping guide business requirements are greatly different, and research and development and testing resources need to be invested for development and testing again. Not only can waste a large amount of human resources, but also the longer lead time can not meet the requirement of the e-commerce shopping guide service. The application framework can configure various component styles, behaviors and data characteristic information of pages based on a database, configure template information in advance, and build corresponding operation background, so that business personnel can easily configure, modify and mount and dismount the page component information on the operation background, dynamic updating and dynamic mounting and dismounting of the component styles and data are realized, and meanwhile, new application template information can be quickly copied based on the existing page template information.
Fig. 1 shows a flowchart of a page configuration method according to an embodiment of the present disclosure.
Referring to fig. 1, a processing flow of a page configuration method according to an embodiment of the present disclosure at least includes the following steps:
step S101, page information of a page to be configured is obtained.
In some embodiments, the page information may be a title in the page, a content type in the page, a size of the page, a rendering mode of the page, and the like, and the page information is not limited herein.
And step S102, determining the components in the page to be configured based on the page information.
In some embodiments, the page information of the page to be configured is abstracted in a componentization manner, that is, the page to be configured is abstracted according to the page information of the page to be configured, and the component information corresponding to the component are acquired.
In some embodiments, a component may include the component itself, a background map of the component, and a border for the component; the component information corresponding to the component may include elements exposed within the component. Such as: the color of the background image in the component a is blue, the frame of the component a is formed by a dotted line, and the component a is provided with 4 buttons; the component information corresponding to component a may be the characteristics of the article a displayed in component a.
In some embodiments, the page template is defined according to the components in the page to be configured.
Step S103, acquiring component feature information corresponding to the component from the feature database.
In some embodiments, the specific implementation process of obtaining component feature information corresponding to a component from a feature database may include:
searching a sample assembly matched with the assembly in a characteristic database;
and determining the sample assembly characteristic information corresponding to the sample assembly as the assembly characteristic information corresponding to the assembly.
In some embodiments, the feature database is determined based on the sample page.
And step S104, constructing a page to be configured based on the component characteristic information.
In some embodiments, the specific implementation process of building the page to be configured based on the component feature information may include: and configuring page elements of the page to be configured based on the component characteristic information.
In some embodiments, the components can be configured in a pluggable manner, which facilitates flexible configuration of the components, so that one component can be configured in any position of any template.
In some embodiments, the style characteristic information, the behavior characteristic information and the data characteristic information of the component can be dynamically read according to the page template, and the dynamic configuration of the page can be realized by flexibly configuring the component characteristic information to the component.
Fig. 2 is another flowchart illustrating a page configuring method according to an embodiment of the disclosure.
Referring to fig. 2, another processing flow of a page configuration method according to an embodiment of the present disclosure at least includes the following steps:
in step S201, a sample component in the sample page is determined.
In some embodiments, the page information of the sample page is arranged according to the business requirement, wherein the page information may be a title in the page, a content type in the page, a size of the page, a rendering mode of the page, and the like, and the number of the sample page information and the sample page information is not limited herein.
By way of example, the page information of the sample pages meeting business requirements provided by the product and/or the operation department is sorted, wherein the number of the page information of the sorted sample pages can be not less than 100, so as to better meet the construction of the feature database.
In some embodiments, the page information of the sample page is abstracted in a componentized manner, that is, the sample page is abstracted according to the page information of the sample page, and the sample component information corresponding to the sample component and the sample component is obtained.
In some embodiments, the sample component may include the component itself, a background map of the component, and a border of the component; sample component information corresponding to a sample component may include elements exposed within the component. Such as: the color of the background image in the component a is blue, the frame of the component a is formed by a dotted line, and the component a is provided with 4 buttons; the component information corresponding to component a may be the characteristics of the article a displayed in component a.
Step S202, sample assembly characteristic information corresponding to the sample assembly is obtained.
In some embodiments, sample component information corresponding to the sample component is carded to obtain sample component characteristic information.
In some embodiments, the information corresponding to the combing sample component may be that a sample component meeting business requirements is described in a requirement document, and component features having common characteristics are extracted by comparing listed component features according to component listed component features described in the requirement document.
In some embodiments, the component characteristic information includes at least one of style characteristic information, behavior characteristic information, and data characteristic information of the component.
In some embodiments, the data characteristic information of the component may be configured to the component, exposed by the component, and may be obtained from at least one of an item repository, a recommendation repository, and a search repository.
As an example, abstracting a commodity B in a page 1 and a page 1, and obtaining component information corresponding to a component B and the component B, where data feature information of the component B includes all display information of the component B, where the display information may be commodity information, such as: the commodity name of component b and the commodity price of component b.
In the embodiment of the disclosure, the same component has a large difference after being configured with different data characteristic information, and the requirement of customized binding of the constructed page element and the corresponding data is realized by abstracting, combing and configuring the characteristic information of the component, wherein the data characteristic information of the component is obtained from at least one of a commodity library, a recommendation library and a search library.
And step S203, constructing a feature database based on the sample assembly feature information.
In some embodiments, the table structure information of each component feature database is constructed according to the abstract information of the component, that is, the sample component and the sample component information corresponding to the sample component, wherein the structure of the database is not limited herein.
In some embodiments, only the various component feature information is stored in the feature database.
Step S204, page information of the page to be configured is obtained.
Step S205, determining the components in the page to be configured based on the page information.
In some embodiments, the page information of the page to be configured is abstracted in a componentization manner, that is, the page to be configured is abstracted according to the page information of the page to be configured, and the component information corresponding to the component are acquired.
In some embodiments, the page template is defined according to the components in the page to be configured.
In step S206, a sample component matching the component is searched in the feature database.
In some embodiments, the feature database is determined based on the sample page.
Step S207, determining the sample component feature information corresponding to the sample component as component feature information corresponding to the component.
And S208, configuring the page elements of the page to be configured based on the component characteristic information.
In some embodiments, the components can be configured in a pluggable manner, which facilitates flexible configuration of the components, so that one component can be configured in any position of any template.
In some embodiments, the style characteristic information, the behavior characteristic information and the data characteristic information of the components can be dynamically read according to the page template, the component characteristic information can be flexibly configured to the components, the component characteristic information in the template can be maintained, and the display sequence of the components can be dynamically adjusted, so that the dynamic configuration of the page can be realized.
In the embodiment of the disclosure, the page information is abstracted in a componentization manner, the style characteristics, the behavior characteristics and the data characteristics of the abstracted components are defined, and the components of each category are dynamically combined, so that the dynamic configuration of the customized page is realized, and the research and development efficiency and the delivery efficiency are improved on the basis of meeting the business requirements.
Fig. 3 is a detailed optional flowchart of a page configuring method according to an embodiment of the present disclosure.
Referring to fig. 3, taking a page 2 to be configured of an e-commerce website as an example, a detailed optional flow of the page configuration method according to the embodiment of the present disclosure is described, which at least includes the following steps:
step S301, the page elements of the sample page are investigated, and page information is obtained.
Optionally, the page information of the sample page is arranged according to the requirement of the e-commerce shopping guide service, wherein the number of the page information of the sample page is not limited here.
Step S302, performing modularized abstraction on the page information of the sample page.
Specifically, abstract the sample page according to the page information of the sample page, obtain sample component information corresponding to the sample component and the sample component, where the sample component may be a selling display interface of the mobile phone E, and the selling display interface of the mobile phone E may include: the color of a background image in the display interface is white, and a frame of the display interface is formed by a black solid line; the sample component information corresponding to the sample component may be a selling price of the mobile phone E.
Step S303, sample assembly characteristic information corresponding to the sample assembly is obtained.
Specifically, sample assembly information corresponding to the sample assembly is combed, and sample assembly characteristic information is obtained.
Optionally, the information corresponding to the combing sample component may be that a sample component meeting the e-commerce shopping guide service requirement is described in a requirement document, and the listed component features are compared according to the listed component features described in the requirement document to extract component features having common characteristics.
Optionally, the component characteristic information includes at least one of style characteristic information, behavior characteristic information, and data characteristic information of the component.
Alternatively, the data characteristic information of the component may be configured to the component, displayed by the component, and may be obtained from at least one of an article library, a recommendation library and a search library, wherein the article library may be an electronic article library owned by the website development company, the recommendation library may be a related article recommendation library constructed based on the electronic article library owned by the website development company, and the search library may be an electronic article search library with specific attributes constructed based on the electronic article library owned by the website development company.
And step S304, constructing a feature database based on the sample assembly feature information.
Optionally, the table structure information of each component feature database is constructed according to the abstract information of the component, that is, the sample component and the sample component information corresponding to the sample component, where the structure of the database is not limited here.
Specifically, only various component feature information is stored in the feature database.
Step S305, obtaining page information of the to-be-configured page 2 of the e-commerce website, and determining components in the to-be-configured page 2 of the e-commerce website based on the page information.
Specifically, the page information in the page 2 to be configured with the e-commerce website may include: title in page, type of content presented in page, size of page.
Step S306, defining a page template according to the components in the to-be-configured page 2 of the E-commerce website.
Specifically, the page information of the page 2 to be configured of the e-commerce website is abstracted in a componentization manner, that is, the page 2 to be configured of the e-commerce website is abstracted according to the page information of the page 2 to be configured of the e-commerce website, and the component information corresponding to the component are acquired.
Step S307, performing pluggable configuration on each component in the page template.
Step S308, component feature information corresponding to the component is obtained from the feature database.
Specifically, a sample component matching the component is looked up in a feature database, wherein the feature database is determined based on the sample page.
Specifically, the sample component characteristic information corresponding to the sample component is determined to be component characteristic information corresponding to the component.
Step S309, configuring the page elements of the page to be configured based on the component characteristic information.
Specifically, the style characteristic information, the behavior characteristic information and the data characteristic information of the component can be dynamically read according to the page template, and the dynamic configuration of the page is realized by flexibly configuring the component characteristic information to the component.
In the embodiment of the disclosure, the speed of constructing a multi-element page, a fast Application, an Application (APP), and the like is greatly reduced by highly abstracting and packaging the components, wherein the component is packaged, namely, the feature database is constructed. And by configuring the styles, behaviors and data characteristics of the components, a page with various page elements, various element behaviors and differentiated data can be quickly constructed.
Fig. 4 is a schematic diagram illustrating a configuration of a page allocating apparatus according to an embodiment.
Referring to fig. 4, in an embodiment of a page configuration apparatus, the page configuration apparatus 40 includes: an obtaining module 401, configured to obtain page information of a page to be configured; a processing module 402, configured to determine components in the page to be configured based on the page information; the obtaining module 401 is further configured to obtain component feature information corresponding to the component from the feature database; a constructing module 403, configured to construct a page to be configured based on the component feature information.
In some embodiments, the processing module 402 is further configured to determine a feature database based on the sample page; also for determining sample components in the sample page; the obtaining module 401 is further configured to obtain sample component characteristic information corresponding to the sample component; and the construction module 403 is further configured to construct a feature database based on the sample component feature information.
In some embodiments, the obtaining module comprises: the searching sub-module 4011 is configured to search a sample component matched with the component in the feature database; the determining submodule 4012 is configured to determine that the sample component feature information corresponding to the sample component is component feature information corresponding to the component.
In some embodiments, in an implementation, the building module 403 is further configured to configure the page element of the page to be configured based on the component feature information.
In the above embodiment, the component feature information includes: at least one of style characteristic information, behavior characteristic information, and data characteristic information of the component.
The present disclosure also provides an electronic device and a readable storage medium according to an embodiment of the present disclosure.
FIG. 5 illustrates a schematic block diagram of an example electronic device 500 that can be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable electronic devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 5, the electronic device 500 includes a computing unit 501, which can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM) 502 or a computer program loaded from a storage unit 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the electronic apparatus 500 can also be stored. The calculation unit 501, the ROM 502, and the RAM 503 are connected to each other by a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
A number of components in the electronic device 500 are connected to the I/O interface 505, including: an input unit 506 such as a keyboard, a mouse, or the like; an output unit 507 such as various types of displays, speakers, and the like; a storage unit 508, such as a magnetic disk, optical disk, or the like; and a communication unit 509 such as a network card, modem, wireless communication transceiver, etc. The communication unit 509 allows the electronic device 500 to exchange information/data with other electronic devices through a computer network such as the internet and/or various telecommunication networks.
The computing unit 501 may be a variety of general-purpose and/or special-purpose processing components having processing and computing capabilities. Some examples of the computing unit 501 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. The calculation unit 501 executes the respective methods and processes described above, such as the page configuration method. For example, in some embodiments, the page configuration method may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as storage unit 508. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 500 via the ROM 502 and/or the communication unit 509. When the computer program is loaded into the RAM 503 and executed by the computing unit 501, one or more steps of the page configuration method described above may be performed. Alternatively, in other embodiments, the computing unit 501 may be configured to perform the page configuration method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server may be a cloud server, a server of a distributed system, or a server with a combined blockchain.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present disclosure may be executed in parallel, sequentially, or in different orders, as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved, and the present disclosure is not limited herein.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present disclosure, "a plurality" means two or more unless specifically limited otherwise.
The above description is only for the specific embodiments of the present disclosure, but the scope of the present disclosure is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present disclosure, and all the changes or substitutions should be covered within the scope of the present disclosure. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.
Claims (12)
1. A page configuration method, characterized in that the method comprises:
acquiring page information of a page to be configured;
determining components in the page to be configured based on the page information;
acquiring component characteristic information corresponding to the component from a characteristic database;
and constructing the page to be configured based on the component characteristic information.
2. The method of claim 1, wherein the feature database is determined based on a sample page; the method further comprises the following steps:
determining sample components in the sample page;
acquiring sample assembly characteristic information corresponding to the sample assembly;
constructing the feature database based on the sample component feature information.
3. The method according to claim 1, wherein the obtaining component feature information corresponding to the component from a feature database comprises:
searching the characteristic database for a sample component matched with the component;
and determining the sample assembly characteristic information corresponding to the sample assembly as the assembly characteristic information corresponding to the assembly.
4. The method according to claim 1, wherein the building the page to be configured based on the component feature information comprises:
and configuring page elements of the page to be configured based on the component characteristic information.
5. The method of any of claims 1 to 4, wherein the component characteristic information comprises:
at least one of style characteristic information, behavior characteristic information, and data characteristic information of the component.
6. A page configuring apparatus, the apparatus comprising:
the acquisition module is used for acquiring page information of a page to be configured;
the processing module is used for determining components in the page to be configured based on the page information;
the acquisition module is further used for acquiring component characteristic information corresponding to the component from a characteristic database;
and the building module is used for building the page to be configured based on the component characteristic information.
7. The apparatus of claim 6, wherein the processing module is further configured to determine the feature database based on a sample page; also for determining sample components in the sample page;
the obtaining module is further configured to obtain sample component feature information corresponding to the sample component;
the construction module is further used for constructing the feature database based on the sample assembly feature information.
8. The apparatus of claim 6, wherein the obtaining module comprises:
the searching sub-module is used for searching the sample assembly matched with the assembly in the characteristic database;
and the determining submodule is used for determining the sample assembly characteristic information corresponding to the sample assembly as the assembly characteristic information corresponding to the assembly.
9. The apparatus of claim 6, wherein the building module is further configured to configure a page element of the page to be configured based on the component feature information.
10. The apparatus of any of claims 6 to 9, wherein the component characteristic information comprises:
at least one of style characteristic information, behavior characteristic information, and data characteristic information of the component.
11. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the page configuration method of any of claims 1-5.
12. A non-transitory computer readable storage medium storing computer instructions for causing a computer to perform the page configuring method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210183205.2A CN114253543A (en) | 2022-02-28 | 2022-02-28 | Page configuration method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210183205.2A CN114253543A (en) | 2022-02-28 | 2022-02-28 | Page configuration method and device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114253543A true CN114253543A (en) | 2022-03-29 |
Family
ID=80796995
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210183205.2A Pending CN114253543A (en) | 2022-02-28 | 2022-02-28 | Page configuration method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114253543A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112286529A (en) * | 2020-11-19 | 2021-01-29 | 北京有竹居网络技术有限公司 | Development method, device and equipment of front-end page and storage medium |
CN113987321A (en) * | 2021-10-28 | 2022-01-28 | 北京金堤科技有限公司 | Page implementation method and device based on React frame, electronic equipment and storage medium |
CN114020245A (en) * | 2021-11-04 | 2022-02-08 | 北京百度网讯科技有限公司 | Page construction method and device, equipment and medium |
-
2022
- 2022-02-28 CN CN202210183205.2A patent/CN114253543A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112286529A (en) * | 2020-11-19 | 2021-01-29 | 北京有竹居网络技术有限公司 | Development method, device and equipment of front-end page and storage medium |
CN113987321A (en) * | 2021-10-28 | 2022-01-28 | 北京金堤科技有限公司 | Page implementation method and device based on React frame, electronic equipment and storage medium |
CN114020245A (en) * | 2021-11-04 | 2022-02-08 | 北京百度网讯科技有限公司 | Page construction method and device, equipment and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111130987A (en) | Automatic acquisition method and device for AWR report, electronic equipment and storage medium | |
CN113031946A (en) | Method and device for rendering page component | |
EP3654175A1 (en) | Terminal device, ui extension method, and ui extension program | |
CN114239504A (en) | Form configuration method, device, equipment, readable storage medium and program product | |
CN114036443A (en) | Page generation method and device | |
CN115759100A (en) | Data processing method, device, equipment and medium | |
CN113553123B (en) | Data processing method, device, electronic equipment and storage medium | |
CN113094286B (en) | Page test method and device, storage medium and electronic equipment | |
CN114461658A (en) | Name determination method, apparatus, device, program product, and storage medium | |
CN114064925A (en) | Knowledge graph construction method, data query method, device, equipment and medium | |
CN112433713A (en) | Application program design graph processing method and device | |
CN111198738A (en) | Mobile terminal page display method and device and electronic equipment | |
CN114253543A (en) | Page configuration method and device, electronic equipment and storage medium | |
CN114528489A (en) | User tag determination method, device, electronic equipment and program product | |
CN114265777A (en) | Application program testing method and device, electronic equipment and storage medium | |
CN110795424B (en) | Characteristic engineering variable data request processing method and device and electronic equipment | |
CN112819619A (en) | Transaction processing method and device | |
CN112597377A (en) | Information extraction module generation method, information extraction method and device | |
CN114115855A (en) | Code multiplexing method and device, computer readable storage medium and electronic equipment | |
CN112861504A (en) | Text interaction method, device, equipment, storage medium and program product | |
CN113703638A (en) | Data management page processing method and device, electronic equipment and storage medium | |
CN116339733B (en) | Application page generation method, system, electronic device and medium | |
CN113672223B (en) | Data display method, device, equipment and storage medium | |
CN114780896B (en) | Webpage content generation method and device and computer readable storage medium | |
CN113835893B (en) | Data processing method, device, equipment, storage medium and program product |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20220329 |