Page generation method and device, equipment and storage medium

By obtaining and processing the information of the editing page, converting the target format and processing the server, generating a display page that meets user needs, solving the problem of high learning costs of open source rich text editors and improving user experience and editing efficiency.

CN119025104APending Publication Date: 2024-11-26安徽三七极光网络科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410916554.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-09
Publication Date
2024-11-26

Smart Images

  • Figure CN119025104A_ABST
    Figure CN119025104A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a page generation method and device, equipment and a storage medium, and the method comprises the steps: obtaining page editing information of an editing page under the condition that the editing page is triggered to be submitted, and the page editing information is generated based on a content identifier in the editing page and editing content in a content editing box; performing target format conversion on the page editing information to generate target page information, and sending the target page information to a server, so that the server performs page content processing and page layout processing on the target page information to obtain target content information and page layout information, feeding back the target content information and the page layout information; and generating a target display page based on the received target content information and the page layout information sent by the server. The learning cost of the user for the rich text editor is reduced, and correspondingly, the experience feeling of the user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of computer technology, and in particular to a page generation method, apparatus, device and storage medium. Background Art

[0002] Multi-function Text Editor, MTE for short, provides editing functions similar to Microsoft Word. It is easily loved by users who cannot write HTML and need to set various text formats. Therefore, the rich text editor is an indispensable interactive means in web activities, which enables users to obtain better visualization effects on web pages.

[0003] In the related technology, open source rich text editors are usually used for data interaction, but the functions of each open source rich text editor are relatively complex. Even for some simple interactions, it is usually necessary to learn the functions of the entire open source rich text editor. For example, when uploading a picture, it is necessary to first select various levels such as the uploadable area, the type of uploaded content, and the size of the picture, and finally determine the interface position for uploading the picture. When adjusting the position of the uploaded picture, it is necessary to adjust it based on the corresponding move instructions. Therefore, before using the open source rich text editor, it is necessary to learn the functions of each level, the corresponding interface positions, and the page layout adjustment instructions, etc. The learning cost is high, which affects the user experience. Summary of the invention

[0004] The embodiments of the present application provide a page generation method, apparatus, device and storage medium, which solve the problem that the learning cost of open source rich text editors is high and affects the user experience, reduce the user's learning cost for rich text editors, and accordingly improve the user experience.

[0005] In a first aspect, an embodiment of the present application provides a page generation method, comprising:

[0006] In the case of triggering the editing page submission, obtaining the page editing information of the editing page, wherein the page editing information is generated based on the content identifier in the editing page and the editing content in the content editing box;

[0007] Performing target format conversion on the page editing information to generate target page information, and sending the target page information to a server, so that the server performs page content processing and page layout processing on the target page information to obtain target content information and page layout information, and feeds back the target content information and the page layout information;

[0008] A target display page is generated based on the target content information and the page layout information received and sent by the server.

[0009] Optionally, before triggering the edit page submission, it also includes:

[0010] When a page editing start instruction is received, the page is initialized to generate an editing page, wherein the editing page includes a content identifier and a content editing box, wherein the content editing box includes a title box and a content box, and wherein the content identifier includes an expression identifier, a picture identifier, a video identifier, and a specified user identifier.

[0011] Optionally, after generating the editing page, the method further includes:

[0012] In response to a page editing operation, determining a content identifier and a type of the content identifier according to the page editing operation, wherein the type of the content identifier includes a selection type identifier and / or a loading type identifier;

[0013] In the case where the type of the content identifier is a loading type identifier, determining a content loading address associated with the content identifier, loading page content through the content loading address, and monitoring the loading progress in real time;

[0014] The loading time is predicted according to the loading progress to obtain the predicted loading time. When the predicted loading time is greater than the loading time threshold, a content loading link is generated based on the loading address and displayed in the content editing box.

[0015] Optionally, converting the page editing information into a target format to generate target page information and sending the target page information to a server includes:

[0016] Classifying the page editing information to obtain border information and editing content information;

[0017] Input the border information into a first format conversion model for target format conversion to generate a first page label, and input the edited content information into a second format conversion model for target format conversion to generate a second page label;

[0018] The first page tag and the second page tag are combined according to the frame position information in the frame information and the edit content position information in the edit content information to generate target page information, and the target page information is sent to the server.

[0019] Optionally, the step of inputting the edited content information into a second format conversion model for target format conversion to generate a second page tag includes:

[0020] Determine the type of target edited content in the edited content information, and when the type of the target edited content is an image type, determine a content loading address associated with the edited content, input the content loading address and the size information and position information of the target edited content into a second format conversion model for image format conversion, and generate an image content tag;

[0021] In the case that the type of the target edited content is a character type, the target edited content and the size information and position information of the edited content are input into a second format conversion model for character format conversion to generate a character content label.

[0022] Optionally, the server performs page content processing and page layout processing on the target page information to obtain target content information and page layout information, including:

[0023] The server performs tag parsing on the target page information, determines a content editing box to be identified, performs feature recognition on the edited content in the content editing box to be identified, and obtains target feature information, wherein the target feature information includes feature content information and feature position information;

