WO2023016264A1 - Page generation method and apparatus - Google Patents

Page generation method and apparatus Download PDF

Info

Publication number
WO2023016264A1
WO2023016264A1 PCT/CN2022/108496 CN2022108496W WO2023016264A1 WO 2023016264 A1 WO2023016264 A1 WO 2023016264A1 CN 2022108496 W CN2022108496 W CN 2022108496W WO 2023016264 A1 WO2023016264 A1 WO 2023016264A1
Authority
WO
WIPO (PCT)
Prior art keywords
component
page
target
response
components
Prior art date
Application number
PCT/CN2022/108496
Other languages
French (fr)
Chinese (zh)
Inventor
魏小红
魏小波
李文娟
柴栋
雷一鸣
王洪
Original Assignee
京东方科技集团股份有限公司
北京中祥英科技有限公司
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 京东方科技集团股份有限公司, 北京中祥英科技有限公司 filed Critical 京东方科技集团股份有限公司
Publication of WO2023016264A1 publication Critical patent/WO2023016264A1/en

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
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • 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

Definitions

  • the present disclosure relates to the technical field of front-end engineering, in particular to a method and device for generating a page.
  • a method for generating a page is provided, and the method is applied to an electronic device.
  • the page generating method may include: the page generating device displays an initial page in response to the operation of creating the page, and the initial page includes an area to be edited; in response to an operation of selecting a target component in the component library, displaying the target to be edited in the area to be edited A component; in response to an edit operation of the target component to be edited, obtain component information, display the edited target component on the initial page according to the component information, and generate an edited target page.
  • the component information includes at least one of the following: attribute information and component data, the attribute information includes style information of the target component, and the component data includes data filled in the target component.
  • the area to be edited refers to the area on the page for users to edit components. Users can add components in the area to be edited according to their own needs to build rich page content.
  • the inherent header components, bottom components and areas to be edited can be displayed first, and then the components in the configured component library can be reused, and the edited components can be displayed in response to the user's editing operation on the components.
  • each component is connected in series by configuring the component library in advance to form a pluggable workflow, which can quickly respond to changes in component requirements and has a high degree of personalization.
  • the page generating method may further include: the page generating device displays the name of the target directory in response to the operation of creating the directory.
  • the above-mentioned displaying an initial page in response to the operation of creating a page may specifically include: the page generating device responding to the operation of adding a new page in the target directory, and displaying the initial page, where the initial page is a functional page in the target directory.
  • the initial page may further include: a fixed component area.
  • the page generating method may further include: the page generating means constructing the fixed component areas of the plurality of pages in response to the operation of establishing the fixed component areas. Wherein, the fixed component areas of multiple pages are the same.
  • the page generating means updates corresponding components in the fixed component area included in the plurality of pages in response to an editing operation on the components in the fixed component area.
  • the above multiple pages may be multiple pages in the website.
  • the plurality of pages may be all pages in the website, and in this case, all pages include the above-mentioned target page.
  • the multiple pages may be some pages in a pre-configured website, and may be pre-configured according to scenario requirements.
  • the components in the fixed component area edited by the user may be components in any page in the application program. In an embodiment, the components in the fixed component area edited by the user may be components in the head page or the bottom page.
  • the components in the fixed component area may include at least one of the following: a head component, a bottom component.
  • the header component refers to the top part of the page, usually including titles, icons, etc.
  • Bottom components are located at the bottom of the page and can usually include QR codes, addresses, etc.
  • the page generating method may further include: the page generating device displays the name of the target directory on the target page in response to the user's setting operation on the target directory.
  • the electronic device can display the names of multiple pages included in the target directory on the target page in response to the user's confirmation operation. In this way, it is realized that the content on the page changes accordingly according to the settings.
  • the page generating method may further include: the page generating device displays the names of multiple pages included in the target directory on the target page in response to the user's confirmation operation on the name of the target directory displayed on the target page.
  • the above-mentioned multiple pages may be all pages included in the target directory, and in this case, all pages include the above-mentioned target page.
  • the above multiple pages may be some pages included in the target directory, and may be pre-configured according to actual scene requirements.
  • the plurality of pages may be already online pages under the target directory.
  • the plurality of pages may be pages whose names can be displayed after the navigation function has been selected under the target directory.
  • the plurality of pages may be pre-configured pages.
  • the embodiment of the present disclosure does not limit multiple pages here.
  • the page generating method may further include: the page generating device acquires page information of the target page in response to an editing operation on the target page, and updates and displays the target page.
  • the page information includes at least one of the following: a thumbnail of the target page, a page address, a page label, and description information.
  • the above-mentioned updating and displaying the target page in response to the editing operation on the target page may specifically include: the page generation device responds to an adjustment operation on the target component of the target page, updating and displaying the target component in the target page, adjusting The operation includes at least one of the following: a copy operation, a delete operation, a move operation, and a hide operation.
  • the original data of the target component is stored in a preset format.
  • the above-mentioned acquisition of component information, and displaying the edited target component on the target page according to the component information may specifically include: the page generation device listens to the component through the display of the electronic device Information, and transmit the monitored component information to the background processing module; through the background processing module, modify the original data in the preset format according to the component information; render the target page according to the modified original data.
  • the page generation method may further include: the page generation device obtains M components, where M is an integer greater than 1; obtains the type and component data of each component in the M components, and the type includes At least one of the following: text component, picture component, video component, graphic component, table component; according to the type and component data of each component, use the pre-stored classification rules to classify M components to obtain at least one component set; For each component set in at least one component set, the target component corresponding to each component set is obtained and stored in the component library.
  • the components included in the component library are shared components extracted from existing components, rather than randomly obtained, which is conducive to the rapid output of subsequent pages and reduces the number of components that users do not want to use in the component library. possibility.
  • the existing component classification and extraction process can be carried out periodically to ensure the scalability of the component library.
  • the M components are classified using pre-stored classification rules to obtain at least one component set.
  • the page generation device classifies the same type, Components with similar content are identified as a set of components.
  • the aforementioned determination of components of the same type and similar component content as a set of components may specifically include: if the type of the component is a picture component or a video component, then determining the component whose component data corresponds to a local address as a component Set, the component data corresponding to the network address is determined as a component set; if the component type is a text component, then the components with the same text style in the component data are determined as a component set; if the component type is a graphic component, Then, the components with the same graphic and text structure in the component data are determined as a set of components.
  • the page generation method may further include: the page generation device obtains M components, where M is an integer greater than 1; obtains the type and component data of each component in the M components, and the type includes At least one of the following: text component, picture component, video component, graphic component, table component; according to the type and component data of each component, use the pre-stored classification rules to classify M components to obtain at least one component set; For each component set in at least one component set, the target component corresponding to each component set is obtained and stored in the component library.
  • a page generating device configured to display an initial page in response to an operation of creating a page, and the initial page includes an area to be edited; in response to an operation of selecting a target component in the component library, display the to-be-edited area in the area to be edited A target component; an acquisition unit configured to acquire component information in response to an editing operation on the target component to be edited displayed by the display unit; wherein the component information includes at least one of the following: attribute information, component data, and the attribute information includes the target component
  • the component data includes the data filled in the target component
  • the display unit is also used to display the edited target component on the initial page according to the component information acquired by the acquisition unit; the generation unit is used to generate the edited target page.
  • the display unit is further configured to display the name of the target directory in response to the operation of creating the directory.
  • the display unit is specifically configured to: display an initial page in response to an operation of adding a new page under the target directory, where the initial page is a functional page under the target directory.
  • the initial page may further include: a fixed component area
  • the page generating apparatus may further include: an updating unit.
  • the generating unit is further configured to construct the fixed component areas of multiple pages in response to the operation of establishing the fixed component areas, and the fixed component areas of the multiple pages are the same.
  • An updating unit configured to update corresponding components in the fixed component area included in the plurality of pages in response to an editing operation on the components in the fixed component area.
  • the components in the fixed component area may include at least one of: a head component, a bottom component.
  • the display unit is further configured to display the name of the target directory on the target page in response to a setting operation on the target directory.
  • the display unit is further configured to, in response to a confirmation operation on the name of the target directory displayed on the target page, display names of multiple pages included in the target directory on the target page.
  • the obtaining unit is further configured to obtain page information of the target page in response to an editing operation on the target page;
  • the page information includes at least one of the following: a thumbnail of the target page, a page address, a page label, and description information ;
  • the display unit is further configured to update and display the target page in response to an editing operation on the target page.
  • the display unit is specifically configured to: update and display the target component in the target page in response to an adjustment operation on the target component of the target page, and the adjustment operation includes at least one of the following: copy operation, delete operation, move operation , Hide operation.
  • the original data of the target component is stored in a preset format
  • the display unit is specifically used to: monitor the component information through the display of the electronic device, and transmit the monitored component information to the background processing module; Module, modify the original data in the preset format according to the component information; render the target page according to the modified original data.
  • the page generation device further includes: a classification unit.
  • the obtaining unit is also used to obtain M components, where M is an integer greater than 1; obtain the type and component data of each component in the M components, and the type includes at least one of the following: text component, picture component, video component, graphic text Components, table components.
  • the classification unit is configured to classify the M components by using pre-stored classification rules according to the type and component data of each component acquired by the acquisition unit, to obtain at least one component set.
  • the generating unit is further configured to obtain, according to each component set in at least one component set, the target component corresponding to each component set and store it in the component library.
  • the display unit is specifically configured to: update and display the target component in the target page in response to an adjustment operation on the target component of the target page, and the adjustment operation includes at least one of the following: copy operation, delete operation, move operation , Hide operation.
  • the classification unit is specifically configured to: determine components of the same type and similar component content as a component set according to classification rules.
  • the classification unit is specifically configured to: if the type of the component is a picture component or a video component, then determine the component whose component data corresponds to the local address as a component set, and determine the component whose component data corresponds to the network address as a component Component collection; if the type of the component is a text component, then determine the components with the same text style in the component data as a component collection; if the type of the component is a graphic component, then determine the components with the same graphic structure in the component data as A collection of components.
  • a page generation device in yet another aspect, includes: a processor and a memory.
  • the memory is used to store computer program codes, and the computer program codes include computer instructions; when the processor executes the computer instructions, the page generation device executes one or more steps in the page generation method according to any of the above embodiments.
  • a computer readable storage medium stores computer program instructions.
  • the page generation device executes one or more steps in the page generation method according to any of the above embodiments.
  • a computer program product includes computer program instructions, and when the computer program instructions are executed on the page generation device, the computer program instructions cause the page generation device to perform one or more steps in the page generation method of any of the above embodiments .
  • a computer program When the computer program is executed on the page generating device, the computer program causes the page generating device to execute one or more steps in the page generating method described in any of the above embodiments.
  • Fig. 1 is a structural diagram of a page generation device according to some embodiments.
  • FIG. 2 is a flowchart of a page generation method according to some embodiments.
  • Figure 3 is a structural diagram of page composition of an application program according to some embodiments.
  • Figure 4A is a schematic diagram of a schema edit page according to some embodiments.
  • Figure 4B is a schematic diagram of a website architecture page according to some embodiments.
  • Fig. 4C is a schematic diagram of setting a new page according to some embodiments.
  • Fig. 4D is a schematic diagram of setting a new directory according to some embodiments.
  • Figure 4E is a schematic diagram of configuration controls for a catalog, according to some embodiments.
  • Figure 4F is a schematic diagram of a configuration control of a page according to some embodiments.
  • Figure 5A is a schematic diagram of a component library page according to some embodiments.
  • Figure 5B is a schematic diagram of an initial page according to some embodiments.
  • Fig. 5C is a schematic diagram of setting attribute information and component data according to some embodiments.
  • Fig. 5D is a schematic diagram of setting an outer frame of a component according to some embodiments.
  • Fig. 5E is a schematic diagram of editing a target page according to some embodiments.
  • Figure 6 is a schematic diagram of M components according to some embodiments.
  • Fig. 7 is one of compositional diagrams of a page generation device according to some embodiments.
  • Fig. 8 is the second composition diagram of a page generation device according to some embodiments.
  • first and second are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance or implicitly specifying the quantity of indicated technical features. Thus, a feature defined as “first” and “second” may explicitly or implicitly include one or more of these features. In the description of the embodiments of the present disclosure, unless otherwise specified, "plurality” means two or more.
  • At least one of A, B and C has the same meaning as “at least one of A, B or C” and both include the following combinations of A, B and C: A only, B only, C only, A and B A combination of A and C, a combination of B and C, and a combination of A, B and C.
  • a and/or B includes the following three combinations: A only, B only, and a combination of A and B.
  • the term “if” is optionally interpreted to mean “when” or “at” or “in response to determining” or “in response to detecting,” depending on the context.
  • the phrases “if it is determined that " or “if [the stated condition or event] is detected” are optionally construed to mean “when determining ! or “in response to determining ! depending on the context Or “upon detection of [stated condition or event]” or “in response to detection of [stated condition or event]”.
  • Exemplary embodiments are described herein with reference to cross-sectional and/or plan views that are idealized exemplary drawings.
  • the thickness of layers and regions are exaggerated for clarity. Accordingly, variations in shape from the drawings as a result, for example, of manufacturing techniques and/or tolerances are contemplated.
  • example embodiments should not be construed as limited to the shapes of regions illustrated herein but are to include deviations in shapes that result, for example, from manufacturing. For example, an etched region illustrated as a rectangle will, typically, have curved features.
  • the regions illustrated in the figures are schematic in nature and their shapes are not intended to illustrate the actual shape of a region of a device and are not intended to limit the scope of example embodiments.
  • an embodiment of the present disclosure provides a method for generating a page.
  • the electronic device displays an initial page, where the initial page includes a head component, a bottom component and an area to be edited.
  • the electronic device responds to the operation of selecting the target component in the component library, displays the target component to be edited in the area to be edited, and responds to the edit operation of the target component to be edited, obtains component information, according to the component information in the initial
  • the page displays the edited target component, and generates the edited target page.
  • the component information includes at least one of the following attribute information and component data
  • the attribute information includes the style information of the target component
  • the component data includes the data filled in the target component.
  • the inherent header components, bottom components and areas to be edited can be displayed first, and then the components in the configured component library can be reused, and the edited components can be displayed in response to the user's editing operation on the components.
  • each component is connected in series by configuring the component library in advance to form a pluggable workflow, which can quickly respond to changes in component requirements and has a high degree of personalization.
  • FIG. 1 is a schematic composition diagram of a page generation device provided by an embodiment of the present disclosure.
  • the apparatus for generating a page may include: at least one processor 11 , a memory 12 , a communication interface 13 and a communication bus 14 .
  • the processor 11 is the control center of the page generation device, which may be a central processing unit (central processing unit, CPU), a micro-processing unit, a general-purpose processor, or one or more programs used to control the execution of the embodiment of the present disclosure. integrated circuits.
  • the general-purpose processor may be a microprocessor or any conventional processor.
  • the processor 11 may include one or more CPUs, such as CPU0 and CPU1 shown in FIG. 1 .
  • the apparatus for generating a page may include multiple processors, such as the processor 11 and the processor 15 shown in FIG. 1 .
  • Each of these processors may be a single-core processor (Single-CPU) or a multi-core processor (Multi-CPU).
  • a processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (eg, computer program instructions).
  • Memory 12 may be read-only memory (read-only memory, ROM) or other types of static storage devices that can store static information and instructions, random access memory (random access memory, RAM) or other types that can store information and instructions It can also be an electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or can be used to carry or store desired program code in the form of instructions or data structures and can be programmed by a computer Any other medium accessed, but not limited to.
  • EEPROM electrically erasable programmable read-only memory
  • CD-ROM compact disc read-only memory
  • optical disc storage including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.
  • magnetic disk storage media or other magnetic storage devices or can be used to carry or store desired program code in
  • the memory 12 may exist independently and be connected to the processor 11 through the communication bus 14 for storing instructions or program codes. In some embodiments, the memory 12 can also be integrated with the processor 11 .
  • the memory 12 is used to store the data in the present disclosure and execute the software program in the present disclosure.
  • the processor 11 can execute various functions of the page generation device by running or executing software programs stored in the memory 12 and calling data stored in the memory 12 .
  • the communication interface 13 uses any device such as a transceiver for communicating with other devices or communication networks, such as radio access network (radio access network, RAN), wireless local area networks (wireless local area networks, WLAN), etc.
  • the communication interface 13 may include a receiving unit to implement a receiving function, and a sending unit to implement a sending function.
  • Communication bus 14 may include a path for communicating information between the components described above.
  • the communication bus 14 may be an industry standard architecture (industry standard architecture, ISA) bus, a peripheral component interconnect (PCI) bus, or an extended industry standard architecture (extended industry standard architecture, EISA) bus, etc.
  • the bus can be divided into address bus, data bus, control bus and so on. For ease of representation, only one thick line is used in FIG. 1 , but it does not mean that there is only one bus or one type of bus.
  • FIG. 1 does not constitute a limitation to the page generation device. In addition to the components shown in FIG. certain components, or a different arrangement of components.
  • the page generation method provided by the embodiment of the present disclosure is executed by a page generation device.
  • the page generation device may be an electronic device, or a CPU in the electronic device, a control module in the electronic device for generating pages, or a client in the electronic device for generating pages.
  • the method for generating a page provided by the present disclosure is described by taking an electronic device executing the method for generating a page as an example.
  • the electronic device may be a terminal device.
  • Terminal equipment can be mobile terminal equipment, such as mobile phones (or called “cellular" phones) and computers with mobile terminal equipment, and can also be portable, pocket, hand-held, computer built-in or vehicle-mounted mobile devices, which are compatible with Radio access network (RAN) nodes exchange language and/or data.
  • RAN Radio access network
  • the terminal device may be: a mobile phone (mobile phone), a tablet computer, a notebook computer, a handheld computer, a mobile internet device (mobile internet device, MID), a wearable device, a virtual reality (virtual reality, VR) device, an augmented reality ( Augmented reality (AR) equipment, wireless terminal equipment in industrial control, wireless terminal equipment in self driving, wireless terminal equipment in remote medical surgery, smart grid Wireless terminal equipment in transportation safety, wireless terminal equipment in smart city, wireless terminal equipment in smart home, etc.
  • a mobile phone mobile phone
  • a tablet computer a notebook computer
  • a handheld computer a mobile internet device (mobile internet device, MID)
  • a wearable device a virtual reality (virtual reality, VR) device
  • an augmented reality ( Augmented reality (AR) equipment wireless terminal equipment in industrial control, wireless terminal equipment in self driving, wireless terminal equipment in remote medical surgery, smart grid Wireless terminal equipment in transportation safety, wireless terminal equipment in smart city, wireless terminal equipment in smart home, etc.
  • AR Augmented reality
  • the embodiment of the present disclosure provides a method for generating a page.
  • the method for generating a page may include the following steps 201 - 203 .
  • the electronic device displays an initial page in response to an operation of creating a page.
  • each page can include a fixed component area and an area to be edited, and the components in the fixed component area can include at least one of the following: head component, bottom components. Therefore, it is possible to pre-configure the application's header component, bottom component and area to be edited. And the configured head component and bottom component can be updated in response to the user's operation.
  • the fixed component area may include a fixed component, and the position of the fixed component area may be pre-configured in the electronic device. Although the position of the fixed component area is pre-configured, the header component in the fixed component area refers to the top part of the page, usually including titles, icons, etc.
  • Bottom components are located at the bottom of the page and can usually include QR codes, addresses, etc.
  • the area to be edited refers to other location areas in the page except the fixed component area, which is used for the user to edit the component area. Users can add components in the area to be edited according to their own needs to build rich page content.
  • the above-mentioned bottom component may specifically be a bottom link block component.
  • the foregoing application programs may be applications, webpages, platforms, systems, etc. on the electronic device, which are not limited in this embodiment of the present disclosure.
  • the electronic device can generate and operate pages in the website corresponding to the application program.
  • the area to be edited included in the above page may be one area, or may include multiple areas.
  • the area to be edited is used to display multiple components.
  • the area to be edited includes multiple areas, one area is used to display one component, or one area is used to display a preset number of components.
  • the number of areas to be edited and the number of components displayed in one area are not limited.
  • the area to be edited is an area and the area to be edited is used to display multiple components
  • the user adds a component in the area to be edited
  • the newly added component by the user
  • the preset position may be the bottom of the area to be edited.
  • the electronic device may add the first component to a bottom position in the area to be edited in response to the user's adding operation.
  • the electronic device may add the second component below the first component in the area to be edited in response to the adding operation of the user, that is, at this time, the second component
  • the two components are displayed at the bottom of the area to be edited, and so on, the electronic device can add components in the area to be edited in the above manner.
  • the electronic device may adjust the position of the components in the area to be edited according to the user's movement operation on the components in the area to be edited on the target page.
  • the electronic device may adjust the size of the component in response to the user's editing of the attribute information of the component, such as the length and height of the component.
  • the preset position is taken as the bottom position as an example for illustration, and the specific preset position is not limited in the embodiment of the present disclosure.
  • the components added in the area to be edited can also be displayed in other ways.
  • FIG. 3 is a schematic structural diagram of page composition of an application program.
  • an application program may include multiple directories, each directory may include multiple pages, and each page may include multiple components.
  • the multiple pages included in each directory in the application program may be pages with different functions under the directory.
  • the pages under the enterprise business directory can be the pages of different businesses within the enterprise.
  • the application program can also include some special pages that do not belong to any directory and are convenient for users to operate.
  • the application program may include: a home page, a head page, a bottom page, and the like.
  • the home page may be a pre-set default page, or a user may set a certain page under a certain directory as the home page.
  • the same page under the corresponding directory is also updated accordingly.
  • the corresponding home page will also be updated accordingly.
  • the head page only includes the head component, and when the user edits the head component in the head page, the head components of all pages in the application are updated accordingly.
  • all headers in the application are updated accordingly. Only the bottom component is included in the bottom page, and when the user edits the bottom component in the bottom page, the bottom components of all pages in the application will be updated accordingly.
  • all bottom components in the application update accordingly.
  • one directory may also include multiple subdirectories, and each subdirectory may include multiple pages.
  • a page can also include multiple subpages.
  • the embodiment of the present disclosure does not limit the page composition structure of the application program.
  • the electronic device to create a page in an application program.
  • the first implementation is to create pages of the application that do not belong to the directory.
  • the electronic device may display the initial page in response to the user's operation of creating the page.
  • the second implementation is to add a directory in the application program, and add a page under the newly added directory.
  • the electronic device may display the name of the new directory in response to the operation of the user to create the directory, and display the name of the new directory in response to the operation of the user to create a page under the new directory. initial page.
  • the third implementation is to add a new page under the existing directory of the application.
  • the electronic device may directly respond to the user's operation of creating a page under a certain directory, and display the initial page under the directory.
  • the fourth implementation is to add a subpage under the existing page of the application program.
  • the method for generating a page may further include: the electronic device displays the name of the target directory in response to the operation of creating the directory.
  • the electronic device displays the initial page in response to the user's operation of creating a page
  • the specific process is: the electronic device displays the initial page in response to the operation of adding a new page in the target directory.
  • the initial page is a functional page under the target directory.
  • the method for generating a page may further include: the electronic device may construct fixed component areas of multiple pages in response to the user's operation of establishing fixed component areas. Wherein, the fixed component areas of the multiple pages are the same. The electronic device may update corresponding components in the fixed component area included in the plurality of pages in response to the user's editing operation on the components in the fixed component area.
  • the above multiple pages may be multiple pages in the website.
  • the plurality of pages may be all pages in the website, and in this case, all pages include the above-mentioned target page.
  • the multiple pages may be some pages in a pre-configured website, and may be pre-configured according to scenario requirements.
  • the plurality of pages may be already online pages in the website. Embodiments of the present disclosure are not limited here.
  • the electronic device may update the header components in the fixed component area included in all pages of the application program in response to the user's editing operation on the header component in the fixed component area.
  • the components in the fixed component area edited by the user may be components in any page in the application program.
  • the components in the fixed component area edited by the user may be components in the head page or the bottom page.
  • the method for generating a page may further include: the electronic device may display the name of the target directory on the target page in response to a user's setting operation on the target directory.
  • the specific process of the electronic device displaying the name of the target directory on the target page in response to the user's setting operation on the target directory includes: the electronic device may display a navigation function in response to the user's setting operation on the target directory.
  • the electronic device may display the name of the target directory on the target page in response to the user's confirmation operation of the navigation function. In this way, when the user confirms the name of the target directory displayed on the target page, the electronic device can display the names of multiple pages included in the target directory on the target page in response to the user's confirmation operation.
  • the above-mentioned multiple pages may be all pages included in the target directory, and in this case, all the pages include the above-mentioned target page.
  • the above multiple pages may be some pages included in the target directory, and may be pre-configured according to actual scene requirements.
  • the plurality of pages may be already online pages under the target directory.
  • the plurality of pages may be pages whose names can be displayed after the navigation function has been selected under the target directory.
  • the plurality of pages may be pre-configured pages. Embodiments of the present disclosure do not limit multiple pages here.
  • the method for generating a page may further include: the electronic device may respond to the user's operation of determining the name of the target directory displayed on the target page, displaying on the target page the multiple The name of the page.
  • the electronic device may display the names of multiple pages included in the target directory on the target page by displaying a pull-down menu or by displaying a pop-up box.
  • the embodiment of the present disclosure does not limit the display manner of displaying the names of multiple pages included in the target directory.
  • the names of multiple pages included in the target directory refer to the second-level menu, third-level menu, etc. under the target directory.
  • FIG. 4A is a schematic diagram of a structure editing page in an enterprise platform of electronic equipment.
  • the schema editing page includes four parts.
  • Part 1 is the operation area, and the operation area includes four controls, which are preview control, view data control, save control, and exit control.
  • the electronic device may provide multiple preview modes, such as tablet mode preview, mobile phone mode preview, computer mode preview, etc., in response to the user's click operation on the preview control.
  • the electronic device may also display component data of the current page in response to the user's click operation on the view data control.
  • the electronic device may also save the data of the current page in response to the user's click operation on the save control.
  • the electronic device may also end the display of the current page and jump to the upper level page in response to the user's click operation on the exit control.
  • Part 2 is the navigation bar control, which may include website architecture controls and add component controls.
  • the electronic device may display the page structure of the application program in response to the user's click operation on the website structure control, for example, the categories and special pages included in the current application program, and the pages included in each category.
  • the electronic device may also respond to the user's click operation on the add component control, display the types of components included in the component library for the user to select, and add the selected component to the area to be edited on the target page.
  • the electronic device may respond to the user's operation on the navigation bar control, that is, the website architecture control or the component addition control, to execute creating a target directory, display the name of the target directory, and construct multiple The fixed component area of the page, update the corresponding components in the fixed component area included in multiple pages, display the name of the target directory on the target page, and display the initial page including the fixed component area and the area to be edited.
  • the navigation bar control that is, the website architecture control or the component addition control
  • Part 3 is the page to be edited.
  • the 3rd part usually displays the home page.
  • the home page may be a pre-set default page, or a user may set a certain page under a certain directory as the home page.
  • the electronic device may update the content of the home page accordingly according to the user's selection operation.
  • Part 4 is the controls corresponding to editable operations, which may specifically include page editing controls and component editing controls.
  • the page editing control is used to edit the page information of the target page and edit the components included in the page.
  • the component editing control is used to edit the component data and attribute information of each component included in the target page.
  • the electronic device may display the website architecture page on the architecture editing page in response to the user's click operation on the two-part website architecture control, as shown in FIG. 4B .
  • the enterprise platform may include special pages: home page, head page, bottom page, and project consultation page, and may also include directories: enterprise business, personal business, other pages, and other directories.
  • Configuration controls are set at the associated position of each special page, that is, the right position of the page name, and the associated position of each directory, that is, the right position of the directory name.
  • the electronic device may pop up a pop-up box in response to the user's click operation for the user to set the name of the new page, as shown in FIG. 4C .
  • the electronic device can display the initial page in the three parts of the structure editing page, and display the edited page name in the website structure.
  • the electronic device may pop up a pop-up box in response to the user's click operation for the user to set the directory name and type of the newly added directory, as shown in FIG. 4D .
  • the electronic device can display the edited name of the directory in the website structure, and update the name of the directory in all pages in the application program.
  • the electronic device can respond to the user's click operation and display the drop-down menu of the navigation control.
  • the drop-down menu includes the display methods of the components of the website architecture, such as displaying all and displaying the online part wait.
  • the electronic device may display all menus in the application program under the website framework in response to the user's operation.
  • the electronic device can pop up a bullet box in response to the user's click operation, which includes: add page control, add subdirectory control, rename control, copy Controls, delete controls, and display controls in the navigation bar, as shown in FIG. 4E.
  • the electronic device can add a new page under the enterprise business directory according to the user's operation, and display the initial page in the three parts of the structure editing page.
  • the new subdirectory control is used to add subdirectories under the enterprise business
  • the rename control is used to modify the name of the enterprise business
  • the copy control is used to copy the enterprise business directory
  • the delete control is used to realize For the deletion of the enterprise business directory, when the display control in the navigation bar is selected, the name of the directory can be displayed on the right target page.
  • the electronic device can display a drop-down box on the target page in response to the user's operation.
  • the drop-down box may include: a secondary menu under the business directory of the enterprise.
  • the secondary directory may include subdirectories under the enterprise directory, pages under the enterprise business directory, and pages included under the subdirectories.
  • the enterprise business directory may include sub-categories: urban public services, industrial Internet, smart travel, etc.
  • the subdirectory of urban public services can include the name of the page, such as office solutions, energy management solutions, energy-saving solutions, operation and maintenance solutions, transaction management solutions, apartment solutions, etc.
  • the electronic device may display all menus under the enterprise business catalog in response to the click operation of the user.
  • all the menus under the enterprise business directory on the target page correspond to all menus under the enterprise business in the website architecture on the left side of the target page.
  • a certain page in all menus under the enterprise business directory of the website structure corresponds to a certain page in all menus under the enterprise business directory on the target page.
  • the electronic device can pop up a pop-up box in response to the user's click operation.
  • the pop-up box includes: new sub-page control, rename control, copy control, delete control, navigation
  • the control displayed in the column is set as the home page control, as shown in Figure 4F.
  • the electronic device may respond to the user's operation to add a new subpage under the home page, and display the initial page in the three parts of the structure editing page.
  • the control is set to the home page is selected, the current page can be used as the home page.
  • the above-mentioned architecture editing page in FIG. 4A may be entered by jumping from the website design page.
  • the website design page there are Chinese version controls and English version controls displayed.
  • the electronic device can jump to the page in Figure 4A.
  • the electronic device can jump to the corresponding architecture editing page, and the text on the page is in English.
  • the electronic device In response to an operation of selecting a target component in the component library, the electronic device displays the target component to be edited in the area to be edited.
  • the electronic device may display the target component to be edited in the area to be edited in response to the user's operation of selecting the target component in the component library.
  • the electronic device may display a component library page containing multiple component types on the architecture editing page in response to the user's click operation on the 2-part add component control, as shown in FIG. 5A .
  • the component types in the component library may include: graphic type, text type, picture type, table type, block-level type, title type and so on.
  • the picture-text type component refers to a component including pictures and texts.
  • a text type component refers to a component including only text.
  • a table type component refers to a component including a table.
  • the electronic device may display a thumbnail image and introduction information of the component.
  • FIG. 5B is a schematic diagram of an initial page.
  • 501 is a header component, which displays an enterprise business directory and a personal business directory.
  • 502 is the bottom component, and the two-dimensional code of the enterprise platform is displayed in the bottom component.
  • 503 is the target component selected by the user in the area to be edited on the initial page.
  • the target component is a form type component selected by the user.
  • the electronic device acquires component information in response to an editing operation of the target component to be edited, displays the edited target component on the initial page according to the component information, and generates an edited target page.
  • the electronic device After the electronic device displays the target component to be edited in the area to be edited, it can detect the user's editing operation in real time, and obtain component information in response to the user's editing operation on the target component to be edited, and display it on the initial page according to the component information
  • the edited target component finally generates the edited target page.
  • the component information may include at least one of the following: attribute information and component data.
  • the attribute information includes style information of the target component
  • the component data includes data filled in the target component.
  • the editing operation on the target component may include operations on attribute information and component data of the target component.
  • the operation on the property information of the target component may include: the style of the target component, such as the border style, length, width, margin, spacing, background, font, etc. of the target component, and the operation on the component data may include: The operation of text or pictures or tables filled in components.
  • the adjustment of the size of the target component can be realized through the operation of the length and width in the above attribute information.
  • 503 is a table component.
  • the property information of the component 503 and the detailed setting information of the component data are displayed on the right side of the initial page.
  • the attribute information of the component 503 may include settings such as title, outer border, and clear style.
  • the detailed setting information of the component data may include a title and the like of each component data.
  • a pop-up box may pop up, as shown in FIG. 5D , which is detailed setting information of the outer border displayed in the pop-up box.
  • the detailed setting information of the outer border may include: setting of margin, spacing, background, color, and the like.
  • the component data may include multi-layer data. Users can further edit the data of a certain component to provide more detailed data of the component.
  • a link may be added in the enterprise platform of the electronic device.
  • the link can be internal or external.
  • Internal link refers to the address that can link to the enterprise platform.
  • External links refer to addresses that can link to other web pages.
  • the components included in the component library in the embodiments of the present disclosure can be edited.
  • a component including a picture when the picture component is selected as the target component on the initial page, the user can edit the picture component on the right side of the target page.
  • the picture component can be selected first, and then the picture in the picture component to be modified can be clicked, and the selected picture can be deleted or replaced.
  • the selected picture can be deleted or replaced.
  • the text component when the text component is selected as the target component on the initial page, the user can edit the text component in the component editing bar on the right side of the target page.
  • the electronic device may display a link pop-up box.
  • the electronic device may select a page corresponding to the external link to replace the page corresponding to the original link.
  • the page generation method provided by the embodiment of the present disclosure when generating a page, can first display the inherent head component, bottom component and area to be edited of the page, and then reuse the components in the configured component library to respond to the user's editing of the components Action, display the edited component and generate the edited target page. There is no need to develop each page separately, which improves the reusability and flexibility of the page, thereby reducing the development cost of the page and improving the development efficiency of the page.
  • each component is connected in series by configuring the component library in advance to form a pluggable workflow, which can quickly respond to changes in component requirements and has a high degree of personalization.
  • the electronic device may also acquire page information of the target page in response to an editing operation on the target page, and update and display the target page.
  • the page information may include at least one of the following: a thumbnail of the target page, a page address, a page label, and description information. Thumbnails can be used to upload or modify pictures on the target page, page addresses are used to indicate the address of the target page, page tags are used to indicate the style of the target page, and description information includes descriptive text of the target page.
  • the above operations on the target page may include: copying, moving, displaying, hiding, replacing, inserting, dragging, and so on of the target component on the target page.
  • the move operation may include: move up operation (move the target component before the previous component), move down operation (move the target component behind the next component), move left, move right, drag operation (response due to the user's drag operation on the target component to move the position of the target component), etc.
  • Insert operation refers to inserting a new component before or after the target component.
  • the drag operation means that the user adjusts the size of the area occupied by the target component by manipulating the frame of the target component. The movement of the position of the target component can be realized through the above-mentioned movement operation.
  • FIG. 5E is a schematic diagram of an editing scene of a target page.
  • the electronic device can display the specific editing information of the target page on the right side of the target page, specifically including: uploading of thumbnails of pictures in the target page, page labels selection, page address editing, and operations on existing components in the target page, specifically including: moving up, moving down, deleting, and copying the selected components.
  • the electronic device can move the currently selected component to the upper component of the selected component.
  • the electronic device may move the currently selected component to a component below the selected component.
  • the electronic device can delete the currently selected component.
  • the electronic device can copy the currently selected components, and place the copied components at the bottom of the area to be edited.
  • the above-mentioned electronic device obtains the component information, and the specific process of displaying the edited target component on the target page according to the component information may be as follows: the electronic device pre-configures an editable component, and the component's The original data is stored in a preset format, for example, in json format. Then, when the user operates the component, the electronic device can detect the user's behavior in real time through the display, obtain component information, and transmit the component information to the background processing module, that is, to the java module in the background. After the background processing module obtains the component information, it can modify the original data in the preset format. After the modification is completed, when the target page needs to be displayed, the electronic device can invoke the modified data of the components of the target page to render the target page, thereby implementing the electronic device to update the page according to the user's editing operation.
  • the electronic device monitors the user's operation in real time, and communicates with the background processing module according to the user's operation, so as to update the page in real time according to the user's editing operation.
  • the component library involved in the above step 202 may be pre-acquired in the application program with similar components, and stored in the electronic device.
  • the page generation method provided by the embodiment of the present disclosure may further include: the electronic device may obtain the existing M components of the application program, where M is an integer greater than 1, and obtain the information of each component in the M components.
  • Type and component data according to the type and component data of each component, the M components are classified by using the pre-stored classification rules to obtain at least one component set.
  • the target component corresponding to each component set is obtained and stored in the component library.
  • the type includes at least one of the following: text component, picture component, video component, graphic component, table component, etc.
  • the components included in the component library are shared components extracted from existing components, rather than randomly obtained, which is conducive to the rapid output of subsequent pages and reduces the number of components that users do not want to use in the component library. possibility.
  • the existing component classification and extraction process can be carried out periodically to ensure the scalability of the component library.
  • the above-mentioned electronic device classifies the M components according to the type and component data of each component, and uses a pre-stored classification rule to obtain at least one component set, which may specifically include: the electronic device classifies according to Rules to determine components of the same type and similar component content as a set of components.
  • the above classification rules are obtained in advance according to experiments and stored in the electronic device, and the embodiments of the present disclosure do not limit the classification rules here.
  • the above-mentioned electronic device determines components of the same type and similar component content as a set of components, which may specifically include: if the type of the component is a picture component or a video component, the electronic device may determine the components The component whose data corresponds to the local address is determined as a component set, and the component whose data corresponds to the network address is determined as a component set. If the type of the component is a text component, the electronic device can determine the components with the same text style in the component data as a set of components. The same text style can be that the text format is centered or left-aligned, or the text includes dynamic text, etc. .
  • the electronic device may determine components with the same graphic-text structure in the component data as a component set, and the same graphic-text structure may mean that the relative positions of the text and the picture are the same. If the type of the component is a table component, the electronic device may determine components with the same table format as a set of components.
  • M components come from the page in FIG. 6 .
  • the page includes three components, ie M is 3.
  • These three components are all text components, which are displayed at different positions on the page, and each text component contains different component data. Therefore, a collection of text components can be obtained according to these three components.
  • the font size, spacing, margin, and line height of the three text components are all different, so these attribute information can be used as the attribute information of the target text component corresponding to the text component set.
  • the attribute information of the target component corresponding to the picture component set may include: whether to display attributes such as the position corresponding to the picture.
  • the multimedia resource library may be preconfigured, and of course, the multimedia resource library may also be updated in real time.
  • the multimedia resource library is used to store pictures, articles, videos, audios, etc. required for generating pages.
  • the multimedia resources stored in the multimedia resource library can be used for the component data of the component.
  • For pictures users can upload pictures to the enterprise platform of the electronic device.
  • an article type can be News Center
  • subtypes under News Center can include company news, media perspectives, and so on.
  • Article types can be added, deleted, and edited.
  • the user can input the title of the article, and select the language of the article, the type of the article, the release event, the cover of the article, etc., and the electronic device can respond to the user's operation and upload the article to the electronic device for the user to choose use.
  • FIG. 7 it is a schematic structural diagram of a page generation device 70 provided by an embodiment of the present disclosure, and the page generation device 70 is used to execute the page generation method shown in FIG. 2 .
  • the page generation device 70 may include a display unit 71 , an acquisition unit 72 and a generation unit 73 .
  • the display unit 71 is used to display the initial page in response to the operation of setting up the page.
  • the initial page includes: a head component, a bottom component and an area to be edited; in response to the operation of selecting a target component in the component library, display in the area to be edited The target component to be edited.
  • the acquisition unit 72 is configured to acquire component information in response to an editing operation on the target component to be edited displayed by the display unit 71; wherein the component information includes at least one of the following: attribute information, component data, and the attribute information includes the style of the target component Information, component data includes the data populated in the target component.
  • the display unit 71 is further configured to display the edited target component on the initial page according to the component information acquired by the acquiring unit 72 .
  • a generating unit 73 configured to generate an edited target page.
  • the display unit 71 is further configured to display the name of the target directory in response to the operation of creating the directory.
  • the display unit 71 is specifically configured to: display an initial page in response to an operation of adding a new page under the target directory, where the initial page is a functional page under the target directory.
  • the obtaining unit 72 is further configured to obtain page information of the target page in response to an editing operation on the target page; the page information includes at least one of the following: a thumbnail of the target page, a page address, a page label, and description information.
  • the display unit 71 is further configured to update and display the target page in response to an editing operation on the target page.
  • the display unit 71 is specifically configured to: update and display the target component in the target page in response to an adjustment operation on the target component of the target page.
  • the adjustment operation includes at least one of the following: copy operation, delete operation, move operation, Hide actions.
  • the original data of the target component is stored in a preset format
  • the display unit 71 is specifically used to: monitor the component information through the display of the electronic device, and transmit the monitored component information to the background processing module; through the background processing module , modify the original data in the preset format according to the component information; render the target page according to the modified original data.
  • the page generation device 70 may further include: a classification unit 74 .
  • the acquisition unit 72 is also used to acquire M components, where M is an integer greater than 1; acquire the type and component data of each component in the M components, and the type includes at least one of the following: a text component, a picture component, a video component, a graph Text component, table component.
  • the classification unit 74 is configured to classify the M components by using pre-stored classification rules according to the type and component data of each component acquired by the acquisition unit 72 to obtain at least one component set.
  • the generating unit 73 is further configured to, according to each component set in at least one component set, obtain a target component corresponding to each component set and store it in the component library.
  • the classification unit 74 is specifically configured to: determine components of the same type and similar component content as a component set according to the classification rules.
  • the classification unit 74 is specifically configured to: if the type of the component is a picture component or a video component, then determine the component whose component data corresponds to the local address as a component set, and determine the component whose component data corresponds to the network address as a component Set; if the type of the component is a text component, determine the components with the same text style in the component data as a set of components; if the type of the component is a graphic component, determine the components with the same graphic structure in the component data as a component A collection of components.
  • the initial page may further include: a fixed component area.
  • the page generating device may further include: an updating unit 75 .
  • the generating unit 73 is further configured to construct the fixed component areas of multiple pages in response to the operation of establishing the fixed component areas, and the fixed component areas of the multiple pages are the same.
  • the updating unit 75 is configured to update corresponding components in the fixed component area included in the plurality of pages in response to an editing operation on the components in the fixed component area.
  • the components in the fixed component area may include at least one of the following: a head component and a bottom component.
  • the display unit 71 is further configured to display the name of the target directory on the target page in response to a setting operation on the target directory.
  • the display unit 71 is further configured to, in response to a confirmation operation on the name of the target directory displayed on the target page, display names of multiple pages included in the target directory on the target page.
  • the page generating device 70 provided in the embodiment of the present disclosure includes but is not limited to the above modules.
  • the display unit 71 , the acquisition unit 72 , the generation unit 73 and the classification unit 74 can be implemented by the processor of the page generation device shown in FIG. 1 .
  • the specific execution process please refer to the description of the page generation method shown in FIG. 2 , which will not be repeated here.
  • Some embodiments of the present disclosure provide a computer-readable storage medium (for example, a non-transitory computer-readable storage medium), where computer program instructions are stored in the computer-readable storage medium, and when the computer program instructions are run on a processor , so that the processor executes one or more steps in the method for generating a page as described in any one of the above embodiments.
  • a computer-readable storage medium for example, a non-transitory computer-readable storage medium
  • the above-mentioned computer-readable storage medium may include, but is not limited to: magnetic storage devices (such as hard disks, floppy disks, or tapes, etc.), optical disks (such as compact disks (Compact Disk, CD), digital versatile disks (Digital Versatile Disk, DVD), etc.), smart cards and flash memory devices (for example, Erasable Programmable Read-Only Memory (EPROM), card, stick or key drive, etc.).
  • Various computer-readable storage media described in this disclosure can represent one or more devices and/or other machine-readable storage media for storing information.
  • the term "machine-readable storage medium" may include, but is not limited to, wireless channels and various other media capable of storing, containing and/or carrying instructions and/or data.
  • Some embodiments of the present disclosure also provide a computer program product.
  • the computer program product includes computer program instructions. When the computer program instructions are executed on the computer, the computer program instructions cause the computer to execute one or more steps in the method for generating a page as described in the above embodiments.
  • Some embodiments of the present disclosure also provide a computer program.
  • the computer program When the computer program is executed on the computer, the computer program causes the computer to execute one or more steps in the method for generating a page as described in the above-mentioned embodiments.
  • all or part of them may be implemented by software, hardware, firmware or any combination thereof.
  • a software program When implemented using a software program, it may be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions.
  • computer-executable instructions When computer-executable instructions are loaded and executed on a computer, the processes or functions according to the embodiments of the present disclosure are produced in whole or in part.
  • a computer can be a general purpose computer, special purpose computer, computer network, or other programmable device.
  • Computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, e.g.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer, or may contain one or more data storage devices such as servers and data centers that can be integrated with the medium.
  • the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, or a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (solid state disk, SSD)), etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A page generation method and apparatus, which relate to the technical field of front-end engineering, and are used for solving the problems of the page development cost being relatively high and the page development efficiency being relatively low. The specific solution comprises: in response to an operation of establishing a page, a page generation apparatus displaying an initial page, wherein the initial page comprises a head component, a bottom component and an area to be edited; in response to an operation of selecting a target component from a component library, displaying, in the area to be edited, a target component to be edited; and in response to an editing operation on the target component to be edited, acquiring component information, displaying an edited target component in the initial page according to the component information, and generating an edited target page. The component information comprises at least one of the following: attribute information and component data, wherein the attribute information comprises style information of the target component, and the component data comprises data that is filled in the target component.

Description

一种页面生成方法及装置A page generation method and device
本申请要求于2021年8月11日提交的、申请号为202110918687.7的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to a Chinese patent application with application number 202110918687.7 filed on August 11, 2021, the entire contents of which are incorporated herein by reference.
技术领域technical field
本公开涉及前端工程技术领域,尤其涉及一种页面生成方法及装置。The present disclosure relates to the technical field of front-end engineering, in particular to a method and device for generating a page.
背景技术Background technique
随着业务的发展,页面越来越多。如果对每个页面单独进行开发,则会导致页面的开发成本较高,开发效率较低。As the business grows, there are more and more pages. If each page is developed separately, the development cost of the page will be high and the development efficiency will be low.
发明内容Contents of the invention
一方面,提供一种页面生成方法,该方法应用于电子设备。该页面生成方法可以包括:页面生成装置响应于建立页面的操作,显示初始页面,初始页面包括待编辑区域;响应于在组件库中选择目标组件的操作,在待编辑区域中显示待编辑的目标组件;响应于对待编辑的目标组件的编辑操作,获取组件信息,根据组件信息在初始页面显示编辑后的目标组件,生成编辑后的目标页面。其中,组件信息包括以下至少一项:属性信息、组件数据,属性信息包括目标组件的样式信息,组件数据包括目标组件中填充的数据。In one aspect, a method for generating a page is provided, and the method is applied to an electronic device. The page generating method may include: the page generating device displays an initial page in response to the operation of creating the page, and the initial page includes an area to be edited; in response to an operation of selecting a target component in the component library, displaying the target to be edited in the area to be edited A component; in response to an edit operation of the target component to be edited, obtain component information, display the edited target component on the initial page according to the component information, and generate an edited target page. Wherein, the component information includes at least one of the following: attribute information and component data, the attribute information includes style information of the target component, and the component data includes data filled in the target component.
待编辑区域是指页面中供用户编辑组件的区域。用户可以根据自己的需求在待编辑区域中添加组件,来构建丰富的页面内容。The area to be edited refers to the area on the page for users to edit components. Users can add components in the area to be edited according to their own needs to build rich page content.
这样,生成页面时,可以先显示页面固有的头部组件、底部组件和待编辑区域,然后复用配置好的组件库中的组件,响应于用户对组件的编辑操作,显示编辑后的组件,生成编辑后的目标页面。无需单独开发每个页面,提高了页面的复用性和灵活性,从而降低了页面的开发成本,提高了页面的开发效率。In this way, when a page is generated, the inherent header components, bottom components and areas to be edited can be displayed first, and then the components in the configured component library can be reused, and the edited components can be displayed in response to the user's editing operation on the components. Generate the edited target page. There is no need to develop each page separately, which improves the reusability and flexibility of the page, thereby reducing the development cost of the page and improving the development efficiency of the page.
且,通过提前配置组件库的方式将各个组件串联起来,形成一个可插拔式的工作流程,能够快速响应组件需求的变更,个性化程度较高。Moreover, each component is connected in series by configuring the component library in advance to form a pluggable workflow, which can quickly respond to changes in component requirements and has a high degree of personalization.
在一些实施例中,页面生成方法还可以包括:页面生成装置响应于建立目录的操作,显示目标目录的名称。上述响应于建立页面的操作,显示初始页面,具体可以包括:页面生成装置响应于在目标目录下新增页面的操作,显示初始页面,初始页面是目标目录下的一个功能页面。In some embodiments, the page generating method may further include: the page generating device displays the name of the target directory in response to the operation of creating the directory. The above-mentioned displaying an initial page in response to the operation of creating a page may specifically include: the page generating device responding to the operation of adding a new page in the target directory, and displaying the initial page, where the initial page is a functional page in the target directory.
在一些实施例中,初始页面还可以包括:固定组件区域。页面生成方法还可以包括:页面生成装置响应于建立固定组件区域的操作,构建多个页面 的固定组件区域。其中,多个页面的固定组件区域相同。页面生成装置响应于对固定组件区域中的组件的编辑操作,更新该多个页面包括的固定组件区域中相应的组件。In some embodiments, the initial page may further include: a fixed component area. The page generating method may further include: the page generating means constructing the fixed component areas of the plurality of pages in response to the operation of establishing the fixed component areas. Wherein, the fixed component areas of multiple pages are the same. The page generating means updates corresponding components in the fixed component area included in the plurality of pages in response to an editing operation on the components in the fixed component area.
在一种实施例中,上述多个页面可以是网站中的多个页面。在一种实施例中,多个页面可以是网站中的所有页面,此时所有页面中包括上述目标页面。在一种实施例中,多个页面可以是预先配置的网站中的部分页面,可以根据场景需求预先进行配置。In an embodiment, the above multiple pages may be multiple pages in the website. In an embodiment, the plurality of pages may be all pages in the website, and in this case, all pages include the above-mentioned target page. In an embodiment, the multiple pages may be some pages in a pre-configured website, and may be pre-configured according to scenario requirements.
在一种实施例中,用户编辑的固定组件区域中的组件可以是应用程序中任一页面中的组件。在一种实施例中,用户编辑的固定组件区域中的组件可以是头部页面或者底部页面中的组件。In an embodiment, the components in the fixed component area edited by the user may be components in any page in the application program. In an embodiment, the components in the fixed component area edited by the user may be components in the head page or the bottom page.
这样,通过对固定组件区域中的组件进行编辑,能够实现应用程序中的多个页面的固定组件区域中相应部分的修改,无需逐个页面进行修改,提高了页面的灵活性,节省了时间,提高了修改效率。In this way, by editing the components in the fixed component area, the modification of the corresponding parts in the fixed component area of multiple pages in the application program can be realized without modifying each page, which improves the flexibility of the page, saves time, and improves modified efficiency.
在一些实施例中,固定组件区域中的组件可以包括以下至少一项:头部组件、底部组件。头部组件是指页面顶端部分,通常包括标题、图标等。底部组件位于页面底部,通常可以包括二维码、地址等。In some embodiments, the components in the fixed component area may include at least one of the following: a head component, a bottom component. The header component refers to the top part of the page, usually including titles, icons, etc. Bottom components are located at the bottom of the page and can usually include QR codes, addresses, etc.
在一些实施例中,页面生成方法还可以包括:页面生成装置响应于用户对目标目录的设置操作,在目标页面显示目标目录的名称。这样,能够使得当用户对目标页面中显示的目标目录的名称进行确认操作时,电子设备能够响应于用户的确认操作,在目标页面显示该目标目录下包括的多个页面的名称。这样,实现了页面中的内容跟随设置发生相应变化。In some embodiments, the page generating method may further include: the page generating device displays the name of the target directory on the target page in response to the user's setting operation on the target directory. In this way, when the user confirms the name of the target directory displayed on the target page, the electronic device can display the names of multiple pages included in the target directory on the target page in response to the user's confirmation operation. In this way, it is realized that the content on the page changes accordingly according to the settings.
在一些实施例中,页面生成方法还可以包括:页面生成装置响应于用户对目标页面中显示的目标目录名称的确认操作,在目标页面显示目标目录下包括的多个页面的名称。In some embodiments, the page generating method may further include: the page generating device displays the names of multiple pages included in the target directory on the target page in response to the user's confirmation operation on the name of the target directory displayed on the target page.
在一种实施例中,上述多个页面可以是目标目录下包括的所有页面,此时所有页面中包括上述目标页面。在一种实施例中,上述多个页面可以是目标目录下包括的部分页面,可以根据实际场景需求预先进行配置。示例性的,多个页面可以是目标目录下已经上线的页面。或者,该多个页面可以是目标目录下已经选择导航功能后能够显示名称的页面。或者,该多个页面可以是预先配置的页面。本公开实施例在此对多个页面不做限定。In an embodiment, the above-mentioned multiple pages may be all pages included in the target directory, and in this case, all pages include the above-mentioned target page. In an embodiment, the above multiple pages may be some pages included in the target directory, and may be pre-configured according to actual scene requirements. Exemplarily, the plurality of pages may be already online pages under the target directory. Alternatively, the plurality of pages may be pages whose names can be displayed after the navigation function has been selected under the target directory. Alternatively, the plurality of pages may be pre-configured pages. The embodiment of the present disclosure does not limit multiple pages here.
在一些实施例中,页面生成方法还可以包括:页面生成装置响应于对目标页面的编辑操作,获取目标页面的页面信息,并更新显示目标页面。页面信息包括以下至少一项:目标页面的缩略图、页面地址、页面标签、描述信息。In some embodiments, the page generating method may further include: the page generating device acquires page information of the target page in response to an editing operation on the target page, and updates and displays the target page. The page information includes at least one of the following: a thumbnail of the target page, a page address, a page label, and description information.
这样,实现了目标页面的可编辑,提高了页面编辑的灵活性。当页面的需求发生变更时,通过编辑该页面,能够快速响应需求的变更,极大地降低了人力成本,提高了开发效率。In this way, the editability of the target page is realized, and the flexibility of page editing is improved. When the requirements of the page change, editing the page can quickly respond to the change of requirements, greatly reducing labor costs and improving development efficiency.
在一些实施例中,上述响应于对目标页面的编辑操作,更新显示目标页面,具体可以包括:页面生成装置响应于对目标页面的目标组件的调整操作,更新显示目标页面中的目标组件,调整操作包括以下至少一种:复制操作、删除操作、移动操作、隐藏操作。In some embodiments, the above-mentioned updating and displaying the target page in response to the editing operation on the target page may specifically include: the page generation device responds to an adjustment operation on the target component of the target page, updating and displaying the target component in the target page, adjusting The operation includes at least one of the following: a copy operation, a delete operation, a move operation, and a hide operation.
在一些实施例中,目标组件的原始数据以预设格式进行存储,上述获取组件信息,根据组件信息在目标页面显示编辑后的目标组件,具体可以包括:页面生成装置通过电子设备的显示器监听组件信息,并将监听到的组件信息传输至后台处理模块;通过后台处理模块,根据组件信息对预设格式的原始数据进行修改;根据修改后的原始数据渲染目标页面。In some embodiments, the original data of the target component is stored in a preset format. The above-mentioned acquisition of component information, and displaying the edited target component on the target page according to the component information may specifically include: the page generation device listens to the component through the display of the electronic device Information, and transmit the monitored component information to the background processing module; through the background processing module, modify the original data in the preset format according to the component information; render the target page according to the modified original data.
在一些实施例中,在生成目标页面之前,页面生成方法还可以包括:页面生成装置获取M个组件,M为大于1的整数;获取M个组件中每个组件的类型和组件数据,类型包括以下至少一项:文本组件、图片组件、视频组件、图文组件、表格组件;根据每个组件的类型和组件数据,采用预存的分类规则对M个组件进行分类,得到至少一个组件集合;根据至少一个组件集合中的每个组件集合,得到每个组件集合对应的目标组件存储在组件库中。In some embodiments, before generating the target page, the page generation method may further include: the page generation device obtains M components, where M is an integer greater than 1; obtains the type and component data of each component in the M components, and the type includes At least one of the following: text component, picture component, video component, graphic component, table component; according to the type and component data of each component, use the pre-stored classification rules to classify M components to obtain at least one component set; For each component set in at least one component set, the target component corresponding to each component set is obtained and stored in the component library.
这样,由于同一个应用程序中的某些组件的复用程度会较高,通过对该应用程序中的已开发的组件进行分类,并将每类型的组件存储至组件库中,供用户选择使用。也就是说,组件库包括的组件是从已有的组件中抽取得到的共用的组件,而不是随便得到的,这样有利于后续页面的快速产出,降低组件库中没有用户想要使用的组件的可能性。且,可以周期性的进行已有的组件的分类、抽取过程,来保证组件库的可扩展性。In this way, because some components in the same application have a higher degree of reuse, by classifying the developed components in the application, and storing each type of component in the component library, for users to choose and use . That is to say, the components included in the component library are shared components extracted from existing components, rather than randomly obtained, which is conducive to the rapid output of subsequent pages and reduces the number of components that users do not want to use in the component library. possibility. Moreover, the existing component classification and extraction process can be carried out periodically to ensure the scalability of the component library.
在一些实施例中,上述根据每个组件的类型和组件数据,采用预存的分类规则对M个组件进行分类,得到至少一个组件集合,具体可以包括:页面生成装置根据分类规则,将类型相同、组件内容相似的组件确定为一个组件 集合。In some embodiments, according to the type and component data of each component, the M components are classified using pre-stored classification rules to obtain at least one component set. Specifically, it may include: the page generation device classifies the same type, Components with similar content are identified as a set of components.
在一些实施例中,上述将类型相同、组件内容相似的组件确定为一个组件集合,具体可以包括:若组件的类型为图片组件或者视频组件,则将组件数据对应本地地址的组件确定为一个组件集合,将组件数据对应网络地址的组件确定为一个组件集合;若组件的类型为文本组件,则将组件数据中的文本样式相同的组件确定为一个组件集合;若组件的类型为图文组件,则将组件数据中图文结构相同的组件确定为一个组件集合。In some embodiments, the aforementioned determination of components of the same type and similar component content as a set of components may specifically include: if the type of the component is a picture component or a video component, then determining the component whose component data corresponds to a local address as a component Set, the component data corresponding to the network address is determined as a component set; if the component type is a text component, then the components with the same text style in the component data are determined as a component set; if the component type is a graphic component, Then, the components with the same graphic and text structure in the component data are determined as a set of components.
在一些实施例中,在生成目标页面之前,页面生成方法还可以包括:页面生成装置获取M个组件,M为大于1的整数;获取M个组件中每个组件的类型和组件数据,类型包括以下至少一项:文本组件、图片组件、视频组件、图文组件、表格组件;根据每个组件的类型和组件数据,采用预存的分类规则对M个组件进行分类,得到至少一个组件集合;根据至少一个组件集合中的每个组件集合,得到每个组件集合对应的目标组件存储在组件库中。In some embodiments, before generating the target page, the page generation method may further include: the page generation device obtains M components, where M is an integer greater than 1; obtains the type and component data of each component in the M components, and the type includes At least one of the following: text component, picture component, video component, graphic component, table component; according to the type and component data of each component, use the pre-stored classification rules to classify M components to obtain at least one component set; For each component set in at least one component set, the target component corresponding to each component set is obtained and stored in the component library.
另一方面,提供一种页面生成装置,该页面生成装置位于电子设备。该页面生成装置包括:显示单元,用于响应于建立页面的操作,显示初始页面,初始页面包括待编辑区域;响应于在组件库中选择目标组件的操作,在待编辑区域中显示待编辑的目标组件;获取单元,用于响应于对显示单元显示的待编辑的目标组件的编辑操作,获取组件信息;其中,组件信息包括以下至少一项:属性信息、组件数据,属性信息包括目标组件的样式信息,组件数据包括目标组件中填充的数据;显示单元,还用于根据获取单元获取的组件信息在初始页面显示编辑后的目标组件;生成单元,用于生成编辑后的目标页面。In another aspect, a page generating device is provided, and the page generating device is located in an electronic device. The page generation device includes: a display unit, configured to display an initial page in response to an operation of creating a page, and the initial page includes an area to be edited; in response to an operation of selecting a target component in the component library, display the to-be-edited area in the area to be edited A target component; an acquisition unit configured to acquire component information in response to an editing operation on the target component to be edited displayed by the display unit; wherein the component information includes at least one of the following: attribute information, component data, and the attribute information includes the target component The style information, the component data includes the data filled in the target component; the display unit is also used to display the edited target component on the initial page according to the component information acquired by the acquisition unit; the generation unit is used to generate the edited target page.
在一些实施例中,显示单元,还用于响应于建立目录的操作,显示目标目录的名称。显示单元,具体用于:响应于在目标目录下新增页面的操作,显示初始页面,初始页面是目标目录下的一个功能页面。In some embodiments, the display unit is further configured to display the name of the target directory in response to the operation of creating the directory. The display unit is specifically configured to: display an initial page in response to an operation of adding a new page under the target directory, where the initial page is a functional page under the target directory.
在一些实施例中,初始页面还可以包括:固定组件区域,页面生成装置还可以包括:更新单元。生成单元,还用于响应于建立固定组件区域的操作,构建多个页面的所述固定组件区域,该多个页面的所述固定组件区域相同。更新单元,用于响应于对所述固定组件区域中的组件的编辑操作,更新所述多个页面包括的所述固定组件区域中相应的组件。In some embodiments, the initial page may further include: a fixed component area, and the page generating apparatus may further include: an updating unit. The generating unit is further configured to construct the fixed component areas of multiple pages in response to the operation of establishing the fixed component areas, and the fixed component areas of the multiple pages are the same. An updating unit, configured to update corresponding components in the fixed component area included in the plurality of pages in response to an editing operation on the components in the fixed component area.
在一些实施例中,固定组件区域中的组件可以包括以下至少一项:头部 组件、底部组件。In some embodiments, the components in the fixed component area may include at least one of: a head component, a bottom component.
在一些实施例中,显示单元,还用于响应于对所述目标目录的设置操作,在所述目标页面显示所述目标目录的名称。In some embodiments, the display unit is further configured to display the name of the target directory on the target page in response to a setting operation on the target directory.
在一些实施例中,显示单元,还用于响应于对所述目标页面中显示的所述目标目录名称的确认操作,在所述目标页面显示所述目标目录下包括的多个页面的名称。In some embodiments, the display unit is further configured to, in response to a confirmation operation on the name of the target directory displayed on the target page, display names of multiple pages included in the target directory on the target page.
在一些实施例中,获取单元,还用于响应于对目标页面的编辑操作,获取目标页面的页面信息;页面信息包括以下至少一项:目标页面的缩略图、页面地址、页面标签、描述信息;显示单元,还用于响应于对目标页面的编辑操作,更新显示目标页面。In some embodiments, the obtaining unit is further configured to obtain page information of the target page in response to an editing operation on the target page; the page information includes at least one of the following: a thumbnail of the target page, a page address, a page label, and description information ; The display unit is further configured to update and display the target page in response to an editing operation on the target page.
在一些实施例中,显示单元,具体用于:响应于对目标页面的目标组件的调整操作,更新显示目标页面中的目标组件,调整操作包括以下至少一种:复制操作、删除操作、移动操作、隐藏操作。In some embodiments, the display unit is specifically configured to: update and display the target component in the target page in response to an adjustment operation on the target component of the target page, and the adjustment operation includes at least one of the following: copy operation, delete operation, move operation , Hide operation.
在一些实施例中,目标组件的原始数据以预设格式进行存储,显示单元,具体用于:通过电子设备的显示器监听组件信息,并将监听到的组件信息传输至后台处理模块;通过后台处理模块,根据组件信息对预设格式的原始数据进行修改;根据修改后的原始数据渲染目标页面。In some embodiments, the original data of the target component is stored in a preset format, and the display unit is specifically used to: monitor the component information through the display of the electronic device, and transmit the monitored component information to the background processing module; Module, modify the original data in the preset format according to the component information; render the target page according to the modified original data.
在一些实施例中,页面生成装置还包括:分类单元。获取单元,还用于获取M个组件,M为大于1的整数;获取M个组件中每个组件的类型和组件数据,类型包括以下至少一项:文本组件、图片组件、视频组件、图文组件、表格组件。分类单元,用于根据获取单元获取的每个组件的类型和组件数据,采用预存的分类规则对M个组件进行分类,得到至少一个组件集合。生成单元,还用于根据至少一个组件集合中的每个组件集合,得到每个组件集合对应的目标组件存储在组件库中。In some embodiments, the page generation device further includes: a classification unit. The obtaining unit is also used to obtain M components, where M is an integer greater than 1; obtain the type and component data of each component in the M components, and the type includes at least one of the following: text component, picture component, video component, graphic text Components, table components. The classification unit is configured to classify the M components by using pre-stored classification rules according to the type and component data of each component acquired by the acquisition unit, to obtain at least one component set. The generating unit is further configured to obtain, according to each component set in at least one component set, the target component corresponding to each component set and store it in the component library.
在一些实施例中,显示单元,具体用于:响应于对目标页面的目标组件的调整操作,更新显示目标页面中的目标组件,调整操作包括以下至少一种:复制操作、删除操作、移动操作、隐藏操作。In some embodiments, the display unit is specifically configured to: update and display the target component in the target page in response to an adjustment operation on the target component of the target page, and the adjustment operation includes at least one of the following: copy operation, delete operation, move operation , Hide operation.
在一些实施例中,分类单元,具体用于:根据分类规则,将类型相同、组件内容相似的组件确定为一个组件集合。In some embodiments, the classification unit is specifically configured to: determine components of the same type and similar component content as a component set according to classification rules.
在一些实施例中,分类单元,具体用于:若组件的类型为图片组件或者视频组件,则将组件数据对应本地地址的组件确定为一个组件集合,将组件 数据对应网络地址的组件确定为一个组件集合;若组件的类型为文本组件,则将组件数据中的文本样式相同的组件确定为一个组件集合;若组件的类型为图文组件,则将组件数据中图文结构相同的组件确定为一个组件集合。In some embodiments, the classification unit is specifically configured to: if the type of the component is a picture component or a video component, then determine the component whose component data corresponds to the local address as a component set, and determine the component whose component data corresponds to the network address as a component Component collection; if the type of the component is a text component, then determine the components with the same text style in the component data as a component collection; if the type of the component is a graphic component, then determine the components with the same graphic structure in the component data as A collection of components.
又一方面,提供一种页面生成装置。该页面生成装置包括:处理器和存储器。存储器用于存储计算机程序代码,计算机程序代码包括计算机指令;当处理器执行计算机指令时,页面生成装置执行如上述任一实施例的页面生成方法中的一个或多个步骤。In yet another aspect, a page generation device is provided. The page generation device includes: a processor and a memory. The memory is used to store computer program codes, and the computer program codes include computer instructions; when the processor executes the computer instructions, the page generation device executes one or more steps in the page generation method according to any of the above embodiments.
再一方面,提供一种计算机可读存储介质。计算机可读存储介质存储有计算机程序指令,计算机程序指令在页面生成装置上运行时,使得页面生成装置执行如上述任一实施例的页面生成方法中的一个或多个步骤。In yet another aspect, a computer readable storage medium is provided. The computer-readable storage medium stores computer program instructions. When the computer program instructions run on the page generation device, the page generation device executes one or more steps in the page generation method according to any of the above embodiments.
又一方面,提供一种计算机程序产品。所述计算机程序产品包括计算机程序指令,在页面生成装置上执行所述计算机程序指令时,所述计算机程序指令使页面生成装置执行如上述任一实施例的页面生成方法中的一个或多个步骤。In yet another aspect, a computer program product is provided. The computer program product includes computer program instructions, and when the computer program instructions are executed on the page generation device, the computer program instructions cause the page generation device to perform one or more steps in the page generation method of any of the above embodiments .
又一方面,提供一种计算机程序。当所述计算机程序在页面生成装置上执行时,所述计算机程序使页面生成装置执行如上述任一实施例所述的页面生成方法中的一个或多个步骤。In yet another aspect, a computer program is provided. When the computer program is executed on the page generating device, the computer program causes the page generating device to execute one or more steps in the page generating method described in any of the above embodiments.
本公开中第三方面到第六方面及其各种实现方式的具体描述,可以参考第一方面及其各种实现方式中的详细描述。并且,第三方面到第六方面及其各种实现方式的有益效果,可以参考第一方面及其各种实现方式中的有益效果分析,此处不再赘述。For specific descriptions of the third aspect to the sixth aspect and various implementations thereof in the present disclosure, reference may be made to the detailed descriptions in the first aspect and various implementations thereof. In addition, for the beneficial effects of the third aspect to the sixth aspect and various implementations thereof, reference may be made to the analysis of the beneficial effects in the first aspect and various implementations thereof, and details are not repeated here.
附图说明Description of drawings
为了更清楚地说明本公开中的技术方案,下面将对本公开一些实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公开的一些实施例的附图,对于本领域普通技术人员来讲,还可以根据这些附图获得其他的附图。此外,以下描述中的附图可以视作示意图,并非对本公开实施例所涉及的产品的实际尺寸、方法的实际流程、信号的实际时序等的限制。In order to illustrate the technical solutions in the present disclosure more clearly, the following will briefly introduce the accompanying drawings used in some embodiments of the present disclosure. Apparently, the accompanying drawings in the following description are only appendices to some embodiments of the present disclosure. Figures, for those of ordinary skill in the art, other drawings can also be obtained based on these drawings. In addition, the drawings in the following description can be regarded as schematic diagrams, and are not limitations on the actual size of the product involved in the embodiments of the present disclosure, the actual process of the method, the actual timing of signals, and the like.
图1为根据一些实施例的页面生成装置的结构图;Fig. 1 is a structural diagram of a page generation device according to some embodiments;
图2为根据一些实施例的页面生成方法的流程图;FIG. 2 is a flowchart of a page generation method according to some embodiments;
图3为根据一些实施例的应用程序的页面组成的结构图;Figure 3 is a structural diagram of page composition of an application program according to some embodiments;
图4A为根据一些实施例的架构编辑页面的示意图;Figure 4A is a schematic diagram of a schema edit page according to some embodiments;
图4B为根据一些实施例的网站架构页面的示意图;Figure 4B is a schematic diagram of a website architecture page according to some embodiments;
图4C为根据一些实施例的设置新增页面的示意图;Fig. 4C is a schematic diagram of setting a new page according to some embodiments;
图4D为根据一些实施例的设置新增目录的示意图;Fig. 4D is a schematic diagram of setting a new directory according to some embodiments;
图4E为根据一些实施例的目录的配置控件的示意图;Figure 4E is a schematic diagram of configuration controls for a catalog, according to some embodiments;
图4F为根据一些实施例的页面的配置控件的示意图;Figure 4F is a schematic diagram of a configuration control of a page according to some embodiments;
图5A为根据一些实施例的组件库页面的示意图;Figure 5A is a schematic diagram of a component library page according to some embodiments;
图5B为根据一些实施例的初始页面的示意图;Figure 5B is a schematic diagram of an initial page according to some embodiments;
图5C为根据一些实施例的属性信息和组件数据的设置示意图;Fig. 5C is a schematic diagram of setting attribute information and component data according to some embodiments;
图5D为根据一些实施例的组件的外边框的设置示意图;Fig. 5D is a schematic diagram of setting an outer frame of a component according to some embodiments;
图5E为根据一些实施例的目标页面的编辑示意图;Fig. 5E is a schematic diagram of editing a target page according to some embodiments;
图6为根据一些实施例的M个组件的示意图;Figure 6 is a schematic diagram of M components according to some embodiments;
图7为根据一些实施例的页面生成装置的组成图之一;Fig. 7 is one of compositional diagrams of a page generation device according to some embodiments;
图8为根据一些实施例的页面生成装置的组成图之二。Fig. 8 is the second composition diagram of a page generation device according to some embodiments.
具体实施方式Detailed ways
下面将结合附图,对本公开一些实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本公开一部分实施例,而不是全部的实施例。基于本公开所提供的实施例,本领域普通技术人员所获得的所有其他实施例,都属于本公开保护的范围。The technical solutions in some embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings. Apparently, the described embodiments are only some of the embodiments of the present disclosure, not all of them. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments provided in the present disclosure belong to the protection scope of the present disclosure.
除非上下文另有要求,否则,在整个说明书和权利要求书中,术语“包括(comprise)”及其其他形式例如第三人称单数形式“包括(comprises)”和现在分词形式“包括(comprising)”被解释为开放、包含的意思,即为“包含,但不限于”。在说明书的描述中,术语“一个实施例(one embodiment)”、“一些实施例(some embodiments)”、“示例性实施例(exemplary embodiments)”、“示例(example)”、“特定示例(specific example)”或“一些示例(some examples)”等旨在表明与该实施例或示例相关的特定特征、结构、材料或特性包括在本公开的至少一个实施例或示例中。上述术语的示意性表示不一定是指同一实施例或示例。此外,所述的特定特征、结构、材料或特点可以以任何适当方式包括在任何一个或多个实施例或示例中。Throughout the specification and claims, unless the context requires otherwise, the term "comprise" and other forms such as the third person singular "comprises" and the present participle "comprising" are used Interpreted as the meaning of openness and inclusion, that is, "including, but not limited to". In the description of the specification, the terms "one embodiment", "some embodiments", "exemplary embodiments", "example", "specific examples" example)" or "some examples (some examples)" etc. are intended to indicate that specific features, structures, materials or characteristics related to the embodiment or examples are included in at least one embodiment or example of the present disclosure. Schematic representations of the above terms are not necessarily referring to the same embodiment or example. Furthermore, the particular features, structures, materials or characteristics described may be included in any suitable manner in any one or more embodiments or examples.
以下,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本公开实施例的描述中,除非另有说明,“多个”的含义是两个或两个以上。Hereinafter, the terms "first" and "second" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance or implicitly specifying the quantity of indicated technical features. Thus, a feature defined as "first" and "second" may explicitly or implicitly include one or more of these features. In the description of the embodiments of the present disclosure, unless otherwise specified, "plurality" means two or more.
“A、B和C中的至少一个”与“A、B或C中的至少一个”具有相同含义,均包括以下A、B和C的组合:仅A,仅B,仅C,A和B的组合,A 和C的组合,B和C的组合,及A、B和C的组合。"At least one of A, B and C" has the same meaning as "at least one of A, B or C" and both include the following combinations of A, B and C: A only, B only, C only, A and B A combination of A and C, a combination of B and C, and a combination of A, B and C.
“A和/或B”,包括以下三种组合:仅A,仅B,及A和B的组合。"A and/or B" includes the following three combinations: A only, B only, and a combination of A and B.
如本文中所使用,根据上下文,术语“如果”任选地被解释为意思是“当……时”或“在……时”或“响应于确定”或“响应于检测到”。类似地,根据上下文,短语“如果确定……”或“如果检测到[所陈述的条件或事件]”任选地被解释为是指“在确定……时”或“响应于确定……”或“在检测到[所陈述的条件或事件]时”或“响应于检测到[所陈述的条件或事件]”。As used herein, the term "if" is optionally interpreted to mean "when" or "at" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrases "if it is determined that ..." or "if [the stated condition or event] is detected" are optionally construed to mean "when determining ..." or "in response to determining ..." depending on the context Or "upon detection of [stated condition or event]" or "in response to detection of [stated condition or event]".
本文中“适用于”或“被配置为”的使用意味着开放和包容性的语言,其不排除适用于或被配置为执行额外任务或步骤的设备。The use of "suitable for" or "configured to" herein means open and inclusive language that does not exclude devices that are suitable for or configured to perform additional tasks or steps.
另外,“基于”或“根据”的使用意味着开放和包容性,因为“基于”或“根据”一个或多个所述条件或值的过程、步骤、计算或其他动作在实践中可以基于额外条件或超出所述的值。In addition, the use of "based on" or "according to" is meant to be open and inclusive, as a process, step, calculation or other action "based on" or "according to" one or more stated conditions or values may in practice be based on additional condition or exceed the stated value.
本文参照作为理想化示例性附图的剖视图和/或平面图描述了示例性实施方式。在附图中,为了清楚,放大了层和区域的厚度。因此,可设想到由于例如制造技术和/或公差引起的相对于附图的形状的变动。因此,示例性实施方式不应解释为局限于本文示出的区域的形状,而是包括因例如制造而引起的形状偏差。例如,示为矩形的蚀刻区域通常将具有弯曲的特征。因此,附图中所示的区域本质上是示意性的,且它们的形状并非旨在示出设备的区域的实际形状,并且并非旨在限制示例性实施方式的范围。Exemplary embodiments are described herein with reference to cross-sectional and/or plan views that are idealized exemplary drawings. In the drawings, the thickness of layers and regions are exaggerated for clarity. Accordingly, variations in shape from the drawings as a result, for example, of manufacturing techniques and/or tolerances are contemplated. Thus, example embodiments should not be construed as limited to the shapes of regions illustrated herein but are to include deviations in shapes that result, for example, from manufacturing. For example, an etched region illustrated as a rectangle will, typically, have curved features. Thus, the regions illustrated in the figures are schematic in nature and their shapes are not intended to illustrate the actual shape of a region of a device and are not intended to limit the scope of example embodiments.
为了解决页面的开发成本高,开发效率低的问题,本公开实施例提供了一种页面生成方法。电子设备响应于在应用程序中建立页面的操作,显示一初始页面,该初始页面中包括头部组件、底部组件和待编辑区域。电子设备响应于在组件库中选择目标组件的操作,在待编辑区域中显示待编辑的目标组件,并响应于对该待编辑的目标组件的编辑操作,获取组件信息,根据该组件信息在初始页面显示编辑后的目标组件,生成编辑后的目标页面。其中,组件信息包括以下至少一项属性信息、组件数据,属性信息包括目标组件的样式信息,组件数据包括目标组件中填充的数据。In order to solve the problems of high development cost and low development efficiency of a page, an embodiment of the present disclosure provides a method for generating a page. In response to the operation of creating a page in the application program, the electronic device displays an initial page, where the initial page includes a head component, a bottom component and an area to be edited. The electronic device responds to the operation of selecting the target component in the component library, displays the target component to be edited in the area to be edited, and responds to the edit operation of the target component to be edited, obtains component information, according to the component information in the initial The page displays the edited target component, and generates the edited target page. Wherein, the component information includes at least one of the following attribute information and component data, the attribute information includes the style information of the target component, and the component data includes the data filled in the target component.
这样,生成页面时,可以先显示页面固有的头部组件、底部组件和待编辑区域,然后复用配置好的组件库中的组件,响应于用户对组件的编辑操作,显示编辑后的组件,生成编辑后的目标页面。无需单独开发每个页面,提高了页面的复用性和灵活性,从而降低了页面的开发成本,提高了页面的开发效率。In this way, when a page is generated, the inherent header components, bottom components and areas to be edited can be displayed first, and then the components in the configured component library can be reused, and the edited components can be displayed in response to the user's editing operation on the components. Generate the edited target page. There is no need to develop each page separately, which improves the reusability and flexibility of the page, thereby reducing the development cost of the page and improving the development efficiency of the page.
且,通过提前配置组件库的方式将各个组件串联起来,形成一个可插拔 式的工作流程,能够快速响应组件需求的变更,个性化程度较高。Moreover, each component is connected in series by configuring the component library in advance to form a pluggable workflow, which can quickly respond to changes in component requirements and has a high degree of personalization.
图1为本公开实施例提供的一种页面生成装置的组成示意图。如图1所示,该页面生成装置可以包括:至少一个处理器11、存储器12、通信接口13和通信总线14。FIG. 1 is a schematic composition diagram of a page generation device provided by an embodiment of the present disclosure. As shown in FIG. 1 , the apparatus for generating a page may include: at least one processor 11 , a memory 12 , a communication interface 13 and a communication bus 14 .
其中,处理器11是页面生成装置的控制中心,其可以是一个中央处理器(central processing unit,CPU),微处理单元,通用处理器,或一个或多个用于控制本公开实施例程序执行的集成电路。其中,通用处理器可以是微处理器或者是任何常规的处理器等。Wherein, the processor 11 is the control center of the page generation device, which may be a central processing unit (central processing unit, CPU), a micro-processing unit, a general-purpose processor, or one or more programs used to control the execution of the embodiment of the present disclosure. integrated circuits. Wherein, the general-purpose processor may be a microprocessor or any conventional processor.
作为一种实施例,处理器11可以包括一个或多个CPU,例如图1中所示的CPU0和CPU1。且,作为一种实施例,页面生成装置可以包括多个处理器,例如图1中所示的处理器11和处理器15。这些处理器中的每一个可以是一个单核处理器(Single-CPU),也可以是一个多核处理器(Multi-CPU)。这里的处理器可以指一个或多个设备、电路、和/或用于处理数据(例如计算机程序指令)的处理核。As an embodiment, the processor 11 may include one or more CPUs, such as CPU0 and CPU1 shown in FIG. 1 . Moreover, as an embodiment, the apparatus for generating a page may include multiple processors, such as the processor 11 and the processor 15 shown in FIG. 1 . Each of these processors may be a single-core processor (Single-CPU) or a multi-core processor (Multi-CPU). A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (eg, computer program instructions).
存储器12可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(electrically erasable programmable read-only memory,EEPROM)、只读光盘(compact disc read-only memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。 Memory 12 may be read-only memory (read-only memory, ROM) or other types of static storage devices that can store static information and instructions, random access memory (random access memory, RAM) or other types that can store information and instructions It can also be an electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or can be used to carry or store desired program code in the form of instructions or data structures and can be programmed by a computer Any other medium accessed, but not limited to.
在一些实施例中,存储器12可以是独立存在,通过通信总线14与处理器11相连接,用于存储指令或者程序代码。在一些实施例中,存储器12也可以和处理器11集成在一起。In some embodiments, the memory 12 may exist independently and be connected to the processor 11 through the communication bus 14 for storing instructions or program codes. In some embodiments, the memory 12 can also be integrated with the processor 11 .
在具体的实现中,存储器12,用于存储本公开中的数据和执行本公开的软件程序。处理器11可以通过运行或执行存储在存储器12内的软件程序,以及调用存储在存储器12内的数据,执行页面生成装置的各种功能。In a specific implementation, the memory 12 is used to store the data in the present disclosure and execute the software program in the present disclosure. The processor 11 can execute various functions of the page generation device by running or executing software programs stored in the memory 12 and calling data stored in the memory 12 .
通信接口13,使用任何收发器一类的装置,用于与其他设备或通信网络通信,如无线接入网(radio access network,RAN),无线局域网(wireless local area networks,WLAN)等。通信接口13可以包括接收单元实现接收功能,以及发送单元实现发送功能。The communication interface 13 uses any device such as a transceiver for communicating with other devices or communication networks, such as radio access network (radio access network, RAN), wireless local area networks (wireless local area networks, WLAN), etc. The communication interface 13 may include a receiving unit to implement a receiving function, and a sending unit to implement a sending function.
通信总线14可以包括一通路,在上述组件之间传送信息。通信总线14,可以是工业标准体系结构(industry standard architecture,ISA)总线、外部设备互连(peripheral component interconnect,PCI)总线或扩展工业标准体系结构(extended industry standard architecture,EISA)总线等。该总线可以分为地址总线、数据总线、控制总线等。为便于表示,图1中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。Communication bus 14 may include a path for communicating information between the components described above. The communication bus 14 may be an industry standard architecture (industry standard architecture, ISA) bus, a peripheral component interconnect (PCI) bus, or an extended industry standard architecture (extended industry standard architecture, EISA) bus, etc. The bus can be divided into address bus, data bus, control bus and so on. For ease of representation, only one thick line is used in FIG. 1 , but it does not mean that there is only one bus or one type of bus.
需要指出的是,图1中示出的结构并不构成对页面生成装置的限定,除图1所示部件之外,该页面生成装置可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。It should be noted that the structure shown in FIG. 1 does not constitute a limitation to the page generation device. In addition to the components shown in FIG. certain components, or a different arrangement of components.
本公开实施例提供的页面生成方法的执行主体为页面生成装置。该页面生成装置可以是电子设备,也可以是电子设备中的CPU,还可以是电子设备中用于生成页面的控制模块,还可以是电子设备中用于生成页面的客户端。本公开实施例以电子设备执行页面生成方法为例,对本公开提供的页面生成方法进行说明。The page generation method provided by the embodiment of the present disclosure is executed by a page generation device. The page generation device may be an electronic device, or a CPU in the electronic device, a control module in the electronic device for generating pages, or a client in the electronic device for generating pages. In the embodiment of the present disclosure, the method for generating a page provided by the present disclosure is described by taking an electronic device executing the method for generating a page as an example.
在一些实施例中,电子设备可以是终端设备。终端设备可以是移动终端设备,如移动电话(或称为“蜂窝”电话)和具有移动终端设备的计算机,也可以是便携式、袖珍式、手持式、计算机内置的或者车载的移动装置,它们与无线接入网(radio access network,RAN)节点交换语言和/或数据。例如,终端设备可以为:手机(mobile phone)、平板电脑、笔记本电脑、掌上电脑、移动互联网设备(mobile internet device,MID)、可穿戴设备,虚拟现实(virtual reality,VR)设备、增强现实(augmented reality,AR)设备、工业控制(industrial control中的无线终端设备、无人驾驶(self driving)中的无线终端设备、远程手术(remote medical surgery)中的无线终端设备、智能电网(smart grid)中的无线终端设备、运输安全(transportation safety)中的无线终端设备、智慧城市(smart city)中的无线终端设备、智慧家庭(smart home)中的无线终端设备等。In some embodiments, the electronic device may be a terminal device. Terminal equipment can be mobile terminal equipment, such as mobile phones (or called "cellular" phones) and computers with mobile terminal equipment, and can also be portable, pocket, hand-held, computer built-in or vehicle-mounted mobile devices, which are compatible with Radio access network (RAN) nodes exchange language and/or data. For example, the terminal device may be: a mobile phone (mobile phone), a tablet computer, a notebook computer, a handheld computer, a mobile internet device (mobile internet device, MID), a wearable device, a virtual reality (virtual reality, VR) device, an augmented reality ( Augmented reality (AR) equipment, wireless terminal equipment in industrial control, wireless terminal equipment in self driving, wireless terminal equipment in remote medical surgery, smart grid Wireless terminal equipment in transportation safety, wireless terminal equipment in smart city, wireless terminal equipment in smart home, etc.
基于上述页面生成装置的结构的介绍,本公开实施例提供一种页面生成方法。如图2所示,该页面生成方法可以包括以下步骤201-步骤203。Based on the introduction of the structure of the above-mentioned page generating apparatus, the embodiment of the present disclosure provides a method for generating a page. As shown in FIG. 2 , the method for generating a page may include the following steps 201 - 203 .
201、电子设备响应于建立页面的操作,显示初始页面。201. The electronic device displays an initial page in response to an operation of creating a page.
在应用程序中,页面包括的元素可以是相对固定的,例如,每个页面都可以包括固定组件区域和待编辑区域,其中固定组件区域中的组件可以包括以下至少一项:头部组件、底部组件。因此,可以预先配置应用程序的头部组件、底部组件和待编辑区域。且配置好的头部组件、底部组件是可以响应 于用户的操作进行更新的。其中,固定组件区域可以包括固定组件,该固定组件区域的位置可以是预先配置在电子设备中的。虽然,固定组件区域的位置是预先配置的,但是固定组件区域中的头部组件是指页面顶端部分,通常包括标题、图标等。底部组件位于页面底部,通常可以包括二维码、地址等。待编辑区域是指页面中除固定组件区域外的其他位置区域,用于供用户编辑组件的区域。用户可以根据自己的需求在待编辑区域中添加组件,来构建丰富的页面内容。上述底部组件具体可以为底部链接块组件。In the application program, the elements included in the page can be relatively fixed. For example, each page can include a fixed component area and an area to be edited, and the components in the fixed component area can include at least one of the following: head component, bottom components. Therefore, it is possible to pre-configure the application's header component, bottom component and area to be edited. And the configured head component and bottom component can be updated in response to the user's operation. Wherein, the fixed component area may include a fixed component, and the position of the fixed component area may be pre-configured in the electronic device. Although the position of the fixed component area is pre-configured, the header component in the fixed component area refers to the top part of the page, usually including titles, icons, etc. Bottom components are located at the bottom of the page and can usually include QR codes, addresses, etc. The area to be edited refers to other location areas in the page except the fixed component area, which is used for the user to edit the component area. Users can add components in the area to be edited according to their own needs to build rich page content. The above-mentioned bottom component may specifically be a bottom link block component.
可以理解的是,上述应用程序可以是电子设备上的应用、网页、平台、系统等,本公开实施例在此不做限定。基于该应用程序,电子设备可以对该应用程序对应的网站中的页面进行生成以及操作。It can be understood that the foregoing application programs may be applications, webpages, platforms, systems, etc. on the electronic device, which are not limited in this embodiment of the present disclosure. Based on the application program, the electronic device can generate and operate pages in the website corresponding to the application program.
另外,在本公开实施例中,上述页面包括的待编辑区域可以是一个区域,也可以包括多个区域。当待编辑区域为一个区域时,该待编辑区域用于显示多个组件。当待编辑区域包括多个区域时,一个区域用于显示一个组件,或者,一个区域用于显示预设数量的组件。本公开实施例在此对待编辑区域是几个区域,以及一个区域显示几个组件不做限定。In addition, in the embodiment of the present disclosure, the area to be edited included in the above page may be one area, or may include multiple areas. When the area to be edited is one area, the area to be edited is used to display multiple components. When the area to be edited includes multiple areas, one area is used to display one component, or one area is used to display a preset number of components. In the embodiment of the present disclosure, the number of areas to be edited and the number of components displayed in one area are not limited.
需要说明的是,在本公开实施例中,当待编辑区域为一个区域,该待编辑区域用于显示多个组件的情况下,如果用户在待编辑区域中添加组件,则用户最新添加的组件通常添加在预设位置。例如,该预设位置可以为待编辑区域的底部。当用户在待编辑区域中添加第一个组件时,电子设备可以响应于用户的添加操作,将该第一个组件添加至待编辑区域中的底部位置。用户在待编辑区域中添加第二个组件时,电子设备可以响应于用户的添加操作,将该第二个组件添加至待编辑区域中的第一个组件的下方,也就是说,此时第二个组件显示在待编辑区域的底部位置,以此类推,电子设备可以按照上述方式在待编辑区域中添加组件。之后,电子设备可以根据用户对目标页面中的待编辑区域中的组件的移动操作,来调整待编辑区域中的组件的位置。且,电子设备可以响应于用户对某个组件的属性信息,例如组件的长和高的编辑,来调整该组件的大小。本公开实施例中以预设位置为底部位置为例进行说明,具体预设位置在哪个位置本公开实施例不做限定。当然,该待编辑区域中添加的组件还可以以其他的方式进行显示。It should be noted that, in the embodiment of the present disclosure, when the area to be edited is an area and the area to be edited is used to display multiple components, if the user adds a component in the area to be edited, the newly added component by the user Usually added at preset positions. For example, the preset position may be the bottom of the area to be edited. When the user adds a first component in the area to be edited, the electronic device may add the first component to a bottom position in the area to be edited in response to the user's adding operation. When the user adds a second component in the area to be edited, the electronic device may add the second component below the first component in the area to be edited in response to the adding operation of the user, that is, at this time, the second component The two components are displayed at the bottom of the area to be edited, and so on, the electronic device can add components in the area to be edited in the above manner. Afterwards, the electronic device may adjust the position of the components in the area to be edited according to the user's movement operation on the components in the area to be edited on the target page. Moreover, the electronic device may adjust the size of the component in response to the user's editing of the attribute information of the component, such as the length and height of the component. In the embodiment of the present disclosure, the preset position is taken as the bottom position as an example for illustration, and the specific preset position is not limited in the embodiment of the present disclosure. Of course, the components added in the area to be edited can also be displayed in other ways.
可选的,在一些实施例中,图3为一个应用程序的页面组成的结构示意图。如图3所示,一个应用程序可以包括多个目录,在每个目录下可以包括多个页面,每个页面中可以包括多个组件。其中,应用程序中的每个目录下包括的多个页面可以是该目录下的不同功能页面。例如,假设一个目录为企 业业务,那么该企业业务目录下的页面可以是企业内部的不同业务的页面。当然,该应用程序中还可以包括一些不属于任何目录、方便用户操作的特殊页面。例如,该应用程序中可以包括:首页页面、头部页面、底部页面等。其中,首页页面可以是预先设置好的默认页面,还可以是用户将某个目录之下的某个页面设置为首页页面。对于第二种情况,当用户对首页页面进行编辑后,相应的目录下的相同页面也随之更新。或者,当用户对设置为首页的目录下的页面进行编辑后,相应的首页页面也会随之更新。头部页面中仅包括头部组件,当用户对该头部页面中的头部组件进行编辑后,应用程序中的所有页面的头部组件随之更新。或者,当用户对其他任意页面中的头部组件进行编辑后,应用程序中的所有头部组件随之更新。底部页面中仅包括底部组件,当用户对底部页面中的底部组件进行编辑后,应用程序中的所有页面的底部组件随之更新。或者,当用户对其他任意页面中的底部组件进行编辑后,应用程序中的所有底部组件随之更新。Optionally, in some embodiments, FIG. 3 is a schematic structural diagram of page composition of an application program. As shown in FIG. 3 , an application program may include multiple directories, each directory may include multiple pages, and each page may include multiple components. Wherein, the multiple pages included in each directory in the application program may be pages with different functions under the directory. For example, assuming that a directory is an enterprise business, the pages under the enterprise business directory can be the pages of different businesses within the enterprise. Of course, the application program can also include some special pages that do not belong to any directory and are convenient for users to operate. For example, the application program may include: a home page, a head page, a bottom page, and the like. Wherein, the home page may be a pre-set default page, or a user may set a certain page under a certain directory as the home page. For the second case, when the user edits the home page, the same page under the corresponding directory is also updated accordingly. Or, after the user edits the pages under the directory set as the home page, the corresponding home page will also be updated accordingly. The head page only includes the head component, and when the user edits the head component in the head page, the head components of all pages in the application are updated accordingly. Alternatively, when the user edits the header on any other page, all headers in the application are updated accordingly. Only the bottom component is included in the bottom page, and when the user edits the bottom component in the bottom page, the bottom components of all pages in the application will be updated accordingly. Or, when the user makes edits to the bottom component in any other page, all bottom components in the application update accordingly.
进一步的,在上述应用程序中,一个目录下还可以包括多个子目录,每个子目录中可以包括多个页面。一个页面下还可以包括多个子页面。本公开实施例在此对应用程序的页面组成的结构不做限定。Further, in the above application program, one directory may also include multiple subdirectories, and each subdirectory may include multiple pages. A page can also include multiple subpages. The embodiment of the present disclosure does not limit the page composition structure of the application program.
可以理解的是,基于上述图3介绍的应用程序的页面组成的架构,上述目录、子目录、页面、子页面,以及组件,所有元素构成了网站包括的页面。It can be understood that, based on the page composition architecture of the application program introduced in FIG. 3 above, all the above-mentioned directories, sub-directories, pages, sub-pages, and components constitute the pages included in the website.
基于图3的页面组成的结构,在本公开实施例中,电子设备在应用程序中建立页面有以下几种实现。第一种实现是,建立应用程序的不属于目录的页面。具体实现中,当用户在应用程序的架构中建立新页面时,电子设备可以响应于用户建立页面的操作,显示初始页面。第二种实现是,在应用程序中新增目录,并在该新增的目录之下新增页面。具体实现中,当用户在应用程序的架构中建立新目录时,电子设备可以响应于用户建立目录的操作,显示新的目录名称,并响应于用户在该新的目录下建立页面的操作,显示初始页面。第三种实现是,在应用程序的已有的目录下新增页面。具体实现中,电子设备可以直接响应于用户在某目录下建立页面的操作,显示该目录下的初始页面。第四种实现是,在应用程序的已有的页面下新增子页面。Based on the page composition structure in FIG. 3 , in the embodiment of the present disclosure, there are the following implementations for the electronic device to create a page in an application program. The first implementation is to create pages of the application that do not belong to the directory. In a specific implementation, when the user creates a new page in the framework of the application program, the electronic device may display the initial page in response to the user's operation of creating the page. The second implementation is to add a directory in the application program, and add a page under the newly added directory. In a specific implementation, when the user creates a new directory in the framework of the application program, the electronic device may display the name of the new directory in response to the operation of the user to create the directory, and display the name of the new directory in response to the operation of the user to create a page under the new directory. initial page. The third implementation is to add a new page under the existing directory of the application. In a specific implementation, the electronic device may directly respond to the user's operation of creating a page under a certain directory, and display the initial page under the directory. The fourth implementation is to add a subpage under the existing page of the application program.
可选的,在本公开实施例中,页面生成方法还可以包括:电子设备响应于建立目录的操作,显示目标目录的名称。该情况下,上述电子设备响应于用户建立页面的操作,显示初始页面,具体过程为:电子设备响应于在目标目录下新增页面的操作,显示初始页面。其中,初始页面是目标目录下的一个功能页面。Optionally, in this embodiment of the present disclosure, the method for generating a page may further include: the electronic device displays the name of the target directory in response to the operation of creating the directory. In this case, the electronic device displays the initial page in response to the user's operation of creating a page, and the specific process is: the electronic device displays the initial page in response to the operation of adding a new page in the target directory. Wherein, the initial page is a functional page under the target directory.
可选的,在本公开实施例中,页面生成方法还可以包括:电子设备可以响应于用户建立固定组件区域的操作,构建多个页面的固定组件区域。其中,该多个页面的固定组件区域相同。电子设备可以响应于用户对固定组件区域中的组件的编辑操作,更新该多个页面包括的固定组件区域中相应的组件。Optionally, in this embodiment of the present disclosure, the method for generating a page may further include: the electronic device may construct fixed component areas of multiple pages in response to the user's operation of establishing fixed component areas. Wherein, the fixed component areas of the multiple pages are the same. The electronic device may update corresponding components in the fixed component area included in the plurality of pages in response to the user's editing operation on the components in the fixed component area.
可以理解的是,在本公开实施例中,上述多个页面可以是网站中的多个页面。在一种实施例中,多个页面可以是网站中的所有页面,此时所有页面中包括上述目标页面。在一种实施例中,多个页面可以是预先配置的网站中的部分页面,可以根据场景需求预先进行配置。示例性的,该多个页面可以是网站中已经上线的页面。本公开实施例在此不做限定。It can be understood that, in the embodiment of the present disclosure, the above multiple pages may be multiple pages in the website. In an embodiment, the plurality of pages may be all pages in the website, and in this case, all pages include the above-mentioned target page. In an embodiment, the multiple pages may be some pages in a pre-configured website, and may be pre-configured according to scenario requirements. Exemplarily, the plurality of pages may be already online pages in the website. Embodiments of the present disclosure are not limited here.
示例性的,电子设备可以响应于用户对固定组件区域中的头部组件的编辑操作,更新应用程序的所有页面包括的固定组件区域中的头部组件。Exemplarily, the electronic device may update the header components in the fixed component area included in all pages of the application program in response to the user's editing operation on the header component in the fixed component area.
可以理解的是,在一种实施例中,用户编辑的固定组件区域中的组件可以是应用程序中任一页面中的组件。在一种实施例中,用户编辑的固定组件区域中的组件可以是头部页面或者底部页面中的组件。It can be understood that, in an embodiment, the components in the fixed component area edited by the user may be components in any page in the application program. In an embodiment, the components in the fixed component area edited by the user may be components in the head page or the bottom page.
这样,通过对固定组件区域中的组件进行编辑,能够实现应用程序中的多个页面的固定组件区域中相应部分的修改,无需逐个页面进行修改,提高了页面的灵活性,节省了时间,提高了修改效率。In this way, by editing the components in the fixed component area, the modification of the corresponding parts in the fixed component area of multiple pages in the application program can be realized without modifying each page, which improves the flexibility of the page, saves time, and improves modified efficiency.
可选的,在本公开实施例中,页面生成方法还可以包括:电子设备可以响应于用户对目标目录的设置操作,在目标页面显示目标目录的名称。在具体的实现中,电子设备响应于用户对目标目录的设置操作,在目标页面中显示目标目录的名称的具体过程包括:电子设备可以响应于用户对目标目录的设置操作,显示导航功能。当用户选择该导航功能时,电子设备可以响应于用户对该导航功能的确认操作,在目标页面中显示目标目录的名称。这样,能够使得当用户对目标页面中显示的目标目录的名称进行确认操作时,电子设备能够响应于用户的确认操作,在目标页面显示该目标目录下包括的多个页面的名称。Optionally, in this embodiment of the present disclosure, the method for generating a page may further include: the electronic device may display the name of the target directory on the target page in response to a user's setting operation on the target directory. In a specific implementation, the specific process of the electronic device displaying the name of the target directory on the target page in response to the user's setting operation on the target directory includes: the electronic device may display a navigation function in response to the user's setting operation on the target directory. When the user selects the navigation function, the electronic device may display the name of the target directory on the target page in response to the user's confirmation operation of the navigation function. In this way, when the user confirms the name of the target directory displayed on the target page, the electronic device can display the names of multiple pages included in the target directory on the target page in response to the user's confirmation operation.
可以理解的是,在本公开实施例中,在一种实施例中,上述多个页面可以是目标目录下包括的所有页面,此时所有页面中包括上述目标页面。在一种实施例中,上述多个页面可以是目标目录下包括的部分页面,可以根据实际场景需求预先进行配置。示例性的,多个页面可以是目标目录下已经上线的页面。或者,该多个页面可以是目标目录下已经选择导航功能后能够显示名称的页面。或者,该多个页面可以是预先配置的页面。本公开实施例在此 对多个页面不做限定。It can be understood that, in the embodiment of the present disclosure, in an embodiment, the above-mentioned multiple pages may be all pages included in the target directory, and in this case, all the pages include the above-mentioned target page. In an embodiment, the above multiple pages may be some pages included in the target directory, and may be pre-configured according to actual scene requirements. Exemplarily, the plurality of pages may be already online pages under the target directory. Alternatively, the plurality of pages may be pages whose names can be displayed after the navigation function has been selected under the target directory. Alternatively, the plurality of pages may be pre-configured pages. Embodiments of the present disclosure do not limit multiple pages here.
可选的,在本公开实施例中,页面生成方法还可以包括:电子设备可以响应于用户对目标页面中显示的目标目录名称的确定操作,在该目标页面中显示该目标目录下包括的多个页面的名称。Optionally, in this embodiment of the present disclosure, the method for generating a page may further include: the electronic device may respond to the user's operation of determining the name of the target directory displayed on the target page, displaying on the target page the multiple The name of the page.
可以理解的是,在本公开实施例中,电子设备在目标页面中显示该目标目录下包括的多个页面的名称,可以通过显示下拉菜单的方式,还可以通过显示一弹框的方式。本公开实施例在此对显示该目标目录下包括的多个页面的名称的显示方式不做限定。此外,上述目标目录下包括的多个页面的名称指的是该目标目录下的二级菜单、三级菜单等。It can be understood that, in the embodiment of the present disclosure, the electronic device may display the names of multiple pages included in the target directory on the target page by displaying a pull-down menu or by displaying a pop-up box. The embodiment of the present disclosure does not limit the display manner of displaying the names of multiple pages included in the target directory. In addition, the names of multiple pages included in the target directory refer to the second-level menu, third-level menu, etc. under the target directory.
示例性的,图4A为电子设备的一个企业平台中的架构编辑页面的示意图。如图4A所示,该架构编辑页面包括有四部分。Exemplarily, FIG. 4A is a schematic diagram of a structure editing page in an enterprise platform of electronic equipment. As shown in FIG. 4A , the schema editing page includes four parts.
1部分为操作区域部分,操作区域部分包括四个控件,分别是预览控件、查看数据控件、保存控件、退出控件。其中,电子设备可以响应于用户对预览控件的点击操作,提供多种预览模式,如平板模式预览、手机模式预览、电脑模式预览等。电子设备还可以响应于用户对查看数据控件的点击操作,显示当前页面的组件数据。电子设备还可以响应于用户对保存控件的点击操作,对当前页面的数据进行保存。电子设备还可以响应于用户对退出控件的点击操作,结束当前页面的显示,并跳转至上一级页面。Part 1 is the operation area, and the operation area includes four controls, which are preview control, view data control, save control, and exit control. Wherein, the electronic device may provide multiple preview modes, such as tablet mode preview, mobile phone mode preview, computer mode preview, etc., in response to the user's click operation on the preview control. The electronic device may also display component data of the current page in response to the user's click operation on the view data control. The electronic device may also save the data of the current page in response to the user's click operation on the save control. The electronic device may also end the display of the current page and jump to the upper level page in response to the user's click operation on the exit control.
2部分为导航栏控件,其可以包括网站架构控件和添加组件控件。其中,电子设备可以响应于用户对网站架构控件的点击操作,显示应用程序的页面的结构,如,当前应用程序包括的目录、特殊页面,以及每个目录下包括的页面。电子设备还可以响应于用户对添加组件控件的点击操作,显示组件库包括的组件的类型,供用户选择,并将选择的组件添加至目标页面的待编辑区域中。Part 2 is the navigation bar control, which may include website architecture controls and add component controls. Wherein, the electronic device may display the page structure of the application program in response to the user's click operation on the website structure control, for example, the categories and special pages included in the current application program, and the pages included in each category. The electronic device may also respond to the user's click operation on the add component control, display the types of components included in the component library for the user to select, and add the selected component to the area to be edited on the target page.
可以理解的是,在本公开实施例中,电子设备可以响应于用户对导航栏控件,即网站架构控件或添加组件控件的操作,来执行建立目标目录、显示该目标目录的名称,构建多个页面的固定组件区域,更新多个页面包括的固定组件区域中相应的组件,在目标页面显示目标目录的名称,以及显示包括有固定组件区域和待编辑区域的初始页面等操作。It can be understood that, in the embodiment of the present disclosure, the electronic device may respond to the user's operation on the navigation bar control, that is, the website architecture control or the component addition control, to execute creating a target directory, display the name of the target directory, and construct multiple The fixed component area of the page, update the corresponding components in the fixed component area included in multiple pages, display the name of the target directory on the target page, and display the initial page including the fixed component area and the area to be edited.
3部分为待编辑页面。刚进入架构编辑页面时,3部分显示的通常为首页页面。首页页面可以是预先设置好的默认页面,还可以是用户将某个目录之下的某个页面设置为首页页面。当用户重新选择一个新的页面作为首页页面时,电子设备可以根据用户的选择操作相应更新此处的首页页面中的内容。Part 3 is the page to be edited. When you first enter the structure editing page, the 3rd part usually displays the home page. The home page may be a pre-set default page, or a user may set a certain page under a certain directory as the home page. When the user reselects a new page as the home page, the electronic device may update the content of the home page accordingly according to the user's selection operation.
4部分为可编辑操作对应的控件,具体可以包括页面编辑控件和组件编辑控件。页面编辑控件用于对目标页面进行页面信息的编辑,以及页面包括的组件进行编辑。组件编辑控件用于对目标页面包括的每个组件的组件数据和属性信息进行编辑。Part 4 is the controls corresponding to editable operations, which may specifically include page editing controls and component editing controls. The page editing control is used to edit the page information of the target page and edit the components included in the page. The component editing control is used to edit the component data and attribute information of each component included in the target page.
电子设备可以响应于用户对2部分的网站架构控件的点击操作,在架构编辑页面中显示网站架构页面,如图4B所示。在图4B中,该企业平台可以包括特殊页面:首页页面、头部页面、底部页面、项目咨询页面,还可以包括目录:企业业务、个人业务、其他页面等目录。在每个特殊页面的关联位置,即页面名称的右侧位置,以及每个目录的关联位置,即目录名称的右侧位置,均设置有配置控件。且在网站架构字样的右侧位置也设置有几个功能控件,如新增页面控件、新增目录控件和导航控件。The electronic device may display the website architecture page on the architecture editing page in response to the user's click operation on the two-part website architecture control, as shown in FIG. 4B . In FIG. 4B , the enterprise platform may include special pages: home page, head page, bottom page, and project consultation page, and may also include directories: enterprise business, personal business, other pages, and other directories. Configuration controls are set at the associated position of each special page, that is, the right position of the page name, and the associated position of each directory, that is, the right position of the directory name. And there are several functional controls on the right side of the website structure words, such as new page control, new directory control and navigation control.
当用户点击网络架构右侧的新增页面控件时,电子设备可以响应于用户的点击操作,弹出一个弹框,供用户设置新增页面的名称,如图4C所示。待页面名称设置好之后,电子设备可以在架构编辑页面的3部分显示初始页面,并在网站架构中显示编辑后的页面名称。When the user clicks the new page control on the right side of the network structure, the electronic device may pop up a pop-up box in response to the user's click operation for the user to set the name of the new page, as shown in FIG. 4C . After the page name is set, the electronic device can display the initial page in the three parts of the structure editing page, and display the edited page name in the website structure.
当用户点击网络架构右侧的新增目录控件时,电子设备可以响应于用户的点击操作,弹出一个弹框,供用户设置新增目录的目录名称和类型,如图4D所示。待新增目录的名称设置后之后,电子设备可以在网站架构中显示编辑后的目录的名称,并更新该应用程序中的所有页面中的该目录的名称。When the user clicks the new directory control on the right side of the network structure, the electronic device may pop up a pop-up box in response to the user's click operation for the user to set the directory name and type of the newly added directory, as shown in FIG. 4D . After the name of the newly added directory is set, the electronic device can display the edited name of the directory in the website structure, and update the name of the directory in all pages in the application program.
当用户点击网络架构右侧的导航控件时,电子设备可以响应于用户的点击操作,显示导航控件的下拉菜单,该下拉菜单中包括网站架构的组成的显示方式,例如全部显示、显示已上线部分等。当用户选择全部显示时,电子设备可以响应于用户的操作,在网站架构之下显示该应用程序中的所有菜单。When the user clicks the navigation control on the right side of the network architecture, the electronic device can respond to the user's click operation and display the drop-down menu of the navigation control. The drop-down menu includes the display methods of the components of the website architecture, such as displaying all and displaying the online part wait. When the user selects to display all, the electronic device may display all menus in the application program under the website framework in response to the user's operation.
当用户点击企业业务目录右侧的配置控件时,电子设备可以响应于用户的点击操作,弹出一个弹框,该弹框中包括:新增页面控件、新增子目录控件、重命名控件、复制控件、删除控件、导航栏中显示控件,如图4E所示。当用户对新增页面控件进行点击时,电子设备可以根据用户的操作,在企业业务目录之下新增页面,在架构编辑页面的3部分显示初始页面。另外,新增子目录控件用于实现在企业业务之下增加子目录,重命名控件用于实现对企业业务这个名称的修改,复制控件用于实现该企业业务目录的复制,删除控件用于实现该企业业务目录的删除,导航栏中显示控件当被选中时便可以实现在右侧目标页面中显示该目录的名称。When the user clicks the configuration control on the right side of the enterprise business directory, the electronic device can pop up a bullet box in response to the user's click operation, which includes: add page control, add subdirectory control, rename control, copy Controls, delete controls, and display controls in the navigation bar, as shown in FIG. 4E. When the user clicks the new page control, the electronic device can add a new page under the enterprise business directory according to the user's operation, and display the initial page in the three parts of the structure editing page. In addition, the new subdirectory control is used to add subdirectories under the enterprise business, the rename control is used to modify the name of the enterprise business, the copy control is used to copy the enterprise business directory, and the delete control is used to realize For the deletion of the enterprise business directory, when the display control in the navigation bar is selected, the name of the directory can be displayed on the right target page.
当用户点击目标页面的企业业务组件时,或者,当用户使用鼠标悬浮至 该企业业务组件时,电子设备可以响应于用户的操作,在目标页面中显示一下拉框。该下拉框中可以包括:企业业务目录下的二级菜单。例如,该二级目录可以包括企业目录下的子目录,还可以包括企业业务目录下的页面,还可以包括子目录下包括的页面。示例性的,企业业务目录下可以包括子目录:城市公共服务、工业互联网、智慧出行等。其中,城市公共服务这个子目录下可以包括页面的名称,如办公解决方案、能源管理方案、节能解决方案、运维解决方案、交易管理解决方案、公寓解决方案等。When the user clicks on the enterprise business component of the target page, or when the user uses the mouse to hover over the enterprise business component, the electronic device can display a drop-down box on the target page in response to the user's operation. The drop-down box may include: a secondary menu under the business directory of the enterprise. For example, the secondary directory may include subdirectories under the enterprise directory, pages under the enterprise business directory, and pages included under the subdirectories. Exemplarily, the enterprise business directory may include sub-categories: urban public services, industrial Internet, smart travel, etc. Among them, the subdirectory of urban public services can include the name of the page, such as office solutions, energy management solutions, energy-saving solutions, operation and maintenance solutions, transaction management solutions, apartment solutions, etc.
需要说明的是,在本公开实施例中,当用户点击图4E中的企业业务左侧的展开按钮时,电子设备可以响应于用于的点击操作,显示企业业务目录下的所有菜单。此时,目标页面中的企业业务目录下的所有菜单对应目标页面左侧的网站架构中的企业业务下的所有菜单。且,网站架构的企业业务目录下的所有菜单中的某个页面对应目标页面中的企业业务目录下的所有菜单中的某个页面。It should be noted that, in the embodiment of the present disclosure, when the user clicks the expand button on the left side of the enterprise business in FIG. 4E , the electronic device may display all menus under the enterprise business catalog in response to the click operation of the user. At this time, all the menus under the enterprise business directory on the target page correspond to all menus under the enterprise business in the website architecture on the left side of the target page. Moreover, a certain page in all menus under the enterprise business directory of the website structure corresponds to a certain page in all menus under the enterprise business directory on the target page.
当用户点击首页页面右侧的配置控件时,电子设备可以响应于用户的点击操作,弹出一个弹框,该弹框中包括:新增子页面控件、重命名控件、复制控件、删除控件、导航栏中显示控件、设置为首页控件,如图4F所示。当用户对新增子页面进行点击时,电子设备可以响应于用户的操作,在该首页页面下新增子页面,并在架构编辑页面的3部分显示初始页面。另外,设置为首页控件被选中时便可以实现将当前页面作为首页页面。关于其他控件的具体介绍可以参考上述实施例中相关介绍,在此不再赘述。When the user clicks the configuration control on the right side of the home page, the electronic device can pop up a pop-up box in response to the user's click operation. The pop-up box includes: new sub-page control, rename control, copy control, delete control, navigation The control displayed in the column is set as the home page control, as shown in Figure 4F. When the user clicks on the added subpage, the electronic device may respond to the user's operation to add a new subpage under the home page, and display the initial page in the three parts of the structure editing page. In addition, when the control is set to the home page is selected, the current page can be used as the home page. For specific introductions about other controls, reference may be made to related introductions in the foregoing embodiments, and details are not repeated here.
需要说明的是,在本公开实施例中,上述图4A的架构编辑页面可以是从网站设计页面跳转进入的。在网站设计页面中,显示有中文版控件和英文版控件。当用户选择中文版控件时,电子设备可以跳转至图4A的页面。当用户选择英文版控件时,电子设备可以跳转至相应的架构编辑页面,该页面中的文字为英文。It should be noted that, in the embodiment of the present disclosure, the above-mentioned architecture editing page in FIG. 4A may be entered by jumping from the website design page. On the website design page, there are Chinese version controls and English version controls displayed. When the user selects the Chinese version of the control, the electronic device can jump to the page in Figure 4A. When the user selects the English version of the control, the electronic device can jump to the corresponding architecture editing page, and the text on the page is in English.
202、电子设备响应于在组件库中选择目标组件的操作,在待编辑区域中显示待编辑的目标组件。202. In response to an operation of selecting a target component in the component library, the electronic device displays the target component to be edited in the area to be edited.
电子设备在显示了初始页面之后,可以响应于用户在组件库中选择目标组件的操作,在待编辑区域中显示待编辑的目标组件。After displaying the initial page, the electronic device may display the target component to be edited in the area to be edited in response to the user's operation of selecting the target component in the component library.
示例性的,结合上述图4A,电子设备可以响应于用户对2部分的添加组件控件的点击操作,在架构编辑页面中显示包含多种组件类型的组件库页面,如图5A所示。在图5A中,组件库中的组件类型可以包括:图文类型、文本类型、图片类型、表格类型、块级类型、标题类型等。其中,图文类型组件 指的是包括有图片和文本的组件。文本类型组件指的是仅包括文本的组件。表格类型组件指的是包括表格的组件。对于块级类型组件,当用户选择某个块级组件时,电子设备可以显示该组件的缩略图和介绍信息。Exemplarily, referring to the above-mentioned FIG. 4A , the electronic device may display a component library page containing multiple component types on the architecture editing page in response to the user's click operation on the 2-part add component control, as shown in FIG. 5A . In FIG. 5A , the component types in the component library may include: graphic type, text type, picture type, table type, block-level type, title type and so on. Among them, the picture-text type component refers to a component including pictures and texts. A text type component refers to a component including only text. A table type component refers to a component including a table. For block-level components, when a user selects a certain block-level component, the electronic device may display a thumbnail image and introduction information of the component.
再例如,图5B为初始页面的示意图。如图5B所示,501为头部组件,该头部组件中显示有企业业务目录和个人业务目录。502为底部组件,该底部组件中显示有企业平台的二维码。503为用户在初始页面的待编辑区域选择的目标组件。如图5B所示,目标组件为用户选择的表格类型组件。For another example, FIG. 5B is a schematic diagram of an initial page. As shown in FIG. 5B , 501 is a header component, which displays an enterprise business directory and a personal business directory. 502 is the bottom component, and the two-dimensional code of the enterprise platform is displayed in the bottom component. 503 is the target component selected by the user in the area to be edited on the initial page. As shown in FIG. 5B , the target component is a form type component selected by the user.
203、电子设备响应于对待编辑的目标组件的编辑操作,获取组件信息,根据组件信息在初始页面显示编辑后的目标组件,生成编辑后的目标页面。203. The electronic device acquires component information in response to an editing operation of the target component to be edited, displays the edited target component on the initial page according to the component information, and generates an edited target page.
电子设备在待编辑区域中显示了待编辑的目标组件之后,可以实时检测用户的编辑操作,并响应于用户对待编辑的目标组件的编辑操作,获取组件信息,且根据组件信息在初始页面中显示编辑后的目标组件,最后生成编辑后的目标页面。组件信息可以包括以下至少一项:属性信息、组件数据。该属性信息包括目标组件的样式信息,组件数据包括目标组件中填充的数据。After the electronic device displays the target component to be edited in the area to be edited, it can detect the user's editing operation in real time, and obtain component information in response to the user's editing operation on the target component to be edited, and display it on the initial page according to the component information The edited target component finally generates the edited target page. The component information may include at least one of the following: attribute information and component data. The attribute information includes style information of the target component, and the component data includes data filled in the target component.
可以理解的,上述对目标组件的编辑操作可以包括对目标组件的属性信息和组件数据的操作。对目标组件的属性信息的操作可以包括:对目标组件的样式,如目标组件的边框样式、长、宽、边距、间距、背景、字体等的操作,对组件数据的操作可以包括:对目标组件中填充的文字或图片或表格的操作。通过上述属性信息中的长和宽的操作,能够实现对目标组件的大小的调整。It can be understood that the editing operation on the target component may include operations on attribute information and component data of the target component. The operation on the property information of the target component may include: the style of the target component, such as the border style, length, width, margin, spacing, background, font, etc. of the target component, and the operation on the component data may include: The operation of text or pictures or tables filled in components. The adjustment of the size of the target component can be realized through the operation of the length and width in the above attribute information.
示例性的,结合上述图5B,503为表格组件。如图5C所示,为在初始页面的右侧会显示组件503的属性信息和组件数据的详细设置信息。如图5C所示,组件503的属性信息可以包括标题、外边框、清空样式等设置。组件数据的详细设置信息可以包括每个组件数据的标题等。当用户点击右侧的外边框时,可以弹出一个弹框,如图5D所示,为弹框中显示的外边框的详细设置信息。如图5D所示,外边框的详细设置信息可以包括:边距、间距、背景、颜色等方面的设置。Exemplarily, with reference to the above-mentioned FIG. 5B , 503 is a table component. As shown in FIG. 5C , the property information of the component 503 and the detailed setting information of the component data are displayed on the right side of the initial page. As shown in FIG. 5C , the attribute information of the component 503 may include settings such as title, outer border, and clear style. The detailed setting information of the component data may include a title and the like of each component data. When the user clicks on the outer border on the right, a pop-up box may pop up, as shown in FIG. 5D , which is detailed setting information of the outer border displayed in the pop-up box. As shown in FIG. 5D , the detailed setting information of the outer border may include: setting of margin, spacing, background, color, and the like.
需要说明的是,在本公开实施例中,组件数据可以包括多层数据的情况。用户可以对某个组件数据进行进一步的编辑,以提供更加详细的该组件数据。It should be noted that, in the embodiment of the present disclosure, the component data may include multi-layer data. Users can further edit the data of a certain component to provide more detailed data of the component.
另外,在本公开实施例中,可以在电子设备的企业平台中增加链接。该链接可以是内部链接,还可以是外部链接。内部链接指的是能够链接到企业平台的地址。外部链接指的是能够链接到其他网页的地址。In addition, in the embodiment of the present disclosure, a link may be added in the enterprise platform of the electronic device. The link can be internal or external. Internal link refers to the address that can link to the enterprise platform. External links refer to addresses that can link to other web pages.
此外,本公开实施例中的组件库包括的组件是可以进行编辑的。具体的, 对于包括有图片的组件来说,当在初始页面中选择图片组件作为目标组件时,用户可以在目标页面的右侧对该图片组件进行编辑。例如,可以先选中该图片组件,然后点击需要修改的该图片组件中的图片,可以对选择的图片进行删除操作或者是替换操作。当需要替换图片时,可以通过两种途径选择新的图片。第一种是通过在本地选择的方式上传图片,第二种是选择网络库中的图片进行替换。对于文本组件来说,当在初始页面中选择文本组件作为目标组件时,用户可以在目标页面的右侧的组件编辑栏中对该文本组件进行编辑。具体的,可以先选中该文本组件,然后在该文本组件的组件数据中输入要修改的文字,最后点击保存按钮生效。对于包含有链接、图片的组件来说,可以在目标页面的右侧组件编辑栏中选择要修改的图片,并选中该图片对应的链接。此时,电子设备可以显示一个链接弹框。当在该链接弹框中输入外部链接时,电子设备可以选择该外部链接对应的页面来替换原来的链接对应的页面。In addition, the components included in the component library in the embodiments of the present disclosure can be edited. Specifically, for a component including a picture, when the picture component is selected as the target component on the initial page, the user can edit the picture component on the right side of the target page. For example, the picture component can be selected first, and then the picture in the picture component to be modified can be clicked, and the selected picture can be deleted or replaced. When a picture needs to be replaced, there are two ways to select a new picture. The first is to upload pictures by local selection, and the second is to select pictures in the network library for replacement. For the text component, when the text component is selected as the target component on the initial page, the user can edit the text component in the component editing bar on the right side of the target page. Specifically, you can first select the text component, then enter the text to be modified in the component data of the text component, and finally click the save button to take effect. For components containing links and pictures, you can select the picture to be modified in the component editing bar on the right side of the target page, and select the link corresponding to the picture. At this time, the electronic device may display a link pop-up box. When an external link is input in the link pop-up box, the electronic device may select a page corresponding to the external link to replace the page corresponding to the original link.
本公开实施例提供的页面生成方法,生成页面时,可以先显示页面固有的头部组件、底部组件和待编辑区域,然后复用配置好的组件库中的组件,响应于用户对组件的编辑操作,显示编辑后的组件,生成编辑后的目标页面。无需单独开发每个页面,提高了页面的复用性和灵活性,从而降低了页面的开发成本,提高了页面的开发效率。The page generation method provided by the embodiment of the present disclosure, when generating a page, can first display the inherent head component, bottom component and area to be edited of the page, and then reuse the components in the configured component library to respond to the user's editing of the components Action, display the edited component and generate the edited target page. There is no need to develop each page separately, which improves the reusability and flexibility of the page, thereby reducing the development cost of the page and improving the development efficiency of the page.
且,通过提前配置组件库的方式将各个组件串联起来,形成一个可插拔式的工作流程,能够快速响应组件需求的变更,个性化程度较高。Moreover, each component is connected in series by configuring the component library in advance to form a pluggable workflow, which can quickly respond to changes in component requirements and has a high degree of personalization.
可选的,在本公开实施例中,电子设备还可以响应于对目标页面的编辑操作,获取目标页面的页面信息,并更新显示该目标页面。其中,页面信息可以包括以下至少一项:目标页面的缩略图、页面地址、页面标签、描述信息。缩略图可用于上传或修改目标页面中的图片、页面地址用于指示该目标页面的地址,页面标签用于指示目标页面的样式,描述信息包括目标页面的描述性文本。Optionally, in this embodiment of the present disclosure, the electronic device may also acquire page information of the target page in response to an editing operation on the target page, and update and display the target page. Wherein, the page information may include at least one of the following: a thumbnail of the target page, a page address, a page label, and description information. Thumbnails can be used to upload or modify pictures on the target page, page addresses are used to indicate the address of the target page, page tags are used to indicate the style of the target page, and description information includes descriptive text of the target page.
这样,实现了目标页面的可编辑,提高了页面编辑的灵活性。当页面的需求发生变更时,通过编辑该页面,能够快速响应需求的变更,极大地降低了人力成本,提高了开发效率。In this way, the editability of the target page is realized, and the flexibility of page editing is improved. When the requirements of the page change, editing the page can quickly respond to the change of requirements, greatly reducing labor costs and improving development efficiency.
可以理解的,上述对目标页面的操作可以包括:对目标页面中的目标组件的复制操作、移动操作、显示操作、隐藏操作、替换操作、插入操作、拖拽操作等。其中,移动操作可以包括:上移操作(将目标组件移动到上一个组件之前)、下移操作(将目标组件移动到下一个组件之后)、左移操作、 右移操作、拖动操作(响应于用户对目标组件的拖动操作移动该目标组件的位置)等。插入操作是指在目标组件之前或之后插入一个新的组件。拖拽操作指的是用户通过操作目标组件的边框,来调整目标组件所占区域的大小。通过上述移动操作能够实现目标组件的位置的移动。It can be understood that the above operations on the target page may include: copying, moving, displaying, hiding, replacing, inserting, dragging, and so on of the target component on the target page. Among them, the move operation may include: move up operation (move the target component before the previous component), move down operation (move the target component behind the next component), move left, move right, drag operation (response due to the user's drag operation on the target component to move the position of the target component), etc. Insert operation refers to inserting a new component before or after the target component. The drag operation means that the user adjusts the size of the area occupied by the target component by manipulating the frame of the target component. The movement of the position of the target component can be realized through the above-mentioned movement operation.
示例性的,图5E为目标页面的编辑场景示意图。如图5E所示,当用户选择右上方的页面编辑控件之后,电子设备可以在目标页面的右侧显示目标页面的具体编辑信息,具体包括:目标页面中的图片的缩略图的上传、页面标签的选择、页面地址的编辑,以及目标页面中的已有组件的操作,具体包括:对已经选择的组件的上移操作、下移操作、删除操作、复制操作。当用户选择上移操作时,电子设备可以将当前已选组件移动到该已选组件的上方组件之上。当用户选择下移操作时,电子设备可以将当前已选组件移动到该已选组件的下方组件之下。当用户选择删除操作时,电子设备可以将当前已选组件删除。当用户选择复制操作时,电子设备可以对当前已选组件进行复制,并将复制后的组件放置在待编辑区域的底部。Exemplarily, FIG. 5E is a schematic diagram of an editing scene of a target page. As shown in Figure 5E, after the user selects the page editing control on the upper right, the electronic device can display the specific editing information of the target page on the right side of the target page, specifically including: uploading of thumbnails of pictures in the target page, page labels selection, page address editing, and operations on existing components in the target page, specifically including: moving up, moving down, deleting, and copying the selected components. When the user selects the move up operation, the electronic device can move the currently selected component to the upper component of the selected component. When the user selects a move down operation, the electronic device may move the currently selected component to a component below the selected component. When the user selects a delete operation, the electronic device can delete the currently selected component. When the user selects a copy operation, the electronic device can copy the currently selected components, and place the copied components at the bottom of the area to be edited.
可选的,在本公开实施例中,上述电子设备获取组件信息,根据组件信息在目标页面显示编辑后的目标组件的具体过程可以为:电子设备预先配置能够编辑的组件,并将该组件的原始数据以预设格式进行存储,例如,以json的格式进行存储。然后,当用户对该组件进行操作时,电子设备可以通过显示器实时的检测用户的行为,并获取组件信息,并将该组件信息传输至后台处理模块,即传输至后台的java模块。后台处理模块在获取到组件信息之后,可以对预设格式的原始数据进行修改。修改完成后,当需要显示目标页面时,电子设备便可以调用目标页面的组件的修改后的数据来渲染目标页面,从而实现了电子设备根据用户的编辑操作实现页面的更新。Optionally, in this embodiment of the present disclosure, the above-mentioned electronic device obtains the component information, and the specific process of displaying the edited target component on the target page according to the component information may be as follows: the electronic device pre-configures an editable component, and the component's The original data is stored in a preset format, for example, in json format. Then, when the user operates the component, the electronic device can detect the user's behavior in real time through the display, obtain component information, and transmit the component information to the background processing module, that is, to the java module in the background. After the background processing module obtains the component information, it can modify the original data in the preset format. After the modification is completed, when the target page needs to be displayed, the electronic device can invoke the modified data of the components of the target page to render the target page, thereby implementing the electronic device to update the page according to the user's editing operation.
这样,电子设备通过实时监测用户的操作,并根据用户的操作与后台处理模块进行通信,以便实现根据用户的编辑操作实时更新页面。In this way, the electronic device monitors the user's operation in real time, and communicates with the background processing module according to the user's operation, so as to update the page in real time according to the user's editing operation.
可选的,在本公开实施例中,上述步骤202中涉及的组件库可以是预先获取到应用程序中大同小异的组件,并存储在电子设备中的。在该情况下,本公开实施例提供的页面生成方法还可以包括:电子设备可以获取该应用程序的已有的M个组件,M为大于1的整数,并获取M个组件中每个组件的类型和组件数据,根据每个组件的类型和组件数据,采用预存的分类规则对M个组件进行分类,得到至少一个组件集合。最后根据至少一个组件集合中的每个组件集合,得到每个组件集合对应的目标组件存储在组件库中。其中,类型包括以下至少一项:文本组件、图片组件、视频组件、图文组件、表格 组件等。Optionally, in the embodiment of the present disclosure, the component library involved in the above step 202 may be pre-acquired in the application program with similar components, and stored in the electronic device. In this case, the page generation method provided by the embodiment of the present disclosure may further include: the electronic device may obtain the existing M components of the application program, where M is an integer greater than 1, and obtain the information of each component in the M components. Type and component data, according to the type and component data of each component, the M components are classified by using the pre-stored classification rules to obtain at least one component set. Finally, according to each component set in at least one component set, the target component corresponding to each component set is obtained and stored in the component library. Wherein, the type includes at least one of the following: text component, picture component, video component, graphic component, table component, etc.
这样,由于同一个应用程序中的某些组件的复用程度会较高,通过对该应用程序中的已开发的组件进行分类,并将每类型的组件存储至组件库中,供用户选择使用。也就是说,组件库包括的组件是从已有的组件中抽取得到的共用的组件,而不是随便得到的,这样有利于后续页面的快速产出,降低组件库中没有用户想要使用的组件的可能性。且,可以周期性的进行已有的组件的分类、抽取过程,来保证组件库的可扩展性。In this way, because some components in the same application have a higher degree of reuse, by classifying the developed components in the application, and storing each type of component in the component library, for users to choose and use . That is to say, the components included in the component library are shared components extracted from existing components, rather than randomly obtained, which is conducive to the rapid output of subsequent pages and reduces the number of components that users do not want to use in the component library. possibility. Moreover, the existing component classification and extraction process can be carried out periodically to ensure the scalability of the component library.
可选的,在本公开实施例中,上述电子设备根据每个组件的类型和组件数据,采用预存的分类规则对M个组件进行分类,得到至少一个组件集合,具体可以包括:电子设备根据分类规则,将类型相同、组件内容相似的组件确定为一个组件集合。需要说明的是,在本公开实施例中,上述分类规则是预先根据实验得到并存储的电子设备中的,本公开实施例在此对分类规则不做限定。Optionally, in this embodiment of the present disclosure, the above-mentioned electronic device classifies the M components according to the type and component data of each component, and uses a pre-stored classification rule to obtain at least one component set, which may specifically include: the electronic device classifies according to Rules to determine components of the same type and similar component content as a set of components. It should be noted that, in the embodiments of the present disclosure, the above classification rules are obtained in advance according to experiments and stored in the electronic device, and the embodiments of the present disclosure do not limit the classification rules here.
可选的,在本公开实施例中,上述电子设备将类型相同、组件内容相似的组件确定为一个组件集合,具体可以包括:若组件的类型为图片组件或者视频组件,则电子设备可以将组件数据对应本地地址的组件确定为一个组件集合,将组件数据对应网络地址的组件确定为一个组件集合。若组件的类型为文本组件,则电子设备可以将组件数据中的文本样式相同的组件确定为一个组件集合,文本样式相同可以是文本格式都居中或居左,或者,文本中都包括动效文本等。若组件的类型为图文组件,则电子设备可以将组件数据中图文结构相同的组件确定为一个组件集合,图文结构相同可以是文本和图片的相对位置均相同。若组件的类型为表格组件,则电子设备可以将表格格式相同的组件确定为一个组件集合。Optionally, in the embodiment of the present disclosure, the above-mentioned electronic device determines components of the same type and similar component content as a set of components, which may specifically include: if the type of the component is a picture component or a video component, the electronic device may determine the components The component whose data corresponds to the local address is determined as a component set, and the component whose data corresponds to the network address is determined as a component set. If the type of the component is a text component, the electronic device can determine the components with the same text style in the component data as a set of components. The same text style can be that the text format is centered or left-aligned, or the text includes dynamic text, etc. . If the type of the component is a graphic-text component, the electronic device may determine components with the same graphic-text structure in the component data as a component set, and the same graphic-text structure may mean that the relative positions of the text and the picture are the same. If the type of the component is a table component, the electronic device may determine components with the same table format as a set of components.
可以理解的是,组件的类型多种多样,上述仅是以示例性的形式列举了如何划分组件集合,以便每个组件集合都能得到一个该类型的组件。当然,还可以采用其他分类方式对组件进行划分,本公开实施例在此不做限定。It can be understood that there are various types of components, and the above is just an example of how to divide the component sets, so that each component set can obtain a component of this type. Certainly, other classification manners may also be used to divide the components, which are not limited in this embodiment of the present disclosure.
示例性的,假设M个组件来自图6的页面中。如图6可知,该页面包括三个组件,即M为3。这三个组件均为文本组件,在页面的不同位置显示,每个文本组件包括的组件数据不同。因此,可以根据这三个组件得到文本组件集合。且,由图6可知,这三个文本组件的字体大小、间距、边距、行高等均不同,因此可以将这些属性信息作为该文本组件集合对应的目标文本组件的属性信息。Exemplarily, it is assumed that M components come from the page in FIG. 6 . As can be seen from Figure 6, the page includes three components, ie M is 3. These three components are all text components, which are displayed at different positions on the page, and each text component contains different component data. Therefore, a collection of text components can be obtained according to these three components. Moreover, it can be seen from FIG. 6 that the font size, spacing, margin, and line height of the three text components are all different, so these attribute information can be used as the attribute information of the target text component corresponding to the text component set.
再例如,假设对M个组件的分类结果中有图片组件集合,那么图片组件 集合对应的目标组件的属性信息中可以包括:是否显示图片对应的位置等属性。For another example, assuming that there is a picture component set in the classification result of M components, the attribute information of the target component corresponding to the picture component set may include: whether to display attributes such as the position corresponding to the picture.
需要说明的是,在本公开实施例中,可以预先配置多媒体资源库,当然该多媒体资源库也可以实时更新。该多媒体资源库用于存储生成页面所需的图片、文章、视频、音频等。该多媒体资源库中存储的多媒体资源可以用于组件的组件数据。It should be noted that, in the embodiment of the present disclosure, the multimedia resource library may be preconfigured, and of course, the multimedia resource library may also be updated in real time. The multimedia resource library is used to store pictures, articles, videos, audios, etc. required for generating pages. The multimedia resources stored in the multimedia resource library can be used for the component data of the component.
对于图片来说,用户可以将图片上传至电子设备的企业平台。为了便于管理图片库中的图片,可以在上传图片时为图片添加标签,并将该图片上传至该标签下,以便于后台统一管理图片,从而便于可编辑的页面中的图片的上传和替换。For pictures, users can upload pictures to the enterprise platform of the electronic device. In order to facilitate the management of pictures in the picture library, you can add a label to the picture when uploading the picture, and upload the picture to this label, so as to facilitate the unified management of pictures in the background, so as to facilitate the upload and replacement of pictures in editable pages.
对于文章来说,可以预先创建不同的文章分类,具体的可以根据文章的详情进行分类。例如,某文章类型可以为新闻中心,新闻中心之下的子类型可以包括公司动态、媒体视角等。文章的类型是可以进行增加、删除、编辑的。当需要新增文章时,用户可以输入文章标题、并选择文章的语言、所属的类型、发布事件、文章封面等,电子设备可以响应于用户的操作,将文章上传至电子设备中,供用户选择使用。For articles, different article classifications can be created in advance, which can be specifically classified according to the details of the articles. For example, an article type can be News Center, and subtypes under News Center can include company news, media perspectives, and so on. Article types can be added, deleted, and edited. When it is necessary to add an article, the user can input the title of the article, and select the language of the article, the type of the article, the release event, the cover of the article, etc., and the electronic device can respond to the user's operation and upload the article to the electronic device for the user to choose use.
上述主要从方法的角度对本公开实施例提供的方案进行了介绍。为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的算法步骤,本公开能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本公开的范围。The foregoing mainly introduces the solutions provided by the embodiments of the present disclosure from the perspective of methods. In order to realize the above functions, it includes corresponding hardware structures and/or software modules for performing various functions. Those skilled in the art should easily realize that, in combination with the algorithm steps of the examples described in the embodiments disclosed herein, the present disclosure can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software drives hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementation should not be considered beyond the scope of the present disclosure.
如图7所示,为本公开实施例提供的一种页面生成装置70的结构示意图,页面生成装置70用于执行图2所示的页面生成方法。页面生成装置70可以包括显示单元71、获取单元72和生成单元73。As shown in FIG. 7 , it is a schematic structural diagram of a page generation device 70 provided by an embodiment of the present disclosure, and the page generation device 70 is used to execute the page generation method shown in FIG. 2 . The page generation device 70 may include a display unit 71 , an acquisition unit 72 and a generation unit 73 .
显示单元71,用于响应于建立页面的操作,显示初始页面,初始页面包括:头部组件、底部组件和待编辑区域;响应于在组件库中选择目标组件的操作,在待编辑区域中显示待编辑的目标组件。The display unit 71 is used to display the initial page in response to the operation of setting up the page. The initial page includes: a head component, a bottom component and an area to be edited; in response to the operation of selecting a target component in the component library, display in the area to be edited The target component to be edited.
获取单元72,用于响应于对显示单元71显示的待编辑的目标组件的编辑操作,获取组件信息;其中,组件信息包括以下至少一项:属性信息、组件数据,属性信息包括目标组件的样式信息,组件数据包括目标组件中填充的数据。The acquisition unit 72 is configured to acquire component information in response to an editing operation on the target component to be edited displayed by the display unit 71; wherein the component information includes at least one of the following: attribute information, component data, and the attribute information includes the style of the target component Information, component data includes the data populated in the target component.
显示单元71,还用于根据获取单元72获取的组件信息在初始页面显示编辑后的目标组件。The display unit 71 is further configured to display the edited target component on the initial page according to the component information acquired by the acquiring unit 72 .
生成单元73,用于生成编辑后的目标页面。A generating unit 73, configured to generate an edited target page.
可选的,显示单元71,还用于响应于建立目录的操作,显示目标目录的名称。Optionally, the display unit 71 is further configured to display the name of the target directory in response to the operation of creating the directory.
显示单元71,具体用于:响应于在目标目录下新增页面的操作,显示初始页面,初始页面是目标目录下的一个功能页面。The display unit 71 is specifically configured to: display an initial page in response to an operation of adding a new page under the target directory, where the initial page is a functional page under the target directory.
可选的,获取单元72,还用于响应于对目标页面的编辑操作,获取目标页面的页面信息;页面信息包括以下至少一项:目标页面的缩略图、页面地址、页面标签、描述信息。Optionally, the obtaining unit 72 is further configured to obtain page information of the target page in response to an editing operation on the target page; the page information includes at least one of the following: a thumbnail of the target page, a page address, a page label, and description information.
显示单元71,还用于响应于对目标页面的编辑操作,更新显示目标页面。The display unit 71 is further configured to update and display the target page in response to an editing operation on the target page.
可选的,显示单元71,具体用于:响应于对目标页面的目标组件的调整操作,更新显示目标页面中的目标组件,调整操作包括以下至少一种:复制操作、删除操作、移动操作、隐藏操作。Optionally, the display unit 71 is specifically configured to: update and display the target component in the target page in response to an adjustment operation on the target component of the target page. The adjustment operation includes at least one of the following: copy operation, delete operation, move operation, Hide actions.
可选的,目标组件的原始数据以预设格式进行存储,显示单元71,具体用于:通过电子设备的显示器监听组件信息,并将监听到的组件信息传输至后台处理模块;通过后台处理模块,根据组件信息对预设格式的原始数据进行修改;根据修改后的原始数据渲染目标页面。Optionally, the original data of the target component is stored in a preset format, and the display unit 71 is specifically used to: monitor the component information through the display of the electronic device, and transmit the monitored component information to the background processing module; through the background processing module , modify the original data in the preset format according to the component information; render the target page according to the modified original data.
可选的,如图8所示,页面生成装置70还可以包括:分类单元74。Optionally, as shown in FIG. 8 , the page generation device 70 may further include: a classification unit 74 .
获取单元72,还用于获取M个组件,M为大于1的整数;获取M个组件中每个组件的类型和组件数据,类型包括以下至少一项:文本组件、图片组件、视频组件、图文组件、表格组件。The acquisition unit 72 is also used to acquire M components, where M is an integer greater than 1; acquire the type and component data of each component in the M components, and the type includes at least one of the following: a text component, a picture component, a video component, a graph Text component, table component.
分类单元74,用于根据获取单元72获取的每个组件的类型和组件数据,采用预存的分类规则对M个组件进行分类,得到至少一个组件集合。The classification unit 74 is configured to classify the M components by using pre-stored classification rules according to the type and component data of each component acquired by the acquisition unit 72 to obtain at least one component set.
生成单元73,还用于根据至少一个组件集合中的每个组件集合,得到每个组件集合对应的目标组件存储在组件库中。The generating unit 73 is further configured to, according to each component set in at least one component set, obtain a target component corresponding to each component set and store it in the component library.
可选的,分类单元74,具体用于:根据分类规则,将类型相同、组件内容相似的组件确定为一个组件集合。Optionally, the classification unit 74 is specifically configured to: determine components of the same type and similar component content as a component set according to the classification rules.
可选的,分类单元74,具体用于:若组件的类型为图片组件或者视频组件,则将组件数据对应本地地址的组件确定为一个组件集合,将组件数据对应网络地址的组件确定为一个组件集合;若组件的类型为文本组件,则将组件数据中的文本样式相同的组件确定为一个组件集合;若组件的类型为图文组件,则将组件数据中图文结构相同的组件确定为一个组件集合。Optionally, the classification unit 74 is specifically configured to: if the type of the component is a picture component or a video component, then determine the component whose component data corresponds to the local address as a component set, and determine the component whose component data corresponds to the network address as a component Set; if the type of the component is a text component, determine the components with the same text style in the component data as a set of components; if the type of the component is a graphic component, determine the components with the same graphic structure in the component data as a component A collection of components.
可选的,初始页面还可以包括:固定组件区域。如图8所示,页面生成装置还可以包括:更新单元75。Optionally, the initial page may further include: a fixed component area. As shown in FIG. 8 , the page generating device may further include: an updating unit 75 .
所述生成单元73,还用于响应于建立所述固定组件区域的操作,构建多个页面的所述固定组件区域,多个页面的所述固定组件区域相同。The generating unit 73 is further configured to construct the fixed component areas of multiple pages in response to the operation of establishing the fixed component areas, and the fixed component areas of the multiple pages are the same.
所述更新单元75,用于响应于对所述固定组件区域中的组件的编辑操作,更新所述多个页面包括的所述固定组件区域中相应的组件。The updating unit 75 is configured to update corresponding components in the fixed component area included in the plurality of pages in response to an editing operation on the components in the fixed component area.
可选的,固定组件区域中的组件可以包括以下至少一项:头部组件、底部组件。Optionally, the components in the fixed component area may include at least one of the following: a head component and a bottom component.
可选的,显示单元71,还用于响应于对所述目标目录的设置操作,在所述目标页面显示所述目标目录的名称。Optionally, the display unit 71 is further configured to display the name of the target directory on the target page in response to a setting operation on the target directory.
可选的,显示单元71,还用于响应于对所述目标页面中显示的所述目标目录名称的确认操作,在所述目标页面显示所述目标目录下包括的多个页面的名称。Optionally, the display unit 71 is further configured to, in response to a confirmation operation on the name of the target directory displayed on the target page, display names of multiple pages included in the target directory on the target page.
当然,本公开实施例提供的页面生成装置70包括但不限于上述模块。Certainly, the page generating device 70 provided in the embodiment of the present disclosure includes but is not limited to the above modules.
在实际实现时,显示单元71、获取单元72、生成单元73和分类单元74可以由图1所示的页面生成装置的处理器来实现。其具体的执行过程可参考图2所示的页面生成方法部分的描述,这里不再赘述。In actual implementation, the display unit 71 , the acquisition unit 72 , the generation unit 73 and the classification unit 74 can be implemented by the processor of the page generation device shown in FIG. 1 . For the specific execution process, please refer to the description of the page generation method shown in FIG. 2 , which will not be repeated here.
本公开的一些实施例提供了一种计算机可读存储介质(例如,非暂态计算机可读存储介质),该计算机可读存储介质中存储有计算机程序指令,计算机程序指令在处理器上运行时,使得处理器执行如上述实施例中任一实施例所述的页面生成方法中的一个或多个步骤。Some embodiments of the present disclosure provide a computer-readable storage medium (for example, a non-transitory computer-readable storage medium), where computer program instructions are stored in the computer-readable storage medium, and when the computer program instructions are run on a processor , so that the processor executes one or more steps in the method for generating a page as described in any one of the above embodiments.
示例性的,上述计算机可读存储介质可以包括,但不限于:磁存储器件(例如,硬盘、软盘或磁带等),光盘(例如,压缩盘(Compact Disk,CD)、数字通用盘(Digital Versatile Disk,DVD)等),智能卡和闪存器件(例如,可擦写可编程只读存储器(Erasable Programmable Read-Only Memory,EPROM)、卡、棒或钥匙驱动器等)。本公开描述的各种计算机可读存储介质可代表用于存储信息的一个或多个设备和/或其它机器可读存储介质。术语“机器可读存储介质”可包括但不限于,无线信道和能够存储、包含和/或承载指令和/或数据的各种其它介质。Exemplarily, the above-mentioned computer-readable storage medium may include, but is not limited to: magnetic storage devices (such as hard disks, floppy disks, or tapes, etc.), optical disks (such as compact disks (Compact Disk, CD), digital versatile disks (Digital Versatile Disk, DVD), etc.), smart cards and flash memory devices (for example, Erasable Programmable Read-Only Memory (EPROM), card, stick or key drive, etc.). Various computer-readable storage media described in this disclosure can represent one or more devices and/or other machine-readable storage media for storing information. The term "machine-readable storage medium" may include, but is not limited to, wireless channels and various other media capable of storing, containing and/or carrying instructions and/or data.
本公开的一些实施例还提供了一种计算机程序产品。该计算机程序产品包括计算机程序指令,在计算机上执行该计算机程序指令时,该计算机程序指令使计算机执行如上述实施例所述的页面生成方法中的一个或多个步骤。Some embodiments of the present disclosure also provide a computer program product. The computer program product includes computer program instructions. When the computer program instructions are executed on the computer, the computer program instructions cause the computer to execute one or more steps in the method for generating a page as described in the above embodiments.
本公开的一些实施例还提供了一种计算机程序。当该计算机程序在计算机上执行时,该计算机程序使计算机执行如上述实施例所述的页面生成方法中的一个或多个步骤。Some embodiments of the present disclosure also provide a computer program. When the computer program is executed on the computer, the computer program causes the computer to execute one or more steps in the method for generating a page as described in the above-mentioned embodiments.
上述计算机可读存储介质、计算机程序产品及计算机程序的有益效果和上述一些实施例所述的页面生成方法的有益效果相同,此处不再赘述。The beneficial effects of the computer-readable storage medium, the computer program product, and the computer program are the same as those of the method for generating pages described in some of the above embodiments, and will not be repeated here.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件程序实现时,可以全部或部分地以计算机程序产品的形式来实现。该计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行计算机执行指令时,全部或部分地产生按照本公开实施例的流程或功能。计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,计算机指令可以从一个网站站点、计算机、服务器或者数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可以用介质集成的服务器、数据中心等数据存储设备。可用介质可以是磁性介质(例如,软盘、硬盘、磁带),光介质(例如,DVD)、或者半导体介质(例如固态硬盘(solid state disk,SSD))等。In the above embodiments, all or part of them may be implemented by software, hardware, firmware or any combination thereof. When implemented using a software program, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When computer-executable instructions are loaded and executed on a computer, the processes or functions according to the embodiments of the present disclosure are produced in whole or in part. A computer can be a general purpose computer, special purpose computer, computer network, or other programmable device. Computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, e.g. Coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (such as infrared, wireless, microwave, etc.) transmission to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that can be accessed by a computer, or may contain one or more data storage devices such as servers and data centers that can be integrated with the medium. The usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, or a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (solid state disk, SSD)), etc.
以上所述,仅为本公开的具体实施方式,但本公开的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本公开揭露的技术范围内,想到变化或替换,都应涵盖在本公开的保护范围之内。因此,本公开的保护范围应以所述权利要求的保护范围为准。The above is only a specific embodiment of the present disclosure, but the scope of protection of the present disclosure is not limited thereto. Anyone familiar with the technical field who thinks of changes or substitutions within the technical scope of the present disclosure should cover all within the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be determined by the protection scope of the claims.

Claims (20)

  1. 一种页面生成方法,应用于电子设备,其特征在于,包括:A page generation method applied to electronic equipment, characterized in that it includes:
    响应于建立页面的操作,显示初始页面,所述初始页面包括待编辑区域;In response to the operation of creating a page, displaying an initial page, the initial page includes an area to be edited;
    响应于在组件库中选择目标组件的操作,在所述待编辑区域中显示待编辑的目标组件;In response to an operation of selecting a target component in the component library, displaying the target component to be edited in the area to be edited;
    响应于对所述待编辑的目标组件的编辑操作,获取组件信息,根据所述组件信息在所述初始页面显示编辑后的目标组件,生成编辑后的目标页面;其中,所述组件信息包括以下至少一项:属性信息、组件数据,所述属性信息包括所述目标组件的样式信息,所述组件数据包括所述目标组件中填充的数据。In response to an editing operation on the target component to be edited, component information is obtained, and an edited target component is displayed on the initial page according to the component information, and an edited target page is generated; wherein the component information includes the following At least one item: attribute information and component data, the attribute information includes style information of the target component, and the component data includes data filled in the target component.
  2. 根据权利要求1所述的页面生成方法,其特征在于,所述页面生成方法还包括:The page generating method according to claim 1, wherein the page generating method further comprises:
    响应于建立目录的操作,显示目标目录的名称;displaying the name of the target directory in response to the operation of creating the directory;
    所述响应于建立页面的操作,显示初始页面,包括:The displaying an initial page in response to the operation of creating a page includes:
    响应于在所述目标目录下新增页面的操作,显示所述初始页面,所述初始页面是所述目标目录下的一个功能页面。In response to the operation of adding a new page under the target directory, the initial page is displayed, and the initial page is a function page under the target directory.
  3. 根据权利要求2所述的页面生成方法,其特征在于,所述初始页面还包括:固定组件区域,所述页面生成方法还包括:The method for generating a page according to claim 2, wherein the initial page further comprises: a fixed component area, and the method for generating a page further comprises:
    响应于建立所述固定组件区域的操作,构建多个页面的所述固定组件区域,所述多个页面的所述固定组件区域相同;In response to the operation of establishing the fixed component area, constructing the fixed component area of a plurality of pages, the fixed component areas of the plurality of pages are the same;
    响应于对所述固定组件区域中的组件的编辑操作,更新所述多个页面包括的所述固定组件区域中相应的组件。In response to an editing operation on components in the fixed component area, corresponding components in the fixed component area included in the plurality of pages are updated.
  4. 根据权利要求3所述的页面生成方法,其特征在于,所述固定组件区域中的组件包括以下至少一项:头部组件、底部组件。The method for generating a page according to claim 3, wherein the components in the fixed component area include at least one of the following: a header component and a bottom component.
  5. 根据权利要求2-4中任一项所述的页面生成方法,其特征在于,所述页面生成方法还包括:The method for generating a page according to any one of claims 2-4, wherein the method for generating a page further comprises:
    响应于对所述目标目录的设置操作,在所述目标页面显示所述目标目录的名称。In response to the setting operation of the target directory, the name of the target directory is displayed on the target page.
  6. 根据权利要求5所述的页面生成方法,其特征在于,所述页面生成方法还包括:The page generation method according to claim 5, wherein the page generation method further comprises:
    响应于对所述目标页面中显示的所述目标目录名称的确认操作,在所述目标页面显示所述目标目录下包括的多个页面的名称。In response to a confirmation operation on the name of the target directory displayed on the target page, names of pages included in the target directory are displayed on the target page.
  7. 根据权利要求1-6所述的页面生成方法,其特征在于,所述页面生成方法还包括:The method for generating a page according to claims 1-6, wherein the method for generating a page further comprises:
    响应于对所述目标页面的编辑操作,获取所述目标页面的页面信息,并更新显示所述目标页面,所述页面信息包括以下至少一项:所述目标页面的缩略图、页面地址、页面标签、描述信息。In response to an editing operation on the target page, acquire page information of the target page, and update and display the target page, where the page information includes at least one of the following: a thumbnail of the target page, a page address, a page label, description information.
  8. 根据权利要求7所述的页面生成方法,其特征在于,所述响应于对所述目标页面的编辑操作,更新显示所述目标页面,包括:The method for generating a page according to claim 7, wherein the updating and displaying the target page in response to an editing operation on the target page comprises:
    响应于对所述目标页面的所述目标组件的调整操作,更新显示所述目标页面中的所述目标组件,所述调整操作包括以下至少一种:复制操作、删除操作、移动操作、隐藏操作。In response to an adjustment operation on the target component of the target page, updating and displaying the target component in the target page, the adjustment operation includes at least one of the following: copy operation, delete operation, move operation, hide operation .
  9. 根据权利要求1-8中任一项所述的页面生成方法,其特征在于,所述目标组件的原始数据以预设格式进行存储,所述获取组件信息,根据所述组件信息在所述目标页面显示编辑后的目标组件,包括:The page generating method according to any one of claims 1-8, characterized in that, the original data of the target component is stored in a preset format, and the acquiring component information is based on the component information in the target The page shows the edited target components, including:
    通过所述电子设备的显示器监听所述组件信息,并将监听到的所述组件信息传输至后台处理模块;monitoring the component information through the display of the electronic device, and transmitting the monitored component information to a background processing module;
    通过所述后台处理模块,根据所述组件信息对所述预设格式的所述原始数据进行修改;Modifying the original data in the preset format according to the component information through the background processing module;
    根据修改后的原始数据渲染所述目标页面。The target page is rendered according to the modified original data.
  10. 根据权利要求1-9中任一项所述的页面生成方法,其特征在于,生成所述目标页面之前,所述页面生成方法还包括:The page generating method according to any one of claims 1-9, wherein, before generating the target page, the page generating method further comprises:
    获取M个组件,M为大于1的整数;Get M components, M is an integer greater than 1;
    获取所述M个组件中每个组件的类型和组件数据,所述类型包括以下至少一项:文本组件、图片组件、视频组件、图文组件、表格组件;Obtaining the type and component data of each of the M components, the type including at least one of the following: text component, picture component, video component, graphic component, table component;
    根据每个组件的类型和组件数据,采用预存的分类规则对所述M个组件进行分类,得到至少一个组件集合;Classifying the M components according to the type and component data of each component by using a pre-stored classification rule to obtain at least one component set;
    根据所述至少一个组件集合中的每个组件集合,得到每个组件集合对应的目标组件存储在所述组件库中。According to each component set in the at least one component set, the target component corresponding to each component set is obtained and stored in the component library.
  11. 根据权利要求10所述的页面生成方法,其特征在于,所述根据每个 组件的类型和组件数据,采用预存的分类规则对所述M个组件进行分类,得到至少一个组件集合,包括:The page generating method according to claim 10, wherein, according to the type and component data of each component, the M components are classified using pre-stored classification rules to obtain at least one component set, including:
    根据所述分类规则,将类型相同、组件内容相似的组件确定为一个组件集合。According to the classification rules, components of the same type and similar component content are determined as a component set.
  12. 根据权利要求11所述的页面生成方法,其特征在于,所述将类型相同、组件内容相似的组件确定为一个组件集合,包括:The method for generating a page according to claim 11, wherein said determining components of the same type and similar component content as a set of components includes:
    若组件的类型为图片组件或者视频组件,则将组件数据对应本地地址的组件确定为一个组件集合,将组件数据对应网络地址的组件确定为一个组件集合;If the type of the component is a picture component or a video component, the component whose component data corresponds to the local address is determined as a component set, and the component whose component data corresponds to the network address is determined as a component set;
    若组件的类型为文本组件,则将组件数据中的文本样式相同的组件确定为一个组件集合;If the type of the component is a text component, the components with the same text style in the component data are determined as a set of components;
    若组件的类型为图文组件,则将组件数据中图文结构相同的组件确定为一个组件集合。If the type of the component is a graphic-text component, components with the same graphic-text structure in the component data are determined as a component set.
  13. 一种页面生成装置,应用于电子设备,其特征在于,包括:A page generation device applied to electronic equipment, characterized in that it includes:
    显示单元,用于响应于建立页面的操作,显示初始页面,所述初始页面包括待编辑区域;响应于在组件库中选择目标组件的操作,在所述待编辑区域中显示待编辑的目标组件;A display unit, configured to display an initial page in response to an operation of creating a page, and the initial page includes an area to be edited; in response to an operation of selecting a target component in the component library, display the target component to be edited in the area to be edited ;
    获取单元,用于响应于对所述显示单元显示的所述待编辑的目标组件的编辑操作,获取组件信息;其中,所述组件信息包括以下至少一项:属性信息、组件数据,所述属性信息包括所述目标组件的样式信息,所述组件数据包括所述目标组件中填充的数据;An acquiring unit, configured to acquire component information in response to an editing operation on the target component to be edited displayed by the display unit; wherein the component information includes at least one of the following: attribute information, component data, the attribute The information includes style information of the target component, and the component data includes data filled in the target component;
    所述显示单元,还用于根据所述获取单元获取的所述组件信息在所述初始页面显示编辑后的目标组件;The display unit is further configured to display the edited target component on the initial page according to the component information acquired by the acquisition unit;
    生成单元,用于生成编辑后的目标页面。The generation unit is used to generate the edited target page.
  14. 根据权利要求13所述的页面生成装置,其特征在于,The page generation device according to claim 13, wherein:
    所述显示单元,还用于响应于建立目录的操作,显示目标目录的名称;The display unit is further configured to display the name of the target directory in response to the operation of creating the directory;
    所述显示单元,具体用于:响应于在所述目标目录下新增页面的操作,显示所述初始页面,所述初始页面是所述目标目录下的一个功能页面。The display unit is specifically configured to: display the initial page in response to an operation of adding a new page under the target directory, where the initial page is a functional page under the target directory.
  15. 根据权利要求14所述的页面生成装置,其特征在于,所述初始页面还包括:固定组件区域,所述页面生成装置还包括:更新单元;The page generating device according to claim 14, wherein the initial page further comprises: a fixed component area, and the page generating device further comprises: an updating unit;
    所述生成单元,还用于响应于建立所述固定组件区域的操作,构建多个 页面的所述固定组件区域,所述多个页面的所述固定组件区域相同;The generating unit is further configured to construct the fixed component areas of multiple pages in response to the operation of establishing the fixed component areas, and the fixed component areas of the multiple pages are the same;
    所述更新单元,用于响应于对所述固定组件区域中的组件的编辑操作,更新所述多个页面包括的所述固定组件区域中相应的组件。The updating unit is configured to update corresponding components in the fixed component area included in the plurality of pages in response to an editing operation on the components in the fixed component area.
  16. 根据权利要求15所述的页面生成装置,其特征在于,所述固定组件区域中的组件包括以下至少一项:头部组件、底部组件。The page generation device according to claim 15, wherein the components in the fixed component area include at least one of the following: a head component and a bottom component.
  17. 根据权利要求14-16中任一项所述的页面生成装置,其特征在于,The page generating device according to any one of claims 14-16, characterized in that,
    所述显示单元,还用于响应于对所述目标目录的设置操作,在所述目标页面显示所述目标目录的名称。The display unit is further configured to display the name of the target directory on the target page in response to a setting operation on the target directory.
  18. 根据权利要求17所述的页面生成装置,其特征在于,The page generation device according to claim 17, wherein:
    所述显示单元,还用于响应于对所述目标页面中显示的所述目标目录名称的确认操作,在所述目标页面显示所述目标目录下包括的多个页面的名称。The display unit is further configured to, in response to a confirmation operation on the name of the target directory displayed on the target page, display names of multiple pages included in the target directory on the target page.
  19. 一种页面生成装置,其特征在于,所述页面生成装置包括:处理器和存储器;所述存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令;当所述处理器执行所述计算机指令时,所述页面生成装置执行如权利要求1-12中任意一项所述的页面生成方法。A device for generating a page, characterized in that the device for generating a page includes: a processor and a memory; the memory is used to store computer program codes, and the computer program codes include computer instructions; when the processor executes the computer When an instruction is issued, the page generating device executes the page generating method according to any one of claims 1-12.
  20. 一种计算机可读存储介质,其特征在于,包括计算机指令,当所述计算机指令在页面生成装置上运行时,使得所述页面生成装置执行权利要求1-12中任意一项所述的页面生成方法。A computer-readable storage medium, characterized in that it includes computer instructions, and when the computer instructions are run on the page generation device, the page generation device executes the page generation described in any one of claims 1-12 method.
PCT/CN2022/108496 2021-08-11 2022-07-28 Page generation method and apparatus WO2023016264A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110918687.7 2021-08-11
CN202110918687.7A CN113535176A (en) 2021-08-11 2021-08-11 Page generation method and device

Publications (1)

Publication Number Publication Date
WO2023016264A1 true WO2023016264A1 (en) 2023-02-16

Family

ID=78091547

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/108496 WO2023016264A1 (en) 2021-08-11 2022-07-28 Page generation method and apparatus

Country Status (2)

Country Link
CN (1) CN113535176A (en)
WO (1) WO2023016264A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116027938A (en) * 2023-03-30 2023-04-28 建信金融科技有限责任公司 Information interaction method, device, equipment, medium and program product
CN117251154A (en) * 2023-09-26 2023-12-19 北京泰策科技有限公司 Data visualization-based low-code large-screen design system capable of being rapidly expanded
CN117390325A (en) * 2023-12-11 2024-01-12 广州骏伯网络科技有限公司 Method, device and system for generating applet page
CN117421000A (en) * 2023-09-06 2024-01-19 北京饼干科技有限公司 Method, device, electronic equipment and storage medium for generating distribution webpage

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113535176A (en) * 2021-08-11 2021-10-22 京东方科技集团股份有限公司 Page generation method and device
CN114625365B (en) * 2022-03-11 2024-01-19 北京金堤科技有限公司 Webpage editing system, webpage editing method, electronic device and storage medium
CN114741072B (en) * 2022-04-20 2024-03-12 苏州峰之鼎信息科技有限公司 Page generation method, device, equipment and storage medium
CN116107557A (en) * 2023-01-17 2023-05-12 前海飞算云智软件科技(深圳)有限公司 Page visual development method and device, storage medium and electronic equipment
CN117234513B (en) * 2023-11-15 2024-03-08 腾讯科技(深圳)有限公司 Page data file generation method and device, electronic equipment, medium and product

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080244740A1 (en) * 2007-03-06 2008-10-02 Wetpaint.Com, Inc. Browser-independent editing of content
CN108762729A (en) * 2018-05-07 2018-11-06 北京五八信息技术有限公司 A kind of method, apparatus of page makeup, computer equipment and storage medium
CN111966345A (en) * 2020-08-21 2020-11-20 西安寰宇卫星测控与数据应用有限公司 Drag-type webpage design method and device, computer equipment and storage medium
CN112528204A (en) * 2020-12-22 2021-03-19 北京搜房科技发展有限公司 Method and device for making special topic webpage
CN113535176A (en) * 2021-08-11 2021-10-22 京东方科技集团股份有限公司 Page generation method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112241263A (en) * 2019-07-17 2021-01-19 易保网络技术(上海)有限公司 Visual page processing method and equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080244740A1 (en) * 2007-03-06 2008-10-02 Wetpaint.Com, Inc. Browser-independent editing of content
CN108762729A (en) * 2018-05-07 2018-11-06 北京五八信息技术有限公司 A kind of method, apparatus of page makeup, computer equipment and storage medium
CN111966345A (en) * 2020-08-21 2020-11-20 西安寰宇卫星测控与数据应用有限公司 Drag-type webpage design method and device, computer equipment and storage medium
CN112528204A (en) * 2020-12-22 2021-03-19 北京搜房科技发展有限公司 Method and device for making special topic webpage
CN113535176A (en) * 2021-08-11 2021-10-22 京东方科技集团股份有限公司 Page generation method and device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116027938A (en) * 2023-03-30 2023-04-28 建信金融科技有限责任公司 Information interaction method, device, equipment, medium and program product
CN116027938B (en) * 2023-03-30 2023-06-02 建信金融科技有限责任公司 Information interaction method, device, equipment, medium and program product
CN117421000A (en) * 2023-09-06 2024-01-19 北京饼干科技有限公司 Method, device, electronic equipment and storage medium for generating distribution webpage
CN117421000B (en) * 2023-09-06 2024-06-04 北京饼干科技有限公司 Method, device, electronic equipment and storage medium for generating distribution webpage
CN117251154A (en) * 2023-09-26 2023-12-19 北京泰策科技有限公司 Data visualization-based low-code large-screen design system capable of being rapidly expanded
CN117390325A (en) * 2023-12-11 2024-01-12 广州骏伯网络科技有限公司 Method, device and system for generating applet page
CN117390325B (en) * 2023-12-11 2024-04-05 广州骏伯网络科技有限公司 Method, device and system for generating applet page

Also Published As

Publication number Publication date
CN113535176A (en) 2021-10-22

Similar Documents

Publication Publication Date Title
WO2023016264A1 (en) Page generation method and apparatus
WO2022037336A1 (en) Document processing method, apparatus and device, and medium
US10108326B2 (en) Modular responsive screen grid, authoring and displaying system
JP6694545B1 (en) User interface extender
JP4893243B2 (en) Image summarization method, image display device, k-tree display system, k-tree display program, and k-tree display method
US10152773B2 (en) Creating a blurred area for an image to reuse for minimizing blur operations
CN113261023A (en) Remote access to metadata for a collaborative document
US20200073903A1 (en) Method and device of tagging links included in a screenshot of webpage
JP2013519932A (en) Method and system for structuring information with a sharable user interface
US20220035865A1 (en) Content capture across diverse sources
US20220342518A1 (en) Card-based information management method and system
US20230281377A1 (en) Systems and methods for displaying digital forensic evidence
JP2007042092A (en) Electronic document processing apparatus, method, and program
US11360826B2 (en) Virtual graph nodes
KR101659147B1 (en) Information processing apparatus, and control method therefor
KR20160002163A (en) System for creation electronic mail and method for creation electronic mail
US20160179804A1 (en) Bulk keyword management application
US20150220859A1 (en) Context specific resource editors
US11455367B1 (en) Systems for executing an editor application for composing content of a content management system
US11468047B2 (en) Methods for executing an editor application for composing content of a content management system
CN110020337A (en) Web page processing method and Related product
KR101993605B1 (en) Method of saving an archive of action webtoon
CN116974431A (en) Document display control method and device, electronic equipment and storage medium
EP4309055A1 (en) Methods for executing an editor application for composing content of a content management system
CN116506676A (en) Data processing method and related product

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22855247

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE