CN116450202A - Page configuration method, page configuration device, computer equipment and computer readable storage medium - Google Patents

Page configuration method, page configuration device, computer equipment and computer readable storage medium Download PDF

Info

Publication number
CN116450202A
CN116450202A CN202310424087.4A CN202310424087A CN116450202A CN 116450202 A CN116450202 A CN 116450202A CN 202310424087 A CN202310424087 A CN 202310424087A CN 116450202 A CN116450202 A CN 116450202A
Authority
CN
China
Prior art keywords
page
component
configuration
request user
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310424087.4A
Other languages
Chinese (zh)
Inventor
王利超
汪涛
姚聪聪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An International Financial Leasing Co Ltd
Original Assignee
Ping An International Financial Leasing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An International Financial Leasing Co Ltd filed Critical Ping An International Financial Leasing Co Ltd
Priority to CN202310424087.4A priority Critical patent/CN116450202A/en
Publication of CN116450202A publication Critical patent/CN116450202A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses a page configuration method, a page configuration device, computer equipment and a computer readable storage medium, which relate to the technical field of Internet, and can automatically introduce corresponding components and configuration combination page data according to an analyzed result to complete the creation and editing of a project, thereby realizing a quick and efficient display page with consistent output and business targets. The method comprises the following steps: responding to a request user to initiate a page configuration request, calling an intelligent dialogue robot, acquiring configuration information uploaded by the request user, identifying the configuration information by adopting a distributed semantic model, and determining operation behaviors, operation objects and operation data; inquiring a target component and a page template corresponding to the operation object in the shared plugin library; adding the target component to the page template according to the operation behavior, and configuring the component attribute in the page template according to the operation data to obtain page configuration data; and calling a page assembly engine to conduct page rendering according to the page configuration data to obtain a target page.

Description

