CN112486492A - Page generation method and device, storage medium and electronic equipment - Google Patents

Page generation method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN112486492A
CN112486492A CN202011511308.4A CN202011511308A CN112486492A CN 112486492 A CN112486492 A CN 112486492A CN 202011511308 A CN202011511308 A CN 202011511308A CN 112486492 A CN112486492 A CN 112486492A
Authority
CN
China
Prior art keywords
page
target page
configuration
configuration file
template
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
CN202011511308.4A
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.)
Aisino Corp
Original Assignee
Aisino Corp
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 Aisino Corp filed Critical Aisino Corp
Priority to CN202011511308.4A priority Critical patent/CN112486492A/en
Publication of CN112486492A publication Critical patent/CN112486492A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Stored Programmes (AREA)

Abstract

The disclosure relates to a page generation method, a page generation device, a storage medium and an electronic device, wherein the method comprises the following steps: in response to a selection instruction of a user, determining a template indicated by the selection instruction as a target page template, wherein the target page template is used for generating a target page; responding to an input instruction of a user, and configuring a configuration file of the target page template according to parameters indicated by the input instruction, wherein at least one associated page associated with the target page is indicated in the configuration file; and generating a target page combination according to the configuration file and the target page template, wherein the target page combination comprises the target page and the associated page. Therefore, the workload of the user can be effectively reduced, the working efficiency is improved, meanwhile, the efficiency of page generation can be improved, the development cost can be reduced, the user can use the page conveniently, the use experience of the user is improved, and the follow-up maintenance cost of the generated page can be effectively reduced.

Description

