Customized page construction method and device, electronic equipment and computer readable medium

By creating a Q & A session window and a customized page simulation operation in the customized page construction, the fixed page design scheme is difficult to meet the needs of user needs, and the effect of reducing the re -construction and resource occupation of the page.

CN119336429AActive Publication Date: 2025-01-21SHENZHEN LIANYA NETWORK TECHNOLOGY CO LTD

Patent Information

Application Number
CN202411383733.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-30
Publication Date
2025-01-21
Estimated Expiration
2044-09-30

AI Technical Summary

Technical Problem

During the customized page construction process, fixed page design schemes are difficult to meet user needs, resulting in repeated modifications and misunderstandings, and occupying a large amount of computing and memory resources.

Method used

Directly obtain page construction requirements from users by creating a question and answer session window, perform customized page simulation operations, generate page simulation configuration information, and build functional code blocks for customized pages based on this.

Benefits of technology

Reduce the situation of the page reinstallation, reduce the consumption of computing resources and memory resource occupation, and ensure that the page design and user needs are fitted.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119336429A_ABST
    Figure CN119336429A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a customized page construction method and device, electronic equipment and a computer readable medium. A specific embodiment of the method comprises the following steps: creating a question and answer session window with a user terminal; sending a page construction question information set corresponding to the initial description information to a user terminal, so that a user selects question response options corresponding to the page construction question information in a question and answer session window through the user terminal; obtaining a page construction demand text replied by the user for the page construction prompt information; generating page simulation configuration information; generating each function code block of the customized page corresponding to the page purpose label, the page industry label, the user logo image, each question response option and the page construction demand text; and constructing a customized page based on the page simulation configuration information and each function code block. According to the embodiment, the situation of page reconstruction can be reduced, so that consumption of computing resources is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present disclosure relate to the field of computer technology, and in particular to a customized page construction method, device, electronic device, and computer-readable medium. Background Art

[0002] Customized page construction is a technology for building pages according to user needs. At present, when building customized pages, the usual method is to deploy the construction environment and build the entire page according to a fixed page design plan.

[0003] However, when using the above method to build customized pages, the following technical problems often occur:

[0004] Fixed page design solutions are often difficult to meet the customized needs of users, and require further communication and modification based on the design. At the same time, it is easy to misunderstand user needs during the communication process. Therefore, the constructed pages also need to be repeatedly adjusted, resulting in more computing resources being occupied during repeated modification and display of the pages, and more memory resources being occupied by storing multiple versions of code files.

[0005] The above information disclosed in this Background section is only for enhancement of understanding of the background of the inventive concept and therefore it may contain information that does not form the prior art that is already known in this country to a person of ordinary skill in the art. Summary of the invention

[0006] The content of this disclosure is used to introduce concepts in a brief form, which will be described in detail in the detailed implementation section below. The content of this disclosure is not intended to identify the key features or essential features of the technical solution claimed for protection, nor is it intended to limit the scope of the technical solution claimed for protection.

[0007] Some embodiments of the present disclosure propose a customized page construction method, apparatus, electronic device, and computer-readable medium to solve one or more of the technical problems mentioned in the above background technology section.

[0008] In a first aspect, some embodiments of the present disclosure provide a customized page construction method, the method comprising: in response to receiving a page construction request issued by a user through a user terminal, creating a question-and-answer session window with the above-mentioned user terminal, wherein the above-mentioned question-and-answer session window is displayed on the user terminal, and the above-mentioned page construction request includes the user's initial description information of the page construction, and the initial description information includes a page purpose label, a page industry label and a user logo image of the page construction; through the above-mentioned question-and-answer session window, a page construction question information set corresponding to the above-mentioned initial description information is sent to the user terminal, so that the user can select the question answering options corresponding to each page construction question information in the question-and-answer session window through the user terminal, wherein the page construction question information set includes page construction question information corresponding to at least one of the following: page style questions, page industry classification questions and page module questions; in response to receiving the user's respective question answers to the above-mentioned page construction question information set answer options, and send a page building prompt message to the user terminal through the question-and-answer session window to obtain the page building requirement text replied by the user to the page building prompt message; perform customized page simulation operation on the page purpose label, the page industry label, the user logo image, the various question answer options and the page building requirement text to generate page simulation configuration information, wherein the page simulation configuration information includes a simulation configuration identifier representing whether the page building data has passed the simulation; in response to determining that the page simulation configuration information meets the preset construction conditions, generate various function code blocks of a customized page corresponding to the page purpose label, the page industry label, the user logo image, the various question answer options and the page building requirement text; based on the page simulation configuration information and the various function code blocks, build a customized page, and store the page code text of the customized page.

[0009] In a second aspect, some embodiments of the present disclosure provide a customized page construction device, which includes: a creation unit, configured to create a question-and-answer session window with the user terminal in response to receiving a page construction request issued by a user through a user terminal, wherein the question-and-answer session window is displayed on the user terminal, and the page construction request includes the user's initial description information of the page construction, and the initial description information includes a page purpose label, a page industry label and a user logo image of the page construction; a sending unit, configured to send a page construction question information set corresponding to the initial description information to the user terminal through the question-and-answer session window, so that the user can select question answering options corresponding to each page construction question information in the question-and-answer session window through the user terminal, wherein the page construction question information set includes page construction question information corresponding to at least one of the following: page style issues, page industry classification issues and page module issues; an acquisition unit, configured to, in response to receiving each question answering option of the user for the page construction question information set, Through the question-and-answer conversation window, a page building prompt message is sent to the user terminal to obtain the page building requirement text replied by the user to the page building prompt message; a page simulation unit is configured to perform a customized page simulation operation on the page usage label, the page industry label, the user logo image, the various question answering options and the page building requirement text to generate page simulation configuration information, wherein the page simulation configuration information includes a simulation configuration identifier representing whether the page building data has passed the simulation; a generation unit is configured to generate various function code blocks of a customized page corresponding to the page usage label, the page industry label, the user logo image, the various question answering options and the page building requirement text in response to determining that the page simulation configuration information meets a preset construction condition; a construction unit is configured to construct a customized page based on the network page simulation diagram and the various function code blocks in the page simulation configuration information, and store the page code text of the customized page.

[0010] In a third aspect, some embodiments of the present disclosure provide an electronic device comprising: one or more processors; a storage device on which one or more programs are stored, and when the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any implementation manner of the above-mentioned first aspect.

[0011] In a fourth aspect, some embodiments of the present disclosure provide a computer-readable medium having a computer program stored thereon, wherein when the program is executed by a processor, the method described in any implementation manner of the above-mentioned first aspect is implemented.

[0012] The above-mentioned embodiments of the present disclosure have the following beneficial effects: through the customized page construction method of some embodiments of the present disclosure, the occupation of computing resources and memory resources can be reduced. Specifically, the reason why more computing resources are occupied in the process of repeated modification and display of the page, and the storage of multiple versions of code files occupies more memory resources is that the fixed page design scheme is often difficult to meet the customized needs of users, and further communication and modification are required on the basis of the design. At the same time, it is easy to misunderstand the needs of users during the communication process. Therefore, it is also necessary to repeatedly adjust the constructed page. Based on this, the customized page construction method of some embodiments of the present disclosure, first of all, considering the above-mentioned technical problems in the design scheme of the fixed page, after receiving the page construction request sent by the user through the user terminal, a question-and-answer session window with the above-mentioned user terminal is created. In this way, page demand communication can be directly carried out to the user. Therefore, the user's question answering options for the page construction problem displayed in the question-and-answer session window can be obtained (for example, selecting the industry displayed on the page, selecting the page style, etc.). At the same time, the user's description information of the page demand, that is, the page construction demand text, is also obtained through the question-and-answer session window. Here, the problem of conflict adjustment in page construction is considered. Therefore, customized page simulation operations can be performed by analyzing user needs. This can avoid misunderstandings of user needs and ensure that the page design fits user needs. Thus, page reconstruction is greatly avoided. Then, the functional code blocks corresponding to the page are constructed to build a customized page. Therefore, reducing the page reconstruction reduces the consumption of computing resources, and the reduction of page versions reduces the occupancy of memory resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that components and elements are not necessarily drawn to scale.

[0014] Figure 1 is a flow chart of some embodiments of a customized page building method according to the present disclosure;

[0015] Figure 2 It is a schematic diagram of the structure of some embodiments of the customized page construction device according to the present disclosure;

[0016] Figure 3 is a schematic diagram of the structure of an electronic device suitable for implementing some embodiments of the present disclosure;

[0017] Figure 4 The following are screenshots of product interfaces of some embodiments of the customized page building method disclosed herein. DETAILED DESCRIPTION

[0018] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0019] It should also be noted that, for ease of description, only the parts related to the invention are shown in the drawings. In the absence of conflict, the embodiments and features in the embodiments of the present disclosure can be combined with each other.

[0020] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0021] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0022] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0023] The present disclosure will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments.

[0024] Figure 1 The process 100 of some embodiments of the customized page construction method according to the present disclosure is shown. The customized page construction method includes the following steps:

[0025] Step 101: in response to receiving a page building request sent by a user through a user terminal, create a question-and-answer session window with the user terminal.

[0026] In some embodiments, the execution body of the customized page construction method can create a question-and-answer session window with the above-mentioned user terminal in response to receiving a page construction request issued by a user through a user terminal. Among them, the above-mentioned question-and-answer session window is displayed on the user terminal. The above-mentioned page construction request may include the user's initial description information of the page construction. The initial description information may include: the page purpose label of the page construction, the page industry label and the user logo image. Here, the page purpose label of the page construction can represent the purpose of the page that the user needs to build. The page industry label can represent the industry of the page content design. The user logo image can be a brand image of the page. Secondly, the preset window function can be loaded to create a question-and-answer session window. After the creation, a communication connection between the server and the user terminal can also be established so that the question-and-answer session window realizes information interaction between the server and the user terminal.

[0027] For details, please refer to Figure 4 The screenshot of the product interface is shown. The user can select the "Add Template" option in the user terminal interface to issue a page building request.

[0028] Step 102, sending a page construction question information set corresponding to the initial description information to a user terminal through the question-and-answer session window, so that the user can select a question answering option corresponding to each page construction question information in the question-and-answer session window through the user terminal.

[0029] In some embodiments, the execution subject may send the page construction question information set corresponding to the initial description information to the user terminal through the question-and-answer session window, so that the user can select the question answering options corresponding to each page construction question information in the question-and-answer session window through the user terminal. The page construction question information set may include page construction question information corresponding to at least one of the following: page style questions, page industry classification questions, and page module questions. Here, the question answering options corresponding to each page construction question information may represent the classification of the page that the user needs to build.

