CN114896003A - Page configuration method and device, storage medium and electronic device - Google Patents

Page configuration method and device, storage medium and electronic device Download PDF

Info

Publication number
CN114896003A
CN114896003A CN202210384964.5A CN202210384964A CN114896003A CN 114896003 A CN114896003 A CN 114896003A CN 202210384964 A CN202210384964 A CN 202210384964A CN 114896003 A CN114896003 A CN 114896003A
Authority
CN
China
Prior art keywords
page
component
generated
target
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
CN202210384964.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.)
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Original Assignee
Qingdao Haier Technology Co Ltd
Haier Smart Home 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 Qingdao Haier Technology Co Ltd, Haier Smart Home Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN202210384964.5A priority Critical patent/CN114896003A/en
Publication of CN114896003A publication Critical patent/CN114896003A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The application discloses a page configuration method and device, a storage medium and an electronic device, and relates to the technical field of smart families, wherein the page configuration method comprises the following steps: determining the function requirement of a page to be generated, and loading a page component set corresponding to the function requirement from a database; selecting a plurality of target components from the page component set according to the operation information of the target object, and combining the plurality of target components on a display area of the mobile terminal associated with the target object to obtain a first page; and configuring the component parameters of the page to be generated for the first page to obtain a second page. The method and the device can solve the problems of high configuration cost, long processing period and the like of the propaganda page for the new activity, improve the generation efficiency of the new propaganda page, avoid resource waste caused by multiple development of the same component due to the fact that the component in the database can be reused, improve the processing period of the page and simplify the processing flow.

Description