[0024] Acquire a content loading address and content size information associated with the characteristic content information, and perform page content processing on the characteristic content information according to the content loading address and size information to obtain target content information;

[0025] The target content information is subjected to page layout processing according to the characteristic position information to obtain page layout information.

[0026] Optionally, performing page content processing on the characteristic content information according to the content loading address and size information to obtain target content information includes:

[0027] Load the content to be displayed according to the content loading address, and adjust the size of the content to be displayed according to the characteristic content size to obtain target content information;

[0028] Correspondingly, performing page layout processing on the target content information according to the characteristic position information to obtain page layout information includes:

[0029] The target content information is subjected to page layout processing according to the target feature relative position information in the feature position information and the relative position information of the editing page to obtain page layout information.

[0030] In a second aspect, an embodiment of the present application provides a page generation device, including:

[0031] A page editing information acquisition module, used to acquire page editing information of the editing page when triggering the editing page submission, wherein the page editing information is generated based on the content identifier in the editing page and the editing content in the content editing box;

[0032] A format conversion module, used for converting the page editing information into a target format to generate target page information;

[0033] An information sending module, used for sending the target page information to a server, so that the server performs page content processing and page layout processing on the target page information to obtain target content information and page layout information, and feeds back the target content information and the page layout information;

[0034] The target display page generation module is used to generate a target display page based on the target content information and the page layout information received and sent by the server.

[0035] In a third aspect, an embodiment of the present application provides a page generation device, comprising: one or more processors; a storage device configured to store one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors implement the page generation method described in the first aspect.

[0036] In a fourth aspect, an embodiment of the present application provides a storage medium comprising computer executable instructions, which, when executed by a computer processor, are used to execute the page generation method as described in the first aspect.

[0037] In the case of triggering the submission of the edit page, the embodiment of the present application obtains the page editing information of the edit page, and the page editing information is generated based on the content identifier in the edit page and the edit content in the content editing box; the page editing information is converted into a target format to generate target page information, and the target page information is sent to the server, so that the server performs page content processing and page layout processing on the target page information to obtain target content information and page layout information, and feeds back the target content information and page layout information; the target display page is generated based on the target content information and page layout information received from the server. It is possible to provide a content identifier that is easy for users to understand in the edit page, so that users can quickly perform editing operations based on the corresponding content identifier, avoiding spending a lot of time learning the functions of the text editor. By obtaining the page editing information to generate a target display page that meets the needs of the user, the user does not need to learn the HTML language, and the display effect of the target display page can be guaranteed, avoiding subsequent adjustments to the target display page, and correspondingly improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 is a flow chart of a page generation method provided by an embodiment of the present application;

[0039] Figure 2 is a flow chart of a method for generating a content loading link provided by an embodiment of the present application;

[0040] Figure 3 is a flow chart of a target format conversion method provided by an embodiment of the present application;

[0041] Figure 4 is a flow chart of a target page information processing method provided by an embodiment of the present application;

[0042] Figure 5 It is a structural schematic diagram of a page generating device provided in an embodiment of the present application;

[0043] Figure 6 It is a structural schematic diagram of a page generating device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0044] In order to make the purpose, technical scheme and advantages of the present application clearer, the specific embodiments of the present application are further described in detail below in conjunction with the accompanying drawings. It is understood that the specific embodiments described herein are only used to explain the present application, rather than to limit the present application. It should also be noted that, for the convenience of description, only the part related to the present application but not all the contents are shown in the accompanying drawings. Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flow charts. Although the flow chart describes each operation (or step) as a sequential process, many of the operations therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of each operation can be rearranged. The process can be terminated when its operation is completed, but it can also have additional steps not included in the accompanying drawings. The process can correspond to a method, a function, a procedure, a subroutine, a subprogram, etc.

[0045] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0046] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0047] The page generation method, apparatus, device and medium provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and their application scenarios.

[0048] The page generation method provided in the embodiment of the present application can be applied to community posting and discussion scenarios. By posting for help on how to play some games, how to use products, etc., it is intended to customize any visual page through a lightweight rich text editor, so that the server generates a visual page based on the page content for users to post and use, which reduces the process of users learning the HTML language, and can directly design and edit the corresponding content in the initialized editing page. And the interface design of the initialized editing page is simple, which is easy for users to understand and can save users time to learn the functions of the rich text editor. Based on the above-mentioned usage scenarios, it can be understood that the execution subject of the embodiment of the present application can be a client, which can be a laptop, a tablet computer, etc., and users can perform page editing operations by installing an editor on the client.

[0049] Figure 1 is a flow chart of a page generation method provided by an embodiment of the present application, such as Figure 1 As shown, including:

[0050] Step S101: when an edit page submission is triggered, page edit information of the edit page is obtained, where the page edit information is generated based on a content identifier in the edit page and edit content in a content edit box.

[0051] Among them, the editing page submission can be submitted by the user after performing a custom editing operation in the editor by clicking the corresponding "Submit" button. The editing page is a design page used for custom editing content, and any editing operation can be performed in the editing page. The page editing information can be used to represent all operation information performed in the editing page, and the page editing information may include edited text information, drawn picture information, position adjustment information for text or pictures, and cropping information and scaling information for pictures, etc. The content identifier is an identifier used to indicate the editing entry of the content to be edited, and the identifier information may be a text identifier or a picture identifier, etc., which is easy for the user to understand. The content editing box is a border used to indicate the editing position in the editing page. The editing content in the content editing box includes all the content entered in the editing box, and may include content such as carriage returns or spaces.

[0052] In one embodiment, when a user's edit page submission operation on the client is detected, the page editing information in the edit page is obtained, wherein the page editing information is the editing entry of the content determined by the user by selecting the content identifier in the edit page, the corresponding edit content is obtained through the editing entry, and the edit content is displayed in the content editing box. Exemplarily, after the user selects the picture identifier in the edit page, the user selects the desired picture from multiple pictures associated with it, and displays the picture in the page editing box, and can also directly enter the corresponding text content in the page editing box. Optionally, the user can adjust the text content and the position of the picture in the page editing box by pressing Enter in the page editing box. When the content editing in the page editing box is completed and the position adjustment of the content is completed, the page editing information in the edit page can be submitted by clicking the "Submit" button, so that the client can process based on the received page editing information.

[0053] Step S102: convert the page editing information into a target format to generate target page information and send the target page information to a server, so that the server performs page content processing and page layout processing on the target page information to obtain target content information and page layout information, and feeds back the target content information and page layout information.

[0054] Among them, the target format conversion can be to convert the current data information into the format of the target programming language. For example, convert the c# format into the java format. Optionally, the target format can be the html format. The target page information can be page editing information in the target format. In one embodiment, the page editing information can be converted into the html format to generate the page editing information in the html format, and the page editing information is sent to the server, so as to facilitate the server to perform subsequent processing on the page editing information. When the server receives the page information in the html format, the html format can be further converted into the back-end language format, such as the Java language format, the php language format, etc. Information processing is performed on the target page information in the back-end language format. The information processing refers to target content parsing or target content extraction of the target page information. Optionally, page content processing and page layout processing can also be performed on the target page information. The page content processing can include extracting the page content in all edit boxes in the page information, and adjusting the extracted page content according to the preset page format, such as adjusting the size of the page content, or cropping or scaling the pictures or videos in the page content. The page layout processing can be to rearrange the content in the editing page and adjust the position of each content in the page. The target content information refers to the content information that can be finally displayed after the target page information is processed through the page content, and the corresponding page layout information refers to the page layout that can be finally displayed after the target page is processed through the page layout.

[0055] In one embodiment, after receiving the target page information, the server extracts the page content and related information of the page content from the target page information, thereby obtaining information such as the content to be displayed in the page and the size of the content to be displayed, and marks the position in the page to be displayed according to the content to be displayed, thereby obtaining the final displayed page layout. Exemplarily, the target position of the key information in the target page information is determined to be the first page edit box, and the content in the first page edit box is identified to obtain the image in the first page edit box and information such as the size and position of the image, adjust the extracted image according to the image size, obtain the final displayed image information, convert the image position information into the coordinates of the final displayed page, determine the position information of the image in the final displayed page, and send the final displayed image information and the position of the image in the page to the client.

[0056] Step S103: Generate a target display page based on the target content information and the page layout information received and sent by the server.

[0057] The target display page may be a page that meets the user's needs and is ultimately generated based on the user's page editing operation, and the target display page can be used by the user to post. In one embodiment, the client generates the target display page based on the received target content information and page layout information. The user can post based on the generated target display page.

[0058] In the case of triggering the submission of the edit page, the embodiment of the present application obtains the page editing information of the edit page, and the page editing information is generated based on the content identifier in the edit page and the edit content in the content editing box; the page editing information is converted into a target format to generate target page information, and the target page information is sent to the server, so that the server performs page content processing and page layout processing on the target page information to obtain target content information and page layout information, and feeds back the target content information and page layout information; the target display page is generated based on the target content information and page layout information received from the server. It is possible to provide a content identifier that is easy for users to understand in the edit page, so that users can quickly perform editing operations based on the corresponding content identifier, avoiding spending a lot of time learning the functions of the text editor. By obtaining the page editing information to generate a target display page that meets the needs of the user, the user does not need to learn the HTML language, and the display effect of the target display page can be guaranteed, avoiding subsequent adjustments to the target display page, and correspondingly improving the user experience.

[0059] In one embodiment, before triggering the editing page submission, the method further includes:

[0060] When a page editing start instruction is received, the page is initialized to generate an editing page, wherein the editing page includes a content identifier and a content editing box, wherein the content editing box includes a title box and a content box, and wherein the content identifier includes an expression identifier, a picture identifier, a video identifier, and a specified user identifier.

[0061] Wherein, page initialization may be a process of generating a default editing page, which may include initialization of content identification and initialization of content editing box. Optionally, the initialization of content editing box includes initialization of title box and content box, wherein title box is a text box for editing page type. Exemplarily, if the user-defined page is a page for video testing, the text "test video" may be entered in the title box to identify the content or type of the page. The content box may be an edit box for editing specific content of the page, and any type of content may be edited in the content box, such as video, picture, and emoticon. Optionally, the content identification may include emoticon identification, picture identification, video identification, and designated user identification. Wherein the emoticon identification is an identification for indicating the entrance of emoticon editing, which may be indicated by an emoticon symbol, and the picture identification is an identification for indicating the entrance of picture editing, which may be indicated by a picture symbol, wherein picture editing may include picture selection operation or picture loading operation, etc. The video identification is an identification for indicating the entrance of the video, which may be indicated by a video symbol. The designated user identification is an identification for indicating the identification of a specific user selection interface, which may be indicated by an @ symbol.

[0062] In one embodiment, when a page editing start instruction is received, content identification and content frame initialization are performed to generate an editing page including an expression identification, a picture identification, a video identification, a designated user identification, a title frame, and a content frame. This enables users to quickly determine the content editing position and the corresponding editing entry for different editing contents in the editing page, avoiding spending a lot of time learning the functions of the editor, improving page editing efficiency, and correspondingly improving user experience.

[0063] Figure 2 is a flow chart of a method for generating a content loading link provided by an embodiment of the present application. Figure 2 As shown, including:

[0064] Step S201: upon receiving a page editing start instruction, perform page initialization and generate an editing page.

[0065] Step S202: In response to a page editing operation, determine a content identifier and a type of the content identifier according to the page editing operation.

[0066] In one embodiment, the types of content identification include selection type identification and / or loading type identification. The selection type identification is to select the desired content from the pre-set content through the corresponding identification entry. The selection type identification may include an expression identification and a designated user identification. Exemplarily, a variety of expressions are pre-set in the text editor. The user can select the desired expression from the preset multiple expressions through the expression selection entry by selecting the expression identification on the editing page. In another embodiment, when the page editing start instruction is received, the current editing scene can be identified and the data information in the current editing scene can be obtained. If the current editing scene is a game scene, the player information in the current game is obtained and the player information is stored in the designated user database. When the user selects the designated user identification, the designated user database is called for the user to select the designated user. The record type identification can select the corresponding loading address through the corresponding identification entry, and load the corresponding content, such as a picture or video, through the loading address. Therefore, the loading type identification can be a picture identification or a video identification.

[0067] In one embodiment, in response to a page editing operation, where the page editing operation may include all operations performed on the editing page, the content identifier selected by the user is determined according to the page editing operation, and the identifier type to which the content identifier belongs is determined. Exemplarily, based on the page editing operation, it can be determined that the user calls a preset emoticon package through an emoticon identifier, and selects a smiling emoticon in the preset emoticon package, and the smiling emoticon is displayed in the content box, thereby determining that the content identifier selected by the user is an emoticon identifier, and the type of the emoticon identifier is a selection type identifier.

[0068] Step S203: when the type of the content identifier is a loading type identifier, determine a content loading address associated with the content identifier, load the page content through the content loading address, and monitor the loading progress in real time.

[0069] The content loading address associated with the content identifier is a loading address of a certain content called by the content tag. In one embodiment, when it is determined that the type of the content identifier included in the page editing operation is a download type identifier, the content loading interface is called through the content identifier, the content loading address associated with the content loading interface is determined, and the corresponding page content is loaded by selecting the content loading address. During the loading process, the loading progress of the page content is monitored in real time, and the loading progress is displayed in the content editing box, so that the user can understand the loading status in real time.

[0070] Step S204: predict the loading time according to the loading progress to obtain the predicted loading time. If the predicted loading time is greater than the loading time threshold, generate a content loading link based on the loading address and display it in the content editing box.

[0071] In one embodiment, in the process of real-time monitoring of the loading progress, the loading rate can be calculated based on the current loading time and the current loading progress, and the time for loading completion can be predicted based on the loading rate to obtain the predicted loading time. The loading time is compared with a preset loading time threshold. When the predicted loading time is greater than the loading time threshold, a content loading link is generated based on the loading address, and the content loading link is displayed in the content editing box.

[0072] In the above, in response to the page editing operation, the content identifier and the type of the content identifier are determined according to the page editing operation; when the type of the content identifier is a loading type identifier, the content loading address associated with the content identifier is determined, the page content is loaded through the content loading address, and the loading progress is monitored in real time; the loading time is predicted according to the loading progress to obtain the predicted loading time, and when the predicted loading time is greater than the loading time threshold, a content loading link is generated based on the loading address and displayed in the content editing box. By monitoring the loading progress in real time during the page content loading process and displaying the loading progress in the content editing box, the user can understand the current loading situation in real time, and by calculating the predicted loading time and comparing the predicted loading time with the loading time threshold to determine whether to display specific content or display the content loading address, it can avoid the user waiting time due to the current network and other reasons, which affects the user's page editing efficiency.

[0073] Figure 3 is a flow chart of a target format conversion method provided by an embodiment of the present application, such as Figure 3 As shown, including:

[0074] Step S301: classify the page editing information to obtain border information and editing content information.

[0075] The border information is information used to indicate the border attributes, and the border information may include the border position, border size, number of borders, border line width and color, etc. The edit content information is used to indicate the specific content information in the page edit information. For example, if the specific content is a picture, the edit content information is the size of the picture, the coordinates of the picture, the distance between the picture and the border, etc. In one embodiment, the page edit information is classified according to its type to obtain the border information and the edit content information.

[0076] Step S302: input the border information into a first format conversion model for target format conversion to generate a first page label, and input the edited content information into a second format conversion model for target format conversion to generate a second page label.

[0077] Among them, the first format conversion model is a preset format conversion algorithm for data format conversion. The first format conversion model can be an HTML format conversion model, which is mainly used to convert the border data in the page into HTML format, and can convert data in any format into HTML format. The second format conversion model is also a preset format conversion algorithm for data format conversion. The second format conversion model can also be an HTML format conversion model, which is mainly used to convert the editing content information in the page into HTML format. Since HTML format data is obtained by combining multiple different tags, tags are the basic units of HTML language and are also its important components. Different tags are used to represent different page information. Optionally, the first page tag is used to represent the tag corresponding to the border information, and the second page tag is used to represent the tag corresponding to the editing content information.

[0078] In one embodiment, the border information is input into the first format conversion model for target format conversion to generate an html tag for representing the border information, and the edit content information is input into the second format conversion model for target format conversion to generate an html tag for representing the edit content information.

[0079] Step S303: combine the first page tag and the second page tag according to the frame position information in the frame information and the edit content position information in the edit content information, generate target page information, and send the target page information to the server.

[0080] Among them, the border position information is used to indicate the position of the border in the editing page, which can be expressed in the form of pixel coordinates. The edit content position information is used to indicate the position of the edit content in the editing page, which can also be expressed in the form of pixel coordinates. After determining the border position information and the edit content position information, determine the positional relationship between the content editing box and the edit content in the editing page, and combine the first page tag and the second page tag based on the positional relationship to generate the target page information in the HTML language. Exemplarily, if the edit content is in the content editing box, the first page tag and the second page tag are nested and combined. If the first page tag includes the tag corresponding to the title box and the tag corresponding to the content box respectively. The second page tag includes the tag of the first edit content and the tag of the second edit content respectively. According to the position information of the title box, the position information of the content box, the position information of the first edited content and the position information of the second edited content, it is determined that the first edited content is in the title box and the second edited content is in the content box. The tag corresponding to the first edited content and the tag corresponding to the title box can be nested and combined to obtain a first nested tag, and the tag corresponding to the second edited content and the tag corresponding to the content box can be nested and combined to obtain a second nested tag. The first nested tag and the second nested tag can be combined according to the positional relationship between the title box and the content box to generate target page information, and the target page information can be sent to the server.

[0081] In the above, by classifying the page editing information, the border information and the editing content information are obtained; the border information is input into the first format conversion model for target format conversion to generate the first page tag; the editing content information is input into the second format conversion model for target format conversion to generate the second page tag; the first page tag and the second page tag are combined according to the border position information in the border information and the editing content position information in the editing content information to generate the target page information, and the target page information is sent to the server. The HTML format conversion can be quickly performed based on the page editing information, and the page editing effect can be guaranteed without the user having to learn the HTML language.

[0082] In one embodiment, the step of inputting the edited content information into a second format conversion model for target format conversion to generate a second page tag includes:

[0083] Determine the type of target editing content in the editing content information. When the type of the target editing content is an image type, determine the content loading address associated with the editing content, input the content loading address and the size information and position information of the target editing content into the second format conversion model for image format conversion, and generate an image content label.

[0084] In the case that the type of the target edited content is a character type, the target edited content and the size information and position information of the edited content are input into a second format conversion model for character format conversion to generate a character content label.

[0085] Among them, image format conversion is to convert the target editing content into HTML format if it is a picture or video. Character format conversion is to convert the target editing content into HTML format if it is text, emoticon or a specified user. Exemplarily, since it is impossible to directly convert the image in the editing content during the target format conversion process, it is necessary to determine the type of the target editing content before performing the target format conversion. If the target editing content is a picture or video, it is necessary to determine the loading address of the picture or video, and input the loading address of the picture or video, the size information and location information of the picture or video into the second format conversion model for image format conversion to generate an image content label containing the image. In the case where the target editing content is an emoticon, the emoticon and the size information and location information of the emoticon are input into the second format conversion model for character format conversion to generate a character content label.

[0086] As described above, different target format conversion methods can be adopted according to different types of target editing contents, which can ensure the efficiency and accuracy of format conversion, and accordingly, can improve the visualization effect of the display page.

[0087] Figure 4 is a flow chart of a target page information processing method provided by an embodiment of the present application, such as Figure 4 As shown, including:

[0088] Step S401: The server performs tag parsing on the target page information, determines a content edit box to be identified, performs feature recognition on the edited content in the content edit box to be identified, and obtains target feature information, wherein the target feature information includes feature content information and feature position information.

[0089] Among them, the edit box of the content to be identified can be a preset specific content edit box. In one embodiment, the server performs tag parsing on the target page information according to the edit box name, obtains tags corresponding to multiple edit boxes, determines the tag corresponding to the edit box of the content to be identified according to the preset tag name, and performs feature recognition on the edit content of the edit box of the content to be identified in the tag to obtain one or more types of edit content, performs feature screening on multiple types of edit content, obtains the target feature and the feature content information and feature location information of the target feature. Exemplarily, if the preset edit box name is A, the server performs tag parsing on the target page information according to the edit box name A, determines the tag to which the edit box name A belongs, and performs feature recognition on the edit content in the tag to obtain edit contents such as pictures, texts, and carriage return symbols, respectively, and performs feature screening on the above-mentioned contents according to preset screening rules to obtain picture content and text content as well as picture content information, picture location information, text content information, and text location information.

[0090] Step S402: Acquire the content loading address and content size information associated with the characteristic content information, perform page content processing on the characteristic content information according to the content loading address and size information, and obtain target content information.

[0091] Exemplarily, if the identified characteristic content information is picture characteristic information, the picture loading address and picture size information associated with the picture content are obtained by identifying the address information and attribute information in the characteristic content information, and the picture is displayed and marked in the page to be displayed according to the picture loading address and picture size information to obtain the picture information to be displayed.

[0092] In one embodiment, the content to be displayed is loaded according to the content loading address, and the size of the content to be displayed is adjusted according to the characteristic content size to obtain target content information.

[0093] For example, if the identified characteristic content information is picture characteristic information, the corresponding picture is recorded according to the picture loading address and displayed on the server page, and the loaded picture is cropped or scaled according to the picture size to obtain the picture information to be displayed.

[0094] Step S403: Perform page layout processing on the target content information according to the characteristic position information to obtain page layout information.

[0095] Exemplarily, if the characteristic position information includes image position information, the position of the loaded image is adjusted in the page to be displayed according to the image position information to obtain page layout information, so that the display effect of the image in the page to be displayed is the same as the editing effect in the editing page.

[0096] In one embodiment, page layout processing is performed on the target content information according to the target feature relative position information in the feature position information and the relative position information of the editing page to obtain page layout information.

[0097] The target feature relative position information is used to indicate the relative position relationship between the identified multiple target features. Exemplarily, if the feature position information includes image position information and text position information and relative position information between the image position information and the text position information, the text position and the image position are adjusted according to the relative position information to obtain the page layout information, so that the display effect of the text and the image in the page to be displayed is the same as the editing effect in the editing page.

[0098] In the above, the server performs tag parsing on the target page information, determines the content edit box to be identified, performs feature recognition on the edited content in the content edit box to be identified, and obtains the target feature information; obtains the content loading address and content size information associated with the feature content information, performs page content processing on the feature content information according to the content loading address and size information, and obtains the target content information; performs page layout processing on the target content information according to the feature position information, and obtains page layout information. The server can perform page content processing and page layout processing on the target page information, so that the display effect of the page to be displayed is the same as the editing effect of the user in the editing page, and the obtained page layout information and target content information can fully meet the user's customization needs, and also improve the visualization effect of the page to be displayed and the user's experience.

[0099] Figure 5 is a schematic diagram of the structure of a page generation device provided in an embodiment of the present application, such as Figure 5 As shown, including:

[0100] A page editing information acquisition module 51 is used to acquire page editing information of the editing page when a page editing submission is triggered, wherein the page editing information is generated based on the content identifier in the editing page and the editing content in the content editing box;

[0101] A format conversion module 52, used for converting the page editing information into a target format to generate target page information;

[0102] The information sending module 53 is used to send the target page information to the server, so that the server performs page content processing and page layout processing on the target page information to obtain target content information and page layout information, and feeds back the target content information and the page layout information;

[0103] The target display page generating module 54 is used to generate a target display page based on the target content information and the page layout information received from the server.

[0104] In the case of triggering the submission of the edit page, the embodiment of the present application obtains the page editing information of the edit page, and the page editing information is generated based on the content identifier in the edit page and the edit content in the content editing box; the page editing information is converted into a target format to generate target page information, and the target page information is sent to the server, so that the server performs page content processing and page layout processing on the target page information to obtain target content information and page layout information, and feeds back the target content information and page layout information; the target display page is generated based on the target content information and page layout information received from the server. It is possible to provide a content identifier that is easy for users to understand in the edit page, so that users can quickly perform editing operations based on the corresponding content identifier, avoiding spending a lot of time learning the functions of the text editor. By obtaining the page editing information to generate a target display page that meets the needs of the user, the user does not need to learn the HTML language, and the display effect of the target display page can be guaranteed, avoiding subsequent adjustments to the target display page, and correspondingly improving the user experience.

[0105] In a possible embodiment, the page generating device further includes an initialization module, and the initialization module is used to:

[0106] When a page editing start instruction is received, the page is initialized to generate an editing page, wherein the editing page includes a content identifier and a content editing box, wherein the content editing box includes a title box and a content box, and wherein the content identifier includes an expression identifier, a picture identifier, a video identifier, and a specified user identifier.

[0107] In a possible embodiment, the page generating device further includes a content loading link generating module, and the content loading link generating module is used to:

[0108] In response to a page editing operation, determining a content identifier and a type of the content identifier according to the page editing operation, wherein the type of the content identifier includes a selection type identifier and / or a loading type identifier;

[0109] In the case where the type of the content identifier is a loading type identifier, determining a content loading address associated with the content identifier, loading page content through the content loading address, and monitoring the loading progress in real time;

[0110] The loading time is predicted according to the loading progress to obtain the predicted loading time. When the predicted loading time is greater than the loading time threshold, a content loading link is generated based on the loading address and displayed in the content editing box.

[0111] In a possible embodiment, the format conversion module 52 includes an information classification unit and a label generation unit, and the information classification unit is used to:

[0112] Classifying the page editing information to obtain border information and editing content information;

[0113] The label generation unit is used to: input the border information into the first format conversion model for target format conversion to generate a first page label, and input the edited content information into the second format conversion model for target format conversion to generate a second page label;

[0114] Combining the first page tag and the second page tag according to the frame position information in the frame information and the edit content position information in the edit content information to generate target page information;

[0115] The information sending module 53 is used to send the target page information to the server.

[0116] In a possible embodiment, the label generating unit is used to:

[0117] Determine the type of target edited content in the edited content information, and when the type of the target edited content is an image type, determine a content loading address associated with the edited content, input the content loading address and the size information and position information of the target edited content into a second format conversion model for image format conversion, and generate an image content tag;

[0118] In the case that the type of the target edited content is a character type, the target edited content and the size information and position information of the edited content are input into a second format conversion model for character format conversion to generate a character content label.

[0119] In a possible embodiment, the page generating device further includes a page information processing module, and the page information processing module is used to:

[0120] The server performs tag parsing on the target page information, determines a content editing box to be identified, performs feature recognition on the edited content in the content editing box to be identified, and obtains target feature information, wherein the target feature information includes feature content information and feature position information;

[0121] Acquire a content loading address and content size information associated with the characteristic content information, and perform page content processing on the characteristic content information according to the content loading address and size information to obtain target content information;

[0122] The target content information is subjected to page layout processing according to the characteristic position information to obtain page layout information.

[0123] The page information processing module is also specifically used for:

[0124] The content to be displayed is loaded according to the content loading address, and the size of the content to be displayed is adjusted according to the characteristic content size to obtain target content information.

[0125] The target content information is subjected to page layout processing according to the relative position information between the target feature information and the editing page in the feature position information to obtain page layout information.

[0126] The embodiment of the present application also provides a page generating device, which can integrate a page generating apparatus provided in the embodiment of the present application. Figure 6 Schematic diagram of a page generation device provided by an embodiment of the present application. Figure 6 The page generation device includes: an input device 63, an output device 64, a memory 62 and one or more processors 61; the memory 62 is used to store one or more programs; when one or more programs are executed by one or more processors 61, the one or more processors 61 implement the page generation method provided in the above embodiment. The input device 63, the output device 64, the memory 62 and the processor 61 can be connected by a bus or other means. Figure 6 The example of connecting through bus is taken in the following.

[0127] The memory 62, as a computing device readable storage medium, can be used to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to the page generation method provided in any embodiment of the present application. The memory 62 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the device, etc. In addition, the memory 62 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 62 may further include a memory remotely arranged relative to the processor 61, and these remote memories may be connected to the device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0128] The input device 63 may be used to receive input digital or character information and generate key signal input related to user settings and function control of the device. The output device 64 may include a display device such as a display screen.

[0129] The processor 61 executes the software programs, instructions and modules stored in the memory 62 to execute various functional applications and data processing of the device, that is, to implement the above-mentioned page generation method.

[0130] The page generation apparatus, device and computer provided above can be used to execute the page generation method provided in any of the above embodiments, and have corresponding functions and beneficial effects.

[0131] The embodiment of the present application further provides a storage medium storing computer executable instructions. When the computer executable instructions are executed by a computer processor, they are used to execute the page generation method provided in the above embodiment. The page generation method includes:

[0132] In the case of triggering the editing page submission, obtaining the page editing information of the editing page, wherein the page editing information is generated based on the content identifier in the editing page and the editing content in the content editing box;

[0133] Performing target format conversion on the page editing information to generate target page information, and sending the target page information to a server, so that the server performs page content processing and page layout processing on the target page information to obtain target content information and page layout information, and feeds back the target content information and the page layout information;

[0134] A target display page is generated based on the target content information and the page layout information received and sent by the server.

[0135] Storage medium - any of various types of memory devices or storage devices. The term "storage medium" is intended to include: installation media, such as CD-ROM, floppy disk or tape device; computer system memory or random access memory, such as DRAM, DDR RAM, SRAM, EDO RAM, Rambus RAM, etc.; non-volatile memory, such as flash memory, magnetic media (such as hard disk or optical storage); registers or other similar types of memory elements, etc. Storage media may also include other types of memory or combinations thereof. In addition, the storage medium may be located in the first computer system in which the program is executed, or may be located in a different second computer system, which is connected to the first computer system via a network (such as the Internet). The second computer system can provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations (for example, in different computer systems connected by a network). The storage medium may store program instructions (for example, embodied as a computer program) that can be executed by one or more processors.

[0136] Of course, the storage medium containing computer executable instructions provided in the embodiment of the present application is not limited to the page generation method described above, and the computer executable instructions can also execute related operations in the page generation method provided in any embodiment of the present application.

[0137] The page generation apparatus, device and storage medium provided in the above embodiments can execute the page generation method provided in any embodiment of the present application. For technical details not described in detail in the above embodiments, please refer to the page generation method provided in any embodiment of the present application.

[0138] The above are only preferred embodiments of the present application and the technical principles used. The present application is not limited to the specific embodiments described herein, and various obvious changes, readjustments and substitutions that can be made by those skilled in the art will not deviate from the scope of protection of the present application. Therefore, although the present application is described in more detail through the above embodiments, the present application is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present application, and the scope of the present application is determined by the scope of the claims.

Claims

1. A page generation method, characterized in that: include: In the case of triggering the editing page submission, obtaining the page editing information of the editing page, wherein the page editing information is generated based on the content identifier in the editing page and the editing content in the content editing box; Performing target format conversion on the page editing information to generate target page information, and sending the target page information to a server, so that the server performs page content processing and page layout processing on the target page information to obtain target content information and page layout information, and feeds back the target content information and the page layout information; A target display page is generated based on the target content information and the page layout information received and sent by the server.

2. The page generation method according to claim 1, characterized in that: Before the trigger edit page is submitted, it also includes: When a page editing start instruction is received, the page is initialized to generate an editing page, wherein the editing page includes a content identifier and a content editing box, wherein the content editing box includes a title box and a content box, and wherein the content identifier includes an expression identifier, a picture identifier, a video identifier, and a specified user identifier.

3. The page generation method according to claim 2, characterized in that: After generating the editing page, the following steps are also included: In response to a page editing operation, determining a content identifier and a type of the content identifier according to the page editing operation, wherein the type of the content identifier includes a selection type identifier and / or a loading type identifier; In the case where the type of the content identifier is a loading type identifier, determining a content loading address associated with the content identifier, loading page content through the content loading address, and monitoring the loading progress in real time; The loading time is predicted according to the loading progress to obtain the predicted loading time. When the predicted loading time is greater than the loading time threshold, a content loading link is generated based on the loading address and displayed in the content editing box.

4. The page generation method according to claim 1, characterized in that: The converting the page editing information into a target format to generate target page information and sending the target page information to a server includes: Classifying the page editing information to obtain border information and editing content information; Input the border information into a first format conversion model for target format conversion to generate a first page label, and input the edited content information into a second format conversion model for target format conversion to generate a second page label; The first page tag and the second page tag are combined according to the frame position information in the frame information and the edit content position information in the edit content information to generate target page information, and the target page information is sent to the server.

5. The page generation method according to claim 4, characterized in that: The step of inputting the edited content information into a second format conversion model for target format conversion to generate a second page tag includes: Determine the type of target edited content in the edited content information, and when the type of the target edited content is an image type, determine a content loading address associated with the edited content, input the content loading address and the size information and position information of the target edited content into a second format conversion model for image format conversion, and generate an image content tag; In the case that the type of the target edited content is a character type, the target edited content and the size information and position information of the edited content are input into a second format conversion model for character format conversion to generate a character content label.

6. The page generation method according to claim 1, characterized in that: The server performs page content processing and page layout processing on the target page information to obtain target content information and page layout information, including: The server performs tag parsing on the target page information, determines a content editing box to be identified, performs feature recognition on the edited content in the content editing box to be identified, and obtains target feature information, wherein the target feature information includes feature content information and feature position information; Acquire a content loading address and content size information associated with the characteristic content information, and perform page content processing on the characteristic content information according to the content loading address and size information to obtain target content information; The target content information is subjected to page layout processing according to the characteristic position information to obtain page layout information.

7. The page generation method according to claim 6, characterized in that: The performing page content processing on the characteristic content information according to the content loading address and size information to obtain target content information includes: Load the content to be displayed according to the content loading address, and adjust the size of the content to be displayed according to the characteristic content size to obtain target content information; Correspondingly, performing page layout processing on the target content information according to the characteristic position information to obtain page layout information includes: The target content information is subjected to page layout processing according to the target feature relative position information in the feature position information and the relative position information of the editing page to obtain page layout information.

8. A page generating device, characterized in that: include: A page editing information acquisition module, used to acquire page editing information of the editing page when triggering the editing page submission, wherein the page editing information is generated based on the content identifier in the editing page and the editing content in the content editing box; A format conversion module, used for converting the page editing information into a target format to generate target page information; An information sending module, used for sending the target page information to a server, so that the server performs page content processing and page layout processing on the target page information to obtain target content information and page layout information, and feeds back the target content information and the page layout information; The target display page generation module is used to generate a target display page based on the target content information and the page layout information received and sent by the server.

9. A page generating device, comprising: one or more processors; A storage device is used to store one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement the page generation method according to any one of claims 1 to 7.

10. A storage medium storing computer executable instructions, wherein the computer executable instructions are used to execute the page generation method according to any one of claims 1 to 7 when executed by a computer processor.