[0030] As an example, the answer option for the page industry classification question can be manufacturing, such as mechanical parts manufacturing. The answer option for the page style question can be simplicity. The answer option for the page module question can be three modules, such as logo module, company profile module, product introduction module, etc.

[0031] In some optional implementations of some embodiments, the execution subject sends the page construction question information set corresponding to the initial description information to the user terminal through the question-and-answer session window, which may include the following steps:

[0032] The first step is to select question information that matches the above-mentioned page purpose label and page industry label from the preset question library as a page construction question information set corresponding to the above-mentioned initial description information. The preset question library may include various types of pre-stored questions and corresponding question options. For example, for style questions, the corresponding options may be simple, fresh, atmospheric and other question label options. Here, different question information may correspond to different label fields. Thus, question information with the same label can be selected from the question library through the page purpose label and the page industry label as a page construction question to obtain a page construction question information set.

[0033] The second step is to send the page construction question information set to the user terminal and display it in the question-answering session window. In practice, each page construction question information in the page construction question information set can be displayed in the question-answering session window at the same time. Alternatively, each page construction question information can be displayed in the question-answering session window in sequence.

[0034] Step 103, in response to receiving the various question answering options of the user for the page building question information set, a page building prompting message is sent to the user terminal through the question-and-answer session window to obtain the page building requirement text replied by the user for the page building prompting message.

[0035] In some embodiments, the execution subject may, in response to receiving the user's answer options for each question in the page building question information set, send a page building prompt message to the user terminal through the question-and-answer session window to obtain the page building requirement text replied by the user to the page building prompt message. The page building prompt message may be information for prompting the user to describe the requirement. For example, "Please make a complete description of the page requirement."

[0036] In addition, the page construction prompt information can also include a reference text described by the user, so that the user can describe the requirements by comparing with the reference text. The page construction requirement text replied includes the description words required for page construction, and the difficulty of text feature extraction is reduced due to the structured text.

[0037] In practice, when using the above method to build customized pages, although it can greatly avoid misunderstandings of the solution and reduce the number of page readjustments, there is still the problem of design conflicts with the user's needs. As a result, the constructed page is difficult to generate or crashes. If the conflict problem is located and the page is designed to avoid the conflict problem, it is easy to choose the wrong design direction, causing the constructed page to deviate from the user's customized needs, and thus the page needs to be built again. Therefore, the code files corresponding to multiple versions of the web page also need to occupy more storage resources. For this second problem, combined with the page construction technology available, it can be determined to adopt the following solution.

[0038] Step 104 , performing customized page simulation operations on the page purpose label, page industry label, user logo image, various question answering options and page building requirement text to generate page simulation configuration information.

[0039] In some embodiments, the execution subject may perform customized page simulation operations on the page purpose label, the page industry label, the user logo image, the various question answering options, and the page building requirement text to generate page simulation configuration information. The page simulation configuration information includes a simulation configuration identifier indicating whether the page building data has passed the simulation.

[0040] In some optional implementations of some embodiments, the execution subject performs a customized page simulation operation on the page purpose label, the page industry label, the user logo image, the various question answering options, and the page construction requirement text to generate page simulation configuration information, which may include the following steps:

[0041] The first step is to extract image theme labels from the user logo image to obtain logo image theme labels. The image theme labels can be extracted from the user logo image using a preset extraction function to obtain logo image theme labels. Here, the logo image theme labels can be used to characterize the image style of the user logo image.

[0042] As an example, the extraction function may include but is not limited to at least one of the following: an image description generation model, a Show and Tell image content generation model. Specifically, objects or scenes in the image may be classified or recognized by a convolutional neural network (CNN). The names of these objects or scenes may be regarded as keywords of the image.

[0043] The second step is to perform word segmentation processing on the above-mentioned various question answering options and the above-mentioned page building requirement text to generate a page building requirement word segmentation set. In particular, the above-mentioned various question answering options and the above-mentioned page building requirement text can be segmented by a preset word segmentation algorithm to generate a page building requirement word segmentation set. Here, the page building requirement word segmentation can be a word.

[0044] As an example, the word segmentation algorithm may include but is not limited to at least one of the following: a maximum matching word segmentation algorithm, a shortest path word segmentation algorithm, a CLM (Chinese Language Model), an average perceptron word segmentation algorithm, and a CRF (conditional random field algorithm) word segmentation algorithm.

[0045] The third step is to vectorize the page usage label, the page industry label, the logo image theme label and each generated page construction demand segmentation in the generated page construction demand segmentation set to generate a page usage label vector, a page industry label vector, a logo image theme vector and a demand segmentation vector group. Among them, the lengths of the page usage label vector, the page industry label vector, the logo image theme vector and each demand segmentation vector are the same. Here, the data in the vectors corresponding to different labels are not in different vector positions. For example, the page usage label corresponds to the first three digits in the vector, and the page industry label corresponds to the fourth to seventh digits in the vector. In addition, for different page usage labels, the corresponding numerical values ​​can be set in advance, and the lengths of the numerical values ​​can also be different. For example, the page usage label representing the manufacturing industry corresponds to a numerical value of "001". Then the first three numerical values ​​of the corresponding vector can be 001, and the data in other positions can be 0. Specifically, the numerical value corresponding to the logo image theme label can be the theme color value of the logo image. For example, the theme color value can be 9-digit RGB data.

[0046] The fourth step is to combine the page purpose label vector, page industry label vector, logo image theme vector and each demand word segmentation vector in the demand word segmentation vector group into a page layout theme matrix. The page purpose label vector, page industry label vector, logo image theme vector and each demand word segmentation vector can be combined in sequence into a page layout theme matrix.

[0047] The fifth step is to perform topic analysis on the page topic layout matrix to generate a topic vector relevance set. The topic analysis can be performed on the page topic layout matrix to generate a topic vector relevance set by using a matrix decomposition algorithm.

[0048] Step 6: In response to determining that the topic vector relevance set meets a preset relevance condition, generate page simulation configuration information including a simulation configuration identifier that indicates the simulation passed. The preset relevance condition may be that the relevance of each topic vector in the topic vector relevance set is greater than a preset relevance threshold.

[0049] Step 7: In response to determining that the topic vector relevance set does not meet the preset relevance condition, generate page simulation configuration information including a simulation configuration identifier indicating that the simulation failed. In practice, simulation failure can mean that the user description content is complete and does not conflict, and can be used to generate a complete page.

[0050] In practice, when using the above method to build customized pages, there are often abnormal functions of the built pages. Therefore, if there is an abnormality in one function, the entire page needs to be rebuilt, and the code text of the entire page needs to be transmitted between the user terminal. This not only increases the consumption of computing resources, but also occupies more transmission resources. For this third problem, combined with the page building technology, it can be determined to adopt the following solution.

[0051] Step 105, in response to determining that the page simulation configuration information meets the preset construction conditions, generate various functional code blocks of the customized page corresponding to the page purpose label, page industry label, user logo image, various question answering options and page construction requirement text.

[0052] In some embodiments, the execution subject may generate each functional code block of the customized page corresponding to the page purpose label, the page industry label, the user logo image, each question answering option and the page building requirement text in response to determining that the page simulation configuration information satisfies the preset building condition. The preset building condition may be that the page simulation configuration information includes a simulation configuration identifier indicating that the simulation has passed.

[0053] In some optional implementations of some embodiments, the execution subject generates, in response to determining that the page simulation configuration information satisfies the preset construction condition, each functional code block of the customized page corresponding to the page purpose label, the page industry label, the user logo image, the various question answering options, and the page construction requirement text, which may include the following steps:

[0054] The first step is to select a page section layout information set corresponding to the page purpose tag and the page industry tag from a preset page section database. Each page section layout information in the page section layout information set can represent a web page that matches the page purpose tag and the page industry tag. Here, the page section layout information can include the overall structure code of the web page, the keywords of each module of the page, and the page screenshot.

[0055] As an example, the keywords may include but are not limited to at least one of the following: "message", "FAQ", "download", "case", "advertisement image", etc.

[0056] The second step is to perform feature association on the above page section layout information set and the above page construction requirement segmentation set to select page section layout information that matches each page construction requirement segmentation as a sample page layout information group. The feature association can be to select page section layout information that has a correlation with each page construction requirement segmentation greater than a preset threshold from the above page section layout information set. Specifically, each page construction requirement segmentation can be matched with the subject words in the page section layout information through a segmentation matching algorithm to obtain the segmentation correlation.

[0057] As an example, the word segmentation matching algorithm may include but is not limited to at least one of the following: a forward maximum matching algorithm and a reverse maximum matching algorithm.

[0058] The third step is to extract the theme color of the user logo image to obtain the theme color data of the logo image. The theme color of the user logo image can be extracted by a color extraction algorithm to obtain the theme color data of the logo image. Here, the theme color data of the logo image can be RGB three-channel data.

[0059] As an example, the color extraction algorithm may be a function in a GD (Graphics Draw) library.

[0060] In the fourth step, according to the above-mentioned logo image theme color data and the above-mentioned logo image theme tag, the above-mentioned sample page layout information group is used to perform page simulation to obtain a simulated network page layout diagram. Among them, the above-mentioned simulated network page layout diagram can be composed of multiple page layout panels. The simulated network page layout diagram can include the boundary box of each page layout panel and the corresponding format data and filling data. The format data can include rendering information corresponding to each page layout panel. The filling data can include the data network address corresponding to each page layout panel. Here, the page overall structure code included in each sample page layout information in the above-mentioned sample page layout information group is executed to generate a blank page and obtain a blank page atlas. Then, the position of the logo image in the blank page diagram can be resized to correspond to the user logo image corresponding to the above-mentioned logo image theme tag. After that, the page rendering can be performed on the positions required to be rendered in each blank according to the logo image theme color data to obtain a rendered page atlas. Finally, the rendered page atlas can be sent to the user terminal to obtain the rendered page diagram selected by the user as the simulated network page layout diagram. In addition, the above-mentioned sample page layout information group can be used to perform page simulation through a preset web page construction algorithm to obtain a simulated network page layout diagram.

[0061] The fifth step is to automatically generate the initial function code block corresponding to each page layout section by using the format data included in the above-mentioned simulated network page layout diagram, and perform a function test on each initial function code block. In response to the test passing, the initial function code block is determined as a function code block. Each function code block may include a data network address in the corresponding fill data. The function code block may be the front-end code of each page layout section. Secondly, the initial function code block of each page layout section may be constructed according to the format data included in the simulated network page layout diagram through a pre-set website building script or a large model. In addition, each initial function code block may be run, and the function test may be determined to be passed after the run is successful.

[0062] Optionally, the page section data in the above page section database can be generated by the following steps:

[0063] The first step is to obtain web page data corresponding to each network address according to a plurality of pre-set network addresses, and obtain a web page data set, wherein the network data may include page code text and page screenshots.

[0064] The second step is to classify the web page data in each web page data set to generate a set of classified web page data groups.

[0065] The third step is to extract the page section layout information from the classified page data in the classified web page data set and store it in the page section database. In particular, the page screenshots can be subjected to keyword extraction based on a natural language processing method to obtain a keyword set. Then, the keyword set, the page code text, and the page screenshots can be determined as the page section layout information.

[0066] Step 106: construct a customized page based on the page simulation configuration information and each functional code block, and store the page code text of the customized page.

[0067] In some embodiments, the execution entity may construct a customized page based on the page simulation configuration information and the various functional code blocks, and store the page code text of the customized page.

[0068] In some optional implementations of some embodiments, the execution subject constructs a customized page based on the page simulation configuration information and the functional code blocks, and stores the page code text of the customized page, which may include the following steps:

[0069] The first step is to establish a page frame code text corresponding to the simulated network page layout diagram included in the above-mentioned page simulation configuration information. Among them, the page frame code text may include the code for generating the page frame of the above-mentioned simulated network page layout diagram. Here, the page frame code text corresponding to the simulated network page layout diagram can be generated by the above-mentioned website building script or large model. In practice, running the page frame code text can display the layout structure of the actual page in the browser.

[0070] In the second step, according to the page positions corresponding to the function code blocks in the simulated network page layout diagram included in the page simulation configuration information, the above-mentioned function code blocks are integrated into the corresponding positions in the above-mentioned page frame code text to generate a page code file. Among them, each function code block can correspond to the function name in the page frame code text corresponding to the page position through the function name of the page frame code. Thus, the function code block can be added to the corresponding position in the page frame code text to generate a page code file.

[0071] The third step is to run the above page code file to build a customized page.

[0072] Optionally, the execution entity may also send the page code file of the customized page to the user terminal for display on the user terminal.

[0073] The above steps 105-106 and their related contents, as an inventive point of an embodiment of the present disclosure, solve the technical problem three mentioned in the background technology, "When the construction of the whole page is checking the page function, if there is an abnormality in one function, the whole page needs to be rebuilt, and the code text of the whole page needs to be transmitted between the user terminal, thereby not only increasing the consumption of computing resources, but also occupying more transmission resources". The factors that increase the consumption of computing resources and occupy more transmission resources are often as follows: When the construction of the whole page is checking the page function, if there is an abnormality in one function, the whole page needs to be rebuilt, and the code text of the whole page needs to be transmitted between the user terminal. If the above factors are solved, the consumption of computing resources can be reduced and the occupancy of transmission resources can be reduced. In order to achieve this effect, first, by introducing a page section database, it can be used to refer to other page layout information of the same industry during the page construction process. To filter out the available page layout information. Then, through page simulation, not only can the page be adjusted to be more in line with user needs, but also a simulated network page layout diagram can be constructed to display the page. Then, it is also because each page layout section is divided in the constructed network page layout diagram. Therefore, the code blocks corresponding to each constructed page layout section can be respectively checked for codes. Thus, it can be used to check whether there are abnormalities in each page layout section. Finally, when there are no abnormalities in each page layout section, the above-mentioned various functional code blocks are integrated into the corresponding positions in the above-mentioned page framework code text according to the page positions corresponding to the various functional code blocks in the simulated network page layout diagram included in the above-mentioned page simulation configuration information to generate a page code file. Thus, the construction of the customized page is completed. Thus, it can greatly avoid the situation where the functional abnormalities of the constructed page lead to the need to rebuild and adjust the entire page. Furthermore, the consumption of computing resources is reduced, and the waste of transmission resources caused by sending page code files multiple times is also reduced.

[0074] Optionally, the above execution entity may further perform the following steps:

[0075] In response to determining that the page simulation configuration information does not meet the preset construction conditions, based on the various question answering options and the page construction requirement text, page construction supplementary information is generated, wherein the page construction supplementary information includes supplementary questions for the user to answer. The fact that the page simulation configuration information does not meet the preset construction conditions can indicate that the simulation has failed.

[0076] Optionally, the execution subject generates the page construction supplementary information based on the above-mentioned question answer options and the above-mentioned page construction requirement text, which may include the following steps:

[0077] The first step is to determine whether there are semantically conflicting question answer options among the above-mentioned question answer options based on a preset question option conflict list. The preset question option conflict list may be a question option conflict list in which conflicting words are pre-stored as conflict relationships. Secondly, it is possible to detect whether there are conflicting relationships among the question answer options from the question option conflict list.

[0078] As an example, the conflicting issues may be industry conflicts, such as the conflict between manufacturing and service industries. The conflicting issues may also be page module conflicts, such as the user descriptions of "the logo image is placed in the upper left corner of the page" and "the logo image is placed in the middle of the page". It may also be page style conflicts, such as the question answering option selected by the user is "simple", but the style word in the user description information is "rich.

[0079] In the second step, in response to the existence of semantic conflict, the corresponding question answer options are determined as conflict options to obtain a conflict option group.

[0080] The third step is to perform text semantic segmentation on the page construction requirement text to generate text semantic segmentation groups. The text semantic segmentation can be performed on the page construction requirement text using the above-mentioned segmentation algorithm to generate text semantic segmentation groups.

[0081] The fourth step is to perform semantic conflict analysis on each text semantic segmentation in the above text semantic segmentation group and each of the above question answering options to generate a conflicting semantic segmentation group. Among them, the above question option conflict list can be used again to determine whether there is a problem conflict between each text semantic segmentation in the above text semantic segmentation group and the words corresponding to each of the above question answering options. In addition, the words can be vectorized by a natural language algorithm to compare the distance values ​​between the vectors. When the distance value is greater than a preset distance threshold, it is determined that there is a conflicting semantic segmentation.

[0082] Step 5: Generate text for the conflicting option group and the conflicting semantic word group to obtain supplementary information for page construction. The network interface of the large language model can be called to generate text for the conflicting option group and the conflicting semantic word group to obtain supplementary information for page construction.

[0083] The above step 104 and the above two optional steps are an inventive point of an embodiment of the present disclosure, which solves the second technical problem mentioned in the background technology: "In the process of page construction, there is a design conflict in the page design scheme itself, which makes it difficult to generate or crash the constructed page. If the conflict problem is located and the page design is performed to avoid the conflict problem, it is easy to choose the wrong design direction, resulting in the constructed page deviating from the user's customized requirements, so that the page needs to be constructed again. Therefore, the code files corresponding to multiple versions of the network page also need to occupy more storage resources." The factors that cause the code files corresponding to multiple versions of the network page to occupy more storage resources are often as follows: In the process of page construction, there is a design conflict in the page design scheme itself, which makes it difficult to generate or crash the constructed page. If the conflict problem is located and the page design is performed to avoid the conflict problem, it is easy to choose the wrong design direction, resulting in the constructed page deviating from the user's customized requirements, so that the page needs to be constructed again. If the above factors are solved, the storage resource occupation can be reduced. In order to achieve this effect, first of all, considering that there is a design conflict problem in the page design scheme itself, the page construction is tried in advance through the customized page simulation operation. Specifically, by extracting the logo image theme tag, it can be used to determine the theme direction of the logo image. Then, by performing word segmentation processing on the question answering options and the above-mentioned page building requirement text, the page building requirement word segmentation can be extracted. In order to use the tags and word segmentation for simulation operations, the tags and word segmentation are also converted into a vector form suitable for comparison through vectorization. Then, through thematic analysis, it can be used to determine the degree of association between vectors. Therefore, it can be preliminarily determined whether there is a large design conflict between the user's description text and the user's question answering options. Afterwards, in the case of a conflict, by introducing a pre-built question option conflict list, it can be used to locate the word segmentation with a conflict. Thus, the generated page building supplementary information can be sent to the user so that the user can adjust the requirement description text, that is, adjust the design conflict existing in the design scheme. Thus, the problem of the page being difficult to generate or crashing, or the generated page having errors is avoided. And then the situation of multiple page reconstruction is further reduced. Thus, the constructed page version can be reduced to reduce the occupation of memory resources.

[0084] The above-mentioned embodiments of the present disclosure have the following beneficial effects: through the customized page construction method of some embodiments of the present disclosure, the occupation of computing resources and memory resources can be reduced. Specifically, the reason why more computing resources are occupied in the process of repeated modification and display of the page, and the storage of multiple versions of code files occupies more memory resources is that the fixed page design scheme is often difficult to meet the customized needs of users, and further communication and modification are required on the basis of the design. At the same time, it is easy to misunderstand the needs of users during the communication process. Therefore, it is also necessary to repeatedly adjust the constructed page. Based on this, the customized page construction method of some embodiments of the present disclosure, first of all, considering the above-mentioned technical problems in the design scheme of the fixed page, after receiving the page construction request sent by the user through the user terminal, a question-and-answer session window with the above-mentioned user terminal is created. In this way, page demand communication can be directly carried out to the user. Therefore, the user's question answering options for the page construction problem displayed in the question-and-answer session window can be obtained (for example, selecting the industry displayed on the page, selecting the page style, etc.). At the same time, the user's description information of the page demand, that is, the page construction demand text, is also obtained through the question-and-answer session window. Here, the problem of conflict adjustment in page construction is considered. Therefore, customized page simulation operations can be performed by analyzing user needs. This can avoid misunderstandings of user needs and ensure that the page design fits user needs. Thus, page reconstruction is greatly avoided. Then, the functional code blocks corresponding to the page are constructed to build a customized page. Therefore, reducing the page reconstruction reduces the consumption of computing resources, and the reduction of page versions reduces the occupancy of memory resources.

[0085] Further references Figure 2 As an implementation of the methods shown in the above figures, the present disclosure provides some embodiments of a customized page construction device. These device embodiments are similar to Figure 1 Corresponding to the method embodiments shown, the device can be specifically applied to various electronic devices.

[0086] like Figure 2As shown, the customized page construction device 200 of some embodiments includes: a creation unit 201 , a sending unit 202 , an acquisition unit 203 , a page simulation unit 204 , a generation unit 205 and a construction unit 206 . Wherein, the creation unit 201 is configured to, in response to receiving a page construction request sent by a user through a user terminal, create a question-and-answer session window with the above-mentioned user terminal, wherein the above-mentioned question-and-answer session window is displayed on the user terminal, and the above-mentioned page construction request includes the user's initial description information of the page construction, and the initial description information includes the page purpose label, page industry label and user logo image of the page construction; the sending unit 202 is configured to send the page construction question information set corresponding to the above-mentioned initial description information to the user terminal through the above-mentioned question-and-answer session window, so that the user can select the question answering options corresponding to each page construction question information in the question-and-answer session window through the user terminal, wherein the page construction question information set includes page construction question information corresponding to at least one of the following: page style problem, page industry classification problem and page module problem; the acquisition unit 203 is configured to, in response to receiving each question answering option of the user for the above-mentioned page construction question information set, send the above-mentioned user terminal through the above-mentioned question-and-answer session window. The terminal sends a page building prompt message to obtain the page building requirement text replied by the user to the above page building prompt message; the page simulation unit 204 is configured to perform customized page simulation operation on the above page purpose label, the above page industry label, the above user logo image, the above question answering options and the above page building requirement text to generate page simulation configuration information, wherein the above page simulation configuration information includes a simulation configuration identifier representing whether the page building data has been simulated; the generation unit 205 is configured to generate each function code block of the customized page corresponding to the above page purpose label, the above page industry label, the above user logo image, the above question answering options and the above page building requirement text in response to determining that the above page simulation configuration information meets the preset construction conditions; the construction unit 206 is configured to construct a customized page based on the network page simulation diagram and the above function code blocks in the above page simulation configuration information, and store the page code text of the above customized page.

[0087] It is understood that the units described in the device 200 are similar to those described in the reference Figure 1 Therefore, the operations, features and beneficial effects described above for the method are also applicable to the device 200 and the units included therein, and will not be described in detail here.

[0088] Reference below Figure 3 , which shows a structural schematic diagram of an electronic device (eg, a computing device) 300 suitable for implementing some embodiments of the present disclosure. Figure 3The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0089] like Figure 3 As shown, the electronic device 300 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 301, which can perform various appropriate actions and processes according to a program stored in a read-only memory 302 or a program loaded from a storage device 308 into a random access memory 303. Various programs and data required for the operation of the electronic device 300 are also stored in the random access memory 303. The processing device 301, the read-only memory 302, and the random access memory 303 are connected to each other via a bus 304. An input / output interface 305 is also connected to the bus 304.

[0090] Typically, the following devices may be connected to the I / O interface 305: input devices 306 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 307 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 308 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 309. The communication devices 309 may allow the electronic device 300 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 3 The electronic device 300 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead. Figure 3 Each block shown in the figure may represent one device, or may represent multiple devices as required.

[0091] In particular, according to some embodiments of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, some embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In some such embodiments, the computer program can be downloaded and installed from the network through the communication device 309, or installed from the storage device 308, or installed from the read-only memory 302. When the computer program is executed by the processing device 301, the above-mentioned functions defined in the method of some embodiments of the present disclosure are executed.

[0092] It should be noted that the computer-readable medium recorded in some embodiments of the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In some embodiments of the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In some embodiments of the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0093] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (Hyper Text Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0094] The computer-readable medium may be included in the electronic device; or it may exist independently without being installed in the electronic device. The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: in response to receiving a page building request from a user through a user terminal, creates a question-and-answer session window with the user terminal, wherein the question-and-answer session window is displayed on the user terminal, and the page building request includes the user's initial description information of the page building, and the initial description information includes the page usage label, page industry label and user logo image of the page building; through the question-and-answer session window, sends a page building question information set corresponding to the initial description information to the user terminal, so that the user can select the question answering options corresponding to each page building question information in the question-and-answer session window through the user terminal, wherein the page building question information set includes page building question information corresponding to at least one of the following: page style problem, page industry classification problem and page module problem; in response to receiving a user's response to the page building question information The user terminal sends a page construction prompt message to the user terminal through the question-and-answer session window based on the various question-answering options in the information set, so as to obtain the page construction requirement text replied by the user to the page construction prompt message; performs customized page simulation operation on the page purpose label, the page industry label, the user logo image, the various question-answering options and the page construction requirement text, so as to generate page simulation configuration information, wherein the page simulation configuration information includes a simulation configuration identifier representing whether the page construction data has passed the simulation; in response to determining that the page simulation configuration information satisfies the preset construction conditions, generates various function code blocks of a customized page corresponding to the page purpose label, the page industry label, the user logo image, the various question-answering options and the page construction requirement text; builds a customized page based on the page simulation configuration information and the various function code blocks, and stores the page code text of the customized page.

[0095] Computer program code for performing the operations of some embodiments of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0096] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0097] The units described in some embodiments of the present disclosure may be implemented by software or by hardware. The units described may also be set in a processor, for example, it may be described as: a processor includes a creation unit, a sending unit, an acquisition unit, a page simulation unit, a generation unit, and a construction unit. The names of these units do not constitute a limitation on the unit itself in some cases, for example, the construction unit may also be described as a "unit for constructing a customized page".

[0098] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0099] The above descriptions are only some preferred embodiments of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present disclosure is not limited to the technical solutions formed by a specific combination of the above-mentioned technical features, but should also cover other technical solutions formed by any combination of the above-mentioned technical features or their equivalent features without departing from the above-mentioned inventive concept. For example, the above-mentioned features are replaced with the technical features with similar functions disclosed in the embodiments of the present disclosure (but not limited to) and the technical solutions formed.

Claims