Page configuration method and device, storage medium and electronic device
Technical Field
The application relates to the field of smart homes, in particular to a page configuration method and device, a storage medium and an electronic device.
Background
In the society, it is indispensable for an APP product to increase the number of users through various new activities. The fission is difficult to realize in a short time by the traditional mouth-to-mouth transmission mode, so that the popularization of products by designing some refreshing activities is very important. General activity of pulling new is through social software invitation friend through downloading APP help oneself and accomplish the task of pulling new, and the user can obtain the reward, has also improved the download volume and the number of users of APP product, nevertheless because the diversified novelty of the activity demand of pulling new, need a plurality of human input from the design to the development activity of pulling new again. And because of platform variability, different performance and problems often arise. At present, the development threshold is high, the investment cost is high, the response effect is slow, and if the traditional mode of editing the publicity page of the pull-new activity in a row-by-row base code mode is adopted, the repeated work is more, and the labor cost is high.
Aiming at the problems of high configuration cost, long processing period and the like of the publicity page of the pull-new activity in the related technology, an effective technical scheme is not provided yet.
Disclosure of Invention
The embodiment of the invention provides a page configuration method and device, a storage medium and an electronic device, which are used for at least solving the problems of high configuration cost, long processing period and the like of a publicity page of a pull-new activity in the related art.
According to an embodiment of the present invention, there is provided a method for configuring a page, including: determining a function requirement of a page to be generated, and loading a page component set corresponding to the function requirement from a database; selecting a plurality of target components from the page component set according to the operation information of a target object, and combining the target components on a display area of a mobile terminal associated with the target object to obtain a first page; and configuring the component parameters of the page to be generated for the first page to obtain a second page.
In an exemplary embodiment, after loading the set of page components corresponding to the functional requirement from the database, the method further includes: performing component classification on the page component set according to a preset component type to obtain a plurality of subsets, wherein the subsets correspond to one class of page component types; determining that page version information of a page component exists in each of the plurality of subsets; and under the condition that the version information is lower than the preset version information, searching a target page component from the database to update the subset.
In an exemplary embodiment, combining the plurality of target components on a display area of the mobile terminal associated with the target object to obtain a first page includes: performing component preview on the target components, and determining page characteristics of the target components; combining the target components on a display area of the mobile terminal associated with the target object according to the page characteristics, wherein the combination is that the target components are subjected to component association and component interface fusion; and under the condition that the target components are determined to be successfully fused, obtaining a first page for configuring component parameters.
In an exemplary embodiment, configuring the component parameter of the page to be generated for the first page to obtain a second page includes: determining the application environment of the page to be generated and acquiring data information to be displayed on the page to be generated; configuring domain name information for the page to be generated according to the application environment; and filling component parameters in the configuration item corresponding to the first page based on the domain name information and the data information to obtain a second page.
In an exemplary embodiment, after configuring the component parameters of the page to be generated for the first page and obtaining a second page, the method further includes: determining target information of the second page in a running state; and determining whether the second page meets the functional requirements of the page to be generated or not according to the target information.
In an exemplary embodiment, determining the target information of the second page in the running state includes: transmitting the second page to test equipment for running test; receiving test information fed back by the test equipment, wherein the test information comprises at least one of the following: the function of the second page, the operating efficiency of the second page and the abnormal information in the second page; and comparing the test information with the function requirement of the page to be generated to determine the target information of the second page.
In an exemplary embodiment, determining whether the second page meets the functional requirement of the page to be generated according to the target information includes: under the condition that the target information indicates that the running state of the current second page meets the functional requirement of the page to be generated, outputting the second page as a generation result of the page to be generated; and under the condition that the target information indicates that the running state of the current second page does not meet the functional requirements of the page to be generated, adjusting the component parameters in the second page, and carrying out running test again.
According to another embodiment of the present invention, there is provided a page configuration apparatus including: the first determining module is used for determining the function requirement of the page to be generated and loading a page component set corresponding to the function requirement from a database; the combination module is used for selecting a plurality of target components from the page component set according to the operation information of the target object, and combining the target components on a display area of the mobile terminal associated with the target object to obtain a first page; and the configuration module is used for configuring the component parameters of the page to be generated for the first page to obtain a second page.
In an exemplary embodiment, the apparatus further includes: the updating module is used for carrying out component classification on the page component set according to a preset component type to obtain a plurality of subsets, wherein the subsets correspond to one type of page component types; determining that page version information of a page component exists in each of the plurality of subsets; and under the condition that the version information is lower than the preset version information, searching a target page component from the database to update the subset.
In an exemplary embodiment, the above-mentioned combination module is further configured to perform component preview on the multiple target components, and determine page features of the multiple target components; combining the target components on a display area of the mobile terminal associated with the target object according to the page characteristics, wherein the combination is that the target components are subjected to component association and component interface fusion; and under the condition that the target components are determined to be successfully fused, obtaining a first page for configuring component parameters.
In an exemplary embodiment, the configuration module is further configured to determine an application environment of the page to be generated and obtain data information to be displayed on the page to be generated; configuring domain name information for the page to be generated according to the application environment; and filling component parameters in the configuration item corresponding to the first page based on the domain name information and the data information to obtain a second page.
In an exemplary embodiment, the apparatus further includes: the second determining module is used for determining the target information of the second page in the running state; and determining whether the second page meets the functional requirements of the page to be generated or not according to the target information.
In an exemplary embodiment, the second determining module is further configured to transmit the second page to a testing device for running test; receiving test information fed back by the test equipment, wherein the test information comprises at least one of the following: the function of the second page, the operating efficiency of the second page and the abnormal information existing in the second page; and comparing the test information with the function requirement of the page to be generated to determine the target information of the second page.
In an exemplary embodiment, the second determining module is further configured to, when the target information indicates that the running state of the current second page meets the functional requirement of the page to be generated, output the second page as a generation result of the page to be generated; and under the condition that the target information indicates that the running state of the current second page does not meet the functional requirements of the page to be generated, adjusting the component parameters in the second page, and carrying out running test again.
According to a further embodiment of the present invention, there is also provided a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic device, comprising a memory in which a computer program is stored and a processor configured to run the computer program to perform the steps of any of the method embodiments described above.
According to the method and the device, the function requirements of the page to be generated are determined, and the page component set corresponding to the function requirements is loaded from the database; selecting a plurality of target components from the page component set according to the operation information of the target object, and combining the plurality of target components on a display area of the mobile terminal associated with the target object to obtain a first page; and configuring the component parameters of the page to be generated for the first page to obtain a second page. That is to say, after determining the functional requirements of the pages to be generated, the page component set suitable for the functional requirements can be quickly loaded from the pre-configured database, the first page is constructed based on the page component set in combination with the operation information of the target object, and the component parameters of the pages to be generated are configured in the first page to obtain the second page.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without inventive labor.
FIG. 1 is a diagram illustrating a hardware environment of a method for configuring a page according to an embodiment of the present application;
FIG. 2 is a flow chart of a method of configuring a page according to an embodiment of the invention;
FIG. 3 is an operational diagram of a pull-new activity page visualization configuration, according to an alternative embodiment of the present invention;
FIG. 4 is a schematic configuration flow diagram of a page visualization platform according to an alternative embodiment of the present invention;
fig. 5 is a block diagram of a configuration apparatus of a page according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to one aspect of the embodiment of the application, a method for configuring a page is provided. The configuration method of the page is widely applied to full-house intelligent digital control application scenes such as Smart Home, intelligent Home equipment ecology, intelligent house (intelligence house) ecology and the like. Alternatively, in this embodiment, the configuration method of the page may be applied to a hardware environment formed by the terminal device 102 and the server 104 as shown in fig. 1. As shown in fig. 1, the server 104 is connected to the terminal device 102 through a network, and may be configured to provide a service (e.g., an application service) for the terminal or a client installed on the terminal, set a database on the server or independent of the server, and provide a data storage service for the server 104, and configure a cloud computing and/or edge computing service on the server or independent of the server, and provide a data operation service for the server 104.
The network may include, but is not limited to, at least one of: wired network, wireless network. The wired network may include, but is not limited to, at least one of: a wide area network, a metropolitan area network, which may include, but is not limited to, at least one of: WIFI (Wireless Fidelity), bluetooth. Terminal equipment 102 can be but not limited to be PC, the cell-phone, the panel computer, intelligent air conditioner, intelligent cigarette machine, intelligent refrigerator, intelligent oven, intelligent kitchen range, intelligent washing machine, intelligent water heater, intelligent washing equipment, intelligent dish washer, intelligent projection equipment, intelligent TV, intelligent clothes hanger, intelligent (window) curtain, intelligence audio-visual, smart jack, intelligent stereo set, intelligent audio amplifier, intelligent new trend equipment, intelligent kitchen guarding equipment, intelligent bathroom equipment, intelligence robot of sweeping the floor, intelligence robot of wiping the window, intelligence robot of mopping the ground, intelligent air purification equipment, intelligent steam ager, intelligent microwave oven, intelligent kitchen is precious, intelligent clarifier, intelligent water dispenser, intelligent lock etc..
In this embodiment, a method for configuring a page is provided, and fig. 2 is a flowchart of a method for configuring a page according to an embodiment of the present invention, where the flowchart includes the following steps:
step S202, determining a function requirement of a page to be generated, and loading a page component set corresponding to the function requirement from a database;
step S204, selecting a plurality of target components from the page component set according to the operation information of the target object, and combining the target components on a display area of the mobile terminal associated with the target object to obtain a first page;
step S206, configuring the component parameters of the page to be generated for the first page to obtain a second page.
Through the steps, determining the function requirement of the page to be generated, and loading a page component set corresponding to the function requirement from a database; selecting a plurality of target components from the page component set according to the operation information of the target object, and combining the plurality of target components on a display area of the mobile terminal associated with the target object to obtain a first page; and configuring the component parameters of the page to be generated for the first page to obtain a second page. That is to say, after the functional requirement of the to-be-generated page is determined, the page component set suitable for the functional requirement can be quickly loaded from the pre-configured database, the first page is constructed based on the page component set by combining the operation information of the target object, and the component parameters of the to-be-generated page are configured in the first page to obtain the second page.
The steps can be applied to a page visualization platform, a suitable assembly set can be pushed for the target object according to the development requirement of the target object through the pre-constructed page visualization platform, so that the target object builds a page to be generated on the page visualization platform (for example, the efficiency of page refreshing is greatly improved), the effect of the assembly on the page to be generated can be determined in advance through the preview of the page visualization platform, the problem that the assembly is not easy to change after the page is generated is prevented, and the accuracy of the page to be generated is improved.
In an exemplary embodiment, after loading the set of page components corresponding to the functional requirement from the database, the method further includes: performing component classification on the page component set according to a preset component type to obtain a plurality of subsets, wherein the subsets correspond to one class of page component types; determining that page version information of a page component exists in each of the plurality of subsets; and under the condition that the version information is lower than the preset version information, searching a target page component from the database to update the subset.
It can be understood that, because the same component may have multiple versions in the database, but because the operation of the generated page may be higher than that of the component of the specific version, the component of the specific version can support the operation requirement of the page to be generated, and therefore, by confirming the version of the page component, the page component which does not meet the requirement can be quickly removed, and the page generated in the manner has version problems in subsequent operation and maintenance, which wastes resources.
In an exemplary embodiment, combining the plurality of target components on a display area of the mobile terminal associated with the target object to obtain a first page includes: performing component preview on the target components, and determining page characteristics of the target components; combining the target components on a display area of the mobile terminal associated with the target object according to the page characteristics, wherein the combination is that the target components are subjected to component association and component interface fusion; and under the condition that the target components are determined to be successfully fused, obtaining a first page for configuring component parameters.
In an exemplary embodiment, configuring the component parameter of the page to be generated for the first page to obtain a second page includes: determining the application environment of the page to be generated and acquiring data information to be displayed on the page to be generated; configuring domain name information for the page to be generated according to the application environment; and filling component parameters in the configuration item corresponding to the first page based on the domain name information and the data information to obtain a second page.
It can be understood that after different page components are built into a complete page in a visualization configuration area corresponding to a page visualization platform, component parameters need to be filled in configuration items corresponding to the page according to actual operation requirements of the page to be generated, so that the generated page better meets the functional requirements of the page to be generated.
In an exemplary embodiment, after configuring the component parameter of the page to be generated for the first page and obtaining a second page, the method further includes: determining target information of the second page in a running state; and determining whether the second page meets the functional requirements of the page to be generated or not according to the target information.
In an exemplary embodiment, determining the target information of the second page in the running state includes: transmitting the second page to test equipment for running test; receiving test information fed back by the test equipment, wherein the test information comprises at least one of the following: the function of the second page, the operating efficiency of the second page and the abnormal information in the second page; and comparing the test information with the function requirement of the page to be generated to determine the target information of the second page.
In an exemplary embodiment, determining whether the second page meets the functional requirement of the page to be generated according to the target information includes: under the condition that the target information indicates that the running state of the current second page meets the functional requirement of the page to be generated, outputting the second page as a generation result of the page to be generated; and under the condition that the target information indicates that the running state of the current second page does not meet the functional requirements of the page to be generated, adjusting the component parameters in the second page, and carrying out running test again.
In order to better understand the process of the above page configuration method, the following describes a flow of the above page configuration method with reference to several alternative embodiments.
As an alternative implementation, a traditional model is used to develop a pull-up activity, which requires a lot of communication and then scheduling, and has high communication cost, long scheduling time, and needs front-end and back-end engineers to build codes, and a lot of pull-up activities require a lot of manpower, and the manpower cost is too high, and needs code submission, merging, branch management, and so on, and needs cooperation of many people, and certainly may also need to deal with code conflicts. And a large amount of new pulling activities have similar contents, a large amount of modules are repeatedly developed, the development work is fragmented, and the maintenance cost is high. Furthermore, source code often cannot run directly, and needs to be compiled into code that is known to the browser or system and packaged in full for ease of deployment, and further involves environmental configuration, etc. If the deployment is needed, then there is also a server and so on. Every time the cable is put on line, the series of processes are needed, the more intermediate links are, the more complex the system is, the higher the probability of problem occurrence is, the higher the complexity of positioning and problem solving is, and the longer the time needed for corresponding problem solving is.
In order to avoid the development of the pull-new activity which has the disadvantages of more repeated work, high labor cost and incapability of flexibly, efficiently and quickly developing the pull-new activity, an optional embodiment of the invention further provides a method for visually configuring a pull-new activity page, and fig. 3 is an operation schematic diagram of the visual configuration of the pull-new activity page according to the optional embodiment of the invention;
optionally, when performing the visual configuration of the pull-new activity page, performing configuration display in a visual configuration area (equivalent to a display area in an embodiment of the present application) corresponding to a mobile terminal loaded with a page visualization platform, optionally, the visual configuration area is divided into three large blocks in total, a component list 32 is provided on the left side, an existing component can be displayed through multiple dimensions, the middle part is a building area 34, the building form of the component can be seen in real time, for example, a real-time view 34 of the component can be displayed after the corresponding component is selected, and a component data configuration 36 is provided on the right side, so as to configure parameter information suitable for a page to be generated for the currently used component;
optionally, the page visualization platform needs to be developed in advance, and fig. 4 is a schematic configuration flow diagram of the page visualization platform according to an optional embodiment of the present invention;
firstly, a domain name management page needs to be developed for the use environment of a page visualization platform, the use environment of the page visualization platform can be flexibly changed according to the requirement through the functions of adding, deleting, changing and searching the domain name of the domain name management page, diversified page configuration requirements are met, and then more suitable page components are recommended;
optionally, the domain names in different environments are different, for example: the domain name of the test environment can be test-activity.xxx.com, and the production environment can be pro-activity.xxx.com, so that the service environment of the page visualization platform can be confirmed in real time according to the domain name change corresponding to the page managed by the domain name of the page visualization platform, the processing efficiency of the updated page is improved, and the activities of multiple stages can be completed through the same page visualization platform;
step two, configuring a corresponding component management page for the page visualization platform, and further managing the components in a database connected with the page visualization platform, for example, rapidly classifying and acquiring versions of the components and the components, so as to improve the development efficiency of the page, and further previewing the components, so that the matching between the components and the updated page can be determined in advance; in order to enable the page managed by the component to operate efficiently, the page title, the domain name, the address and the like of the page to be generated can be filled in the position corresponding to the component;
and step three, in the process of generating the updated page, generating a corresponding updated page by using operation modes such as dragging, pulling, dragging and the like on the page visualization platform, binding and storing components, domain names and the like used for generating the updated page, generating a data packet of the updated page, loading the corresponding data packet on the page visualization platform when modification is needed, rapidly modifying information such as the components or the domain names in the data packet, and adding and deleting the components in the data packet, so that the adjustment efficiency of the generated updated page is greatly improved.
It can be understood that, by adopting the building block building mode in the above mode, the functional modules of various pulling activities are split into individual components, or can be understood as individual building blocks, and the components are spliced in a pulling and pulling mode to finally form a page of the pulling activities.
Optionally, a rollback function and the like may also be supported, and the configured data packet is directly maintained as the template, so that when a similar new updated page is generated next time, the new updated page may be quickly determined according to the data packet in the template. Repeated development of components is avoided, a simple configuration platform is converged, enabling is performed for operation roles, stability is improved, a more robust disaster recovery scheme is provided, and systematization capacity is enhanced.
It should be noted that, the construction of the page visualization platform needs to design a plurality of data tables, such as: in addition, the platform can implement content development at vue + node technology stack, and for different URLs (uniform resource locators, abbreviated as URLs), because the accessed pages are different, nginx layer configuration needs to be performed, and fast switching of different URLs and different pages is implemented by building a target rule. This is not to be considered as limiting in the present application.
In conclusion, by the mode, the page is configured by pulling and dragging the page visualization platform, the reusability of the components is improved, the service requirements can be quickly responded, and the labor time cost is saved to a great extent. The complexity of the process of putting a product on line from 0 to 1 is reduced, resources are saved, the waste of resources is reduced, and the stability of the system is improved. By changing the mode that only front and back end engineers build codes, the method changes the mode that products and operations all participate in page building, improves the service iteration efficiency, and better enables services. Easy to use (interface call is simple, powerful), easy to read (structure is clear, naming is professional, notes are understandable), professional (stable, code quality requires high).
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solution of the present invention or the portions contributing to the prior art may be embodied in the form of a software product, where the computer software product is stored in a storage medium (such as a ROM/RAM, a magnetic disk, and an optical disk), and includes several instructions for enabling a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to execute the configuration of the page according to the embodiments of the present invention.
In this embodiment, a page configuration device is further provided, and the device is used to implement the foregoing embodiments and preferred embodiments, and details of which have been already described are omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 5 is a block diagram of a configuration apparatus of a page according to an embodiment of the present invention, as shown in fig. 5, the apparatus including:
(1) the first determining module 52 is configured to determine a function requirement of a page to be generated, and load a page component set corresponding to the function requirement from a database;
(2) a combination module 54, configured to select multiple target assemblies from the page assembly set according to the operation information of the target object, and combine the multiple target assemblies on a display area of the mobile terminal associated with the target object to obtain a first page;
(3) the configuration module 56 is configured to configure the component parameter of the page to be generated for the first page, so as to obtain a second page.
Determining the function requirement of a page to be generated through the device, and loading a page component set corresponding to the function requirement from a database; selecting a plurality of target components from the page component set according to the operation information of the target object, and combining the plurality of target components on a display area of the mobile terminal associated with the target object to obtain a first page; and configuring the component parameters of the page to be generated for the first page to obtain a second page. That is to say, after determining the functional requirements of the pages to be generated, the page component set suitable for the functional requirements can be quickly loaded from the pre-configured database, the first page is constructed based on the page component set in combination with the operation information of the target object, and the component parameters of the pages to be generated are configured in the first page to obtain the second page.
In an exemplary embodiment, the apparatus further includes: the updating module is used for carrying out component classification on the page component set according to a preset component type to obtain a plurality of subsets, wherein the subsets correspond to one type of page component types; determining that page version information of a page component exists in each of the plurality of subsets; and under the condition that the version information is lower than the preset version information, searching a target page component from the database to update the subset. It can be understood that, because the same component may have multiple versions in the database, but because the operation of the generated page may be higher than that of the component of the specific version, the component of the specific version can support the operation requirement of the page to be generated, and therefore, by confirming the version of the page component, the page component which does not meet the requirement can be quickly removed, and the page generated in the manner has version problems in subsequent operation and maintenance, which wastes resources.
In an exemplary embodiment, the above-mentioned combination module is further configured to perform component preview on the multiple target components, and determine page features of the multiple target components; combining the target components on a display area of the mobile terminal associated with the target object according to the page characteristics, wherein the combination is that the target components are subjected to component association and component interface fusion; and under the condition that the target components are determined to be successfully fused, obtaining a first page for configuring component parameters.
In an exemplary embodiment, the configuration module is further configured to determine an application environment of the page to be generated and obtain data information to be displayed on the page to be generated; configuring domain name information for the page to be generated according to the application environment; and filling component parameters in the configuration item corresponding to the first page based on the domain name information and the data information to obtain a second page.
It can be understood that after different page components are built into a complete page in a visualization configuration area corresponding to a page visualization platform, component parameters need to be filled in configuration items corresponding to the page according to actual operation requirements of the page to be generated, so that the generated page better meets the functional requirements of the page to be generated.
In an exemplary embodiment, the apparatus further includes: the second determining module is used for determining the target information of the second page in the running state; and determining whether the second page meets the functional requirements of the page to be generated or not according to the target information.
In an exemplary embodiment, the second determining module is further configured to transmit the second page to a testing device for running testing; receiving test information fed back by the test equipment, wherein the test information comprises at least one of the following: the function of the second page, the operating efficiency of the second page and the abnormal information in the second page; and comparing the test information with the function requirement of the page to be generated to determine the target information of the second page.
In an exemplary embodiment, the second determining module is further configured to, when the target information indicates that the running state of the current second page meets the functional requirement of the page to be generated, output the second page as a generation result of the page to be generated; and under the condition that the target information indicates that the running state of the current second page does not meet the functional requirements of the page to be generated, adjusting the component parameters in the second page, and carrying out running test again.
In the description of the present invention, it is to be understood that the terms "center", "upper", "lower", "front", "rear", "left", "right", and the like, indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience in describing the present invention and simplifying the description, but do not indicate or imply that the device or assembly referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the description of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; the two components can be directly connected or indirectly connected through an intermediate medium, and the two components can be communicated with each other. When an element is referred to as being "secured to" or "disposed on" another element, it can be directly on the other element or intervening elements may also be present. When a component is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may also be present. The specific meaning of the above terms in the present invention can be understood in specific cases to those skilled in the art.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Embodiments of the present invention also provide a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
In an exemplary embodiment, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s1, determining the function requirement of the page to be generated, and loading a page component set corresponding to the function requirement from a database;
s2, selecting a plurality of target components from the page component set according to the operation information of the target object, and combining the target components on the display area of the mobile terminal associated with the target object to obtain a first page;
s3, configuring the component parameters of the page to be generated for the first page to obtain a second page.
In an exemplary embodiment, in the present embodiment, the storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
In an exemplary embodiment, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
In an exemplary embodiment, in the present embodiment, the processor may be configured to execute the following steps by a computer program:
s1, determining the function requirement of the page to be generated, and loading a page component set corresponding to the function requirement from a database;
s2, selecting a plurality of target components from the page component set according to the operation information of the target object, and combining the target components on the display area of the mobile terminal associated with the target object to obtain a first page;
s3, configuring the component parameters of the page to be generated for the first page to obtain a second page.
In an exemplary embodiment, for specific examples in this embodiment, reference may be made to the examples described in the above embodiments and optional implementation manners, and details of this embodiment are not described herein again.
It will be apparent to those skilled in the art that the various modules or steps of the invention described above may be implemented using a general purpose computing device, which may be centralized on a single computing device or distributed across a network of computing devices, and in one exemplary embodiment may be implemented using program code executable by a computing device, such that the steps shown and described may be executed by a computing device stored in a memory device and, in some cases, executed in a sequence different from that shown and described herein, or separately fabricated into individual integrated circuit modules, or multiple ones of them fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The foregoing is only a preferred embodiment of the present application and it should be noted that those skilled in the art can make several improvements and modifications without departing from the principle of the present application, and these improvements and modifications should also be considered as the protection scope of the present application.

Claims (10)

1. A method for configuring a page, comprising:
determining a function requirement of a page to be generated, and loading a page component set corresponding to the function requirement from a database;
selecting a plurality of target components from the page component set according to the operation information of the target object, and combining the target components on a display area of the mobile terminal associated with the target object to obtain a first page;
and configuring the component parameters of the page to be generated for the first page to obtain a second page.
2. The method for configuring page according to claim 1, wherein after loading the set of page components corresponding to the functional requirement from the database, the method further comprises:
performing component classification on the page component set according to a preset component type to obtain a plurality of subsets, wherein the subsets correspond to one class of page component types;
determining that page version information of a page component exists in each of the plurality of subsets;
and under the condition that the version information is lower than the preset version information, searching a target page component from the database to update the subset.
3. The method for configuring the page according to claim 1, wherein combining the plurality of target components on a display area of a mobile terminal associated with the target object to obtain the first page comprises:
performing component preview on the target components, and determining page characteristics of the target components;
combining the target components on a display area of the mobile terminal associated with the target object according to the page characteristics, wherein the combination is that the target components are subjected to component association and component interface fusion;
and under the condition that the target components are determined to be successfully fused, obtaining a first page for configuring component parameters.
4. The page configuration method according to claim 1, wherein configuring the component parameters of the page to be generated for the first page to obtain a second page comprises:
determining the application environment of the page to be generated and acquiring data information to be displayed on the page to be generated;
configuring domain name information for the page to be generated according to the application environment;
and filling component parameters in the configuration item corresponding to the first page based on the domain name information and the data information to obtain a second page.
5. The method for configuring the page according to claim 1, wherein after configuring the component parameters of the page to be generated for the first page and obtaining a second page, the method further comprises:
determining target information of the second page in a running state;
and determining whether the second page meets the functional requirements of the page to be generated or not according to the target information.
6. The method for configuring the page according to claim 5, wherein determining the target information of the second page in the running state comprises:
transmitting the second page to test equipment for running test;
receiving test information fed back by the test equipment, wherein the test information comprises at least one of the following: the function of the second page, the operating efficiency of the second page and the abnormal information in the second page;
and comparing the test information with the function requirement of the page to be generated to determine the target information of the second page.
7. The page configuration method according to claim 5, wherein determining whether the second page meets the functional requirements of the page to be generated according to the target information comprises:
under the condition that the target information indicates that the running state of the current second page meets the functional requirement of the page to be generated, outputting the second page as a generation result of the page to be generated;
and under the condition that the target information indicates that the running state of the current second page does not meet the functional requirements of the page to be generated, adjusting the component parameters in the second page, and carrying out running test again.
8. An apparatus for configuring a page, comprising:
the first determining module is used for determining the function requirement of the page to be generated and loading a page component set corresponding to the function requirement from a database;
the combination module is used for selecting a plurality of target components from the page component set according to the operation information of the target object, and combining the target components on a display area of the mobile terminal associated with the target object to obtain a first page;
and the configuration module is used for configuring the component parameters of the page to be generated for the first page to obtain a second page.
9. A computer-readable storage medium, comprising a stored program, wherein the program when executed performs the method of any of claims 1 to 7.
10. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method of any of claims 1 to 7 by means of the computer program.
CN202210384964.5A 2022-04-13 2022-04-13 Page configuration method and device, storage medium and electronic device Pending CN114896003A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210384964.5A CN114896003A (en) 2022-04-13 2022-04-13 Page configuration method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210384964.5A CN114896003A (en) 2022-04-13 2022-04-13 Page configuration method and device, storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN114896003A true CN114896003A (en) 2022-08-12

Family

ID=82716819

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210384964.5A Pending CN114896003A (en) 2022-04-13 2022-04-13 Page configuration method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN114896003A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115238198A (en) * 2022-09-26 2022-10-25 江苏银承网络科技股份有限公司 Method and device for pushing file information
CN115983616A (en) * 2023-03-21 2023-04-18 济南丽阳神州智能科技有限公司 Business process mining method and device based on management system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106569801A (en) * 2016-10-18 2017-04-19 中国运载火箭技术研究院 Complex parameter-based configuration display control system
CN106648630A (en) * 2016-12-01 2017-05-10 北京趣拿软件科技有限公司 Page obtaining method and device
CN107291736A (en) * 2016-03-31 2017-10-24 华为技术有限公司 A kind of method and system of edit page
CN107526832A (en) * 2017-09-05 2017-12-29 江苏电力信息技术有限公司 A kind of method for building the big data business model that technology is pulled based on the page
CN108388444A (en) * 2018-03-05 2018-08-10 重庆邮电大学 A kind of front end page configuration method and system based on React components
CN108829488A (en) * 2018-06-28 2018-11-16 腾讯音乐娱乐科技(深圳)有限公司 Generate Web can interaction page method, apparatus and storage medium
CN113608776A (en) * 2021-07-13 2021-11-05 北京北信源软件股份有限公司 Page configuration file determining method and device, electronic equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107291736A (en) * 2016-03-31 2017-10-24 华为技术有限公司 A kind of method and system of edit page
CN106569801A (en) * 2016-10-18 2017-04-19 中国运载火箭技术研究院 Complex parameter-based configuration display control system
CN106648630A (en) * 2016-12-01 2017-05-10 北京趣拿软件科技有限公司 Page obtaining method and device
CN107526832A (en) * 2017-09-05 2017-12-29 江苏电力信息技术有限公司 A kind of method for building the big data business model that technology is pulled based on the page
CN108388444A (en) * 2018-03-05 2018-08-10 重庆邮电大学 A kind of front end page configuration method and system based on React components
CN108829488A (en) * 2018-06-28 2018-11-16 腾讯音乐娱乐科技(深圳)有限公司 Generate Web can interaction page method, apparatus and storage medium
CN113608776A (en) * 2021-07-13 2021-11-05 北京北信源软件股份有限公司 Page configuration file determining method and device, electronic equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115238198A (en) * 2022-09-26 2022-10-25 江苏银承网络科技股份有限公司 Method and device for pushing file information
CN115983616A (en) * 2023-03-21 2023-04-18 济南丽阳神州智能科技有限公司 Business process mining method and device based on management system
CN115983616B (en) * 2023-03-21 2023-07-14 济南丽阳神州智能科技有限公司 Business process mining method and equipment based on management system

Similar Documents

Publication Publication Date Title
CN114896003A (en) Page configuration method and device, storage medium and electronic device
CN112073471A (en) Device control method and apparatus, storage medium, and electronic apparatus
CN115687349A (en) Database table generation method and device, storage medium and electronic device
CN115167164A (en) Method and device for determining equipment scene, storage medium and electronic device
CN109828840A (en) Resource method of combination, device, storage medium and electronic equipment
CN111984248B (en) Page editing method and device, storage medium and electronic device
CN115358395A (en) Knowledge graph updating method and device, storage medium and electronic device
CN114697150A (en) Command issuing method and device, storage medium and electronic device
CN109766095A (en) A kind of thematic page creation method of activity, relevant apparatus and equipment
CN115858007A (en) Loading method and device of extension assembly, storage medium and electronic device
CN116027937A (en) Rendering method and device of component to be edited, storage medium and electronic device
CN112181409A (en) Application construction method, application rendering method and device
CN116107975A (en) Control method and device of equipment, storage medium and electronic device
CN115687806A (en) Method and device for determining target equipment list, storage medium and electronic device
CN112182115A (en) Relationship display method and device, storage medium and electronic device
CN111209613A (en) Rapid design method and system of intelligent product
CN115495073A (en) Method and device for determining target form control, storage medium and electronic device
CN115310415B (en) Data export method, device, equipment and storage medium
CN115695534A (en) Target application running method and device, storage medium and electronic device
CN115766427A (en) Visual configuration system, project creation method and device and electronic device
CN115002014A (en) Method and device for determining test result, storage medium and electronic device
CN114860592A (en) Application function testing method and device, storage medium and electronic device
CN115665136A (en) Interface document uploading method and device and storage medium
CN114444157A (en) Component replacement method, component replacement device, storage medium, and electronic device
CN115480809A (en) Method and device for determining code submission amount, storage medium and electronic device

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: 20220812