Page configuration method, page configuration device, computer equipment and computer readable storage medium
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a page configuration method, a page configuration device, a computer device, and a computer readable storage medium.
Background
With the continuous development of internet technology, various websites and application programs bring great convenience to life and production. The page is used as a medium for interaction between a user and a website and application programs, and the quality of the page often directly influences the use experience of the user, so that the development of the front-end page is an important component of website development and application program development.
At present, the existing internet platform provides a component library, a user needs to create items by himself, browse and search or search required plug-ins according to names, further pull in component editing pages, edit attributes and complete various associated configurations. The user needs to pay a lot of learning cost to be proficient in use, so that the page configuration is low in efficiency and low in speed. Therefore, how to quickly assemble pages with high efficiency and consistent business objectives becomes a problem in industry.
Disclosure of Invention
In view of this, the present application provides a page configuration method, apparatus, computer device and computer readable storage medium, which mainly aims to solve the problem of how to quickly assemble a page with high efficiency and consistent business objective.
According to a first aspect of the present application, there is provided a page configuration method, including:
responding to a request user to initiate a page configuration request, calling an intelligent dialogue robot, acquiring configuration information uploaded by the request user, identifying the configuration information by adopting a distributed semantic model, and determining operation behaviors, operation objects and operation data;
inquiring a target component and a page template corresponding to the operation object in a shared plug-in library;
adding the target component to the page template according to the operation behavior, and configuring component attributes in the page template according to the operation data to obtain page configuration data;
and calling a page assembly engine to conduct page rendering according to the page configuration data to obtain a target page.
Optionally, before the intelligent dialogue robot is called to obtain the configuration information uploaded by the requesting user in response to the requesting user initiating the page configuration request, the method further includes:
acquiring an element assembly association list and acquiring a history configuration page in a history page library, wherein the association relation between page elements and page assemblies is recorded in the preset element assembly association list, and the history configuration page is used for indicating a published online display page;
Deconstructing the historical configuration page to obtain a plurality of page elements associated with the historical configuration page;
for each page element in the plurality of page elements, querying a page component identifier corresponding to the page element in the preset element component association list;
extracting a target page component from a page component library according to the page component identification, setting a component tag with the content of the page element for the target page component,
and setting a component tag for each page element-associated target page component, and storing the page component with the component tag into the shared plug-in library.
Optionally, after the storing the page component with the component tag in the shared plugin library, the method further includes:
responding to a request user to initiate a component generation request, traversing all standard components stored in the page component library, and calling the intelligent dialogue robot to send all standard components to a remote terminal corresponding to the request user so that the request user modifies any standard component based on the remote terminal to generate a custom component;
when detecting that the request user sends a component confirmation instruction, receiving the custom component uploaded by the request user and a page element associated with the custom component, and setting a component tag with content being the page element for the custom component;
And storing the custom component provided with the component tag to the shared plug-in library.
Optionally, the calling the intelligent dialogue robot obtains the configuration information uploaded by the requesting user, including:
calling the intelligent dialogue robot to send a dialogue text box to the request user so that the request user inputs a specified text in the dialogue text box, wherein a default sentence value is displayed in the dialogue text box and is used for prompting the request user to input the specified text according to a format indicated by the default sentence value;
when the request user is detected to initiate an information determining instruction, the appointed text in the dialogue text box is obtained, the appointed text is identified based on a distributed semantic model, and operation behaviors, operation objects and operation data are extracted as the configuration information.
Optionally, before the page assembly engine is called to perform page rendering according to the page configuration data to obtain the target page, the method further includes:
generating a page configuration preview according to the page configuration data, and sending the page configuration preview to a remote terminal corresponding to the request user, so that the request user confirms the page configuration data according to the page configuration preview;
And if the confirmation instruction initiated by the request user is detected, sending the page configuration data to the page assembly engine so that the page assembly engine performs page rendering according to the page configuration data.
Optionally, after the sending the page configuration preview to the remote terminal corresponding to the requesting user so that the user confirms the page configuration data, the method further includes:
if the request user is detected to initiate a modification instruction, the intelligent conversation robot is called to send a conversation text box to the request user, the conversation text box displays component attributes corresponding to the target component, and the target component comprises at least one sub-component;
when the request user is detected to initiate an information determining instruction, acquiring text content in the dialogue text box, and updating the page configuration data based on the text content;
and generating a page configuration preview image again according to the updated page configuration data, and sending the page configuration preview image to a remote terminal corresponding to the request user, so that the request user confirms the page configuration data according to the page configuration preview image until the request user is detected to initiate a confirmation instruction.
Optionally, the updating the page configuration data based on the text content includes:
identifying the text content based on a distributed semantic model to obtain attribute modification information, wherein the attribute modification information comprises a component identifier to be updated and a component attribute to be updated associated with the component identifier to be updated;
and determining a sub-component corresponding to the component identification to be updated on the page template, and updating the component attribute associated with the sub-component into the component attribute to be updated to obtain modified page configuration data.
According to a second aspect of the present application, there is provided a page configuration apparatus, comprising:
the identification module is used for responding to a request user to initiate a page configuration request, calling the intelligent dialogue robot, acquiring configuration information uploaded by the request user, adopting a distributed semantic model to identify the configuration information and determining operation behaviors, operation objects and operation data;
the first query module is used for querying a target component and a page template corresponding to the operation object in the shared plug-in library;
the configuration module is used for adding the target component to the page template according to the operation behavior, and configuring component attributes in the page template according to the operation data to obtain page configuration data;
And the rendering module is used for calling a page assembly engine to render the page according to the page configuration data to obtain a target page.
Optionally, the apparatus further comprises:
the acquisition module is used for acquiring an element assembly association list and acquiring a history configuration page in a history page library, wherein the association relation between page elements and page assemblies is recorded in the preset element assembly association list, and the history configuration page is used for indicating published online display pages;
the deconstructing module is used for deconstructing the history configuration page to obtain a plurality of page elements associated with the history configuration page;
the second query module is used for querying a page component identifier corresponding to each page element in the preset element component association list for each page element in the plurality of page elements;
a setting module for extracting a target page component from a page component library according to the page component identification, setting a component tag with the content being the page element for the target page component,
and the storage module is used for setting a component tag for the target page component associated with each page element and storing the page component provided with the component tag into the shared plug-in library.
Optionally, the apparatus further comprises:
the modification module is used for responding to a request user to initiate a component generation request, traversing all standard components stored in the page component library, calling the intelligent dialogue robot and sending all standard components to a remote terminal corresponding to the request user so that the request user modifies any standard component based on the remote terminal to generate a custom component;
the receiving module is used for receiving the custom component uploaded by the requesting user and page elements associated with the custom component when detecting that the requesting user sends a component confirmation instruction, and setting component labels with contents being the page elements for the custom component;
the storage module is further configured to store the custom component provided with the component tag to the shared plug-in library.
Optionally, the recognition module is configured to invoke the intelligent dialogue robot to send a dialogue text box to the requesting user, so that the requesting user inputs a specified text in the dialogue text box, a default sentence value is displayed in the dialogue text box, and the default sentence value is used to prompt the requesting user to input the specified text according to a format indicated by the default sentence value; when the request user is detected to initiate an information determining instruction, the appointed text in the dialogue text box is obtained, the appointed text is identified based on a distributed semantic model, and operation behaviors, operation objects and operation data are extracted as the configuration information.
Optionally, the apparatus further comprises:
the generation module is used for generating a page configuration preview image according to the page configuration data, and sending the page configuration preview image to a remote terminal corresponding to the request user so that the request user confirms the page configuration data according to the page configuration preview image;
and the sending module is used for sending the page configuration data to the page assembly engine if the confirmation instruction initiated by the request user is detected, so that the page assembly engine performs page rendering according to the page configuration data.
Optionally, the apparatus further comprises:
the calling module is used for calling the intelligent dialogue robot to send a dialogue text box to the request user if the request user initiates a modification instruction, wherein the dialogue text box displays component attributes corresponding to the target component, and the target component comprises at least one sub-component;
the updating module is used for acquiring text content in the dialogue text box when the information determining instruction initiated by the requesting user is detected, and updating the page configuration data based on the text content;
The generating module is further configured to generate a page configuration preview according to the updated page configuration data, and send the page configuration preview to a remote terminal corresponding to the requesting user, so that the requesting user confirms the page configuration data according to the page configuration preview until the requesting user initiates a confirmation instruction.
Optionally, the updating module is configured to identify the text content based on a distributed semantic model, and obtain attribute modification information, where the attribute modification information includes a component identifier to be updated and a component attribute to be updated associated with the component identifier to be updated; and determining a sub-component corresponding to the component identification to be updated on the page template, and updating the component attribute associated with the sub-component into the component attribute to be updated to obtain modified page configuration data.
According to a third aspect of the present application there is provided a computer device comprising a memory storing a computer program and a processor implementing the steps of the method of any of the first aspects described above when the computer program is executed by the processor.
According to a fourth aspect of the present application there is provided a computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of the method of any of the first aspects described above.
By means of the technical scheme, the page configuration method, the device, the computer equipment and the computer readable storage medium provided by the application, the page configuration system in the application firstly responds to a request user to initiate a page configuration request, and calls the intelligent dialogue robot to acquire configuration information uploaded by the request user. And then, identifying the configuration information by adopting a distributed semantic model, and determining operation behaviors, operation objects and operation data. And then, inquiring a target component and a page template corresponding to the operation object in the shared plugin library, adding the target component to the page template according to the operation behavior, and configuring component attributes in the page template according to the operation data to obtain page configuration data. And finally, calling a page assembly engine to conduct page rendering according to the page configuration data to obtain a target page. Through intelligent semantic recognition and analysis, text instructions input by a user are disassembled and segmented, page configuration information is determined, and pages required by target effects are assembled by using basic components and code modules according to the page configuration information, so that the learning cost of a user using a platform can be reduced, and a display page with high speed and high efficiency and consistent business targets is realized.
The foregoing description is only an overview of the technical solutions of the present application, and may be implemented according to the content of the specification in order to make the technical means of the present application more clearly understood, and in order to make the above-mentioned and other objects, features and advantages of the present application more clearly understood, the following detailed description of the present application will be given.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the application. Also, like reference numerals are used to designate like parts throughout the figures. In the drawings:
fig. 1 shows a schematic flow chart of a page configuration method provided in an embodiment of the present application;
fig. 2 is a schematic flow chart of a page configuration method according to an embodiment of the present application;
fig. 3A shows a schematic structural diagram of a page configuration device provided in an embodiment of the present application;
fig. 3B shows a schematic structural diagram of a page configuration device according to an embodiment of the present application;
fig. 3C illustrates a schematic structural diagram of a page configuration device provided in an embodiment of the present application;
Fig. 3D is a schematic structural diagram of a page configuration device according to an embodiment of the present application;
fig. 3E shows a schematic structural diagram of a page configuration device according to an embodiment of the present application;
fig. 4 shows a schematic device structure of a computer device according to an embodiment of the present application.
Detailed Description
Exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
With the continuous development of internet technology, various websites and application programs bring great convenience to life and production. The page is used as a medium for interaction between a user and a website and application programs, and the quality of the page often directly influences the use experience of the user, so that the development of the front-end page is an important component of website development and application program development. At present, the existing internet platform provides a component library, a user needs to create items by himself, browse and search or search required plug-ins according to names, further pull in component editing pages, edit attributes and complete various associated configurations. The user needs to pay a lot of learning cost to be proficient in use, so that the page configuration is low in efficiency and low in speed. How to quickly assemble pages with high efficiency and consistent business objectives becomes a problem to be solved in industry. Therefore, the embodiment of the application provides a page configuration method, and the page configuration system in the application firstly responds to a request user to initiate a page configuration request, calls an intelligent dialogue robot and acquires configuration information uploaded by the request user. And then, identifying the configuration information by adopting a distributed semantic model, and determining operation behaviors, operation objects and operation data. And then, inquiring a target component and a page template corresponding to the operation object in the shared plugin library, adding the target component to the page template according to the operation behavior, and configuring component attributes in the page template according to the operation data to obtain page configuration data. And finally, calling a page assembly engine to conduct page rendering according to the page configuration data to obtain a target page. Through intelligent semantic recognition and analysis, the text instruction input by the user is disassembled and segmented, the page configuration information is determined, the basic component and the code module are automatically applied according to the page configuration information to assemble the page required by the target effect, the learning cost of a user using the platform can be reduced, and a quick and efficient display page consistent with a business target is realized.
The embodiment of the application provides a page configuration method, as shown in fig. 1, which comprises the following steps:
101. and responding to the request user to initiate a page configuration request, calling the intelligent dialogue robot, acquiring configuration information uploaded by the request user, adopting a distributed semantic model to identify the configuration information, and determining operation behaviors, operation objects and operation data.
In an embodiment of the application, the page configuration system comprises a shared plug-in library, an intelligent conversation robot and a page assembly engine. The intelligent dialogue robot is trained by a distributed semantic model, acquires configuration information input by a request user for identification through dialogue with the request user, and determines specific operation behaviors, operation objects and operation data. In the actual operation process, a requesting user can initiate a page configuration request based on a remote terminal where the requesting user is located, and the page configuration system calls the intelligent dialogue robot to conduct dialogue with the requesting user in response to the page configuration request initiated by the requesting user, and receives configuration information input by the user based on a dialogue box. For example, the user modifies the background of page a to blue #7abaf6 based on the dialog box input, and the intelligent dialog robot may recognize that the operation behavior is modification color, the operation object is the background of page a, and the operation data is a specific blue value #7abaf6.
102. And querying a target component and a page template corresponding to the operation object in the shared plugin library.
Further, a large number of page templates, standard components and custom components which are built by users per se for forming pages are stored in the shared plug-in library. The large number of components and templates may provide the basic support for creating various types of pages, and thus, upon obtaining configuration information provided by a requesting user, the page configuration system determines the associated target components and page templates based on the configuration information. Specifically, the configuration information is read, and the operation object is the background of the page A, and then the page template corresponding to the page A and the target component corresponding to the background element are queried in the shared plugin library according to the background of the operation object page A.
103. And adding the target component to the page template according to the operation behavior, and configuring the component attribute in the page template according to the operation data to obtain page configuration data.
In the embodiment of the application, the page configuration system adds the target component to the page template according to a specific operation behavior, for example, the operation behavior is to add the carousel chart, and then the page configuration system adds the carousel chart component to a specified position according to the indication of the page template. Further, the component attribute is configured in the page template according to the operation data, so that page configuration data is obtained. Still taking the addition of the carousel image as an example for explanation, after the request user uploads the carousel image and the instruction of adding the carousel image based on the intelligent dialogue robot, the intelligent robot can identify the number of operation data as the image provided by the request user. After the carousel graphic component is added to the position corresponding to the page template, the page configuration system needs to change the component attribute of the carousel graphic component into a picture provided by the requesting user.
104. And calling a page assembly engine to conduct page rendering according to the page configuration data to obtain a target page.
In the embodiment of the application, each component contains a unique name, a version number and corresponding configuration information, and after a user confirms items and page data, the page configuration system dynamically renders a page according to the corresponding component loaded by the page configuration data to obtain a final target page.
According to the method provided by the embodiment of the application, firstly, the intelligent dialogue robot is called in response to the request user to initiate the page configuration request, and the configuration information uploaded by the request user is obtained. And then, identifying the configuration information by adopting a distributed semantic model, and determining operation behaviors, operation objects and operation data. And then, inquiring a target component and a page template corresponding to the operation object in the shared plugin library, adding the target component to the page template according to the operation behavior, and configuring component attributes in the page template according to the operation data to obtain page configuration data. And finally, calling a page assembly engine to conduct page rendering according to the page configuration data to obtain a target page. The intelligent dialogue robot adopts a distributed semantic model algorithm according to the input of a user, analyzes the content input by the user, selects a recommendation template and content according to the analyzed result, automatically introduces corresponding components and configuration combination page data, completes the creation and editing of the project, can reduce the learning cost of the user using a platform, and realizes a quick and efficient output and service target consistent display page.
The embodiment of the application provides a page configuration method, as shown in fig. 2, which includes:
201. and generating a shared plug-in library based on the historical page component corresponding to the historical configuration page and the component which requests user definition.
In an embodiment of the application, the page configuration system comprises a shared plug-in library, an intelligent conversation robot and a page assembly engine. The shared plug-in library stores a large number of basic components, standard components and custom components which are built by users, and the large number of page components can provide basic support for building various types of pages. Thus, in this step, the relevant technician needs to store a large number of components and templates to the shared plugin library at the beginning of system operation, providing support for the creation of pages for subsequent requesting users.
The developer needs to upload an element component association list before the page configuration system operates, and the association relation between the page elements preset by the developer and the page components is recorded in the preset element component association list. After receiving the association list of the preset element components, the page configuration system can store the association list of the preset element components into a preset storage space so as to read and inquire later. In the actual running process, the page configuration system reads the element assembly association list in a preset storage space, and at the same time, a history configuration page is obtained from a history page library. It should be noted that, a large number of history configuration pages which have been released online are stored in the history page library, and the page configuration system can determine page templates corresponding to various page types and page components required to be used for each page type by deconstructing the history configuration interfaces. Specifically, the page configuration system deconstructs a history configuration page to obtain a plurality of page elements associated with the history configuration page. And for each page element in the plurality of page elements, querying a page component identifier corresponding to the page element in a preset element component association list. And extracting a target page component from the page component library according to the page component identification, and setting a component tag with the content being a page element for the target page component. Further, setting a component tag for the target page component associated with each page element, and finally storing the page component with the component tag in the shared plug-in library.
In addition, the requesting user may also modify the standard component based on the remote terminal initiating component generation request to generate the custom component. In the actual running process, the page configuration system responds to a request of a request user to initiate a component generation request, and traverses all standard components stored in a page component library. Further, the intelligent conversation robot is called, and all standard components are sent to the remote terminal corresponding to the request user. The request user can enter the corresponding modification interface by clicking the link sent by the intelligent robot, any component which is required to be modified is selected in the modification interface to carry out self definition, and after definition is finished, a confirmation button is clicked to carry out modification confirmation. When the modified page detects that the confirmation key is triggered, the intelligent dialogue robot sends a component confirmation instruction to the page configuration system, and meanwhile, the modified custom component in the page is sent to the page configuration system. When the page configuration system detects that the request user sends a component confirmation instruction, the user-defined component uploaded by the request user and page elements associated with the user-defined component are received, and component labels with content being the page elements are set for the user-defined component. And finally, storing the custom component provided with the component tag into a shared plug-in library.
202. And responding to the request user to initiate a page configuration request, calling the intelligent dialogue robot, acquiring configuration information uploaded by the request user, adopting a distributed semantic model to identify the configuration information, and determining operation behaviors, operation objects and operation data.
In an embodiment of the application, the page configuration system comprises a shared plug-in library, an intelligent conversation robot and a page assembly engine. The intelligent dialogue robot is trained by a distributed semantic model, acquires configuration information input by a request user for identification through dialogue with the request user, and determines specific operation behaviors, operation objects and operation data.
Specifically, the requesting user may initiate a page configuration request based on the remote terminal where the requesting user is located, and the page configuration system invokes the intelligent dialog robot to send a dialog text box to the requesting user to perform a dialog with the requesting user in response to the page configuration request, so that the requesting user can input a specified text in the dialog text box. The dialog text box displays a default sentence value, which is used to prompt the user to input the specified text according to the format indicated by the default sentence value. Further, when the intelligent conversation robot detects that a request user initiates an information determining instruction, a specified text in a conversation text box is obtained, the specified text is identified based on the distributed semantic model, and operation behaviors, operation objects and operation data are extracted as configuration information. For example, the user modifies the background of page a to blue #7abaf6 based on the dialog box input, and the intelligent dialog robot may recognize that the operation behavior is modification color, the operation object is the background of page a, and the operation data is a specific blue value #7abaf6. It is envisioned that the user-entered dialog content may not have specific operational data, e.g., user-entered create activity information collection form, and the intelligent dialog robot may recognize that the operational behavior is to create a form, and that the operational object is an activity information collection form, but that no specific operational data, i.e., form content, exists. In this case, the page configuration system does not change the default component attribute of the target component after writing the target component into the page template, and directly uses the default component attribute of the target component to complete page configuration.
203. And querying a target component and a page template corresponding to the operation object in the shared plugin library.
Further, a large number of page templates, standard components and custom components which are built by users per se for forming pages are stored in the shared plug-in library. The large number of components and templates may provide the basic support for creating various types of pages, and thus, upon obtaining configuration information provided by a requesting user, the page configuration system determines the associated target components and page templates based on the configuration information. Specifically, the configuration information is read, and the operation object is the background of the page A, and then the page template corresponding to the page A and the target component corresponding to the background element are queried in the shared plugin library according to the background of the operation object page A.
204. And adding the target component to the page template according to the operation behavior, and configuring the component attribute in the page template according to the operation data to obtain page configuration data.
In the embodiment of the application, the page configuration system adds the target component to the page template according to a specific operation behavior, for example, the operation behavior is to add the carousel chart, and then the page configuration system adds the carousel chart component to a specified position according to the indication of the page template. Further, the component attribute is configured in the page template according to the operation data, so that page configuration data is obtained. Still taking the addition of the carousel image as an example for explanation, after the request user uploads the carousel image and the instruction of adding the carousel image based on the intelligent dialogue robot, the intelligent robot can identify the number of operation data as the image provided by the request user. After the carousel graphic component is added to the position corresponding to the page template, the page configuration system needs to change the component attribute of the carousel graphic component into a picture provided by the requesting user.
205. Generating a page configuration preview according to the page configuration data, and sending the page configuration preview to a remote terminal corresponding to the requesting user, so that the requesting user confirms the page configuration data according to the page configuration preview.
In the embodiment of the application, the page configuration system generates the page configuration preview according to the page configuration data, and further sends the page configuration preview to the remote terminal corresponding to the requesting user, so that the requesting user confirms the page configuration data according to the page configuration preview.
In the actual running process, if the request user is detected to initiate a confirmation instruction, the page configuration data is sent to the page assembly engine, so that the page assembly engine performs page rendering according to the page configuration data. And if the request user is detected to initiate the modification instruction, calling the intelligent conversation robot to send a conversation text box to the request user, wherein the conversation text box displays component attributes corresponding to a target component, and the target component comprises at least one sub-component. And when detecting that the request user initiates the information determining instruction, acquiring text content in the dialogue text box, and updating the page configuration data based on the text content. Specifically, based on the distributed semantic model, identifying text content to obtain attribute modification information, wherein the attribute modification information comprises a component identifier to be updated and a component attribute to be updated associated with the component identifier to be updated. And determining a sub-component corresponding to the component identifier to be updated on the page template, and updating the component attribute associated with the sub-component into the component attribute to be updated to obtain modified page configuration data. Finally, generating a page configuration preview image again according to the updated page configuration data, and sending the page configuration preview image to a remote terminal corresponding to the requesting user, so that the requesting user confirms the page configuration data according to the page configuration preview image until the requesting user is detected to initiate a confirmation instruction.
The page configuration preview image is generated, so that a user can see the configured page in advance, and unsatisfied page elements are modified again until the page meeting the requirement of the user is obtained by modification, and the page with consistent output and business targets is realized.
206. And calling a page assembly engine to conduct page rendering according to the page configuration data to obtain a target page.
In the embodiment of the application, each component contains a unique name, a version number and corresponding configuration information, and after a user confirms items and page data, the page configuration system dynamically renders a page according to the corresponding component loaded by the page configuration data to obtain a final target page.
According to the method provided by the embodiment of the application, firstly, the intelligent dialogue robot is called in response to the request user to initiate the page configuration request, and the configuration information uploaded by the request user is obtained. And then, identifying the configuration information by adopting a distributed semantic model, and determining operation behaviors, operation objects and operation data. And then, inquiring a target component and a page template corresponding to the operation object in the shared plugin library, adding the target component to the page template according to the operation behavior, and configuring component attributes in the page template according to the operation data to obtain page configuration data. And finally, calling a page assembly engine to conduct page rendering according to the page configuration data to obtain a target page. Through intelligent semantic recognition and analysis, text instructions input by a user are disassembled and segmented, page configuration information is determined, and pages required by target effects are assembled by using basic components and code modules according to the page configuration information, so that the learning cost of a user using a platform can be reduced, and a display page with high speed and high efficiency and consistent business targets is realized.
Further, as a specific implementation of the method shown in fig. 1, an embodiment of the present application provides a page configuration apparatus, as shown in fig. 3A, where the apparatus includes: an identification module 301, a first query module 302, a configuration module 303, a rendering module 304.
The identifying module 301 is configured to respond to a request user to initiate a page configuration request, invoke an intelligent dialogue robot, obtain configuration information uploaded by the request user, identify the configuration information by using a distributed semantic model, and determine an operation behavior, an operation object and operation data;
the first query module 302 is configured to query a shared plugin library for a target component and a page template corresponding to the operation object;
the configuration module 303 is configured to add the target component to the page template according to the operation behavior, and configure a component attribute in the page template according to the operation data to obtain page configuration data;
the rendering module 304 is configured to call a page assembly engine to perform page rendering according to the page configuration data, so as to obtain a target page.
In a specific application scenario, as shown in fig. 3B, the apparatus further includes: an acquisition module 305, a deconstructing module 306, a second query module 307, a setting module 308, and a storage module 309.
The acquiring module 305 is configured to acquire an element component association list, and acquire a history configuration page in a history page library, where an association relationship between a page element and a page component is recorded in the preset element component association list, and the history configuration page is used to indicate a published online presentation page;
the deconstructing module 306 is configured to deconstruct the history configuration page to obtain a plurality of page elements associated with the history configuration page;
the second query module 307 is configured to query, for each page element in the plurality of page elements, a page element identifier corresponding to the page element in the preset element association list;
the setting module 308 is configured to extract a target page component from a page component library according to the page component identifier, set a component tag whose content is the page element for the target page component,
the storage module 309 is configured to set a component tag for a target page component associated with each page element, and store the page component set with the component tag to the shared plugin library.
In a specific application scenario, as shown in fig. 3C, the apparatus further includes: a modifying module 310 and a receiving module 311.
The modification module 310 is configured to respond to a request for a user to initiate a component generation request, traverse all standard components stored in the page component library, and invoke the intelligent dialogue robot to send all standard components to a remote terminal corresponding to the request user, so that the request user modifies any standard component based on the remote terminal to generate a custom component;
the receiving module 311 is configured to receive the custom component uploaded by the requesting user and a page element associated with the custom component when detecting that the requesting user sends a component confirmation instruction, and set a component tag whose content is the page element for the custom component;
the storage module 309 is further configured to store the custom component provided with the component tag to the shared plugin library.
In a specific application scenario, the recognition module 301 is configured to invoke the intelligent dialogue robot to send a dialogue text box to the requesting user, so that the requesting user inputs a specified text in the dialogue text box, a default sentence value is displayed in the dialogue text box, and the default sentence value is used to prompt the requesting user to input the specified text according to a format indicated by the default sentence value; when the request user is detected to initiate an information determining instruction, the appointed text in the dialogue text box is obtained, the appointed text is identified based on a distributed semantic model, and operation behaviors, operation objects and operation data are extracted as the configuration information.
In a specific application scenario, as shown in fig. 3D, the apparatus further includes: a generating module 312 and a transmitting module 313.
The generating module 312 is configured to generate a page configuration preview according to the page configuration data, and send the page configuration preview to a remote terminal corresponding to the requesting user, so that the requesting user confirms the page configuration data according to the page configuration preview;
the sending module 313 is configured to send the page configuration data to the page assembly engine if the confirmation instruction initiated by the requesting user is detected, so that the page assembly engine performs page rendering according to the page configuration data.
In a specific application scenario, as shown in fig. 3E, the apparatus further includes: call module 314, update module 315.
The calling module 314 is configured to, if it is detected that the request user initiates a modification instruction, call the intelligent dialog robot to send a dialog text box to the request user, where a component attribute corresponding to the target component is displayed in the dialog text box, and the target component includes at least one sub-component;
the updating module 315 is configured to obtain text content in the dialog text box when the request user initiates an information determining instruction, and update the page configuration data based on the text content;
The generating module 312 is further configured to generate a page configuration preview according to the updated page configuration data, and send the page configuration preview to a remote terminal corresponding to the requesting user, so that the requesting user confirms the page configuration data according to the page configuration preview until it is detected that the requesting user initiates a confirmation instruction.
In a specific application scenario, the update module 315 is configured to identify the text content based on a distributed semantic model, and obtain attribute modification information, where the attribute modification information includes a component identifier to be updated and a component attribute to be updated associated with the component identifier to be updated; and determining a sub-component corresponding to the component identification to be updated on the page template, and updating the component attribute associated with the sub-component into the component attribute to be updated to obtain modified page configuration data.
The device provided by the embodiment of the application firstly responds to the request that the user initiates the page configuration request, and calls the intelligent dialogue robot to acquire the configuration information uploaded by the request user. And then, identifying the configuration information by adopting a distributed semantic model, and determining operation behaviors, operation objects and operation data. And then, inquiring a target component and a page template corresponding to the operation object in the shared plugin library, adding the target component to the page template according to the operation behavior, and configuring component attributes in the page template according to the operation data to obtain page configuration data. And finally, calling a page assembly engine to conduct page rendering according to the page configuration data to obtain a target page. Through intelligent semantic recognition and analysis, text instructions input by a user are disassembled and segmented, page configuration information is determined, and pages required by target effects are assembled by using basic components and code modules according to the page configuration information, so that the learning cost of a user using a platform can be reduced, and a display page with high speed and high efficiency and consistent business targets is realized.
It should be noted that, for other corresponding descriptions of each functional unit related to the page configuration apparatus provided in the embodiment of the present application, reference may be made to corresponding descriptions in fig. 1 and fig. 2, which are not repeated herein.
In an exemplary embodiment, referring to fig. 4, there is further provided a device, which includes a communication bus, a processor, a memory, and a communication interface, and may further include an input-output interface and a display device, wherein the respective functional units may perform communication with each other through the bus. The memory stores a computer program, and a processor is configured to execute the program stored in the memory and execute the page configuration method in the above embodiment.
A computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of the page configuration method.
From the above description of the embodiments, it will be apparent to those skilled in the art that the present application may be implemented in hardware, or may be implemented by means of software plus necessary general hardware platforms. Based on such understanding, the technical solution of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a U-disk, a mobile hard disk, etc.), and includes several instructions for causing a computer device (may be a personal computer, a server, or a network device, etc.) to perform the methods described in various implementation scenarios of the present application.
Those skilled in the art will appreciate that the drawings are merely schematic illustrations of one preferred implementation scenario, and that the modules or flows in the drawings are not necessarily required to practice the present application.
Those skilled in the art will appreciate that modules in an apparatus in an implementation scenario may be distributed in an apparatus in an implementation scenario according to an implementation scenario description, or that corresponding changes may be located in one or more apparatuses different from the implementation scenario. The modules of the implementation scenario may be combined into one module, or may be further split into a plurality of sub-modules.
The foregoing application serial numbers are merely for description, and do not represent advantages or disadvantages of the implementation scenario.
The foregoing disclosure is merely a few specific implementations of the present application, but the present application is not limited thereto and any variations that can be considered by a person skilled in the art shall fall within the protection scope of the present application.

Claims (10)

1. A method for configuring a page, comprising:
responding to a request user to initiate a page configuration request, calling an intelligent dialogue robot, acquiring configuration information uploaded by the request user, identifying the configuration information by adopting a distributed semantic model, and determining operation behaviors, operation objects and operation data;
Inquiring a target component and a page template corresponding to the operation object in a shared plug-in library;
adding the target component to the page template according to the operation behavior, and configuring component attributes in the page template according to the operation data to obtain page configuration data;
and calling a page assembly engine to conduct page rendering according to the page configuration data to obtain a target page.
2. The method of claim 1, wherein the calling the intelligent conversation robot in response to the requesting user initiating the page configuration request, before obtaining the configuration information uploaded by the requesting user, further comprises:
acquiring an element assembly association list and acquiring a history configuration page in a history page library, wherein the association relation between page elements and page assemblies is recorded in the preset element assembly association list, and the history configuration page is used for indicating a published online display page;
deconstructing the historical configuration page to obtain a plurality of page elements associated with the historical configuration page;
for each page element in the plurality of page elements, querying a page component identifier corresponding to the page element in the preset element component association list;
Extracting a target page component from a page component library according to the page component identification, setting a component tag with the content of the page element for the target page component,
and setting a component tag for each page element-associated target page component, and storing the page component with the component tag into the shared plug-in library.
3. The method of claim 2, wherein after storing the page component with the component tag in the shared plugin library, the method further comprises:
responding to a request user to initiate a component generation request, traversing all standard components stored in the page component library, and calling the intelligent dialogue robot to send all standard components to a remote terminal corresponding to the request user so that the request user modifies any standard component based on the remote terminal to generate a custom component;
when detecting that the request user sends a component confirmation instruction, receiving the custom component uploaded by the request user and a page element associated with the custom component, and setting a component tag with content being the page element for the custom component;
And storing the custom component provided with the component tag to the shared plug-in library.
4. The method of claim 1, wherein the invoking the intelligent conversation robot to obtain the configuration information uploaded by the requesting user comprises:
calling the intelligent dialogue robot to send a dialogue text box to the request user so that the request user inputs a specified text in the dialogue text box, wherein a default sentence value is displayed in the dialogue text box and is used for prompting the request user to input the specified text according to a format indicated by the default sentence value;
when the request user is detected to initiate an information determining instruction, the appointed text in the dialogue text box is obtained, the appointed text is identified based on a distributed semantic model, and operation behaviors, operation objects and operation data are extracted as the configuration information.
5. The method of claim 1, wherein before the calling the page assembly engine to render the page according to the page configuration data to obtain the target page, the method further comprises:
generating a page configuration preview according to the page configuration data, and sending the page configuration preview to a remote terminal corresponding to the request user, so that the request user confirms the page configuration data according to the page configuration preview;
And if the confirmation instruction initiated by the request user is detected, sending the page configuration data to the page assembly engine so that the page assembly engine performs page rendering according to the page configuration data.
6. The method of claim 5, wherein after the sending the page configuration preview to the remote terminal corresponding to the requesting user to enable the user to confirm the page configuration data, the method further comprises:
if the request user is detected to initiate a modification instruction, the intelligent conversation robot is called to send a conversation text box to the request user, the conversation text box displays component attributes corresponding to the target component, and the target component comprises at least one sub-component;
when the request user is detected to initiate an information determining instruction, acquiring text content in the dialogue text box, and updating the page configuration data based on the text content;
and generating a page configuration preview image again according to the updated page configuration data, and sending the page configuration preview image to a remote terminal corresponding to the request user, so that the request user confirms the page configuration data according to the page configuration preview image until the request user is detected to initiate a confirmation instruction.
7. The method of claim 6, wherein updating the page configuration data based on the text content comprises:
identifying the text content based on a distributed semantic model to obtain attribute modification information, wherein the attribute modification information comprises a component identifier to be updated and a component attribute to be updated associated with the component identifier to be updated;
and determining a sub-component corresponding to the component identification to be updated on the page template, and updating the component attribute associated with the sub-component into the component attribute to be updated to obtain modified page configuration data.
8. A page configuration apparatus, comprising:
the identification module is used for responding to a request user to initiate a page configuration request, calling the intelligent dialogue robot, acquiring configuration information uploaded by the request user, adopting a distributed semantic model to identify the configuration information and determining operation behaviors, operation objects and operation data;
the first query module is used for querying a target component and a page template corresponding to the operation object in the shared plug-in library;
the configuration module is used for adding the target component to the page template according to the operation behavior, and configuring component attributes in the page template according to the operation data to obtain page configuration data;
And the rendering module is used for calling a page assembly engine to render the page according to the page configuration data to obtain a target page.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 7 when the computer program is executed.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 7.
CN202310424087.4A 2023-04-19 2023-04-19 Page configuration method, page configuration device, computer equipment and computer readable storage medium Pending CN116450202A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310424087.4A CN116450202A (en) 2023-04-19 2023-04-19 Page configuration method, page configuration device, computer equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310424087.4A CN116450202A (en) 2023-04-19 2023-04-19 Page configuration method, page configuration device, computer equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN116450202A true CN116450202A (en) 2023-07-18