1. A customized page construction method, comprising: In response to receiving a page building request sent by a user through a user terminal, creating a question-and-answer session window with the user terminal, wherein the question-and-answer session window is displayed on the user terminal, and the page building request includes initial description information of the page building by the user, and the initial description information includes a page purpose tag, a page industry tag, and a user logo image of the page building; The page construction question information set corresponding to the initial description information is sent to the user terminal through the question-and-answer session window, so that the user can select the question answering options corresponding to each page construction question information in the question-and-answer session window through the user terminal, wherein the page construction question information set includes page construction question information corresponding to at least one of the following: page style question, page industry classification question and page module question; In response to receiving the user's answer options for each question in the page building question information set, sending a page building prompt message to the user terminal through the question-and-answer session window to obtain a page building requirement text replied by the user in response to the page building prompt message; Performing a customized page simulation operation on the page purpose label, the page industry label, the user logo image, the various question answering options, and the page building requirement text to generate page simulation configuration information, wherein the page simulation configuration information includes a simulation configuration identifier indicating whether the page building data has passed the simulation; In response to determining that the page simulation configuration information satisfies a preset construction condition, generating each functional code block of the customized page corresponding to the page purpose label, the page industry label, the user logo image, the each question answering option and the page construction requirement text; Based on the page simulation configuration information and the various functional code blocks, a customized page is constructed, and the page code text of the customized page is stored.

2. The method according to claim 1, wherein: The method further comprises: The page code file of the customized page is sent to the user terminal for display on the user terminal.

3. The method according to claim 1, wherein: The method further comprises: In response to determining that the page simulation configuration information does not meet the preset construction condition, page construction supplementary information is generated based on the various question answering options and the page construction requirement text, wherein the page construction supplementary information includes supplementary questions for user answers.

4. The method according to claim 3, wherein: The generating of page construction supplementary information based on the various question answering options and the page construction requirement text includes: Based on a preset list of conflicting question options, determining whether there is a semantically conflicting question answer option among the various question answer options; In response to the existence of a semantic conflict, the corresponding question answer option is determined as a conflict option to obtain a conflict option group; Performing text semantic segmentation on the page building requirement text to generate text semantic segmentation groups; Performing semantic conflict analysis on each text semantic segmentation in the text semantic segmentation group and each question answer option to generate a conflicting semantic segmentation group; Text generation is performed on the conflicting option group and the conflicting semantic word group to obtain page construction supplementary information.

5. The method according to claim 1, wherein: The step of sending the page construction question information set corresponding to the initial description information to the user terminal through the question-and-answer session window includes: Selecting question information matching the page purpose tag and the page industry tag from a preset question library as a page construction question information set corresponding to the initial description information; The page construction question information set is sent to the user terminal and displayed in the question-and-answer session window.

6. The method according to claim 1, wherein: The customized page simulation operation is performed on the page purpose label, the page industry label, the user logo image, the various question answering options and the page building requirement text to generate page simulation configuration information, including: Extracting image subject tags from the user logo image to obtain logo image subject tags; Performing word segmentation processing on the various question answer options and the page building requirement text to generate a page building requirement word segmentation set; Vectorizing the page purpose label, the page industry label, the logo image theme label, and each generated page construction requirement segmentation in the generated page construction requirement segmentation set to generate a page purpose label vector, a page industry label vector, a logo image theme vector, and a requirement segmentation vector group; Combining the page purpose label vector, the page industry label vector, the logo image theme vector, and each demand word segmentation vector in the demand word segmentation vector group into a page layout theme matrix; Performing topic analysis on the page topic layout matrix to generate a topic vector relevance set; In response to determining that the topic vector relevance set satisfies a preset relevance condition, generating page simulation configuration information including a simulation configuration identifier characterizing a simulation pass; In response to determining that the topic vector relevance set does not satisfy a preset relevance condition, page simulation configuration information including a simulation configuration identifier indicating that the simulation has failed is generated.

7. A customized page construction device, comprising: a creating unit, configured to, in response to receiving a page building request sent by a user through a user terminal, create a question-and-answer session window with the user terminal, wherein the question-and-answer session window is displayed on the user terminal, and the page building request includes initial description information of the page building by the user, and the initial description information includes a page purpose tag, a page industry tag, and a user logo image of the page building; The sending unit is configured to send a page construction question information set corresponding to the initial description information to a user terminal through the question-and-answer session window, so that the user can select a question answering option corresponding to each page construction question information in the question-and-answer session window through the user terminal, wherein the page construction question information set includes page construction question information corresponding to at least one of the following: a page style question, a page industry classification question, and a page module question; an acquisition unit, configured to, in response to receiving each question answering option of the user for the page building question information set, send page building prompt information to the user terminal through the question-answering session window to acquire a page building requirement text replied by the user for the page building prompt information; a page simulation unit configured to perform a customized page simulation operation on the page purpose label, the page industry label, the user logo image, the various question answering options, and the page building requirement text to generate page simulation configuration information, wherein the page simulation configuration information includes a simulation configuration identifier indicating whether the page building data has passed the simulation; a generating unit configured to generate, in response to determining that the page simulation configuration information satisfies a preset construction condition, each functional code block of the customized page corresponding to the page purpose label, the page industry label, the user logo image, the each question answering option and the page construction requirement text; The construction unit is configured to construct a customized page based on the network page simulation diagram in the page simulation configuration information and the various functional code blocks, and store the page code text of the customized page.

8. An electronic device, comprising: one or more processors; a storage device having one or more programs stored thereon, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 6.

9. A computer readable medium having a computer program stored thereon, wherein: When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Page configuration method and device, computer equipment and computer readable storage medium

    CN116450202A

  • Dynamic station building method and system based on generative AI

    CN116991408A

  • Intelligent low-code page development system and method

    CN117331561A

  • Target page generation method and device

    CN117389559A

  • Front-end page construction method and device based on natural language interaction

    CN117555644A

Cited By

  • Content generation method and device, medium, electronic equipment and program product

    CN120407736A