Page generation method and device, storage medium and electronic equipment
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a page generation method and apparatus, a storage medium, and an electronic device.
Background
With the development of random computer technology, the integrated functions of various software are more and more, which causes the development process of the system to need more workload. In the prior art, workers need to write page codes manually, so that page development in a system is realized. However, the page development is carried out in the above manner, so that huge labor workload input is required, and meanwhile, the subsequent maintenance cost of the system page is high.
Disclosure of Invention
The purpose of the disclosure is to provide a page generation method, a page generation device, a storage medium and an electronic device which are efficient and accurate and reduce workload.
In order to achieve the above object, according to a first aspect of the present disclosure, there is provided a page generation method, including:
in response to a selection instruction of a user, determining a template indicated by the selection instruction as a target page template, wherein the target page template is used for generating a target page;
responding to an input instruction of a user, and configuring a configuration file of the target page template according to parameters indicated by the input instruction, wherein at least one associated page associated with the target page is indicated in the configuration file;
and generating a target page combination according to the configuration file and the target page template, wherein the target page combination comprises the target page and the associated page.
Optionally, the parameter indicated by the input instruction includes path information of the target page;
the configuring the configuration file of the target page template according to the parameters indicated by the input instruction in response to the input instruction of the user comprises the following steps:
determining a page associated with the jumping component according to the jumping information of the jumping component in the target page;
generating the path information of the associated page according to the path information of the target page;
and configuring a path configuration item of the target page in the configuration file according to the path information of the target page, and configuring a configuration item corresponding to the jump component in the configuration file according to the path information of the associated page.
Optionally, the generating the path information of the associated page according to the path information of the target page includes:
generating identification information of the associated page;
and performing path splicing on the path information of the target page and the identification information to generate the path information of the associated page.
Optionally, the parameter indicated by the input instruction includes address information of an operation method included in the target page;
the configuring the configuration file of the target page template according to the parameters indicated by the input instruction in response to the input instruction of the user comprises the following steps:
and determining the address information of the operation method in the parameters as the configuration parameters of the configuration items corresponding to the operation method in the configuration file.
Optionally, the generating a target page combination according to the configuration file and the target page template includes:
adding the configuration parameters of each configuration item corresponding to the target page in the configuration file to the position corresponding to the configuration item in the target page template so as to generate the target page;
and adding the configuration parameters of the configuration items to the positions corresponding to the configuration items in the page template corresponding to the associated pages aiming at each configuration item corresponding to the associated pages in the configuration file so as to generate the associated pages.
Optionally, the method further comprises:
and in response to receiving the modification operation of the target page by the user, modifying the target page according to modification parameter information corresponding to the modification operation.
According to a second aspect of the present disclosure, there is provided a page generation apparatus, the apparatus including:
the determining module is used for responding to a selection instruction of a user and determining a template indicated by the selection instruction as a target page template, wherein the target page template is used for generating a target page;
the configuration module is used for responding to an input instruction of a user and configuring a configuration file of the target page template according to the parameters indicated by the input instruction, wherein at least one associated page associated with the target page is indicated in the configuration file;
and the generating module is used for generating a target page combination according to the configuration file and the target page template, wherein the target page combination comprises the target page and the associated page.
Optionally, the parameter indicated by the input instruction includes path information of the target page;
the configuration module includes:
the first determining submodule is used for determining a page related to the jumping component according to the jumping information of the jumping component in the target page;
the first generation submodule is used for generating the path information of the associated page according to the path information of the target page;
and the configuration sub-module is used for configuring the path configuration item of the target page in the configuration file according to the path information of the target page and configuring the configuration item corresponding to the skip component in the configuration file according to the path information of the associated page.
Optionally, the first generation submodule includes:
the second generation submodule is used for generating the identification information of the associated page;
and the third generation submodule is used for carrying out path splicing on the path information of the target page and the identification information to generate the path information of the associated page.
Optionally, the parameter indicated by the input instruction includes address information of an operation method included in the target page;
the configuration module includes:
and the second determining submodule is used for determining the address information of the operation method in the parameters as the configuration parameters of the configuration items corresponding to the operation method in the configuration file.
Optionally, the generating module includes:
a fourth generation submodule, configured to add, to each configuration item corresponding to the target page in the configuration file, a configuration parameter of the configuration item to a position corresponding to the configuration item in the target page template, so as to generate the target page;
and a fifth generation sub-module, configured to add, for each configuration item corresponding to the associated page in the configuration file, the configuration parameter of the configuration item to a position corresponding to the configuration item in a page template corresponding to the associated page, so as to generate the associated page.
Optionally, the apparatus further comprises:
and the modification module is used for responding to the received modification operation of the target page by the user and modifying the target page according to the modification parameter information corresponding to the modification operation.
According to a third aspect of the present disclosure, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of any of the methods of the first aspect.
According to a fourth aspect of the present disclosure, there is provided an electronic device comprising:
a memory having a computer program stored thereon;
a processor for executing the computer program in the memory to implement the steps of the method of any of the first aspects.
In the technical scheme of the disclosure, in response to a selection instruction of a user, a template indicated by the selection instruction is determined as a target page template for generating a target page, and then in response to an input instruction of the user, a configuration file of the target page template is configured according to a parameter indicated by the input instruction, wherein at least one associated page associated with the target page is indicated in the configuration file, so that a target page combination can be generated according to the configuration file and the target page template, wherein the target page combination comprises the target page and the associated page. Therefore, according to the technical scheme, when the page is generated, the target page combination can be generated only by selecting the page template and configuring the page template without compiling codes by the user, so that the workload of the user is effectively reduced, the working efficiency is improved, and meanwhile, the page generation efficiency can be improved. Moreover, based on the embodiment of the disclosure, a plurality of pages can be generated simultaneously based on the configuration file, and generation of a single page is not needed, so that the efficiency of page generation is further improved, the development cost is reduced, the use by a user is facilitated, and the use experience of the user is improved. In addition, by the technical scheme, the page generated based on the template can ensure the consistency and readability of the page code, so that the subsequent maintenance cost of the generated page can be effectively reduced.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure without limiting the disclosure. In the drawings:
FIG. 1 is a flow diagram of a page generation method provided in accordance with one embodiment of the present disclosure;
FIG. 2 is a block diagram of a page generation apparatus provided in accordance with one embodiment of the present disclosure;
FIG. 3 is a block diagram illustrating an electronic device in accordance with an exemplary embodiment;
FIG. 4 is a block diagram illustrating an electronic device in accordance with an example embodiment.
Detailed Description
The following detailed description of specific embodiments of the present disclosure is provided in connection with the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present disclosure, are given by way of illustration and explanation only, not limitation.
Fig. 1 is a flowchart of a page generation method according to an embodiment of the present disclosure, and as shown in fig. 1, the method includes:
in step 11, in response to a selection instruction of a user, determining a template indicated by the selection instruction as a target page template, wherein the target page template is used for generating a target page.
For example, in the embodiment of the present disclosure, templates corresponding to a plurality of pages may be preset, so that when a user develops a page, a template required by the user may be selected from the plurality of templates, and a target page template may be determined according to the template selected by the user.
In step 12, in response to an input instruction of a user, configuring a configuration file of a target page template according to a parameter indicated by the input instruction, wherein at least one associated page associated with the target page is indicated in the configuration file.
In the embodiment of the present disclosure, an associated page corresponding to a target page may be stored in a configuration file of the target page. Therefore, the user can configure the configuration file by inputting the configuration parameters, thereby realizing the configuration of a plurality of pages.
In step 13, a target page combination is generated according to the configuration file and the target page template, wherein the target page combination comprises the target page and the associated page.
In the embodiment of the disclosure, the target page and the associated page associated therewith may be generated simultaneously through the configuration file, that is, a plurality of pages may be generated simultaneously through the configuration file, so that the efficiency of page development may be improved.
In the technical scheme of the disclosure, in response to a selection instruction of a user, a template indicated by the selection instruction is determined as a target page template for generating a target page, and then in response to an input instruction of the user, a configuration file of the target page template is configured according to a parameter indicated by the input instruction, wherein at least one associated page associated with the target page is indicated in the configuration file, so that a target page combination can be generated according to the configuration file and the target page template, wherein the target page combination comprises the target page and the associated page. Therefore, according to the technical scheme, when the page is generated, the target page combination can be generated only by selecting the page template and configuring the page template without compiling codes by the user, so that the workload of the user is effectively reduced, the working efficiency is improved, and meanwhile, the page generation efficiency can be improved. Moreover, based on the embodiment of the disclosure, a plurality of pages can be generated simultaneously based on the configuration file, and generation of a single page is not needed, so that the efficiency of page generation is further improved, the development cost is reduced, the use by a user is facilitated, and the use experience of the user is improved. In addition, by the technical scheme, the page generated based on the template can ensure the consistency and readability of the page code, so that the subsequent maintenance cost of the generated page can be effectively reduced.
In a possible embodiment, the parameter indicated by the input instruction includes path information of the target page, where the path information may be an access path of the target page.
Accordingly, in step 12, in response to the input instruction of the user, an exemplary implementation manner of configuring the configuration file of the target page template according to the parameter indicated by the input instruction is as follows, and the step may include:
and determining a page associated with the jumping component according to the jumping information of the jumping component in the target page.
The page template can be provided with a corresponding target page, and the target page and the corresponding jump component are arranged in the page template to realize the association between the target page and the associated page. For example, the jumping information of the jumping component may be type information of the associated page to be jumped by the target page based on the jumping component, and for example, the jumping information of the jumping component a1 is an add type, and then its corresponding associated page may be a page of an add type, and the jumping information of the jumping component a2 is a modify type, and then its corresponding associated page may be a page of a modify type. The foregoing is merely exemplary and is not intended to limit the present disclosure.
And then generating the path information of the associated page according to the path information of the target page.
Wherein, the path information of the associated page may be an access path of the associated page. The associated page can be jumped to access through the target page, so that the path information of the associated page can be automatically generated based on the path information of the target page.
In a possible embodiment, an exemplary implementation manner of generating the path information of the associated page according to the path information of the target page is as follows, and the step may include:
and generating the identification information of the associated page, wherein the identification information of the associated page may be automatically generated according to the type of the associated page, and for example, the correspondence between the type of the page and the identification information may be preset. For example, the identification information of the added type of page may be insert, and the identification information of the detail type of page may be detail. Therefore, in this step, when it is determined that the type of the associated page is the add type, the identification information of the associated page may be generated as insert.
And then, the path information of the target page and the identification information can be subjected to path splicing to generate the path information of the associated page.
For example, if the path information of the target page is a/B and the identification information of the associated page is insert, the path information may be spliced to obtain path information a/B/insert, and the path information a/B/insert may be used as the path information of the associated page.
Therefore, by the technical scheme, the path information of each associated page can be automatically generated based on the path information of the target page, a user does not need to configure each associated page, the automatic processing level of page generation is improved, the workload of the user is reduced, and the accuracy and the efficiency of page generation are further improved.
Then, the path configuration item of the target page in the configuration file may be configured according to the path information of the target page, and the configuration item corresponding to the jump component in the configuration file may be configured according to the path information of the associated page.
In this step, the path information of the target page input by the user may be configured as the configuration parameters of the path configuration item of the target page in the configuration file; and the automatically generated path information of each associated page is respectively used as the configuration parameters of the configuration items of the jump components corresponding to the associated page in the configuration file, so that the automatic configuration of the configuration file is realized. The target page and the skip component thereof in the configuration file and the configuration item corresponding to the associated page can be configured through the path information of the target page input by the user, so that the page configuration efficiency can be improved, accurate data support can be provided for realizing the association among multiple pages, and the user experience is further improved.
In a possible embodiment, the parameter indicated by the input instruction includes address information of an operation method included in the target page, where the address information may be call information of an implementation interface of the operation method, so that the implementation interface of the operation method may be called based on the address information.
Accordingly, in step 12, in response to the input instruction of the user, an exemplary implementation manner of configuring the configuration file of the target page template according to the parameter indicated by the input instruction is as follows, and the step may include:
and determining the address information of the operation method in the parameters as the configuration parameters of the configuration items corresponding to the operation method in the configuration file.
Illustratively, a method for carrying out communication call with the background exists in the front-end page, so when the target page is generated, the part of the operation method can be configured through the configuration file. For example, for an operation method needing configuration in a target page, a user can input and configure address information of the method. For example, the operation methods F1 and F2 exist in the target page, where the call information of the implementation interface corresponding to F1 is E1, and the call information of the implementation interface corresponding to F2 is E2, when the configuration item corresponding to the operation method in the configuration file is configured, the parameter E1 indicated by the input instruction may be used as the configuration parameter of the configuration item corresponding to F1 in the configuration file, and the parameter E2 indicated by the input instruction may be used as the configuration parameter of the configuration item corresponding to F2 in the configuration file.
Therefore, by the technical scheme, the corresponding association between the operation method in the front-end page and the implementation interface corresponding to the operation method in the background service can be realized, so that the automation level of page generation is further improved, the workload of a user for writing page codes is effectively reduced, the technical requirements on workers are reduced, and the application range of the page generation method provided by the disclosure can be effectively widened.
In one possible embodiment, in step 13, an exemplary implementation manner of generating the target page combination according to the configuration file and the target page template is as follows, and the step may include:
and adding the configuration parameters of each configuration item corresponding to the target page in the configuration file to the position corresponding to the configuration item in the target page template so as to generate the target page.
Therefore, in the technical scheme of the present disclosure, the configuration item of the target page template may be configured based on the configuration parameter of the corresponding configuration item in the configuration file, so as to implement automatic generation of the target page. For example, the path information of the jumping component in the configuration file may be added to the position of the configuration item corresponding to the jumping component in the target page template.
And adding the configuration parameters of the configuration items to the positions corresponding to the configuration items in the page template corresponding to the associated pages aiming at each configuration item corresponding to the associated pages in the configuration file so as to generate the associated pages.
Each associated page has a corresponding page template, and the corresponding page template can be determined according to the identification information of the associated page, wherein the determination mode and the page generation mode of the page template of the associated page are the same as those of the page template of the target page, and are not described herein again.
Therefore, by the technical scheme, the page combination comprising the target page, the associated page and other pages can be automatically generated based on the configuration parameters of the configuration items in the configuration file and the corresponding page template, so that the page generation efficiency can be improved, the association accuracy among the generated pages can be ensured, the subsequent maintenance of the pages is facilitated, and the maintenance cost is reduced.
In one possible embodiment, the method may further comprise:
and in response to receiving the modification operation of the target page by the user, modifying the target page according to modification parameter information corresponding to the modification operation.
After the target page is generated, the user can modify the target page according to the actual application scene of the target page. Illustratively, the user may make modifications to certain fields in the target page as well as the display name. For example, if the display name of the field ID in the generated target page is a serial number, the user may modify the field into a userID according to the actual usage scenario, modify the display name into a user name, and generate the corresponding modification parameter information in response to the modification operation of the user. And then, modifying the field ID and the display name of the field ID in the target page according to the modification parameter information, so that the field in the modified target page is the userID, and the display name is the user name, so that the attribute name in the target page corresponds to the name of the field in the database, and accurate support is provided for realizing data query, such as a query function according to conditions, a reset function, a paging function, a sorting function and the like.
Therefore, through the technical scheme, the configuration items in the target page can be modified, on one hand, the display content in the target page can be the content required by the user and fit with the use requirement of the user, on the other hand, the matching performance of the content in the target page and the content of the background service can be ensured, data support is provided for accurately realizing the background service, and the effectiveness and the usability of the generated page are improved.
The present disclosure also provides a page generating apparatus, as shown in fig. 2, the apparatus 10 includes:
the determining module 100 is configured to, in response to a selection instruction of a user, determine a template indicated by the selection instruction as a target page template, where the target page template is used to generate a target page;
a configuration module 200, configured to, in response to an input instruction of a user, configure a configuration file of the target page template according to a parameter indicated by the input instruction, where at least one associated page associated with the target page is indicated in the configuration file;
a generating module 300, configured to generate a target page combination according to the configuration file and the target page template, where the target page combination includes the target page and the associated page.
Optionally, the parameter indicated by the input instruction includes path information of the target page;
the configuration module includes:
the first determining submodule is used for determining a page related to the jumping component according to the jumping information of the jumping component in the target page;
the first generation submodule is used for generating the path information of the associated page according to the path information of the target page;
and the configuration sub-module is used for configuring the path configuration item of the target page in the configuration file according to the path information of the target page and configuring the configuration item corresponding to the skip component in the configuration file according to the path information of the associated page.
Optionally, the first generation submodule includes:
the second generation submodule is used for generating the identification information of the associated page;
and the third generation submodule is used for carrying out path splicing on the path information of the target page and the identification information to generate the path information of the associated page.
Optionally, the parameter indicated by the input instruction includes address information of an operation method included in the target page;
the configuration module includes:
and the second determining submodule is used for determining the address information of the operation method in the parameters as the configuration parameters of the configuration items corresponding to the operation method in the configuration file.
Optionally, the generating module includes:
a fourth generation submodule, configured to add, to each configuration item corresponding to the target page in the configuration file, a configuration parameter of the configuration item to a position corresponding to the configuration item in the target page template, so as to generate the target page;
and a fifth generation sub-module, configured to add, for each configuration item corresponding to the associated page in the configuration file, the configuration parameter of the configuration item to a position corresponding to the configuration item in a page template corresponding to the associated page, so as to generate the associated page.
Optionally, the apparatus further comprises:
and the modification module is used for responding to the received modification operation of the target page by the user and modifying the target page according to the modification parameter information corresponding to the modification operation.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 3 is a block diagram illustrating an electronic device 700 according to an example embodiment. As shown in fig. 3, the electronic device 700 may include: a processor 701 and a memory 702. The electronic device 700 may also include one or more of a multimedia component 703, an input/output (I/O) interface 704, and a communication component 705.
The processor 701 is configured to control the overall operation of the electronic device 700, so as to complete all or part of the steps in the above-mentioned page generating method. The memory 702 is used to store various types of data to support operation at the electronic device 700, such as instructions for any application or method operating on the electronic device 700 and application-related data, such as contact data, transmitted and received messages, pictures, audio, video, and the like. The Memory 702 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk, or optical disk. The multimedia components 703 may include screen and audio components. Wherein the screen may be, for example, a touch screen and the audio component is used for outputting and/or inputting audio signals. For example, the audio component may include a microphone for receiving external audio signals. The received audio signal may further be stored in the memory 702 or transmitted through the communication component 705. The audio assembly also includes at least one speaker for outputting audio signals. The I/O interface 704 provides an interface between the processor 701 and other interface modules, such as a keyboard, mouse, buttons, etc. These buttons may be virtual buttons or physical buttons. The communication component 705 is used for wired or wireless communication between the electronic device 700 and other devices. Wireless Communication, such as Wi-Fi, bluetooth, Near Field Communication (NFC), 2G, 3G, 4G, NB-IOT, eMTC, or other 5G, etc., or a combination of one or more of them, which is not limited herein. The corresponding communication component 705 may thus include: Wi-Fi module, Bluetooth module, NFC module, etc.
In an exemplary embodiment, the electronic Device 700 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the above-described page generation method.
In another exemplary embodiment, there is also provided a computer readable storage medium comprising program instructions which, when executed by a processor, implement the steps of the page generation method described above. For example, the computer readable storage medium may be the memory 702 described above including program instructions that are executable by the processor 701 of the electronic device 700 to perform the page generation method described above.
Fig. 4 is a block diagram illustrating an electronic device 1900 according to an example embodiment. For example, the electronic device 1900 may be provided as a server. Referring to fig. 4, an electronic device 1900 includes a processor 1922, which may be one or more in number, and a memory 1932 for storing computer programs executable by the processor 1922. The computer program stored in memory 1932 may include one or more modules that each correspond to a set of instructions. Further, the processor 1922 may be configured to execute the computer program to perform the page generation method described above.
Additionally, electronic device 1900 may also include a power component 1926 and a communication component 1950, the power component 1926 may be configured to perform power management of the electronic device 1900, and the communication component 1950 may be configured to enable communication, e.g., wired or wireless communication, of the electronic device 1900. In addition, the electronic device 1900 may also include input/output (I/O) interfaces 1958. Electronic device 1900 may operate based on an operating system stored in memory 1932, such as Windows ServerTM,Mac OS XTM,UnixTM,LinuxTMAnd so on.
In another exemplary embodiment, there is also provided a computer readable storage medium comprising program instructions which, when executed by a processor, implement the steps of the page generation method described above. For example, the computer readable storage medium may be the memory 1932 described above that includes program instructions that are executable by the processor 1922 of the electronic device 1900 to perform the page generation method described above.
In another exemplary embodiment, a computer program product is also provided, which comprises a computer program executable by a programmable apparatus, the computer program having code portions for performing the above-mentioned page generation method when executed by the programmable apparatus.
The preferred embodiments of the present disclosure are described in detail with reference to the accompanying drawings, however, the present disclosure is not limited to the specific details of the above embodiments, and various simple modifications may be made to the technical solution of the present disclosure within the technical idea of the present disclosure, and these simple modifications all belong to the protection scope of the present disclosure.
It should be noted that the various features described in the above embodiments may be combined in any suitable manner without departing from the scope of the invention. In order to avoid unnecessary repetition, various possible combinations will not be separately described in this disclosure.
In addition, any combination of various embodiments of the present disclosure may be made, and the same should be considered as the disclosure of the present disclosure, as long as it does not depart from the spirit of the present disclosure.

Claims (10)

1. A page generation method, characterized in that the method comprises:
in response to a selection instruction of a user, determining a template indicated by the selection instruction as a target page template, wherein the target page template is used for generating a target page;
responding to an input instruction of a user, and configuring a configuration file of the target page template according to parameters indicated by the input instruction, wherein at least one associated page associated with the target page is indicated in the configuration file;
and generating a target page combination according to the configuration file and the target page template, wherein the target page combination comprises the target page and the associated page.
2. The method according to claim 1, wherein the parameter indicated by the input instruction comprises path information of the target page;
the configuring the configuration file of the target page template according to the parameters indicated by the input instruction in response to the input instruction of the user comprises the following steps:
determining a page associated with the jumping component according to the jumping information of the jumping component in the target page;
generating the path information of the associated page according to the path information of the target page;
and configuring a path configuration item of the target page in the configuration file according to the path information of the target page, and configuring a configuration item corresponding to the jump component in the configuration file according to the path information of the associated page.
3. The method according to claim 2, wherein the generating the path information of the associated page according to the path information of the target page comprises:
generating identification information of the associated page;
and performing path splicing on the path information of the target page and the identification information to generate the path information of the associated page.
4. The method according to claim 1, wherein the parameter indicated by the input instruction comprises address information of an operation method contained in the target page;
the configuring the configuration file of the target page template according to the parameters indicated by the input instruction in response to the input instruction of the user comprises the following steps:
and determining the address information of the operation method in the parameters as the configuration parameters of the configuration items corresponding to the operation method in the configuration file.
5. The method of claim 1, wherein generating a target page combination from the configuration file and the target page template comprises:
adding the configuration parameters of each configuration item corresponding to the target page in the configuration file to the position corresponding to the configuration item in the target page template so as to generate the target page;
and adding the configuration parameters of the configuration items to the positions corresponding to the configuration items in the page template corresponding to the associated pages aiming at each configuration item corresponding to the associated pages in the configuration file so as to generate the associated pages.
6. The method of claim 1, further comprising:
and in response to receiving the modification operation of the target page by the user, modifying the target page according to modification parameter information corresponding to the modification operation.
7. An apparatus for generating a page, the apparatus comprising:
the determining module is used for responding to a selection instruction of a user and determining a template indicated by the selection instruction as a target page template, wherein the target page template is used for generating a target page;
the configuration module is used for responding to an input instruction of a user and configuring a configuration file of the target page template according to the parameters indicated by the input instruction, wherein at least one associated page associated with the target page is indicated in the configuration file;
and the generating module is used for generating a target page combination according to the configuration file and the target page template, wherein the target page combination comprises the target page and the associated page.
8. The apparatus according to claim 7, wherein the parameter indicated by the input instruction comprises path information of the target page;
the configuration module includes:
the first determining submodule is used for determining a page related to the jumping component according to the jumping information of the jumping component in the target page;
the first generation submodule is used for generating the path information of the associated page according to the path information of the target page;
and the configuration sub-module is used for configuring the path configuration item of the target page in the configuration file according to the path information of the target page and configuring the configuration item corresponding to the skip component in the configuration file according to the path information of the associated page.
9. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
10. An electronic device, comprising:
a memory having a computer program stored thereon;
a processor for executing the computer program in the memory to carry out the steps of the method of any one of claims 1 to 6.
CN202011511308.4A 2020-12-18 2020-12-18 Page generation method and device, storage medium and electronic equipment Pending CN112486492A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011511308.4A CN112486492A (en) 2020-12-18 2020-12-18 Page generation method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011511308.4A CN112486492A (en) 2020-12-18 2020-12-18 Page generation method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN112486492A true CN112486492A (en) 2021-03-12

Family

ID=74914853

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011511308.4A Pending CN112486492A (en) 2020-12-18 2020-12-18 Page generation method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN112486492A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115202538A (en) * 2022-08-26 2022-10-18 广东拓斯达科技股份有限公司 Menu configuration method and device, electronic equipment and storage medium
CN116009858A (en) * 2022-12-20 2023-04-25 东方邦信金融科技(上海)有限公司 Page development method, page development device, electronic equipment and computer readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109799989A (en) * 2018-12-14 2019-05-24 深圳壹账通智能科技有限公司 Loose-leaf production method, device, computer equipment and storage medium
CN110716718A (en) * 2019-08-30 2020-01-21 深圳壹账通智能科技有限公司 Page generation method, device, equipment and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109799989A (en) * 2018-12-14 2019-05-24 深圳壹账通智能科技有限公司 Loose-leaf production method, device, computer equipment and storage medium
CN110716718A (en) * 2019-08-30 2020-01-21 深圳壹账通智能科技有限公司 Page generation method, device, equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115202538A (en) * 2022-08-26 2022-10-18 广东拓斯达科技股份有限公司 Menu configuration method and device, electronic equipment and storage medium
CN115202538B (en) * 2022-08-26 2024-02-06 广东拓斯达科技股份有限公司 Menu configuration method and device, electronic equipment and storage medium
CN116009858A (en) * 2022-12-20 2023-04-25 东方邦信金融科技(上海)有限公司 Page development method, page development device, electronic equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN109542399B (en) Software development method and device, terminal equipment and computer readable storage medium
CN112416318B (en) Micro-service development method and device, storage medium and electronic equipment
US20150012911A1 (en) Interface simulator for test rig in data distribution service
CN112765023B (en) Test case generation method and device
CN111694564B (en) Method, device, equipment and medium for compiling Flutter mixed mode
CN111111201B (en) Skill creation method, device, server and medium based on game
CN112486492A (en) Page generation method and device, storage medium and electronic equipment
CN111399840A (en) Module development method and device
CN110597564A (en) Installation package construction and service component loading method, device and terminal equipment
CN111984239A (en) Page configuration method, device, server and storage medium
CN112685030A (en) Method, device, storage medium and electronic equipment for generating service code
CN104156305A (en) Application program testing method and device
CN111767058A (en) Program compiling method and device, electronic equipment and storage medium
CN111459376B (en) Product guiding method, device and equipment
CN109902003B (en) Test script generation method and device
CN113590593A (en) Method and device for generating data table information, storage medium and electronic device
CN111694992A (en) Data processing method and device
CN112947907B (en) Method for creating code branches
CN114201382A (en) Test case generation method and device, storage medium and electronic equipment
CN108984238B (en) Gesture processing method and device of application program and electronic equipment
CN112416757B (en) Component development method, device, storage medium and electronic equipment
CN111399926A (en) Method and device for downloading starting program
CN114449063A (en) Message processing method, device and equipment
CN112068895B (en) Code configuration method, device, video playing equipment and storage medium
CN111813407B (en) Game development method, game running device and electronic equipment

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