Family

ID=87135356

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310424087.4A Pending CN116450202A (en) 2023-04-19 2023-04-19 Page configuration method, page configuration device, computer equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN116450202A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116954586A (en) * 2023-08-02 2023-10-27 上海数慧***技术有限公司 Space application construction method and system and electronic equipment
CN117421000A (en) * 2023-09-06 2024-01-19 北京饼干科技有限公司 Method, device, electronic equipment and storage medium for generating distribution webpage

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116954586A (en) * 2023-08-02 2023-10-27 上海数慧***技术有限公司 Space application construction method and system and electronic equipment
CN116954586B (en) * 2023-08-02 2024-05-07 上海数慧***技术有限公司 Space application construction method and system and electronic equipment
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

Similar Documents

Publication Publication Date Title
CN108153551B (en) Method and device for displaying business process page
CN116450202A (en) Page configuration method, page configuration device, computer equipment and computer readable storage medium
CN111563220A (en) Business website project construction method and device, computer equipment and storage medium
CN108712478B (en) A kind of method and apparatus for sharing boarding application
CN112699257A (en) Method, device, terminal, server and system for generating and editing works
CN116561276A (en) Knowledge question-answering method, device, equipment and storage medium
CN103678704A (en) Picture recognition method, system, equipment and device based on picture information
CN113285868A (en) Task generation method, device and computer readable medium
CN113505082B (en) Application program testing method and device
CN111782184B (en) Apparatus, method, apparatus and medium for performing a customized artificial intelligence production line
CN116561277A (en) Knowledge question-answering method, device, equipment and storage medium
CN114594927A (en) Low code development method, device, system, server and storage medium
CN113535541A (en) Test method, test device, storage medium and computer equipment
CN112052038A (en) Method and device for generating front-end interface
CN117057318A (en) Domain model generation method, device, equipment and storage medium
CN113095056B (en) Generation method, processing method, device, electronic equipment and medium
CN111475237A (en) Menu processing method and device, electronic equipment and storage medium
CN114416049A (en) Configuration method and device of service interface combining RPA and AI
CN113268232B (en) Page skin generation method and device and computer readable storage medium
JP2019101889A (en) Test execution device and program
CN116795256A (en) Task processing method and device, electronic equipment and storage medium
CN113590564B (en) Data storage method, device, electronic equipment and storage medium
CN115373673A (en) Application page construction method and device, computer equipment and readable storage medium
CN114969603A (en) 5G message-based picture acquisition and picture generation method and system
CN109299223B (en) Method and device for inquiring instruction

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination