Page editing method and device, page configuration method and device, and storage medium

By distinguishing and editing locked and non-locked characters in the poster text editing interface, and generating target text according to text locking rules, the problem of low poster text review efficiency is solved, and the quality and review efficiency of poster design are improved.

CN115034185BActive Publication Date: 2024-10-29RAJAX NETWORK &TECHNOLOGY (SHANGHAI) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210759336.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-30
Publication Date
2024-10-29
Estimated Expiration
2042-06-30

AI Technical Summary

Technical Problem

The existing poster text review method is sentence-by-sentence compliance review, which requires a large workload and low efficiency. It is also difficult for non-professionals to quickly design posters with appropriate content and beautiful images.

Method used

By obtaining the initial text in the editable page and its text locking rules, determining the type of each character, and displaying non-locked characters in the text editing interface, users can edit custom characters and generate target text, reducing the amount of review and improving efficiency.

Benefits of technology

It improves the efficiency of text compliance review and improves the aesthetics of text layout. By distinguishing locked and non-locked characters, it limits user modification permissions and improves the quality of poster design.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115034185B_ABST
    Figure CN115034185B_ABST
Patent Text Reader

Abstract

The present application discloses a page editing method and device, a page configuration method and device, a storage medium, and a computer device, the method comprising: obtaining at least one initial text in an editable page and a text lock rule of each of the initial texts, and determining the character type of each character in the initial text according to the text lock rule, wherein the character type includes a lock type and an unlock type; based on the character type of each character in the initial text, displaying a text editing interface, wherein the text editing interface includes unlocked characters; in response to an editing instruction for the unlocked characters, editing the unlocked characters to obtain custom characters, so as to determine a target text based on the locked characters and the custom characters in the initial text. The present application helps to reduce the amount of auditing, improve auditing efficiency, and enhance the aesthetics of text typesetting.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a page editing method and device, a page configuration method and device, a storage medium, and a computer device. Background Art

[0002] The production of activity and promotional posters usually requires designers to use pictures, text, colors and other elements to fully combine and layout. Most of the activity posters on the market use designers to design the text layout and pictures alone. It is difficult for non-professionals to quickly design posters with appropriate content and beautiful pictures.

[0003] To address this problem, some platforms have designed posters that allow users to edit the text, pictures and other content on the poster page. The platform will review the content edited by the user, and after the review is passed, the user-edited poster can be quickly produced. Currently, most platforms review the text in posters by conducting compliance review of each sentence in the poster, which is a large workload and has low review efficiency. Summary of the invention

[0004] In view of this, the present application provides a page editing method and device, a page configuration method and device, a storage medium, and a computer device.

[0005] According to one aspect of the present application, a page editing method is provided, the method comprising:

[0006] Acquire at least one initial text in the editable page and a text lock rule of each initial text, and determine the character type of each character in the initial text according to the text lock rule, wherein the character type includes a lock type and an unlock type;

[0007] Based on the character type of each character in the initial text, displaying a text editing interface, wherein the text editing interface includes non-locked characters;

[0008] In response to an editing instruction for the non-locked characters, the non-locked characters are edited to obtain custom characters, so as to determine a target text based on the locked characters in the initial text and the custom characters.

[0009] Optionally, the text lock rule includes a character string with the same character length as the initial text, any character in the character string represents the character type of the character at the corresponding position in the initial text, and the character string consists of a first character and a second character, the first character represents the lock type, and the second character represents the non-lock type.

[0010] Optionally, before displaying the text editing interface based on the character type of each character in the initial text, the method further includes:

[0011] Determining a maximum editable length of the unlocked characters based on the character length of the unlocked characters, wherein the text editing interface further includes the maximum editable length;

[0012] Accordingly, after the editing instruction for the unlocked character is executed to edit the unlocked character to obtain the custom character, the method further includes:

[0013] When the character length of the custom character is greater than the maximum editable length, a prompt message indicating that the character length is not in compliance is output.

[0014] Optionally, after editing the non-locked character to obtain a custom character in response to the editing instruction for the non-locked character, the method further comprises:

[0015] In response to the page generation instruction, generating and sending text review information based on the custom characters;

[0016] A review feedback on the text review information is obtained. When the review feedback is that the review is passed, a target text is determined based on the locked characters and the custom characters in the initial text, and a target page containing the target text is generated.

[0017] Optionally, the text editing interface includes a page display area and an editing area; the editing area includes an editing sub-area for each of the initial texts, the editing sub-area being used to display a text label of the initial text, a locked character with a lock mark, and an unlocked character with an unlock mark; the page display area is used to display the editable page, and the unlocked characters in the initial text displayed on the editable page change dynamically with the custom characters;

[0018] The generating and sending text review information based on the custom character specifically includes:

[0019] The text review information is generated and sent based on the custom characters and the text label of the initial text.

[0020] According to another aspect of the present application, a method for configuring a lock word rule is provided, the method comprising:

[0021] Displaying an editable page, wherein the editable page includes at least one initial text;

[0022] Based on a selection operation of any initial text in the template page, generating and displaying a text lock rule configuration interface for the initial text, wherein the text lock rule configuration interface includes configuration options for each character to be configured corresponding to the initial text;

[0023] In response to the configuration operation of the configuration option, the character type of each character to be configured in any of the initial texts is determined, and a text lock rule of the any of the initial texts is generated according to the character type.

[0024] Optionally, in response to the configuration operation on the configuration option, determining the character type of each to-be-configured character in any of the initial texts, and generating a text lock rule for the any of the initial texts according to the character type, specifically includes:

[0025] In response to a check operation on any configuration option, the checked characters to be configured are determined as a locked type, and the remaining characters to be configured are determined as a non-locked type;

[0026] According to the character type of each character to be configured in any of the initial texts, a character string with the same character length as that of the any of the initial texts is generated, and the character string is used as the text lock rule of the any of the initial texts, wherein the character string consists of a first character and a second character, the first character indicates that the character to be configured at the corresponding position in the any of the initial texts is of the locked type, and the second character indicates that the character to be configured at the corresponding position in the any of the initial texts is of the non-locked type.

[0027] According to another aspect of the present application, a page editing device is provided, the device comprising:

[0028] A rule acquisition module, used to acquire at least one initial text in an editable page and a text lock rule of each initial text, and determine the character type of each character in the initial text according to the text lock rule, wherein the character type includes a lock type and an unlock type;

[0029] An interface display module, used for displaying a text editing interface based on the character type of each character in the initial text, wherein the text editing interface includes non-locked characters;

[0030] The text editing module is used for editing the non-locked characters to obtain custom characters in response to an editing instruction for the non-locked characters, so as to determine a target text based on the locked characters in the initial text and the custom characters.

[0031] Optionally, the text lock rule includes a character string with the same character length as the initial text, any character in the character string represents the character type of the character at the corresponding position in the initial text, and the character string consists of a first character and a second character, the first character represents the lock type, and the second character represents the non-lock type.

[0032] Optionally, the device further comprises:

[0033] a length determination module, configured to determine the maximum editable length of the non-locked characters based on the character length of the non-locked characters before displaying the text editing interface based on the character type of each character in the initial text, wherein the text editing interface also includes the maximum editable length;

[0034] The text editing module is further configured to: when the character length of the custom character is greater than the maximum editable length, output a prompt message indicating that the character length is not in compliance;

[0035] Optionally, the device further comprises:

[0036] An audit information sending module, configured to generate and send text audit information based on the custom character in response to a page generation instruction after editing the non-locked character to obtain the custom character in response to an editing instruction for the non-locked character;

[0037] The page generation module is used to obtain audit feedback on the text audit information, and when the audit feedback is audit passed, determine the target text based on the locked characters and the custom characters in the initial text, and generate a target page containing the target text.

[0038] Optionally, the text editing interface includes a page display area and an editing area; the editing area includes an editing sub-area for each of the initial texts, the editing sub-area being used to display a text label of the initial text, a locked character with a lock mark, and an unlocked character with an unlock mark; the page display area is used to display the editable page, and the unlocked characters in the initial text displayed on the editable page change dynamically with the custom characters;

[0039] The audit information sending module is specifically used to generate and send the text audit information based on the custom characters and the text label of the initial text.

[0040] According to another aspect of the present application, a lock word rule configuration device is provided, the device comprising:

[0041] A page display module, used to display an editable page, wherein the editable page includes at least one initial text;

[0042] a rule configuration module, for generating and displaying a text lock rule configuration interface for any initial text based on a selection operation of any initial text in the template page, wherein the text lock rule configuration interface includes configuration options for each character to be configured corresponding to the initial text; and

[0043] In response to the configuration operation of the configuration option, the character type of each character to be configured in any of the initial texts is determined, and a text lock rule of the any of the initial texts is generated according to the character type.

[0044] Optionally, the rule configuration module is specifically used to:

[0045] In response to a check operation on any configuration option, the checked characters to be configured are determined as a locked type, and the remaining characters to be configured are determined as a non-locked type;

[0046] According to the character type of each character to be configured in any of the initial texts, a character string with the same character length as that of the any of the initial texts is generated, and the character string is used as the text lock rule of the any of the initial texts, wherein the character string consists of a first character and a second character, the first character indicates that the character to be configured at the corresponding position in the any of the initial texts is of the locked type, and the second character indicates that the character to be configured at the corresponding position in the any of the initial texts is of the non-locked type.

[0047] According to another aspect of the present application, a storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the above-mentioned page editing method is implemented.

[0048] According to another aspect of the present application, a computer device is provided, including a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, wherein the processor implements the above-mentioned page editing method when executing the program.

[0049] By means of the above technical scheme, the present application provides a page editing method and device, a page configuration method and device, a storage medium, and a computer device, which determine the character type of each character in the initial text according to the text lock rule corresponding to each initial text in the editable page, and display characters belonging to the non-locked type, that is, non-locked characters, in the text editing interface, so that according to the user's editing operation on the non-locked characters, the non-locked characters are modified to obtain custom characters, so that the locked characters and the custom characters are spliced ​​to obtain the target text that replaces the initial text in the editable page. The embodiment of the present application determines the non-locked characters that are allowed to be modified in each initial text through the text lock rule of each initial text, and obtains the corresponding custom characters based on the editing operation of the non-locked characters, so that only by ensuring that the custom characters pass the compliance review, the compliance of all texts in the page can be ensured, which helps to reduce the amount of review and improve the review efficiency, and through this editing method, the user's text modification authority is restricted, which helps to improve the aesthetics of text typesetting.

[0050] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0052] Figure 1 A schematic diagram of a process flow of a page editing method provided in an embodiment of the present application is shown;

[0053] Figure 2 A schematic diagram of a text editing interface provided in an embodiment of the present application is shown;

[0054] Figure 3 A schematic diagram showing a flow chart of another page editing method provided in an embodiment of the present application is shown;

[0055] Figure 4 A schematic diagram of a flow chart of a lock word rule configuration method provided in an embodiment of the present application is shown;

[0056] Figure 5 A schematic diagram of a text lock rule configuration interface provided by an embodiment of the present application is shown;

[0057] Figure 6 A schematic diagram of the structure of a page editing device provided in an embodiment of the present application is shown;

[0058] Figure 7 A schematic diagram of the structure of another lock word rule configuration device provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0059] The present application will be described in detail below with reference to the accompanying drawings and in combination with embodiments. It should be noted that the embodiments and features in the embodiments of the present application can be combined with each other without conflict.

[0060] In this embodiment, a page editing method is provided, such as Figure 1 As shown, the method includes:

[0061] Step 101, obtaining at least one initial text in an editable page and a text lock rule of each initial text, and determining the character type of each character in the initial text according to the text lock rule, wherein the character type includes a lock type and an unlock type;

[0062] The embodiment of the present application can be applied to the user terminal side, where an editable page is displayed through the user terminal, and based on the user's modification of the initial text in the editable page, the customized editing of the text in the editable page is realized, so that the text content displayed in the editable page becomes the text content customized by the user. Among them, in the initial text displayed in the editable page, some characters are locked characters that are not allowed to be edited, and some characters are non-locked characters that are allowed to be edited. When the user edits the text, he can only edit the non-locked characters.

[0063] First, for an editable page that opens editing permissions to users, when the user requests to edit the editable page, in response to the user's request instruction for the editable page, the editable initial text contained in the editable page is obtained, and the pre-set text lock rule for each initial text is obtained, wherein each initial text corresponds to a text lock rule, and the text lock rule is used to indicate the character type of each character in the corresponding initial text, and the character type includes a locked type and a non-locked type. That is, the text lock rule can be used to determine which characters in the initial text are locked characters that are not allowed to be edited, and which characters are non-locked characters that are allowed to be edited.

[0064] In an embodiment of the present application, optionally, the text lock rule includes a character string with the same character length as the initial text, any character in the character string represents the character type of the character at the corresponding position in the initial text, and the character string consists of a first character and a second character, the first character represents the lock type, and the second character represents the non-lock type.

[0065] In this embodiment, the text lock word rule corresponding to each initial text can be a string with the same character length as the initial text, and each character on the string represents the character type of the character at the corresponding position in the initial text. Specifically, the first character can represent the lock type, and the second character can represent the unlock type. Only the first character and the second character are used to form a string, and the character type of each character in an initial text is represented by the string. For example, the first character is 1, the second character is 0, and a certain initial text is "Price 9.9". When the designer just wants the user to modify the "9.9" in the initial text, the text lock word rule string of the initial text can be set to "11000" to indicate that the first and second characters in the corresponding initial text are locked characters, and the third, fourth, and fifth characters are unlocked characters. The first character and the second character in the embodiment of the present application can be represented by any different letters, symbols, etc., for example, 0 and 1 are selected to represent the text lock word rule of the initial text in a plain and easy-to-understand binary string form. Only a character string with the same length as the initial text is needed, without segmentally locking the initial text, to indicate whether each character in a complete initial text is allowed to be edited. This is simple and convenient, and reduces the pressure on designers to create text.

[0066] Step 102, displaying a text editing interface based on the character type of each character in the initial text, wherein the text editing interface includes non-locked characters;

[0067] Secondly, after determining the character type of each character in each initial text, a text editing interface for the editable page can be generated based on the character type. The text editing interface at least includes characters of the initial text that belong to the non-locked type, i.e., non-locked characters, so that the user can edit the non-locked character part of the initial text in the text editing interface.

[0068] In an embodiment of the present application, optionally, the text editing interface includes a page display area and an editing area; the editing area includes an editing sub-area for each of the initial texts, the editing sub-area being used to display a text label of the initial text, locked characters with a lock mark, and unlocked characters with an unlock mark; the page display area is used to display the editable page, and the unlocked characters in the initial text displayed on the editable page change dynamically with the custom characters.

[0069] The text editing interface may include each initial text, and display the character type of each character in the initial text in a differentiated manner, mark the locked characters that are not allowed to be edited with a locked mark, and mark the unlocked characters that are allowed to be edited with an unlocked mark, so that the user can know which characters are not allowed to be edited and which characters are allowed to be edited through the content displayed in the text editing interface. Figure 2 As shown, the display area of ​​the locked characters and the display area of ​​the unlocked characters can be set to different background colors to distinguish them. For another example, a lock mark can be added to the locked characters, and an unlock mark can be added to the unlocked characters. In a specific application scenario, the text editing interface may include two parts: a page display area and an editing area. The editable page is displayed in the page display area, and based on the real-time editing data of the unlocked characters in the editing area, the text displayed in the page is dynamically changed, so that the editable page displayed in the page display area produces a real-time preview effect as the user modifies the unlocked characters. Content related to text editing is displayed in the editing area, including locked characters with a lock mark, unlocked characters with a unlock mark, and text labels for each initial text. For example, the text label can be "subject", "time", etc.

[0070] Step 103: In response to an editing instruction for the non-locked characters, the non-locked characters are edited to obtain custom characters, so as to determine a target text based on the locked characters in the initial text and the custom characters.

[0071] Finally, the user can edit the non-locked characters in any initial text in the text editing interface. In response to the user's editing instruction for the non-locked characters in any initial text, the non-locked characters of the initial text selected by the user are edited to obtain custom characters, thereby splicing the locked characters of the initial text and the custom characters edited by the user to generate a target text, so as to replace the corresponding initial text in the editable page with the target text, thereby realizing custom editing of the page. In this way, the user can easily edit the editable page template to the desired page. For example, the editable page can be an event poster page. The user only needs to modify some characters of the text in the poster according to his own needs and replace them with custom information to obtain a poster that meets his own needs.

[0072] By applying the technical solution of this embodiment, the character type of each character in the initial text is determined according to the text lock rule corresponding to each initial text in the editable page, and the characters belonging to the unlocked type, that is, the unlocked characters, are displayed in the text editing interface, so that according to the user's editing operation on the unlocked characters, the unlocked characters are modified to obtain custom characters, so that the locked characters and the custom characters are spliced ​​to obtain the target text that replaces the initial text in the editable page. The embodiment of the present application determines the non-locked characters that are allowed to be modified in each initial text through the text lock rule of each initial text, and obtains the corresponding custom characters based on the editing operation of the non-locked characters, so that only the custom characters need to pass the compliance review to ensure that all texts in the page are compliant, which helps to reduce the amount of review and improve the review efficiency. In addition, through this editing method, the user's text modification authority is restricted, which helps to improve the aesthetics of text typesetting.

[0073] Further, as a refinement and extension of the specific implementation of the above embodiment, in order to fully illustrate the specific implementation process of this embodiment, another page editing method is provided, such as Figure 3 As shown, the method includes:

[0074] Step 201, obtaining at least one initial text in an editable page and a text lock rule of each of the initial texts, and determining the character type of each character in the initial text according to the text lock rule, wherein the character type includes a lock type and an unlock type.

[0075] Step 202: Determine the maximum editable length of the non-locked characters based on the character length of the non-locked characters, wherein the text editing interface also includes the maximum editable length.

[0076] In an embodiment of the present application, in order to ensure the beautiful layout of the page, the character length of each text on the page can be limited. Specifically, in the setting stage of the initial text, the initial text can be set to an acceptable maximum length, so that in the custom editing stage of the editable page, the character length of each initial text is used as the maximum character length of the target text corresponding to the initial text to constrain the maximum total length of the initial text after editing. It is also possible to determine the maximum editable length corresponding to the initial text based on the non-locked character length of each initial text to constrain the maximum length of the editable part of the initial text. Further, the text editing interface can also display the maximum character length of the target text, or can display the maximum editable length, to remind the user not to exceed the character length constraint when editing.

[0077] Step 203: displaying a text editing interface based on the character type of each character in the initial text.

[0078] Step 204: in response to an editing instruction for the unlocked character, edit the unlocked character to obtain a custom character, and when the length of the custom character is greater than the maximum editable length, output a prompt message indicating that the character length is not in compliance with the regulations.

[0079] In this embodiment, when the user edits non-locked characters in the text editing interface, if it is detected that the character length of the custom characters edited by the user exceeds the maximum editable length, or it is detected that the total character length of the locked characters and the custom characters exceeds the maximum character length of the target text, a prompt message can be output to prompt the user that the length of the characters currently being edited is not compliant.

[0080] Step 205, in response to the page generation instruction, generate and send text review information based on the custom characters.

[0081] Step 206, obtaining audit feedback on the text audit information, when the audit feedback is audit passed, determining a target text based on the locked characters and the custom characters in the initial text, and generating a target page containing the target text.

[0082] In this embodiment, when the user completes editing of non-locked characters and determines to generate a customized page, in order to ensure that the generated page complies with the platform regulations, the customized characters can be sent to the text review system for text review, and when the review is confirmed to be passed, the locked characters that are not allowed to be edited in the initial text and the customized characters are spliced ​​into the target text, and rendered at the corresponding position of the initial text in the editable page to obtain the target page, thereby realizing the customization of the editable page. It should be noted that the editable page can also provide a customization function for content such as pictures, which is not given as an example in the embodiment of this application.

[0083] In the embodiment of the present application, optionally, step 205 may specifically be: in response to a page generation instruction, generating and sending the text review information based on the custom characters and the text tag of the initial text.

[0084] In order to further improve the efficiency of text review, text review information can also be generated based on the text labels of the custom characters and the corresponding initial text, so that the custom characters with different labels can be reviewed by the text review system to ensure that the custom characters comply with the regulations corresponding to the text label.

[0085] The present application also provides a method for configuring lock word rules. Figure 4 As shown, the method includes:

[0086] Step 301, displaying an editable page, wherein the editable page includes at least one initial text;

[0087] Step 302, based on the selection operation of any initial text in the template page, generating and displaying a text lock rule configuration interface for the initial text, wherein the text lock rule configuration interface includes configuration options for each character to be configured corresponding to the initial text;

[0088] Step 303, in response to the configuration operation on the configuration option, determining the character type of each character to be configured in any of the initial texts, and generating a text lock rule for the any of the initial texts according to the character type.

[0089] The embodiment of the present application also provides a visual word lock rule configuration method to improve the convenience of word lock rule configuration. The editable page for configuring the word lock rule is displayed through the design terminal, and any initial text for which the word lock rule is to be configured is selected on the editable page. Specifically, the text selection can be performed by clicking to select, box selection, etc. Based on the text selected by the designer, a text word lock rule configuration interface for the selected initial text is generated, so that the designer can configure the word lock rule for each character in the interface. Among them, the text word lock rule configuration interface can include each character in the selected initial text, that is, the character to be configured, and the configuration options for each character to be configured. The designer can set the character type for each character to be configured in the configuration options of the interface, thereby generating the text word lock rule for this initial text according to the character type of each character to be configured set by the designer.

[0090] Designers can build text lock rules for each initial text by setting the character type for each initial text. In addition, in order to reduce the amount of configuration and simplify the configuration process, rules can be agreed upon in advance. For an initial text on a configurable page, if the designer does not configure the character type for this initial text, then this initial text can be determined as the default type, for example, the default type is that each character on this initial text belongs to the non-locked type.

[0091] In an embodiment of the present application, optionally, step 303 may specifically be: in response to a check operation on any configuration option, the checked characters to be configured are determined as a locked type, and the remaining characters to be configured are determined as a non-locked type; based on the character type of each character to be configured in any of the initial texts, a character string with the same character length as that of any of the initial texts is generated, and the character string is used as a text lock rule for any of the initial texts, wherein the character string consists of a first character and a second character, the first character indicates that the character to be configured at the corresponding position in the any of the initial texts is of the locked type, and the second character indicates that the character to be configured at the corresponding position in the any of the initial texts is of the non-locked type.

