CN114911478A - Page creating method and device, electronic equipment and storage medium - Google Patents

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

Info

Publication number
CN114911478A
CN114911478A CN202210472999.4A CN202210472999A CN114911478A CN 114911478 A CN114911478 A CN 114911478A CN 202210472999 A CN202210472999 A CN 202210472999A CN 114911478 A CN114911478 A CN 114911478A
Authority
CN
China
Prior art keywords
page
block
creation interface
target
instruction 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
CN202210472999.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.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202210472999.4A priority Critical patent/CN114911478A/en
Publication of CN114911478A publication Critical patent/CN114911478A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/36Software reuse

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure provides a page creating method and device, electronic equipment and a storage medium, and belongs to the technical field of computers. The method comprises the following steps: displaying a first creation interface and a second creation interface, wherein the first creation interface is used for setting the service function of a target page to be created, the second creation interface is used for editing the instruction information of the target page, and the instruction information is used for realizing the service function of the target page; displaying a plurality of blocks in the first creation interface based on the function adding operation detected in the first creation interface, wherein the blocks are used for showing business functions; based on the instruction copying operation detected in the first creation interface, displaying instruction information of a target block indicated by the instruction copying operation in a second creation interface, wherein the instruction information of the target block is used for realizing the business function of the target block; and displaying a target page based on the page generation operation detected in the second creation interface, wherein the target page is used for realizing a plurality of business functions. The method can improve the efficiency of creating the page.

Description

Page creating method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a page creation method and apparatus, an electronic device, and a storage medium.
Background
Front-end development is the process of creating a front-end page of a website or application for presentation to a user. The development process for front-end pages is generally as follows: firstly, a designer designs a front-end page, a design drawing is provided for a developer, the developer analyzes the design drawing, writes a corresponding background code, and presents the front-end page through the background code.
In the related art, each time a new front-end page is created, developers can rewrite background codes to realize development from scratch. Even if some components are highly similar, they need to be redeveloped each time, resulting in inefficiencies in creating the front end page.
Disclosure of Invention
The disclosure provides a page creation method, a page creation device, an electronic device and a storage medium, which can improve the efficiency of page creation. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a page creation method, including:
displaying a first creation interface and a second creation interface, wherein the first creation interface is used for setting a business function of a target page to be created, the second creation interface is used for editing instruction information of the target page, and the instruction information is used for realizing the business function of the target page;
displaying a plurality of blocks in the first creation interface based on the function adding operation detected in the first creation interface, wherein the blocks are used for showing business functions;
displaying instruction information of a target block indicated by the instruction copying operation in the second creation interface based on the instruction copying operation detected in the first creation interface, wherein the instruction information of the target block is used for realizing the business function of the target block;
and displaying the target page based on the page generation operation detected in the second creation interface, wherein the target page is used for realizing a plurality of service functions.
According to another aspect of the embodiments of the present disclosure, there is provided a page creating apparatus including:
the system comprises a first display unit and a second display unit, wherein the first display unit is configured to execute and display a first creation interface and a second creation interface, the first creation interface is used for setting a business function of a target page to be created, and the second creation interface is used for editing instruction information of the target page;
a second display unit configured to perform a function addition operation based on detection in the first creation interface, and display a plurality of blocks in the first creation interface, the blocks being used to expose business functions;
a third display unit configured to execute instruction copying operation detected in the first creation interface, and display instruction information of a target block indicated by the instruction copying operation in the second creation interface, wherein the instruction information of the target block is used for realizing a business function of the target block;
a fourth display unit configured to perform a page generation operation based on the detection in the second creation interface, and display the target page, where the target page is used to implement a plurality of business functions.
In some embodiments, the second display unit includes:
a first display subunit configured to perform, in response to a trigger operation on a tile control in the first creation interface, a tile page that displays a plurality of tiles to be added in a content display area of the first creation interface;
a second display subunit configured to perform, in response to an addition operation to at least one tile, displaying a preview page in a content display area of the first creation interface, the preview page displaying the plurality of added tiles.
In some embodiments, the apparatus further comprises:
a fifth display unit, configured to execute, for any block displayed in the first creation interface, in response to a trigger operation on a component control in the first creation interface in a case that the block is selected, displaying a component page in a content display area of the first creation interface, where the component page displays a plurality of components to be added, and the components are used to implement sub-functions in a business function;
a sixth display unit configured to perform, in response to an addition operation to at least one component, displaying the at least one component in the tile, and adding instruction information of the at least one component in the instruction information of the tile.
In some embodiments, the apparatus further comprises:
a first updating unit configured to perform, for any block, updating a position of any component displayed in the block in response to a moving operation on the component in the block, and updating a position of instruction information of the component in the instruction information of the block; alternatively, the first and second electrodes may be,
a deleting unit configured to perform, in response to a deletion operation for any component in the block, removing the component from the block, and deleting instruction information of the component from the instruction information of the block; alternatively, the first and second liquid crystal display panels may be,
and the modifying unit is configured to execute modification operation responding to any component in the block, and correspondingly modify the instruction information of the component in the instruction information of the block according to the modification operation.
In some embodiments, the third display unit includes:
a setting subunit, configured to perform a trigger operation on a block marking control in the first creation interface, and set the plurality of blocks to a selectable state;
a third display subunit configured to perform, in response to a selection operation on at least one block, displaying, in the first creation interface, a copy control of the selected target block;
a fourth display subunit configured to execute, in response to a trigger operation on the copy control, to display instruction information of the target block in the second creation interface.
In some embodiments, the fourth display subunit is configured to execute, in response to a trigger operation on the copy control, instruction information of the target block is acquired; displaying prompt information in the second creation interface, wherein the prompt information is used for prompting whether instruction information of the target block is copied to the second creation interface; and responding to the confirmation operation of the prompt message, and displaying the instruction message of the target block on the second creation interface.
In some embodiments, the apparatus further comprises:
a first obtaining unit, configured to execute, in response to a trigger operation on the copy control, a source file of the target block, where the source file includes material required for implementing a business function shown by the target block;
a copying unit configured to perform copying of the source file to a target path in response to a confirmation operation of the hint information, the target path corresponding to the instruction information of the target tile.
In some embodiments, the apparatus further comprises:
a seventh display unit configured to execute a tile detail control that displays the target tile in the first creation interface;
and the eighth display unit is configured to execute triggering operation responding to the block detail control and display the information of the application program interface of the target block.
In some embodiments, the apparatus further comprises:
a ninth display unit configured to execute a hierarchical display area in the first creation interface, and display a plurality of page hierarchy controls for editing pages of different hierarchies;
a tenth display unit configured to perform, in response to a trigger operation on a page level control of the target page, displaying a plurality of blocks of the target page in a content display area of the first creation interface.
In some embodiments, the apparatus further comprises:
a creation unit configured to perform an editing operation based on an instruction, creating a block;
the second acquisition unit is configured to perform dependency analysis on the block and acquire a function library which is dependent on the business function corresponding to the block;
and the packaging unit is configured to package the block and the function library, and the packaged block is used for being added into the first creation interface.
In some embodiments, the apparatus further comprises:
the building unit is configured to execute building of a source file based on the materials corresponding to the blocks;
an establishing unit configured to perform establishing a correspondence between the block and the source file.
In some embodiments, the apparatus further comprises:
a second updating unit configured to perform an instruction-based editing operation to update the block;
a third updating unit configured to update version information of the block based on the updated block;
an upload unit configured to perform uploading the updated tile and the updated version information.
According to another aspect of the embodiments of the present disclosure, there is provided an electronic device including:
one or more processors;
a memory for storing the processor executable program code;
wherein the processor is configured to execute the program code to implement the page creation method described above.
According to another aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium in which program codes, when executed by a processor of an electronic device, enable the electronic device to perform the above-described page creation method.
According to another aspect of an embodiment of the present disclosure, there is provided a computer program product comprising computer programs/instructions which, when executed by a processor, implement the above-described page creation method.
The embodiment of the disclosure provides a page creating method, in a process of creating a target page, only a block corresponding to a required service function needs to be added to a first creating interface, and then instruction information of the block realizing the service function can be copied to a second creating interface, so that the instruction information for realizing the service function does not need to be rewritten in the second creating interface, and the corresponding service function can be realized in the created target page, and further, the page creating efficiency is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
FIG. 1 is a diagram of an implementation environment for a page creation method, shown in accordance with an exemplary embodiment.
FIG. 2 is a flowchart illustrating a method of page creation in accordance with an exemplary embodiment.
FIG. 3 is a flow diagram illustrating another method of page creation in accordance with an illustrative embodiment.
FIG. 4 is a schematic diagram illustrating a first creation interface in accordance with an exemplary embodiment.
FIG. 5 is a schematic diagram illustrating adding tiles at a first creation interface, according to an example embodiment.
FIG. 6 is a diagram illustrating the addition of a component at a first creation interface, according to an example embodiment.
FIG. 7 is a schematic diagram illustrating another first creation interface in accordance with an illustrative embodiment.
FIG. 8 is a schematic diagram illustrating another first creation interface in accordance with an illustrative embodiment.
FIG. 9 is a schematic diagram illustrating another first creation interface in accordance with an illustrative embodiment.
FIG. 10 is a diagram illustrating a create page in accordance with an exemplary embodiment.
FIG. 11 is a schematic diagram illustrating another create page in accordance with an illustrative embodiment.
FIG. 12 is a block diagram illustrating a page creation apparatus according to an example embodiment.
FIG. 13 is a block diagram illustrating another page creation apparatus, according to an example embodiment.
Fig. 14 is a block diagram illustrating a terminal according to an example embodiment.
FIG. 15 is a block diagram illustrating a server in accordance with an exemplary embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings 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 disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are examples of apparatus and methods consistent with certain aspects of the present disclosure, as recited in the claims below.
It should be noted that information (including but not limited to user equipment information, user personal information, etc.), data (including but not limited to data for analysis, stored data, presented data, etc.), and signals referred to in this disclosure are authorized by the user or sufficiently authorized by various parties, and the collection, use, and processing of the relevant data requires compliance with relevant laws and regulations and standards in relevant countries and regions. For example, the materials involved in the present disclosure that are required to implement business functions are obtained with sufficient authorization.
The electronic device may be provided as a terminal or a server, and when the electronic device is provided as a terminal, the terminal may implement an operation performed by the page creation method; when provided as a server, operations performed by the page creation method may be implemented by the server; the operation executed by the page creation method can also be realized by the interaction between the server and the terminal, the terminal receives the encapsulated block sent by the server, and the page is created through the encapsulated block.
FIG. 1 is a diagram of an implementation environment for a page creation method, shown in accordance with an exemplary embodiment. Taking the electronic device as an example provided as a server, referring to fig. 1, the implementation environment includes: a terminal 101 and a server 102.
The terminal 101 is at least one of a smartphone, a smartwatch, a desktop computer, a laptop computer, an MP3 player, an MP4 player, a laptop, and the like. An application is installed and run on the terminal 101, and a user can log in the application through the terminal 101 to acquire a service provided by the application. The terminal 101 can be connected to the server 102 through a wireless network or a wired network, and can further receive the encapsulated blocks sent by the server 102.
The terminal 101 generally refers to one of a plurality of terminals, and the present embodiment is illustrated with the terminal 101. Those skilled in the art will appreciate that the number of terminals described above may be greater or fewer. For example, the number of the terminals is several, or the number of the terminals is several tens or several hundreds, or more, and the number of the terminals and the type of the device are not limited in the embodiments of the present disclosure.
The server 102 is at least one of a server, a plurality of servers, a cloud computing platform, and a virtualization center. The server 102 can be connected to the terminal 101 and other terminals through a wireless network or a wired network, and the server 102 can transmit the encapsulated tile to the terminal 101 so that the terminal 101 can create a page based on the encapsulated tile. In some embodiments, the number of the servers may be more or less, and the embodiments of the present disclosure do not limit this. Of course, the server 102 may also include other functional servers to provide more comprehensive and diverse services.
Fig. 2 is a flowchart illustrating a page creation method according to an exemplary embodiment, and referring to fig. 2, the page creation method is applied in a terminal, and includes the following steps:
in step S201, the terminal displays a first creation interface and a second creation interface, where the first creation interface is used to set a service function of a target page to be created, and the second creation interface is used to edit instruction information of the target page, where the instruction information is used to implement the service function of the target page.
In the embodiment of the present disclosure, the terminal is the terminal 101 shown in fig. 1, and at least two development clients are installed on the terminal 101. The development clients installed by the terminal 101 include a first development client and a second development client. In the process of creating the target page, the first development client comprises a first creation interface, and the terminal can set a service function for the target page based on the first creation interface. The second development client comprises a second creation interface, and the terminal can generate a target page based on instruction information in the second creation interface. In other words, the developer can set the business function in the target page in the first creation interface, and then create the target page on the second creation interface based on the instruction information for implementing the business function, so that the target page can implement multiple business functions. Wherein the instruction information includes at least one of a program code, a function library, and a program parameter. The service function may be a plan setting function in an advertisement placement scene, a shopping cart function in a shopping scene, or a comment function in a multimedia scene, and the like, which is not limited in the embodiment of the present disclosure.
For example, the target page to be created is a page for an advertisement putting scene, and the terminal sets a service function for the target page based on the first creation interface, where the service function includes functions of service targeting, plan setting, and the like. The second creation interface displays part of instruction information constituting the target page, and the part of instruction information does not include instruction information for realizing the business functions such as the business target and the plan setting. Or the target page is a page used in a shopping scene, and the terminal sets service functions for the target page based on the first creation page, wherein the service functions comprise functions of putting articles on shelves, editing article information, shopping carts and the like.
In step S202, the terminal displays a plurality of blocks in the first created interface based on the function adding operation detected in the first created interface, where the blocks are used for showing business functions.
In the disclosed embodiment, different blocks are used to expose different business functions. The developer can add a block corresponding to the required function in the first creation interface based on the required function of the target page to be created. In response to the function adding operation, the terminal can add a plurality of blocks and display the added blocks in the first creation interface.
In step S203, the terminal displays, in the second creation interface, instruction information of a target block indicated by the instruction copying operation based on the instruction copying operation detected in the first creation interface, where the instruction information of the target block is used to implement a business function of the target block.
In the embodiment of the disclosure, when the terminal detects an instruction copying operation, the terminal can copy an instruction of a target block in a first creation interface to a second creation interface, and display instruction information of the target block on the second creation interface. The target block is one block or a plurality of blocks. When the target block is a plurality of blocks, the terminal can copy the instruction information of the blocks into a second creation interface at the same time, and the instruction information of the blocks is displayed on the second creation interface. The instruction information of the plurality of blocks can realize different service functions.
In step S204, the terminal displays a target page based on the page generation operation detected in the second creation interface, where the target page is used to implement multiple service functions.
In the embodiment of the disclosure, a page generation control is displayed in the second creation interface, and the terminal generates the target page based on the instruction information on the second creation interface in response to the triggering operation of the page generation control. The target page can implement multiple business functions. The terminal can display the generated target page to the target user, so that the target user can develop services through the target page.
According to the scheme provided by the embodiment of the disclosure, in the process of creating the target page, only the block corresponding to the required service function needs to be added to the first creation interface, the instruction information for realizing the service function can be copied to the second creation interface, so that the corresponding service function can be realized in the created target page without rewriting the instruction information for realizing the service function in the second creation interface, and further the efficiency of creating the page is improved.
In some embodiments, displaying a plurality of tiles in the first creation interface based on the function addition operation detected in the first creation interface includes:
responding to the triggering operation of a block control in the first creation interface, and displaying a block page in a content display area of the first creation interface, wherein the block page displays a plurality of blocks to be added;
and responding to the adding operation of at least one block, and displaying a preview page in the content display area of the first creation interface, wherein the preview page displays a plurality of added blocks.
According to the scheme provided by the embodiment of the disclosure, the block control is triggered to display the block page, the block can be selected from the block page to be added, and the added block is displayed in the preview page, so that the user can conveniently and quickly preview the added service function, and the human-computer interaction efficiency is high.
In some embodiments, the method further comprises:
for any block displayed in the first creation interface, under the condition that the block is selected, in response to a triggering operation of a component control in the first creation interface, displaying a component page in a content display area of the first creation interface, wherein the component page displays a plurality of components to be added, and the components are used for realizing sub-functions in business functions;
and in response to the adding operation of at least one component, displaying the at least one component in the block, and adding the instruction information of the at least one component in the instruction information of the block.
According to the scheme provided by the embodiment of the disclosure, the component for realizing the sub-functions in the business function can be added in the block by triggering the component control to display the component page, so that the block can display more sub-functions, and the target page created based on the block can be used for realizing a plurality of sub-functions, and the adding operation is simple and convenient, and the human-computer interaction efficiency is high.
In some embodiments, the method further comprises:
for any block, in response to the moving operation of any component in the block, updating the position of the component displayed in the block, and updating the position of the instruction information of the component in the instruction information of the block; alternatively, the first and second electrodes may be,
in response to the deleting operation of any component in the block, removing the component from the block, and deleting the instruction information of the component from the instruction information of the block; alternatively, the first and second liquid crystal display panels may be,
in response to the modification operation on any component in the block, according to the modification operation, correspondingly modifying the instruction information of the component in the instruction information of the block.
According to the scheme provided by the embodiment of the disclosure, the components in the block are adjusted in the preview page through moving, deleting or modifying and the like, so that the positions of the instruction information of the components in the instruction information of the block can be directly adjusted while the components are adjusted, the operation is simple and rapid, and the human-computer interaction efficiency is high.
In some embodiments, displaying, in the second creation interface, instruction information of a target block indicated by the instruction copy operation based on the instruction copy operation detected in the first creation interface includes:
setting a plurality of blocks to be in a selectable state in response to the triggering operation of the block marking control in the first creation interface;
responding to the selection operation of at least one block, and displaying a copy control of the selected target block in the first creation interface;
and responding to the triggering operation of the copying control, and displaying the instruction information of the target block in the second creation interface.
According to the scheme provided by the embodiment of the disclosure, the instruction information for realizing the service function can be copied to the second creation interface only by adding the block corresponding to the required service function to the first creation interface, the operation is simple, the instruction information for realizing the service function is not required to be rewritten, the corresponding service function can be realized in the created target page, and the page creation efficiency is improved.
In some embodiments, in response to the triggering operation of the copy control, displaying instruction information of the target tile in the second creation interface, including:
responding to the trigger operation of the copy control, and acquiring the instruction information of the target block;
displaying prompt information in the second creation interface, wherein the prompt information is used for prompting whether instruction information of the target block is copied to the second creation interface;
and responding to the confirmation operation of the prompt message, and displaying the instruction message of the target block on the second creation interface.
According to the scheme provided by the embodiment of the disclosure, the prompt information is provided, so that the user can copy the instruction information of the target block from the first creation interface to the second creation interface only by performing secondary confirmation, thereby avoiding that the original instruction information in the second creation interface is influenced after the instruction information is copied due to misoperation of the user, improving the accuracy of copying the instruction information, and improving the efficiency of creating the page.
In some embodiments, the method further comprises:
responding to the triggering operation of the copying control, and acquiring a source file of the target block, wherein the source file comprises materials required for realizing the business function shown by the target block;
and in response to the confirmation operation of the prompt message, copying the source file to a target path, wherein the target path corresponds to the instruction information of the target block.
According to the scheme provided by the embodiment of the disclosure, the target path corresponds to the instruction information of the target block, and the source file is copied to the target path, so that when the target page is created based on the instruction information of the block, the source file can be acquired, the materials required for realizing the service function are provided for the target page, and the efficiency of creating the page can be improved.
In some embodiments, the method further comprises:
displaying a block detail control of the target block in the first creation interface;
and responding to the triggering operation of the block detail control, and displaying the information of the application program interface of the target block.
According to the scheme provided by the embodiment of the disclosure, the information of the application program interface of the target block is displayed on the first creation interface, so that a user can intuitively know the application program interface of the target block, and the efficiency of creating the target page based on the target block is improved.
In some embodiments, the method further comprises:
displaying a plurality of page level controls in a level display area in the first creation interface, wherein the page level controls are used for editing pages of different levels;
and responding to the triggering operation of the page level control of the target page, and displaying a plurality of blocks of the target page in the content display area of the first creation interface.
According to the scheme provided by the embodiment of the disclosure, the multiple page level controls are displayed in the first creation interface, so that the target pages of different levels can be created through the multiple level controls, the diversity of the target pages can be improved, and the human-computer interaction efficiency can be improved.
In some embodiments, the method further comprises:
creating a block based on the instruction editing operation;
analyzing the block to obtain a function library which is depended on by the business function corresponding to the block;
and packaging the block and the function library, wherein the packaged block is used for being added into the first creation interface.
According to the scheme provided by the embodiment of the disclosure, the block and the dependent function library are packaged by pre-constructing the block, so that when the target page is created based on the first creation interface, the packaged block can be directly obtained, and the instruction information does not need to be rewritten according to the service function required by the target page, and therefore, the efficiency of creating the page can be improved.
In some embodiments, the method further comprises:
constructing a source file based on the materials corresponding to the block;
and establishing a corresponding relation between the block and the source file.
According to the scheme provided by the embodiment of the disclosure, because the materials required by the service function need to be realized in the page creating process, the source file is constructed based on the materials corresponding to the blocks before the page is created, and the corresponding relation between the blocks and the source file is established, so that the source file can be directly obtained in the page creating process, and the page creating efficiency can be improved.
In some embodiments, the method further comprises:
updating the block based on the instruction editing operation;
updating version information of the block based on the updated block;
and uploading the updated block and the updated version information.
According to the scheme provided by the embodiment of the disclosure, the terminal can update the block and the corresponding version information, so that the block with the latest version can be obtained in the process of creating the page, or the block with the corresponding version can be obtained according to the self requirement, and the efficiency of creating the page is improved.
Fig. 2 is a basic flow of the present disclosure, and the scheme provided by the present disclosure is further explained below based on an implementation manner, and fig. 3 is a flowchart of another page creation method according to an exemplary embodiment. Taking the electronic device as an example provided as a terminal, referring to fig. 3, the method includes:
in step S301, the terminal creates a block, which is used to be added to the first creation interface to expose the service function.
In the embodiment of the disclosure, before creating the page, the terminal creates a block based on the instruction information for implementing the common service function, and the block is used for being added into the first creation interface to display the common service function. When the terminal creates the page for realizing the service function, the block can be directly added in the first creation interface so as to realize the creation of the page. Correspondingly, the process of creating the block by the terminal is as follows: and the terminal creates a block based on the instruction editing operation. Then, the terminal analyzes the block to obtain a function library dependent on the service function corresponding to the block. And then, the terminal packages the block and the function library, and the packaged block is used for being added into the first creation interface to display the service function. According to the scheme provided by the embodiment of the disclosure, the terminal can directly acquire the encapsulated block when creating the page for realizing the general service function based on the first creation interface by creating the block for displaying the general service function in advance, and can realize the corresponding service function in the created target page without rewriting the instruction information for realizing the service function, so that the efficiency of creating the page is improved.
It should be noted that, not only instruction information but also materials are required to implement the service function, and therefore, each block has corresponding materials. The material is a video, a picture, or a text, and the like, which is not limited in the embodiment of the present disclosure. The page is created by the instruction information of the block and the material corresponding to the block. The terminal constructs a source file based on the materials corresponding to the blocks; and establishing a corresponding relation between the blocks and the source file. The source file comprises materials required for realizing the business function displayed by the block. According to the scheme provided by the embodiment of the disclosure, the terminal pre-constructs the source file and establishes the corresponding relationship between the blocks and the source file, so that in the process of creating the page, the corresponding source file can be simultaneously acquired when the blocks are acquired based on the corresponding relationship between the blocks and the source file, and the efficiency of creating the page is improved.
It should be noted that creating the completed block is not a constant one, and as the technology develops or the function improves, the terminal can continuously update the block. Correspondingly, the process of updating the block by the terminal is as follows: the terminal updates the block based on the instruction editing operation; updating version information of the block based on the updated block; and uploading the updated block and the updated version information. The developer who creates the page can obtain the block of the corresponding version according to self demand. According to the scheme provided by the embodiment of the disclosure, the terminal can update the block and the corresponding version information, so that the block with the latest version can be obtained in the process of creating the page, or the block with the corresponding version can be obtained according to the self requirement, the created page can be updated, and the requirement of a developer creating the page can be met.
For example, first, a developer edits instruction information for realizing a common business function on a terminal for the common business function. The terminal creates a block based on the instruction editing operation. Then the terminal analyzes the block through the abstract syntax tree to obtain a function library which is depended by the business function corresponding to the block; and packaging the block and the function library, and storing the packaged block in a material library. The material library is a distributed version control system and can store a plurality of blocks. Or the terminal analyzes the block through the abstract syntax tree to determine that the block is updated, so as to update the version information of the block. And the terminal uploads the updated block and the updated version information to a content distribution network. In the process of creating the page, the developer can acquire the encapsulated blocks from the material library or acquire the encapsulated blocks from the content distribution network.
In some embodiments, the first creation interface is an interface in a marketing user interface platform, and the marketing user interface platform is used for solving the problem of extremely high similarity of instruction information corresponding to general service functions of some service lines, so that the purposes of saving design and front-end labor cost, reducing cost and improving efficiency are achieved, and the requirement of rapid iteration of services is met. The terminal can add the created blocks into the marketing user interface platform, and create a page for implementing a plurality of business functions based on the marketing user interface platform.
Taking the development of the target service as an example, the target service may be a service in a shopping scene, a service in an advertisement delivery scene, a service in an information flow scene, or a service in a multimedia scene. The marketing user interface platform is provided with a series of functional templates such as a creative flow framework, a directional functional framework, an creative making framework, a report framework and the like. The authoring process framework is used for setting functions related to the process of developing the target business; the directional function frame is used for setting a service channel of the target service; the creative production framework is used for setting business functions related to production of business materials in the target business; the report frame is used for displaying various data and functions related to the target business in a report form. The developer can set a plurality of service functions related to the target service through the creative flow framework. Among the plurality of service functions, there is a function of creating a service. And then the developer can set the service functions related to the target service creation through the creative production framework. And then the developer can set the business functions related to the business channels of the target business based on the oriented function framework. In addition, the developer can also set business functions related to data display based on the report form framework.
In step S302, the terminal displays a first creation interface and a second creation interface, where the first creation interface is used to set a service function of a target page to be created, and the second creation interface is used to edit instruction information of the target page, where the instruction information is used to implement the service function of the target page.
In the embodiment of the disclosure, the terminal displays a first creation interface through the marketing user interface platform, and sets at least one service function for a target page to be created based on the first creation interface. And the terminal displays instruction information corresponding to the business function on the second creation interface based on the set business function of the target page, and creates the target page based on the instruction information, so that the target page can realize a plurality of business functions.
The first creation interface comprises a home page control, a preview control, a component control, a block control and a content display area. The home page control is used for displaying a home page in a content display area of a first creation interface after being triggered, and the home page is used for creating a blank page and setting the hierarchy of the page. The preview control is used for displaying a preview page in a content display area of the first creation interface after being triggered, and a plurality of blocks added to the current page are displayed in the preview page. The component control is used for displaying a component page in a content display area of the first creation interface after being triggered, the component page displays a plurality of components to be added, and the terminal can add the components for the blocks through the component page. The block control is used for displaying a block page in a content display area of the first creation interface after being triggered, the block page displays a plurality of blocks to be added, and the blocks are used for displaying business functions. The content display area is used for displaying the page triggered by the control. The first creation interface further comprises a block marking control for marking the selected target block. The first creation interface also includes a plurality of page level controls for editing pages of different levels.
For example, FIG. 4 is a schematic diagram illustrating a first creation interface in accordance with an illustrative embodiment. Referring to fig. 4, a home control, a preview control, a component control, and a tile control are displayed on the top of the first creation interface. The lower areas of the four controls are content display areas. And a block marking control is displayed at the upper left of the first creation interface. And a first-level control, a second-level control and a third-level control are displayed on the left side of the first creation interface. And the page corresponding to the third level control is a lower page of the page corresponding to the second level control.
And the second creation interface comprises a display area of the instruction information and a page generation control. The display area of the instruction information is used for displaying the instruction information copied to the target block in the second creation interface. The developer can edit, delete or modify the instruction information of the target block through the display area of the instruction information. The page generation control is used for generating a target page based on the instruction information of the target block after being triggered.
In step S303, in response to the triggering operation on the tile control in the first creation interface, the terminal displays a tile page in the content display area of the first creation interface, where the tile page displays a plurality of tiles to be added.
In the embodiment of the disclosure, in response to the triggering operation of the tile control, the terminal displays a tile page in the content display area of the first creation interface. The block page displays a plurality of blocks to be added, each block corresponds to a business function, and developers can select a required block from the blocks of the block page based on the business function of the target page to be created.
In some embodiments, the plurality of blocks to be added are respectively displayed in different areas in the block page according to the application scene. According to the scheme provided by the embodiment of the disclosure, the plurality of blocks to be added are divided according to the application scenes of the service functions of the blocks, so that the blocks can be quickly found based on the application scenes of the required blocks in the process of creating the page, and the efficiency of creating the page and the human-computer interaction efficiency can be improved.
For example, the first tile and the second tile are applied to an advertisement placement scene and displayed in the upper left area of the tile page. The third tile is applied to the shopping scene and displayed in the upper right area of the tile page. The fourth and fifth tiles are applied to the multimedia scene, displayed in the lower right area of the tile page, etc. When a page related to advertisement putting is created, a block for realizing a related service function can be directly searched in the upper left area in the block page.
In some embodiments, the plurality of tiles to be added are respectively displayed in different areas of the tile page according to the service function. According to the scheme provided by the embodiment of the disclosure, the plurality of blocks to be added are divided according to the service functions of the blocks, so that the blocks can be quickly found based on the service functions of the required blocks in the process of creating the page, and the efficiency of creating the page and the man-machine interaction efficiency can be improved.
For example, both the first tile and the second tile can be used to implement the plan setup function, displayed in the upper left area of the tile page. The third block is used for realizing a display function and is displayed in the upper right area of the block page. The fourth and fifth blocks are used to implement voice functions, displayed in the lower right region of the block page, etc. When a page with a voice function is created, a block for realizing the voice function can be directly searched in the lower right area of the block page.
In step S304, in response to the adding operation of the at least one tile, the terminal displays a preview page in the content display area of the first creation interface, where the preview page displays a plurality of added tiles.
In the embodiment of the disclosure, the block page includes an addition control, and in response to a trigger operation on the addition control, the terminal adds at least one block to the current page.
In some embodiments, the block page includes an adding control, and when the terminal detects that at least one block in the block page is selected, the terminal responds to a triggering operation of the adding control to add at least one block in the current page. The addition control can be displayed in the top, bottom, or left area of the tile page, etc., which is not limited by the embodiments of the present disclosure. According to the scheme provided by the embodiment of the disclosure, by providing the adding control, a developer can add a plurality of blocks at one time, the operation is simple and quick, and the page is created based on the added blocks, so that the page creating efficiency and the man-machine interaction efficiency can be improved.
In some embodiments, the tile page includes a plurality of add controls, i.e., one add control for each tile. For any block, the terminal responds to the triggering operation of the adding control of the block to add the block. According to the scheme provided by the embodiment of the disclosure, the block does not need to be selected, the required block can be directly added, the operation is simple, the accuracy is high, and the page is created based on the added block, so that the page creating efficiency and the man-machine interaction efficiency can be improved.
In the embodiment of the disclosure, a developer can preview the added blocks of the current page through a preview page, and in response to a trigger operation on the preview control, the terminal converts the content display area of the first creation interface from a block page to a preview page and displays a plurality of added blocks.
For example, FIG. 5 is a schematic diagram illustrating a process for adding tiles at a first creation interface, according to an example embodiment. Referring to fig. 5, a preview page is displayed in the content display area of the first creation interface, and two added blocks are displayed in the preview page, which are a business target block and a planning setting block respectively.
It should be noted that a plurality of blocks to be added in a block page can include at least one component or no component in advance. If the block comprises the components, the terminal adds the components in the block simultaneously in the process of adding the block. And the terminal displays the added block and the components included by the block in the preview page, and the components included by the block are displayed in the block.
It should be noted that the developer can also adjust the tile on the preview page, and the following three cases can be classified, including: in the first case, in response to the moving operation of any block, the terminal updates the position of the block displayed in the preview page; in the second case, in response to the deletion operation of any block, the terminal removes the block from the preview page; in the third case, in response to the modification operation on any block, the terminal modifies the display style of the block on the preview page according to the modification operation. The modification operation may be a modification of a display size of the tile, a modification of a display color of the tile, or a modification of a tile name, which is not limited in the embodiments of the present disclosure.
In step S305, for any block displayed in the first creation interface, in response to a triggering operation on a component control in the first creation interface when the block is selected, the terminal displays a component page in a content display area of the first creation interface, where the component page displays multiple components to be added, and the components are used for implementing sub-functions in the business function.
In the embodiment of the present disclosure, the terminal may add the component to the block through the component page, that is, in the process of creating the page, the terminal may add the sub-function to the service function corresponding to the block. And for any block displayed in the preview page, in the condition that the block is selected, responding to the triggering operation of the component control, and displaying the component page in the content display area by the terminal. The plurality of components displayed by the component page may be components for implementing all sub-functions in the service function of the service corresponding to the target page, or may also be components for implementing all sub-functions in the service function corresponding to the selected block, which is not limited in this embodiment of the disclosure.
In some embodiments, the plurality of components to be added are respectively displayed in different areas in the component page according to the application scene. According to the scheme provided by the embodiment of the disclosure, the plurality of components to be added are divided according to the application scenes of the components, so that the components can be quickly found based on the application scenes of the required components in the process of creating the page based on the components, and the efficiency of creating the page and the human-computer interaction efficiency can be improved.
For example, the first component and the second component are applied to an advertisement placement scene, displayed in the upper left area of the component page. The third component is applied to the shopping scenario, displayed in the upper right area of the component page. The fourth and fifth components are applied to the multimedia scene, displayed in the lower right region of the component page, etc. When a page related to advertisement putting is created, a component for realizing the sub-functions of the related business functions can be directly searched in the upper left area of the component page.
In some embodiments, the plurality of components to be added are displayed in different areas of the component page, respectively, according to the implemented sub-functions. According to the scheme provided by the embodiment of the disclosure, the plurality of components to be added are divided according to the sub-functions realized by the components, so that the components can be quickly found based on the sub-functions realized by the required components in the process of establishing the page based on the components, and the efficiency of establishing the page and the human-computer interaction efficiency can be improved.
For example, both the first component and the second component can be used to implement a sub-function in the plan setup function, displayed in the upper left area of the component page. The third component is applied to realize the sub-function in the display function, and is displayed in the upper right area in the component page. The fourth component and the fifth component are applied to realizing sub-functions in the voice function, displaying in a lower right area in a component page, and the like. When creating a page with a voice function, it is possible to directly find a component that implements a sub-function in the voice function in the lower right area in the component page.
In step S306, in response to the adding operation of the at least one component, the terminal displays the at least one component in the block, and adds the instruction information of the at least one component in the instruction information of the block.
In the embodiment of the disclosure, the component page includes an adding control, and in response to a triggering operation on the adding control, the terminal adds at least one component to the component. And the terminal displays the added at least one block in the block selected in the preview page, and adds the instruction information of the at least one block in the instruction information of the selected block.
In some embodiments, the component page includes an add control, the terminal detects that at least one component in the component page is selected, and in response to a trigger operation on the add control, at least one component is added to the selected block. The add control can be displayed in the top, bottom, or left area of the component page, etc., which is not limited by the embodiments of the present disclosure. The scheme provided by the embodiment of the disclosure is simple to operate, can add a plurality of components at one time, and can improve the efficiency of page creation and the human-computer interaction efficiency based on the added components to create the page.
In some embodiments, the component page includes multiple add controls, i.e., one add control for each component. For any component, the terminal responds to the triggering operation of the adding control of the component to add the component. According to the scheme provided by the embodiment of the disclosure, the components do not need to be selected, the required components can be directly added, the operation is simple, the accuracy is high, the page is created based on the added components, and the page creating efficiency and the man-machine interaction efficiency can be improved.
For example, FIG. 6 is a diagram illustrating the addition of a component at a first creation interface, according to an illustrative embodiment. Referring to fig. 6, the first creation interface displays a plurality of components in both the business target block and the planning setting block. The business target block comprises a plurality of target components such as a target A component, a target B component, a target C component, a target D component, a target E component, a target F component, a target G component, a target H component and the like. Different target components are used to achieve different goals. The plan setup block includes a plan budget component and a plan name component. The function of the planning budget component is to budget the target service, and the planning budget component comprises three modes of unlimited budget, unified budget and daily budget. The unified budget refers to the unified budget for all the expenses of the target service, and the daily budget refers to the expense for calculating the target service in days. The function of the plan name component is to provide the function of entering a plan name for the target service.
The developer can also adjust the components in the block on the preview page, and the terminal can correspondingly adjust the instruction information of the components according to the component adjustment operation. The instruction information of the terminal adjusting component can be divided into the following three cases, including:
in the first case, for any block, in response to a moving operation on any component in the block, the terminal updates the position of the component displayed in the block, and updates the position of the instruction information of the component in the instruction information of the block.
For example, with continued reference to fig. 6, if the target a component in the business target block is moved to the last position, in response to the moving operation, the terminal displays the target a component at the last position in the business target block, and updates the position of the instruction information of the target a component in the instruction information of the business target block, and moves the instruction information of the target a component from the front to the back.
In some embodiments, all components in a block become movable in response to a move operation on any component in the block. In the movable state, when the component is moved, the positions of other components are correspondingly changed. The terminal updates the positions of all the components in the block and updates the position of the instruction information of each component in the instruction information of the block.
In some embodiments, in response to a move operation on any component in the block, that component becomes movable, the other components remain in an immovable state. In the movable state, the component is moved, and the positions of the other components are not changed. And the terminal updates the position of the component in the block and updates the position of the instruction information of the component in the instruction information of the block.
In the second case, in response to a deletion operation of any one of the components in the block, the terminal removes the component from the block and deletes the instruction information of the component from the instruction information of the block.
For example, with continued reference to fig. 6, if the target a component in the business target block is deleted, in response to the deletion operation, the terminal removes the target a component in the business target block and no longer displays the target a component. And the terminal deletes the instruction information of the target a component from the instruction information of the service target block.
In some embodiments, before deleting a component, the terminal changes the component to a deletable state in response to a pressing operation on the component, that is, a deletion control is displayed at the upper right of the component. In response to the triggering operation of the deleting control, the terminal removes the component from the block and deletes the instruction information of the component from the instruction information of the block.
In the third case, in response to the modification operation on any one component in the block, the terminal modifies the instruction information of the component in the instruction information of the block according to the modification operation. The modification operation may be a modification of a display size of the component, a modification of a display color of the component, or a modification of a component name, and the like, which is not limited by the embodiment of the present disclosure.
For example, with continued reference to fig. 6, if the name of the target a component in the business target block is modified. The terminal modifies the instruction information about the object a in the instruction information of the service object block according to the modification operation.
According to the scheme provided by the embodiment of the disclosure, the components in the block are adjusted in the preview page through moving, deleting or modifying and the like, so that the positions of the instruction information of the components in the instruction information of the block can be directly adjusted while the components are adjusted, the operation is simple and rapid, and the human-computer interaction efficiency is high.
After the terminal sets the service function for the target page in the first creation interface, the terminal can copy the instruction information of the target block for realizing the service function into the second creation interface. And then the terminal generates the target page on the second creation interface based on the instruction information of the target block. In the process, the terminal can display a copy control for copying the instruction information on the first creation interface, so that the page is created based on the copy control.
In step S307, the terminal displays the copy control of the selected target tile in the first creation interface.
In the embodiment of the present disclosure, the copy control is used to copy the instruction information of the target block. The terminal can copy the instruction information of the target block to a second creation interface through the copy control, and a target page is generated in the second creation interface based on the instruction information of the target block. In some embodiments, the first creation interface includes a tile marking control for marking the selected target tile, such that the terminal displays the copy control of the target tile.
In some embodiments, in response to a trigger operation on a block marking control in the first creation interface, the terminal sets the plurality of blocks to be in a selectable state; and responding to the selection operation of at least one block, and displaying the copy control of the selected target block in the first creation interface by the terminal.
In some embodiments, in response to the selection operation of at least one block, the terminal sets a block marking control in the first creation interface to be in a triggerable state; and responding to the triggering operation of the block marking control, and displaying the copy control of the selected target block in a first creation interface by the terminal.
It should be noted that, while the terminal displays the copy control of the target block, the terminal also displays the block detail control of the target block. The block detail control is used for displaying the information of the application program interface of the target block. The terminal displays a block detail control of the target block in a first creation interface; and responding to the triggering operation of the block detail control, and displaying the information of the application program interface of the target block.
For example, FIG. 7 is a schematic diagram illustrating another first creation interface, according to an example embodiment. Referring to fig. 7, a block marking control is displayed on the upper left of the first creation interface, and the block marking control is triggered. And the planning setting block is a selected target block, and the terminal displays a copy control and a block detail control above the planning setting block. The terminal can copy the instruction information of the plan setting block through the copy control, wherein the instruction information comprises the instruction information of the plan budget component and the instruction information of the plan name. The terminal can view the application program interface of the planned setting block through the block detail control.
It should be noted that the first creation interface further displays a plurality of page level controls, and the terminal can create pages of different levels through the plurality of page level controls. The terminal displays a plurality of page level controls in a level display area in the first creation interface, and the page level controls are used for editing pages of different levels. And responding to the triggering operation of the page level control of the target page, and displaying a plurality of blocks of the target page in a content display area of the first creation interface by the terminal.
For example, with continued reference to fig. 7, the left area of the first creation interface is a hierarchy display area that displays three page hierarchy controls, a first hierarchy, a second hierarchy, and a third hierarchy, respectively. The first level corresponds to a first-level page, the second level corresponds to a second-level page, and the third level corresponds to a third-level page. FIG. 7 shows a page at a first level.
The second-level page created by the first creation interface is described in detail below. For example, FIG. 8 is a schematic diagram illustrating another first creation interface, according to an example embodiment. Referring to fig. 8, the page of the hierarchy relates to a plurality of business functions, such as function a, function B, function C, function D, function E, function F, and function G. And a plurality of target blocks corresponding to the plurality of service functions can be displayed in the first creation interface. Due to the limited size of the content display area, the entire target block cannot be displayed in fig. 8. The blocks of function a and the blocks of function B are exemplarily shown in fig. 8.
Taking two blocks shown in fig. 8 as an example, the components existing in the blocks are described separately. The block of function a is used to determine the channel of the target service. The block includes a select channel component that can select either channel a or channel b. The block of function B is used to determine the target application in which the target service is popular. The block includes a plurality of components. The functions to be performed by the different components are different. For any component, a target object for implementing the function of the component is obtained through an input box. The component may be a select application component, a direct link component, or an associated object component, among others. Wherein the function of selecting the application component is to select an application in which the target service is popularized. The function of the direct link component is to establish a service link, which can be triggered to directly see the content of the target service. The function of the associate object component is to associate the target business with the selected object.
The third-level page created by the first creation interface is described in detail below. For example, FIG. 9 is a schematic diagram illustrating another first creation interface, according to an example embodiment. Referring to FIG. 9, the page of the hierarchy relates to a plurality of business functions such as creative type, creative production, creative source, and business application. The first creation interface can display a plurality of target blocks corresponding to the plurality of business functions. Due to the limited size of the content display area, the entire target block cannot be displayed in fig. 9. Only the creative type tile and the creative production tile are shown in fig. 9.
Taking two blocks shown in fig. 9 as an example, the components existing in the blocks are described separately. The creative type block comprises a custom creative component, and the function of the custom creative component is that no fixed template is arranged when the business content is created, and the creative type block can be created randomly according to the requirements of the creative type block. The creative production block includes a plurality of components such as a material content component, a material preview component, and an XX component. The function of the material content component is to select the required material content when creating the business content, to upload the material content locally, to select the existing works, and to set the cover of the business content. The material preview component can provide material preview functionality when material is selected. The XX component may be any other component, and a corresponding component may be added to the target service according to a functional requirement of the target service. The number of components added is not limited by the disclosed embodiments. After the creation of the business content is completed, the creative area in the creative making block can be previewed. The created business content can be divided into vertical edition originality and horizontal edition originality according to different demonstration modes at the terminal.
In step S308, in response to the triggering operation on the copy control, the terminal displays instruction information of the target block in the second creation interface, where the instruction information of the target block is used to implement a service function of the target block.
In the embodiment of the disclosure, after the copy control of the target block is triggered, the terminal copies the instruction information of the target block. The instruction information of the target block includes not only the instruction information of the target block itself but also the instruction information of the components added in the target block. The terminal pastes the copied instruction information to the second creation interface and can display the instruction information on the second creation interface. Correspondingly, the process that the terminal displays the instruction information on the second creation interface comprises the following steps: responding to the trigger operation of the copying control, and acquiring instruction information of a target block by the terminal; displaying prompt information in the second creation interface, wherein the prompt information is used for prompting whether the instruction information of the target block is copied to the second creation interface; and responding to the confirmation operation of the prompt message, and displaying the instruction message of the target block on the second creation interface. According to the scheme provided by the embodiment of the disclosure, the instruction information of the target block is copied from the first creation interface to the second creation interface through the copying control, so that when the target page is generated based on the second creation interface, the corresponding service function can be realized in the created target page without rewriting the instruction information for realizing the service function, and further, the efficiency of creating the page is improved.
In some embodiments, the prompt message is displayed in the second creation interface in the form of an information box, the information box comprises a confirm button control and a cancel button control, and the instruction message of the target block is displayed in the second creation interface in response to the trigger operation of the confirm button. And if the cancel button control is triggered, the instruction information of the target block is not displayed in the second creation interface.
It should be noted that, in the process of creating a page, the terminal needs to acquire not only a target block for displaying a service function, but also materials required for implementing the service function displayed by the target block. Responding to the triggering operation of the copying control, and acquiring a source file of the target block by the terminal, wherein the source file comprises materials required for realizing the business function shown by the target block; in response to the confirmation operation of the hint information, the terminal copies the source file to a target path, the target path corresponding to the instruction information of the target block. And in the process that the terminal creates the target page on the second creation interface, based on the corresponding relation between the instruction information of the target block and the target path, the terminal can acquire the corresponding source file through the instruction information of the target block.
In step S309, based on the page generation operation detected in the second creation interface, the terminal displays a target page for implementing a plurality of business functions.
In the embodiment of the disclosure, the terminal detects a page generation operation, generates a target page based on materials in the source file and instruction information of the target block, and displays the generated target page. The target page is created by a plurality of target blocks, and the plurality of target blocks are used for showing different business functions, so that the generated target page can realize a plurality of business functions.
It should be noted that, in order to describe the page creation process more clearly, the page creation process is further described below. FIG. 10 is a schematic diagram illustrating a process for creating a page in accordance with an illustrative embodiment. Referring to fig. 10, a producer in the figure is a developer who creates a tile by editing instruction information of the tile. The producer edits the instruction information on the terminal, and the terminal edits the operation to create the block based on the instruction information. Then the terminal analyzes the block through the abstract syntax tree to obtain a function library which is depended by the business function corresponding to the block; and packaging the block and the function library, and storing the packaged block in a material library. Or the terminal acquires the version information of the block according to the dependence analysis result. The terminal uploads the tile and version information of the tile to the content distribution network.
When a developer creates a page, the developer can acquire a required block from the material library, so that the process of developing the front end locally is realized, and the created page is displayed on a display site. Alternatively, the developer can also obtain the required tiles from the content distribution network. With continued reference to FIG. 10, the consumer is a developer who creates a page by creating a completed tile to create a page that is used to implement a plurality of business functions. The consumer may obtain the required version of the tile from the content distribution network during the creation of the page. The consumer selects the required block, and the plug-in on the terminal can detect the block selected by the consumer. The terminal monitors the copying operation of copying the instruction information of the selected block to the development frame, acquires the version information of the selected block, and acquires the block of the corresponding version from the content distribution network. And the terminal creates a page based on the acquired blocks through the development framework. If the function library which the block of the version depends on exists in the terminal used by the consumer, the dependence is merged, namely the function library of the block of the version is not downloaded. If the function library existing in the terminal used by the consumer is different from the function library depended by the block of the version, the difference dependence is installed, namely the function library with the difference is installed, and the partial terminal can download the block and the function library through the command line interface. The consumer creates a page based on the downloaded tile. The created page can be displayed on a display site after being released and deployed.
It should be noted that, during the process of downloading the tile, the consumer can obtain the version information of the consumer. The terminal judges whether the terminal is compatible with the block or not based on the version of the terminal and the version of the block. If the terminal is compatible with the block, the terminal downloads the block; and if the terminal is not compatible with the block, the terminal displays prompt information. The prompt message is used for prompting that the consumer terminal is incompatible with the block and cannot download the block.
It should be noted that the process of creating the page is not only the process of creating the page by the developer, but also includes a process of designing the page and a process of testing the created page. For example, FIG. 11 is a schematic diagram illustrating another creation page in accordance with an illustrative embodiment. Referring to fig. 11, firstly, a technician designs a target page, and provides a designed interface design draft to a developer, and the developer analyzes different parts of the interface design draft, and for a general service function existing in a service function corresponding to the interface design draft, the developer directly adopts a previously constructed block to create a page without rewriting instruction information corresponding to the service function. And then testing the created page, and detecting whether the created page is consistent with the interface design draft, namely acquiring the reduction degree of the created page. According to the method, in the process of creating the target page, the corresponding business function can be realized in the created target page without rewriting the instruction information for realizing the business function, repeated development is reduced, and the development efficiency of developers can be improved. Because the instruction information corresponding to the general service function is determined, and the contents of the pages created by the instruction information are the same, the contents of the pages corresponding to the general service function can be considered to be unified in advance, and therefore the design efficiency of the pages can be improved.
According to the scheme provided by the embodiment of the disclosure, in the process of creating the target page, only the block corresponding to the required service function needs to be added to the first creation interface, the instruction information for realizing the service function can be copied to the second creation interface, so that the corresponding service function can be realized in the created target page without rewriting the instruction information for realizing the service function in the second creation interface, and further the efficiency of creating the page is improved.
All the above optional technical solutions may be combined arbitrarily to form the optional embodiments of the present disclosure, and are not described herein again.
FIG. 12 is a block diagram illustrating a page creation apparatus according to an example embodiment. Referring to fig. 12, the apparatus includes:
a first display unit 1201 configured to perform displaying a first creation interface and a second creation interface, the first creation interface being used to set a business function of a target page to be created, the second creation interface being used to edit instruction information of the target page, the instruction information being used to implement the business function of the target page;
a second display unit 1202 configured to perform a function addition operation based on detection in the first creation interface, displaying a plurality of blocks in the first creation interface, the blocks being used to expose business functions;
a third display unit 1203 configured to perform instruction copying operation detected in the first creation interface, and display instruction information of a target block indicated by the instruction copying operation in the second creation interface, where the instruction information of the target block is used for implementing a business function of the target block;
a fourth display unit 1204 configured to perform a page generation operation based on the page detected in the second creation interface, and display a target page for implementing a plurality of business functions.
According to the device provided by the embodiment of the disclosure, in the process of creating the target page, only the block corresponding to the required service function needs to be added to the first creation interface, and the instruction information for realizing the service function can be copied to the second creation interface, so that the corresponding service function can be realized in the created target page without rewriting the instruction information for realizing the service function in the second creation interface, and further, the efficiency of creating the page is improved.
In some embodiments, FIG. 13 is a block diagram illustrating another page creation apparatus, according to an example embodiment. Referring to fig. 13, the second display unit 1202 includes:
a first display subunit 1301 configured to perform, in response to a trigger operation on a tile control in a first creation interface, a tile page in a content display area of the first creation interface, where the tile page displays a plurality of tiles to be added;
a second display sub-unit 1302, configured to perform, in response to an adding operation to at least one tile, displaying a preview page in the content display area of the first creation interface, where the preview page displays a plurality of added tiles.
In some embodiments, the apparatus further comprises:
a fifth display unit 1205 configured to execute, for any block displayed in the first creation interface, in response to a triggering operation on a component control in the first creation interface in a case where the block is selected, displaying a component page in a content display area of the first creation interface, where the component page displays a plurality of components to be added, and the components are used for implementing sub-functions in business functions;
a sixth display unit 1206 configured to perform displaying at least one component in the section in response to an adding operation of the at least one component, adding instruction information of the at least one component in the instruction information of the section.
In some embodiments, the apparatus further comprises:
a first updating unit 1207, configured to perform, for any block, updating a position of any component displayed in the block in response to a moving operation on the component in the block, and updating a position of instruction information of the component in the instruction information of the block; alternatively, the first and second electrodes may be,
a deleting unit 1208 configured to perform, in response to a deleting operation on any component in the block, removing the component from the block, and deleting the instruction information of the component from the instruction information of the block; alternatively, the first and second electrodes may be,
a modifying unit 1209, configured to perform, in response to a modifying operation on any component in the block, according to the modifying operation, correspondingly modifying instruction information of the component in the instruction information of the block.
In some embodiments, the third display unit 1203 includes:
a setting subunit 1303 configured to perform, in response to a trigger operation on the tile marking control in the first creation interface, setting the plurality of tiles to a selectable state;
a third display subunit 1304, configured to execute, in response to a selection operation on at least one tile, displaying a copy control of the selected target tile in the first creation interface;
a fourth display subunit 1305, configured to execute, in response to a triggering operation on the copy control, displaying instruction information of the target tile in the second creation interface.
In some embodiments, the fourth display subunit 1305 is configured to execute, in response to a triggering operation on the copy control, acquiring instruction information of the target block; displaying prompt information in the second creation interface, wherein the prompt information is used for prompting whether the instruction information of the target block is copied to the second creation interface; and responding to the confirmation operation of the prompt message, and displaying the instruction message of the target block on the second creation interface.
In some embodiments, the apparatus further comprises:
a first obtaining unit 1210, configured to perform, in response to the operation triggered to the copy control, obtaining a source file of the target block, where the source file includes materials required for implementing the business function shown in the target block;
a copying unit 1211 configured to perform copying of the source file to a target path in response to a confirmation operation of the hint information, the target path corresponding to the instruction information of the target block.
In some embodiments, the apparatus further comprises:
a seventh display unit 1212 configured to execute a tile detail control for displaying the target tile in the first creation interface;
an eighth display unit 1213 configured to perform displaying of information of the application program interface of the target tile in response to the triggering operation of the tile detail control.
In some embodiments, the apparatus further comprises:
a ninth display unit 1214 configured to execute a hierarchical display region in the first creation interface, and display a plurality of page hierarchy controls for editing pages of different hierarchies;
a tenth display unit 1215 configured to perform displaying the plurality of blocks of the target page in the content display area of the first creation interface in response to a triggering operation on the page level control of the target page.
In some embodiments, the apparatus further comprises:
a creating unit 1216 configured to perform an instruction-based editing operation, creating a block;
a second obtaining unit 1217, configured to perform dependency analysis on the block, and obtain a function library that is dependent on implementing a service function corresponding to the block;
and an encapsulating unit 1218, configured to perform encapsulating the block and the function library, wherein the encapsulated block is used for being added to the first creation interface.
In some embodiments, the apparatus further comprises:
a building unit 1219 configured to execute building a source file based on the material corresponding to the block;
the establishing unit 1220 is configured to perform establishing a corresponding relationship between the block and the source file.
In some embodiments, the apparatus further comprises:
a second updating unit 1221 configured to perform an instruction-based editing operation to update the block;
a third updating unit 1222 configured to perform updating of version information of the block based on the updated block;
an uploading unit 1223 configured to perform uploading of the updated chunk and the updated version information.
According to the device provided by the embodiment of the disclosure, in the process of creating the target page, only the block corresponding to the required service function needs to be added to the first creation interface, and the instruction information for realizing the service function can be copied to the second creation interface, so that the corresponding service function can be realized in the created target page without rewriting the instruction information for realizing the service function in the second creation interface, and further, the efficiency of creating the page is improved.
It should be noted that, when the apparatus provided in the foregoing embodiment creates a page, the division of each functional unit is exemplified, and in practical applications, the above function distribution may be performed by different functional units according to needs, that is, the internal structure of the electronic device is divided into different functional units to perform all or part of the functions described above. In addition, the page creation apparatus and the page creation method provided by the above embodiments belong to the same concept, and details of the implementation process are given in the method embodiments and are not described herein again.
With regard to the apparatus in the above-described embodiment, the manner in which the respective units perform operations has been described in the embodiment related to the method, and will not be explained here.
When the electronic device is provided as a terminal, fig. 14 is a block diagram of a terminal 1400 shown according to an example embodiment. The terminal fig. 14 shows a block diagram of a terminal 1400 provided in an exemplary embodiment of the present disclosure. The terminal 1400 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 4), a notebook computer or a desktop computer. Terminal 1400 can also be referred to as user equipment, a portable terminal, a laptop terminal, a desktop terminal, or other names.
In general, terminal 1400 includes: a processor 1401, and a memory 1402.
Processor 1401 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so forth. The processor 1401 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). Processor 1401 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also referred to as a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 1401 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing content that the display screen needs to display. In some embodiments, processor 1401 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
Memory 1402 may include one or more computer-readable storage media, which may be non-transitory. Memory 1402 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 1402 is used to store at least one program code for execution by processor 1401 to implement the page creation method provided by method embodiments in the present disclosure.
In some embodiments, terminal 1400 may further optionally include: a peripheral device interface 1403 and at least one peripheral device. The processor 1401, the memory 1402, and the peripheral device interface 1403 may be connected by buses or signal lines. Each peripheral device may be connected to the peripheral device interface 1403 via a bus, signal line, or circuit board. The peripheral device includes: at least one of radio frequency circuitry 1404, a display 1405, a camera assembly 1406, audio circuitry 1407, a positioning assembly 1408, and a power supply 1409.
The peripheral device interface 1403 may be used to connect at least one peripheral device associated with I/O (Input/Output) to the processor 1401 and the memory 1402. In some embodiments, the processor 1401, memory 1402, and peripheral interface 1403 are integrated on the same chip or circuit board; in some other embodiments, any one or both of the processor 1401, the memory 1402, and the peripheral device interface 1403 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 1404 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 1404 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 1404 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1404 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuit 1404 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the radio frequency circuit 1404 may also include NFC (Near Field Communication) related circuits, which are not limited by this disclosure.
The display screen 1405 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 1405 is a touch display screen, the display screen 1405 also has the ability to capture touch signals at or above the surface of the display screen 1405. The touch signal may be input to the processor 1401 for processing as a control signal. At this point, the display 1405 may also be used to provide virtual buttons and/or virtual keyboards, also referred to as soft buttons and/or soft keyboards. In some embodiments, the display 1405 may be one, providing the front panel of the terminal 1400; in other embodiments, display 1405 may be at least two, respectively disposed on different surfaces of terminal 1400 or in a folded design; in still other embodiments, display 1405 may be a flexible display disposed on a curved surface or on a folded surface of terminal 1400. Even more, the display 1405 may be arranged in a non-rectangular irregular pattern, i.e., a shaped screen. The Display 1405 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), or other materials.
The camera assembly 1406 is used to capture images or video. Optionally, camera assembly 1406 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 1406 may also include a flash. The flash lamp can be a single-color temperature flash lamp or a double-color temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuit 1407 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 1401 for processing or inputting the electric signals to the radio frequency circuit 1404 to realize voice communication. The microphones may be provided in a plurality, respectively, at different portions of the terminal 1400 for the purpose of stereo sound collection or noise reduction. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 1401 or the radio frequency circuit 1404 into sound waves. The loudspeaker can be a traditional film loudspeaker and can also be a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuit 1407 may also include a headphone jack.
The positioning component 1408 serves to locate the current geographic Location of the terminal 1400 for navigation or LBS (Location Based Service). The Positioning component 1408 may be a Positioning component based on the united states GPS (Global Positioning System), the chinese beidou System, the russian graves System, or the european union galileo System.
Power supply 1409 is used to power the various components of terminal 1400. The power source 1409 may be alternating current, direct current, disposable or rechargeable. When the power source 1409 comprises a rechargeable battery, the rechargeable battery can support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, terminal 1400 also includes one or more sensors 1140. The one or more sensors 1140 include, but are not limited to: acceleration sensor 1411, gyroscope sensor 1412, pressure sensor 1413, fingerprint sensor 1414, optical sensor 1415, and proximity sensor 1416.
The acceleration sensor 1411 may detect the magnitude of acceleration in three coordinate axes of a coordinate system established with the terminal 1400. For example, the acceleration sensor 1411 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 1401 can control the display 1405 to display a user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 1411. The acceleration sensor 1411 may also be used for the acquisition of motion data of a game or a user.
The gyro sensor 1412 may detect a body direction and a rotation angle of the terminal 1400, and the gyro sensor 1412 and the acceleration sensor 1411 may cooperate to collect a 3D motion of the user on the terminal 1400. The processor 1401 can implement the following functions according to the data collected by the gyroscope sensor 1412: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
Pressure sensors 1413 may be disposed on the side frames of terminal 1400 and/or underlying display 1405. When the pressure sensor 1413 is disposed on the side frame of the terminal 1400, the user's holding signal of the terminal 1400 can be detected, and the processor 1401 performs left-right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 1413. When the pressure sensor 1413 is disposed at the lower layer of the display screen 1405, the processor 1401 controls the operability control on the UI interface according to the pressure operation of the user on the display screen 1405. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 1414 is used for collecting a fingerprint of a user, and the processor 1401 identifies the user according to the fingerprint collected by the fingerprint sensor 1414, or the fingerprint sensor 1414 identifies the user according to the collected fingerprint. Upon recognizing that the user's identity is a trusted identity, processor 1401 authorizes the user to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying for, and changing settings, etc. Fingerprint sensor 1414 may be disposed on the front, back, or side of terminal 1400. When a physical button or vendor Logo is provided on terminal 1400, fingerprint sensor 1414 may be integrated with the physical button or vendor Logo.
The optical sensor 1415 is used to collect ambient light intensity. In one embodiment, processor 1401 may control the display brightness of display 1405 based on the ambient light intensity collected by optical sensor 1415. When the ambient light intensity is higher, the display brightness of the display screen 1405 is increased; when the ambient light intensity is low, the display brightness of the display screen 1405 is reduced. In another embodiment, the processor 1401 can also dynamically adjust the shooting parameters of the camera assembly 1406 according to the intensity of the ambient light collected by the optical sensor 1415.
Proximity sensor 1416, also known as a distance sensor, is typically disposed on the front panel of terminal 1400. The proximity sensor 1416 is used to collect the distance between the user and the front surface of the terminal 1400. In one embodiment, when proximity sensor 1416 detects that the distance between the user and the front face of terminal 1400 is gradually decreased, processor 1401 controls display 1405 to switch from a bright screen state to a dark screen state; when proximity sensor 1416 detects that the distance between the user and the front face of terminal 1400 is gradually increasing, display 1405 is controlled by processor 1401 to switch from the sniff state to the brighten state.
Those skilled in the art will appreciate that the configuration shown in fig. 14 is not intended to be limiting with respect to terminal 1400 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be employed.
When the electronic device is provided as a server, fig. 15 is a block diagram of a server 1500 according to an exemplary embodiment, where the server 1500 may generate a large difference due to different configurations or performances, and may include one or more processors (CPUs) 1501 and one or more memories 1502, where the memory 802 stores at least one program code, and the at least one program code is loaded and executed by the processors 1501 to implement the page creation methods provided by the above-described method embodiments. Of course, the server may also have components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input/output, and the server 1500 may also include other components for implementing the functions of the device, which are not described herein again.
In an exemplary embodiment, a computer readable storage medium comprising instructions, such as memory 1402 or memory 1502 comprising instructions executable by processor 1401 of terminal 1400 or processor 1501 of server 1500 to perform the above-described method is also provided. Alternatively, the computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A computer program product comprising a computer program/instructions which, when executed by a processor, implements the above-described page creation method.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice in the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited by the appended claims.

Claims (10)

1. A method for creating a page, the method comprising:
displaying a first creation interface and a second creation interface, wherein the first creation interface is used for setting a business function of a target page to be created, the second creation interface is used for editing instruction information of the target page, and the instruction information is used for realizing the business function of the target page;
displaying a plurality of blocks in the first creation interface based on the function adding operation detected in the first creation interface, wherein the blocks are used for showing business functions;
based on the instruction copying operation detected in the first creation interface, displaying instruction information of a target block indicated by the instruction copying operation in the second creation interface, wherein the instruction information of the target block is used for realizing a service function of the target block;
and displaying the target page based on the page generation operation detected in the second creation interface, wherein the target page is used for realizing a plurality of service functions.
2. The page creating method according to claim 1, wherein said displaying a plurality of blocks in the first creating interface based on the function adding operation detected in the first creating interface comprises:
in response to a triggering operation of a block control in the first creation interface, displaying a block page in a content display area of the first creation interface, wherein the block page displays a plurality of blocks to be added;
in response to the adding operation of at least one block, displaying a preview page in a content display area of the first creation interface, wherein the preview page displays the plurality of added blocks.
3. The page creation method of claim 1, wherein the method further comprises:
for any block displayed in the first creation interface, under the condition that the block is selected, in response to a triggering operation of a component control in the first creation interface, displaying a component page in a content display area of the first creation interface, wherein the component page displays a plurality of components to be added, and the components are used for realizing sub-functions in business functions;
in response to an adding operation of at least one component, displaying the at least one component in the block, and adding instruction information of the at least one component in the instruction information of the block.
4. The page creation method of claim 3, wherein the method further comprises:
for any block, in response to a moving operation on any component in the block, updating the position of the component displayed in the block, and updating the position of the instruction information of the component in the instruction information of the block; alternatively, the first and second electrodes may be,
in response to a deletion operation on any component in the block, removing the component from the block, and deleting the instruction information of the component from the instruction information of the block; alternatively, the first and second electrodes may be,
responding to a modification operation on any component in the block, and correspondingly modifying the instruction information of the component in the instruction information of the block according to the modification operation.
5. The page creating method according to any one of claims 1 to 4, wherein displaying, in the second creating interface, instruction information of a target block indicated by the instruction copying operation based on the instruction copying operation detected in the first creating interface includes:
setting the plurality of blocks to be in a selectable state in response to a triggering operation of a block marking control in the first creation interface;
in response to the selection operation of at least one block, displaying a copy control of the selected target block in the first creation interface;
and responding to the triggering operation of the copying control, and displaying the instruction information of the target block in the second creation interface.
6. The page creating method according to claim 5, wherein the displaying instruction information of the target block in the second creating interface in response to the triggering operation of the copy control includes:
responding to the trigger operation of the copy control, and acquiring instruction information of the target block;
displaying prompt information in the second creation interface, wherein the prompt information is used for prompting whether the instruction information of the target block is copied to the second creation interface;
and responding to the confirmation operation of the prompt message, and displaying the instruction message of the target block on the second creation interface.
7. An apparatus for creating a page, the apparatus comprising:
the system comprises a first display unit and a second display unit, wherein the first display unit is configured to execute and display a first creation interface and a second creation interface, the first creation interface is used for setting the business function of a target page to be created, the second creation interface is used for editing instruction information of the target page, and the instruction information is used for realizing the business function of the target page;
a second display unit configured to perform a function addition operation based on detection in the first creation interface, and display a plurality of blocks in the first creation interface, the blocks being used to expose business functions;
a third display unit configured to execute instruction copying operation detected in the first creation interface, and display instruction information of a target block indicated by the instruction copying operation in the second creation interface, wherein the instruction information of the target block is used for realizing a business function of the target block;
a fourth display unit configured to perform a page generation operation based on the detection in the second creation interface, and display the target page, where the target page is used to implement a plurality of business functions.
8. An electronic device, characterized in that the electronic device comprises:
one or more processors;
a memory for storing the processor executable program code;
wherein the processor is configured to execute the program code to implement the page creation method of any of claims 1 to 6.
9. A computer-readable storage medium, wherein instructions in the computer-readable storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the page creation method of any of claims 1 to 6.
10. A computer program product comprising a computer program, characterized in that the computer program realizes the page creation method of any of claims 1 to 6 when executed by a processor.
CN202210472999.4A 2022-04-29 2022-04-29 Page creating method and device, electronic equipment and storage medium Pending CN114911478A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210472999.4A CN114911478A (en) 2022-04-29 2022-04-29 Page creating method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210472999.4A CN114911478A (en) 2022-04-29 2022-04-29 Page creating method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114911478A true CN114911478A (en) 2022-08-16

Family

ID=82764742

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210472999.4A Pending CN114911478A (en) 2022-04-29 2022-04-29 Page creating method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114911478A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116069436A (en) * 2023-03-17 2023-05-05 阿里巴巴达摩院(杭州)科技有限公司 Remote sensing image processing method, electronic equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100125829A1 (en) * 2008-11-20 2010-05-20 Nhn Corporation Component-based web application development framework used for creating web page
US20140052617A1 (en) * 2011-12-13 2014-02-20 Visa International Service Association Payment platform interface widget generation apparatuses, methods and systems
JP2016170661A (en) * 2015-03-13 2016-09-23 キヤノン株式会社 Information processing system, server device, information processing device, control method and program
KR20170127320A (en) * 2016-05-11 2017-11-21 쿠팡 주식회사 Apparatus, method of generating web page, and computer readable recoding medium and for executing the method
CN107992301A (en) * 2017-11-27 2018-05-04 腾讯科技(上海)有限公司 User interface implementation method, client and storage medium
CN111443911A (en) * 2020-03-24 2020-07-24 五八有限公司 Page development method and device, electronic equipment and computer storage medium
CN113535164A (en) * 2021-06-11 2021-10-22 中电金信软件有限公司 Front-end interface generation method and device, electronic equipment and storage medium
CN113918252A (en) * 2021-09-22 2022-01-11 北京三快在线科技有限公司 Interface display method and device, computer equipment and storage medium
CN114115844A (en) * 2021-11-16 2022-03-01 招联消费金融有限公司 Page generation method and device, computer equipment and storage medium
CN114253436A (en) * 2020-09-11 2022-03-29 腾讯科技(深圳)有限公司 Page display method and device and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100125829A1 (en) * 2008-11-20 2010-05-20 Nhn Corporation Component-based web application development framework used for creating web page
US20140052617A1 (en) * 2011-12-13 2014-02-20 Visa International Service Association Payment platform interface widget generation apparatuses, methods and systems
JP2016170661A (en) * 2015-03-13 2016-09-23 キヤノン株式会社 Information processing system, server device, information processing device, control method and program
KR20170127320A (en) * 2016-05-11 2017-11-21 쿠팡 주식회사 Apparatus, method of generating web page, and computer readable recoding medium and for executing the method
CN107992301A (en) * 2017-11-27 2018-05-04 腾讯科技(上海)有限公司 User interface implementation method, client and storage medium
CN111443911A (en) * 2020-03-24 2020-07-24 五八有限公司 Page development method and device, electronic equipment and computer storage medium
CN114253436A (en) * 2020-09-11 2022-03-29 腾讯科技(深圳)有限公司 Page display method and device and storage medium
CN113535164A (en) * 2021-06-11 2021-10-22 中电金信软件有限公司 Front-end interface generation method and device, electronic equipment and storage medium
CN113918252A (en) * 2021-09-22 2022-01-11 北京三快在线科技有限公司 Interface display method and device, computer equipment and storage medium
CN114115844A (en) * 2021-11-16 2022-03-01 招联消费金融有限公司 Page generation method and device, computer equipment and storage medium

Non-Patent Citations (8)

* Cited by examiner, † Cited by third party
Title
AMOLDUS JANSSEN KRISMA PAMBUDI等: "Development of low-cost reflow oven for SMT assembly", 《2017 INTERNATIONAL SYMPOSIUM ON ELECTRONICS AND SMART DEVICES (ISESD)》, 19 October 2017 (2017-10-19), pages 51 - 56, XP033296013, DOI: 10.1109/ISESD.2017.8253304 *
LEOMYILI: "页面搭建工具总结及架构思考", pages 1 - 8, Retrieved from the Internet <URL:https://www.cnblogs.com/leomYili/p/10176228.html> *
刘茜: "基于MVC设计模式的ThinkPHP的CMF研究与实现", 《中国优秀硕士学位论文全文数据库(信息科技辑)》, no. 07, 15 July 2020 (2020-07-15), pages 138 - 272 *
南城夏季: "页面间同步状态一般都有哪些方案,跨页面通信", pages 1 - 4, Retrieved from the Internet <URL:https://blog.csdn.net/weixin_39818813/article/details/122111008> *
张海英: "支持Web应用用户界面自动生成的界面表示模型", 《中国优秀硕士学位论文全文数据库(信息科技辑)》, no. 08, 15 August 2005 (2005-08-15), pages 139 - 171 *
张磊: "青岛外运公司网上服务系统的设计与实现", 《中国优秀硕士学位论文全文数据库(信息科技辑)》, no. 04, 15 April 2016 (2016-04-15), pages 138 - 395 *
梁思秋: "基于Robot Framework的MVC GUI模块自动化测试框架的设计与实现", 《中国优秀硕士学位论文全文数据库(信息科技辑)》, no. 12, 15 December 2015 (2015-12-15), pages 138 - 115 *
邓顺: ""两客一危"车辆的监控管理系统设计", 《中国优秀硕士学位论文全文数据库(信息科技辑)》, no. 04, 15 April 2018 (2018-04-15), pages 140 - 935 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116069436A (en) * 2023-03-17 2023-05-05 阿里巴巴达摩院(杭州)科技有限公司 Remote sensing image processing method, electronic equipment and storage medium
CN116069436B (en) * 2023-03-17 2023-07-21 阿里巴巴达摩院(杭州)科技有限公司 Remote sensing image processing method, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US11538501B2 (en) Method for generating video, and electronic device and readable storage medium thereof
CN111240673B (en) Interactive graphic work generation method, device, terminal and storage medium
CN107885533B (en) Method and device for managing component codes
WO2022083241A1 (en) Information guide method and apparatus
CN108959361B (en) Form management method and device
CN112230914B (en) Method, device, terminal and storage medium for producing small program
CN112181576A (en) Form processing method, device, terminal and storage medium
CN111191176B (en) Website content updating method, device, terminal and storage medium
CN114546227B (en) Virtual lens control method, device, computer equipment and medium
CN111290948A (en) Test data acquisition method and device, computer equipment and readable storage medium
CN112363660B (en) Method and device for determining cover image, electronic equipment and storage medium
CN111459466B (en) Code generation method, device, equipment and storage medium
CN110543350A (en) Method and device for generating page component
CN111737100A (en) Data acquisition method, device, equipment and storage medium
CN113467663B (en) Interface configuration method, device, computer equipment and medium
CN112230907A (en) Program generation method, device, terminal and storage medium
CN114911478A (en) Page creating method and device, electronic equipment and storage medium
CN112230910B (en) Page generation method, device and equipment of embedded program and storage medium
CN113190307A (en) Control adding method, device, equipment and storage medium
CN115562529A (en) Visual point burying method and device, terminal and storage medium
CN114100121A (en) Operation control method, device, equipment, storage medium and computer program product
CN113538633A (en) Animation playing method and device, electronic equipment and computer readable storage medium
CN112783533A (en) Version information updating method, version information updating device, terminal and storage medium
CN114138250A (en) Method, device and equipment for generating steps of system case and storage medium
CN112231619A (en) Conversion method, conversion device, electronic equipment and storage medium

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