[0092] In this embodiment, the configuration options of the characters to be configured in the text lock rule configuration interface can be check boxes, and the designer can select the characters to be locked by checking. For example, the initial text "Activity time: 2021.10.01-2021.10.07", such as Figure 5 As shown, in the lock word rule configuration interface for this text, the designer can set the characters "Activity time:" to the locked type by checking the check boxes of the characters, and the remaining characters are set to the unlocked type by default. Furthermore, according to the character type of each character in the initial text, a string is generated in character order, and the string consists of the first character and the second character. Each character in the string represents the character type at the corresponding position in the initial text, wherein the first character in the string indicates that the character at the corresponding position in the initial text is of the locked type, and the second character in the string indicates that the character at the corresponding position in the initial text is of the unlocked type. Taking the above-mentioned initial text "Activity time: 2021.10.01-2021.10.07" as an example, the first character is 1 and the second character is 0, then the initial corresponding text lock word rule string is represented as "111110000000000000000000000".

[0093] Further, as Figure 1 The specific implementation of the method, the embodiment of the present application provides a page editing device, such as Figure 6 As shown, the device comprises:

[0094] A rule acquisition module, used to acquire at least one initial text in an editable page and a text lock rule of each initial text, and determine the character type of each character in the initial text according to the text lock rule, wherein the character type includes a lock type and an unlock type;

[0095] An interface display module, used for displaying a text editing interface based on the character type of each character in the initial text, wherein the text editing interface includes non-locked characters;

[0096] The text editing module is used for editing the non-locked characters to obtain custom characters in response to an editing instruction for the non-locked characters, so as to determine a target text based on the locked characters in the initial text and the custom characters.

[0097] Optionally, the text lock rule includes a character string with the same character length as the initial text, any character in the character string represents the character type of the character at the corresponding position in the initial text, and the character string consists of a first character and a second character, the first character represents the lock type, and the second character represents the non-lock type.

[0098] Optionally, the device further comprises:

[0099] a length determination module, configured to determine the maximum editable length of the non-locked characters based on the character length of the non-locked characters before displaying the text editing interface based on the character type of each character in the initial text, wherein the text editing interface also includes the maximum editable length;

[0100] The text editing module is further configured to: when the character length of the custom character is greater than the maximum editable length, output a prompt message indicating that the character length is not in compliance;

[0101] Optionally, the device further comprises:

[0102] An audit information sending module, configured to generate and send text audit information based on the custom character in response to a page generation instruction after editing the non-locked character to obtain the custom character in response to an editing instruction for the non-locked character;

[0103] The page generation module is used to obtain audit feedback on the text audit information, and when the audit feedback is audit passed, determine the target text based on the locked characters and the custom characters in the initial text, and generate a target page containing the target text.

[0104] Optionally, the text editing interface includes a page display area and an editing area; the editing area includes an editing sub-area for each of the initial texts, the editing sub-area being used to display a text label of the initial text, a locked character with a lock mark, and an unlocked character with an unlock mark; the page display area is used to display the editable page, and the unlocked characters in the initial text displayed on the editable page change dynamically with the custom characters;

[0105] The audit information sending module is specifically used to generate and send the text audit information based on the custom characters and the text label of the initial text.

[0106] Further, as Figure 1 The specific implementation of the method, the embodiment of the present application provides a lock word rule configuration device, such as Figure 7 As shown, the device comprises:

[0107] A page display module, used to display an editable page, wherein the editable page includes at least one initial text;

[0108] a rule configuration module, for generating and displaying a text lock rule configuration interface for any initial text based on a selection operation of any initial text in the template page, wherein the text lock rule configuration interface includes configuration options for each character to be configured corresponding to the initial text; and

[0109] In response to the configuration operation of the configuration option, the character type of each character to be configured in any of the initial texts is determined, and a text lock rule of the any of the initial texts is generated according to the character type.

[0110] Optionally, the rule configuration module is specifically used to:

[0111] In response to a check operation on any configuration option, the checked characters to be configured are determined as a locked type, and the remaining characters to be configured are determined as a non-locked type;

[0112] According to the character type of each character to be configured in any of the initial texts, a character string with the same character length as that of the any of the initial texts is generated, and the character string is used as the text lock rule of the any of the initial texts, wherein the character string consists of a first character and a second character, the first character indicates that the character to be configured at the corresponding position in the any of the initial texts is of the locked type, and the second character indicates that the character to be configured at the corresponding position in the any of the initial texts is of the non-locked type.

[0113] It should be noted that for other corresponding descriptions of the functional units involved in the page editing device and the lock word rule configuration device provided in the embodiment of the present application, reference can be made to Figures 1 to 5 The corresponding description in the method will not be repeated here.

[0114] Based on the above Figures 1 to 5 The method shown in the embodiment of the present application is accordingly provided with a storage medium on which a computer program is stored, and when the computer program is executed by a processor, the above-mentioned Figures 1 to 5 The page editing method and lock word rule configuration method shown.

[0115] Based on this understanding, the technical solution of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each implementation scenario of the present application.

[0116] Based on the above Figures 1 to 5 The method shown, and Figure 6 to Figure 7In order to achieve the above-mentioned purpose, the embodiment of the present application further provides a computer device, which can be a personal computer, a server, a network device, etc. The computer device includes a storage medium and a processor; the storage medium is used to store a computer program; the processor is used to execute the computer program to achieve the above-mentioned Figures 1 to 5 The page editing method and lock word rule configuration method shown.

[0117] Optionally, the computer device may further include a user interface, a network interface, a camera, a radio frequency (RF) circuit, a sensor, an audio circuit, a WI-FI module, etc. The user interface may include a display, an input unit such as a keyboard, etc., and the optional user interface may also include a USB interface, a card reader interface, etc. The network interface may optionally include a standard wired interface, a wireless interface (such as a Bluetooth interface, a WI-FI interface), etc.

[0118] Those skilled in the art will appreciate that the computer device structure provided in this embodiment does not limit the computer device, and may include more or fewer components, or a combination of certain components, or different component arrangements.

[0119] The storage medium may also include an operating system and a network communication module. The operating system is a program that manages and saves the hardware and software resources of the computer device, and supports the operation of information processing programs and other software and / or programs. The network communication module is used to realize communication between the components inside the storage medium, and communication with other hardware and software in the physical device.

[0120] Through the description of the above implementation methods, those skilled in the art can clearly understand that the present application can be implemented by means of software plus necessary general hardware platforms, or can be implemented by hardware according to the text lock rules corresponding to each initial text in the editable page, determine the character type of each character in the initial text, and display characters belonging to the non-locked type, that is, non-locked characters, in the text editing interface, so that according to the user's editing operation on the non-locked characters, the non-locked characters are modified to obtain custom characters, so that the locked characters and the custom characters are spliced ​​to obtain the target text that replaces the initial text in the editable page. The embodiment of the present application determines the non-locked characters that are allowed to be modified in each initial text through the text lock rules of each initial text, and obtains the corresponding custom characters based on the editing operation of the non-locked characters, so that only by ensuring that the custom characters pass the compliance review, the compliance of all texts in the page can be ensured, which helps to reduce the amount of review and improve the review efficiency, and through this editing method, the user's text modification authority is restricted, which helps to improve the aesthetics of text typesetting.

[0121] Those skilled in the art will appreciate that the accompanying drawings are only schematic diagrams of a preferred implementation scenario, and the modules or processes in the accompanying drawings are not necessarily necessary for implementing the present application. Those skilled in the art will appreciate that the modules in the devices in the implementation scenario can be distributed in the devices of the implementation scenario according to the description of the implementation scenario, or can be changed accordingly and located in one or more devices different from the present implementation scenario. The modules of the above-mentioned implementation scenario can be combined into one module, or can be further split into multiple submodules.

[0122] The above serial numbers of this application are only for description and do not represent the advantages and disadvantages of the implementation scenarios. The above disclosure is only a few specific implementation scenarios of this application, but this application is not limited to them, and any changes that can be thought of by technicians in this field should fall within the scope of protection of this application.

Claims

1. A page editing method, It is characterized in that The method comprises: Acquire at least one initial text in the editable page and a text lock rule of each initial text, and determine the character type of each character in the initial text according to the text lock rule, wherein the character type includes a lock type and an unlock type; Based on the character type of each character in the initial text, displaying a text editing interface, wherein the text editing interface includes non-locked characters; In response to an editing instruction for the non-locked characters, the non-locked characters are edited to obtain custom characters, so as to determine a target text based on the locked characters in the initial text and the custom characters; Among them, the text lock rule includes a character string with the same character length as the initial text, any character in the character string represents the character type of the character at the corresponding position in the initial text, and the character string consists of a first character and a second character, the first character represents the lock type, and the second character represents the non-lock type.

2. The method according to claim 1, It is characterized in that Before displaying the text editing interface based on the character type of each character in the initial text, the method further includes: Determining a maximum editable length of the unlocked characters based on the character length of the unlocked characters, wherein the text editing interface further includes the maximum editable length; Accordingly, after the editing instruction for the unlocked character is executed to edit the unlocked character to obtain the custom character, the method further includes: When the character length of the custom character is greater than the maximum editable length, a prompt message indicating that the character length is not in compliance is output.

3. The method according to claim 1 or 2, It is characterized in that After the editing instruction for the unlocked character is executed to edit the unlocked character to obtain the custom character, the method further comprises: In response to the page generation instruction, generating and sending text review information based on the custom characters; A review feedback on the text review information is obtained. When the review feedback is that the review is passed, a target text is determined based on the locked characters and the custom characters in the initial text, and a target page containing the target text is generated.

4. The method according to claim 3, It is characterized in that The text editing interface includes a page display area and an editing area; the editing area includes an editing sub-area for each of the initial texts, the editing sub-area being used to display the text label of the initial text, the locked characters with a lock mark, and the unlocked characters with an unlock mark; the page display area is used to display the editable page, and the unlocked characters in the initial text displayed on the editable page change dynamically with the custom characters; The generating and sending text review information based on the custom character specifically includes: The text review information is generated and sent based on the custom characters and the text label of the initial text.

5. A method for configuring lock word rules, It is characterized in that The method comprises: Displaying an editable page, wherein the editable page includes at least one initial text; Based on a selection operation of any initial text in the editable page, generating and displaying a text lock rule configuration interface for the initial text, wherein the text lock rule configuration interface includes configuration options for each character to be configured corresponding to the initial text; In response to a check operation on any configuration option, the checked characters to be configured are determined as a locked type, and the remaining characters to be configured are determined as a non-locked type; According to the character type of each character to be configured in any of the initial texts, a character string with the same character length as that of the any of the initial texts is generated, and the character string is used as the text lock rule of the any of the initial texts, wherein the character string consists of a first character and a second character, the first character indicates that the character to be configured at the corresponding position in the any of the initial texts is of the locked type, and the second character indicates that the character to be configured at the corresponding position in the any of the initial texts is of the non-locked type.

6. A page editing device, It is characterized in that The device comprises: A rule acquisition module, used to acquire at least one initial text in an editable page and a text lock rule of each initial text, and determine the character type of each character in the initial text according to the text lock rule, wherein the character type includes a lock type and an unlock type; An interface display module, used for displaying a text editing interface based on the character type of each character in the initial text, wherein the text editing interface includes non-locked characters; a text editing module, configured to edit the non-locked characters to obtain custom characters in response to an editing instruction for the non-locked characters, so as to determine a target text based on the locked characters in the initial text and the custom characters; Among them, the text lock rule includes a character string with the same character length as the initial text, any character in the character string represents the character type of the character at the corresponding position in the initial text, and the character string consists of a first character and a second character, the first character represents the lock type, and the second character represents the non-lock type.

7. The device according to claim 6, It is characterized in that The device also includes: a length determination module, configured to determine the maximum editable length of the non-locked characters based on the character length of the non-locked characters before displaying the text editing interface based on the character type of each character in the initial text, wherein the text editing interface also includes the maximum editable length; The text editing module is further used to: when the character length of the custom character is greater than the maximum editable length, output a prompt message indicating that the character length is not compliant.

8. The device according to claim 6 or 7, It is characterized in that The device also includes: An audit information sending module, configured to generate and send text audit information based on the custom character in response to a page generation instruction after editing the non-locked character to obtain a custom character in response to an editing instruction for the non-locked character; The page generation module is used to obtain audit feedback on the text audit information, and when the audit feedback is audit passed, determine the target text based on the locked characters and the custom characters in the initial text, and generate a target page containing the target text.

9. The device according to claim 8, It is characterized in that The text editing interface includes a page display area and an editing area; the editing area includes an editing sub-area for each of the initial texts, the editing sub-area being used to display the text label of the initial text, the locked characters with a lock mark, and the unlocked characters with an unlock mark; the page display area is used to display the editable page, and the unlocked characters in the initial text displayed on the editable page change dynamically with the custom characters; The audit information sending module is specifically used to generate and send the text audit information based on the custom characters and the text label of the initial text.

10. A lock word rule configuration device, It is characterized in that The device comprises: A page display module, used to display an editable page, wherein the editable page includes at least one initial text; a rule configuration module, configured to generate and display a text lock rule configuration interface for any initial text based on a selection operation on the initial text in the editable page, wherein the text lock rule configuration interface includes configuration options for each character to be configured corresponding to the initial text; and In response to a check operation on any configuration option, the checked characters to be configured are determined as a locked type, and the remaining characters to be configured are determined as a non-locked type; According to the character type of each character to be configured in any of the initial texts, a character string with the same character length as that of the any of the initial texts is generated, and the character string is used as the text lock rule of the any of the initial texts, wherein the character string consists of a first character and a second character, the first character indicates that the character to be configured at the corresponding position in the any of the initial texts is of the locked type, and the second character indicates that the character to be configured at the corresponding position in the any of the initial texts is of the non-locked type.

11. A storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.

12. A computer device comprising a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, It is characterized in that When the processor executes the computer program, the method according to any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Network information display method and system

    CN102833218A

  • Content quality determination method, device and equipment for image-text content and storage medium

    CN111311554A