Form editing method and device, electronic equipment and storage medium

By detecting and restoring historical editing information and generating recommendation copy based on user preferences, the problem of low form editing efficiency in advertising delivery is solved, rapid recovery and personalized recommendations are achieved, and user experience and storage efficiency are improved.

CN119203956APending Publication Date: 2024-12-27BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411296789.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-17
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

When serving advertisements, during the form editing process, information loss caused by cumbersome information filling and mid-exit, resulting in inefficiency. Users need to fill in the information repeatedly, and the existing storage solution cannot achieve real-time storage and rapid recovery.

Method used

By detecting whether there is historical editing information in the database, obtaining and substituting the form items to be edited, and generating recommended copy based on user editing preferences, combining artificial intelligence to analyze user habits, providing personalized copy recommendations to achieve real-time storage and rapid recovery.

Benefits of technology

Reduce repeated filling work, improve form editing efficiency, provide a personalized user experience, and achieve rapid recovery and storage space through client storage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119203956A_ABST
    Figure CN119203956A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of data storage, in particular to a form editing method and device, electronic equipment and a storage medium. According to the specific implementation scheme, in response to a system entering a form editing process, whether historical editing information exists in a database or not is detected; if the historical editing information exists in the database, obtaining the historical editing information from the database and substituting the historical editing information into at least one form item of the to-be-edited form; generating a recommended copywriting according to the historical editing information and the editing preference of the user, and pushing the recommended copywriting to the user; the user editing preference is obtained based on learning of at least one piece of editing information of the user in the historical form editing process. By caching the historical editing information, when the user enters form editing, the state of final editing of the user can be restored, repeated filling of form items is not needed, repeated work is reduced, and the efficiency of form editing is improved; and meanwhile, when the historical editing information is recovered, the copywriting is pushed to the user in a personalized manner according to the editing preference of the user, so that the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of data storage, and in particular to a form editing method, device, electronic device and storage medium. Background Art

[0002] When delivering performance ads, the main daily work of optimizers is account infrastructure and performance optimization. Optimizers need to create and edit plan information, unit information, keyword information, creative information, etc. for different accounts on the browser page. Since the entire creative process is long, there are many settings and materials to fill in, and it is common to actively cancel or interrupt the filling in the middle. After editing part of the information, advertisers or optimizers exit the platform. When they enter the form editing again, they need to fill in the information or select the settings again, which not only wastes manpower, but also may exit again in the middle and fail to save, resulting in low efficiency of form editing. Summary of the invention

[0003] The present disclosure provides a form editing method, device, electronic device and storage medium.

[0004] According to a first aspect of the present disclosure, a form editing method is provided, comprising:

[0005] In response to the system entering a form editing process, detecting whether there is historical editing information in the database;

[0006] If the historical editing information exists in the database, obtaining the historical editing information from the database and substituting it into at least one form item of the form to be edited;

[0007] A recommended text is generated according to the historical editing information and the user editing preference, and pushed to the user; the user editing preference is obtained by analyzing the editing information of the user in at least one historical form editing process.

[0008] According to a second aspect of the present disclosure, a form editing device is provided, comprising:

[0009] A detection module, configured to detect whether there is historical editing information in the database in response to the system entering the form editing process;

[0010] An information acquisition module is configured to acquire the historical editing information from the database and substitute it into at least one form item of the form to be edited if the historical editing information exists in the database;

[0011] The copy recommendation module is configured to generate a recommended copy based on the historical editing information and user editing preferences, and push it to the user; the user editing preferences are obtained by analyzing the editing information of the user in at least one historical form editing process.

[0012] According to a third aspect of the present disclosure, there is provided an electronic device, including:

[0013] at least one processor; and

[0014] a memory communicatively connected to the at least one processor; wherein,

[0015] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute any method in any of the above technical solutions.

[0016] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable the computer to execute the method according to any one of the above technical solutions.

[0017] According to a fifth aspect of the present disclosure, a computer program product is provided, including a computer program, wherein when the computer program is executed by a processor, the computer program implements the method according to any one of the above technical solutions.

[0018] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.

[0020] Figure 1 is a schematic diagram of steps of a form editing method in an embodiment of the present disclosure;

[0021] Figure 2 is an application example diagram of the form editing method in the embodiment of the present disclosure;

[0022] Figure 3 is a principle block diagram of a form editing device in an embodiment of the present disclosure;

[0023] Figure 4 is a principle block diagram of an information acquisition module in an embodiment of the present disclosure;

[0024] Figure 5 It is a block diagram of an electronic device used to implement the form editing method of the embodiment of the present disclosure. DETAILED DESCRIPTION

[0025] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.

[0026] The current editing information storage solution is to store the draft when clicking the next step of the form, and read the draft for recovery when entering the next time. On the one hand, it does not achieve real-time storage. If you close the tab directly, the editing information will not be automatically stored. On the other hand, the storage solution adopted is server-side storage. The next time you enter the form to edit, reading the draft requires pulling cached data from the server, so the cache acquisition time is long and the recovery time is slow, which may cause the user to fill in some fields and then be overwritten.

[0027] In view of the technical problem in the prior art that after exiting the form editing page midway, the edited information cannot be saved and the information needs to be repeatedly filled in, resulting in low efficiency of form editing, the present disclosure provides a form editing method, such as Figure 1 As shown, including:

[0028] Step S101, in response to the system entering the form editing process, detecting whether there is historical editing information in the database.

[0029] Step S102: If there is historical editing information in the database, the historical editing information is obtained from the database and substituted into at least one form item of the form to be edited.

[0030] Step S103, generating a recommended copy based on the historical editing information and the user's editing preferences, and pushing it to the user; the user's editing preferences are obtained by analyzing the editing information of the user in at least one historical form editing process. The recommended copy may include any one or more information in text, image, and video, which is used to provide the user with the ability to adjust the historical editing information substituted into the form to be edited.

[0031] For example, Figure 2 As shown, when a user creates a new "website link" plan, the form includes form items such as budget, promotion region, promotion period, and bidding method. After the user enters the page for creating a new "website link" plan, the system first detects whether there is historical editing information. For example, the last edited bidding information is 32 yuan / click. If there is historical bidding information, the information can be directly obtained from the cache without the user having to fill it in again. In this way, each time the user enters the form to edit, the user's last edited status can be restored, and there is no need to fill in the form items again, which reduces duplication of work and improves the efficiency of form editing.

[0032] At the same time, the present disclosure can analyze the historical editing information through the pre-trained artificial intelligence model, and the artificial intelligence model can generate recommended copywriting such as creative copywriting and keywords in combination with the user's editing preferences. Among them, the user's editing preferences can be obtained by analyzing the editing information in any one or more form editing processes in the history, which includes the user's industry background, writing style (such as formal, informal, humorous, rigorous, creative, etc.), language specifications, formatting, brand and audience, interface layout, and other user personal editing habits. For example, for the advertising editing information of a fashion brand, the system may recommend the current popular fashion terms or creative pictures that meet the brand's tone, and push them to the user. The user can choose to adopt and adjust the currently substituted historical editing information, so as to achieve personalized push of copywriting to the user according to the user's editing preferences when restoring the historical editing information, and improve the user experience. When the user makes a choice (adopt or not adopt) on the recommended content, these feedbacks will be used to update the artificial intelligence model. As time accumulates, the accuracy of the recommended copywriting will be gradually improved, and the intelligent storage of historical editing information and the function of intelligently recommending copywriting will be realized.

[0033] As an optional implementation, step S101, in response to the system entering the form editing process, before detecting whether there is historical editing information in the database, further includes:

[0034] In response to the user's storage instruction, the current editing information and the corresponding associated information are processed to obtain historical editing information, which is stored in a database; wherein the type of the current editing information includes at least one of text, picture, and video.

[0035] Specifically, Figure 2 As shown, when the user leaves the editing page, a pop-up window will prompt the user whether the current editing information needs to be saved as a draft, so that the user can continue editing the page next time. During the caching process, the current editing information can be serialized and bound to the corresponding associated information and stored in the database as historical editing information. When the historical editing information is subsequently applied, when the user re-enters the interrupted form editing page, first query whether there is unfinished historical editing information. If the historical editing information is found, a pop-up window will prompt the customer whether it needs to be substituted. If necessary, the found form information will be substituted into the form. The core of this solution is to query and obtain unfinished historical editing information and substitute historical editing information, determine whether there is unfinished historical editing information based on the current level and parent level information of the form to be edited, and then deserialize the historical editing information, convert string (string) into object (object), and finally substitute the historical editing information through the setFields (set field) method of form (table).

[0036] As an optional implementation, when the type of the current editing information is a picture or a video, the current editing information and the corresponding associated information are processed to obtain the historical editing information, including:

[0037] According to the detail level of each image area in the picture or video, the compression rate corresponding to each image area is determined.

[0038] Each image region is compressed according to a corresponding compression rate, and associated information corresponding to the current editing information is compressed to obtain historical editing information.

[0039] Specifically, when caching editing information, if the current editing information is a picture or video, the compression rate can be dynamically adjusted for the picture or video. Through the pre-trained image recognition model, the picture or video is divided into multiple image regions according to the degree of detail, and the compression strategy is dynamically adjusted for different image regions. Specifically, the image segmentation technology can be used to divide the picture or video into multiple image regions, and features (such as texture, edge density, number of corner points, etc.) are extracted for each image region, and the detail richness of each image region is evaluated based on these features. Furthermore, while maintaining the visual quality, a higher compression rate is used for image regions with less details or less visual impact. In this way, personalized compression strategies can be adopted for different types of historical editing information, ensuring that users can obtain high-quality content when restoring historical editing information, and can also greatly save database storage space.

[0040] As an optional implementation, the associated information includes at least one of the following: user identification (user ID); timestamp; page level information; parent level information.

[0041] Specifically, page level information refers to the level of the current page, and the "website link" plan created by the user may include multiple pages. Parent level information refers to the level above the level of the form to be edited. By storing the level information corresponding to the editing information, the granularity of the parent level editing information is used as the basis for storage. For example, new units created under different plans will be saved as different drafts, and when restoring the draft, the parent level editing information will also be restored. This fine-grained cache can provide users with more detailed and accurate historical editing information the next time they enter the form to edit, thereby improving the user experience.

[0042] As an optional implementation, the database is set on the client. The database used to cache historical editing information in the present disclosure can be set on the client. IndexedDB storage can be used. IndexedDB is a browser storage solution that can store massive amounts of data, such as Object, files, blobs, etc. The storage structure is stored according to the Database. Each DB can have different object stores. In addition, we can set relevant specific values ​​for the key (keyword), and we can directly obtain specific editing information through key queries when indexing. It is also possible to perform operations such as adding, deleting, checking, and modifying data. There are two advantages to using client storage to store historical editing information. First, the storage read time is fast. Different from the industry's storage solution on the server side, the historical editing information cached in the present disclosure can achieve millisecond-level recovery during the recovery process, which saves a lot of time compared to pulling cached data from the server. Secondly, the memory stored in indexedDB is large, which occupies hardware memory. Compared with the browser's localStorage (browser saves data), it has the advantage of large storage space.

[0043] As an optional implementation, step S102, obtaining historical editing information from a database and substituting it into at least one form item of the form to be edited includes:

[0044] Step S102a, determining the level corresponding to the form to be edited according to the parent level information corresponding to the form to be edited.

[0045] Step S102b: According to the level corresponding to the form to be edited, historical editing information of the corresponding level is obtained from the database, and substituted into at least one form item of the form to be edited.

[0046] Specifically, the storage granularity of the historical editing information disclosed in the present invention is the marketing target level. For example, if the plan information of the website link is stored, the next time only when the website link plan enters the new creation, a pop-up window will prompt whether to apply the draft, and no prompt will be given when entering other marketing target levels. For example, when creating advertising materials on the performance advertising delivery platform, it is necessary to create them layer by layer, and each layer includes marketing goals, plans, units, creativity, and keywords. There are two ways to create a new one. The first is to create a new one in series, that is, first create a marketing goal, then create a plan under the marketing goal, create a unit under the plan, and finally create keywords and creativity under the unit, where "marketing goal" is the parent level of "plan", "plan" is the parent level of "unit", and "unit" is the parent level of "keywords" and "creativity". The second way to create is to directly enter a certain level to create, provided that the parent level has been successfully created. For both methods, we use fine-grained caching, caching to a specific level, and storing based on the granularity of the parent-level material. For example, new "units" under different "plans" will be saved as different drafts, and when restoring the draft, the parent-level material will also be restored. In this way, fine-grained caching can provide customers with more detailed and accurate material information.

[0047] Parent level information refers to the level above the level of the form to be edited, and the current level can be determined by the parent level information. By storing the level information corresponding to the edit information, the granularity of the parent level edit information is used as the basis for storage. For example, new units created under different plans will be saved as different drafts, and when restoring the draft, the parent level edit information will also be restored. This fine-grained cache can provide users with more detailed and accurate historical edit information the next time they enter the form for editing, achieving refined storage and improving user experience.

[0048] As an optional implementation, step S101, in response to the system entering the form editing process, further includes:

[0049] The user's latest editing information is automatically cached at preset intervals to update the historical editing information in the database.

[0050] Specifically, in order to prevent data loss when the user closes the browser or the website crashes, the draft data needs to be stored regularly, and can be set to be automatically stored every 5 minutes, so as to achieve real-time caching and avoid user data loss. When the user actively leaves the page, if the user does not want to save the draft, the automatically cached draft data will be cleared.

[0051] As an optional implementation, after step S102, obtaining historical editing information from a database and substituting it into at least one form item of a form to be edited, the method further includes:

[0052] Automatically delete historical editing information in the database.

[0053] For example, when creating a new plan, if the user has previously stored historical editing information corresponding to the "Plan" under the "Marketing Goal", a pop-up window will prompt the user, "The system has detected that you have an unfinished plan draft under the current marketing goal (website link). Do you want to continue editing the draft?" If the user clicks OK, the stored plan information will be substituted into the current form item and the plan information in the database will be cleared; if the user clicks Cancel, the plan information in the database will not be substituted and the pop-up window will be closed.

[0054] If the user cancels the editing after filling in some fields, or clicks the header navigation to jump out of the new plan page, a pop-up window will prompt the customer "Your current new website link plan is not yet completed. Save the draft so that you can continue editing the next time you enter. Are you sure to save it?" If the user clicks OK, the currently displayed form editing information will be stored in the database as historical editing information; if the user clicks Cancel, the current page will be exited and the historical editing information will not be stored.

[0055] The present disclosure sets up a variety of schemes for deleting the historical editing information cached in the database. First, when the user voluntarily expresses that he does not need to store the editing information, he can call the delete method to delete the cache. Secondly, when the user successfully creates the material, that is, after the form is created, the system automatically deletes the cached historical editing information. Finally, in order to avoid storing historical editing information indefinitely, a cache expiration time can be pre-configured. For example, the cache expiration period is set to 30 days. The implementation of this scheme is to record the timestamp of the current cache save and set a timer to query the cached historical editing information every day to see if it is expired. If the cache is invalid, the cache is deleted to avoid a large amount of invalid historical editing information occupying storage space.

[0056] The present disclosure also provides a form editing device 300, such as Figure 3 As shown, including:

[0057] The detection module 301 is configured to detect whether there is historical editing information in the database in response to the system entering the form editing process.

[0058] The information acquisition module 302 is configured to acquire the historical editing information from the database and substitute it into at least one form item of the form to be edited if the historical editing information exists in the database.

[0059] The copy recommendation module 303 is configured to generate a recommended copy based on historical editing information and user editing preferences, and push it to the user; the user editing preference is obtained by analyzing the editing information of the user in at least one historical form editing process.

[0060] For example, Figure 2As shown, when the user creates a new "website link" plan, the form includes form items such as budget, promotion region, promotion period, and bidding method. After the user enters the page for creating a new "website link" plan, the detection module 301 first detects whether there is historical editing information. For example, the last edited bidding information is 32 yuan / click. If there is historical bidding information, the information can be directly obtained from the cache without the user having to fill it in again. In this way, each time the user enters the form to edit, the user's last edited state can be restored, and there is no need to fill in the form items again, which reduces duplication of work and improves the efficiency of form editing.

[0061] At the same time, the present disclosure can analyze the historical editing information through the pre-trained artificial intelligence model, and the artificial intelligence model can generate recommended copywriting such as creative copywriting and keywords in combination with the user's editing preferences. Among them, the user's editing preferences can be obtained by analyzing the editing information in any one or more form editing processes in the history, which includes the user's industry background, writing style (such as formal, informal, humorous, rigorous, creative, etc.), language specifications, formatting, brand and audience, interface layout, and other user personal editing habits. For example, for the advertising editing information of a fashion brand, the system may recommend the current popular fashion terms or creative pictures that meet the brand's tone, and push them to the user. The user can choose to adopt and adjust the currently substituted historical editing information, so as to achieve personalized push of copywriting to the user according to the user's editing preferences when restoring the historical editing information, and improve the user experience. When the user makes a choice (adopt or not adopt) on the recommended content, these feedbacks will be used to update the artificial intelligence model. As time accumulates, the accuracy of the recommended copywriting will be gradually improved, and the intelligent storage of historical editing information and the function of intelligently recommending copywriting will be realized.

[0062] As an optional implementation, the form editing device 300 further includes:

[0063] The cache module is configured as a detection module that responds to the system entering the form editing process and detects whether there is historical editing information in the database. In response to the user's storage instruction, the detection module processes the current editing information and the corresponding associated information to obtain the historical editing information and stores it in the database; wherein the type of the current editing information includes at least one of text, picture, and video.

[0064] Specifically, Figure 2As shown, when the user leaves the editing page, a pop-up window will prompt the user whether the current editing information needs to be saved as a draft, so that the user can continue editing the page next time. During the caching process, the current editing information can be serialized and bound to the corresponding associated information and stored in the database as historical editing information. When the historical editing information is subsequently applied, when the user re-enters the interrupted form editing page, first query whether there is unfinished historical editing information. If the historical editing information is found, a pop-up window will prompt the customer whether it needs to be substituted. If necessary, the found form information will be substituted into the form. The core of this solution is to query and obtain unfinished historical editing information and substitute historical editing information, determine whether there is unfinished historical editing information based on the current level and parent level information of the form to be edited, and then deserialize the historical editing information, convert string (string) into object (object), and finally substitute the historical editing information through the setFields (set field) method of form (table).

[0065] As an optional implementation, when the type of the current editing information is a picture or a video, the cache module includes:

[0066] The determination unit is configured to determine the compression rate corresponding to each image area according to the detail level of each image area in the picture or video.

[0067] The compression unit is configured to compress each image region according to a corresponding compression rate and compress the associated information corresponding to the current editing information to obtain the historical editing information.

[0068] Specifically, when caching editing information, if the current editing information is a picture or video, the compression rate can be dynamically adjusted for the picture or video. Through the pre-trained image recognition model, the picture or video is divided into multiple image regions according to the degree of detail, and the compression strategy is dynamically adjusted for different image regions. Specifically, the image segmentation technology can be used to divide the picture or video into multiple image regions, and features (such as texture, edge density, number of corner points, etc.) are extracted for each image region, and the detail richness of each image region is evaluated based on these features. Furthermore, while maintaining the visual quality, a higher compression rate is used for image regions with less details or less visual impact. In this way, personalized compression strategies can be adopted for different types of historical editing information, ensuring that users can obtain high-quality content when restoring historical editing information, and can also greatly save database storage space.

[0069] As an optional implementation, the associated information includes at least one of the following: user identification (user ID); timestamp; page level information; parent level information.

[0070] Specifically, page level information refers to the level of the current page, and the "website link" plan created by the user may include multiple pages. Parent level information refers to the level above the level of the form to be edited. By storing the level information corresponding to the editing information, the granularity of the parent level editing information is used as the basis for storage. For example, new units created under different plans will be saved as different drafts, and when restoring the draft, the parent level editing information will also be restored. This fine-grained cache can provide users with more detailed and accurate historical editing information the next time they enter the form to edit, thereby improving the user experience.

[0071] As an optional implementation, the database is set on the client. The database used to cache historical editing information in the present disclosure can be set on the client. IndexedDB storage can be used. IndexedDB is a browser storage solution that can store massive amounts of data, such as Object, files, blobs, etc. The storage structure is stored according to the Database. Each DB can have different object stores. In addition, we can set relevant specific values ​​for the key (keyword), and we can directly obtain specific editing information through key queries when indexing. It is also possible to perform operations such as adding, deleting, checking, and modifying data. There are two advantages to using client storage to store historical editing information. First, the storage read time is fast. Different from the industry's storage solution on the server side, the historical editing information cached in the present disclosure can achieve millisecond-level recovery during the recovery process, which saves a lot of time compared to pulling cached data from the server. Secondly, the memory stored in indexedDB is large, which occupies hardware memory. Compared with the browser's localStorage (browser saves data), it has the advantage of large storage space.

[0072] As an optional implementation, Figure 4 As shown, the information acquisition module 302 includes:

[0073] The level determination unit 302a is configured to determine the level corresponding to the form to be edited according to the parent level information corresponding to the form to be edited.

[0074] The information acquisition unit 302b is configured to acquire the historical editing information of the corresponding level from the database according to the level corresponding to the form to be edited, and substitute it into at least one form item of the form to be edited.

[0075] Specifically, the storage granularity of the historical editing information disclosed in the present invention is the marketing target level. For example, if the plan information of the website link is stored, the next time only when the website link plan enters the new creation, a pop-up window will prompt whether to apply the draft, and no prompt will be given when entering other marketing target levels. For example, when creating advertising materials on the performance advertising delivery platform, it is necessary to create them layer by layer, and each layer includes marketing goals, plans, units, creativity, and keywords. There are two ways to create a new one. The first is to create a new one in series, that is, first create a marketing goal, then create a plan under the marketing goal, create a unit under the plan, and finally create keywords and creativity under the unit, where "marketing goal" is the parent level of "plan", "plan" is the parent level of "unit", and "unit" is the parent level of "keywords" and "creativity". The second way to create is to directly enter a certain level to create, provided that the parent level has been successfully created. For both methods, we use fine-grained caching, caching to a specific level, and storing based on the granularity of the parent-level material. For example, new "units" under different "plans" will be saved as different drafts, and when restoring the draft, the parent-level material will also be restored. In this way, fine-grained caching can provide customers with more detailed and accurate material information.

[0076] Parent level information refers to the level above the level of the form to be edited, and the current level can be determined by the parent level information. By storing the level information corresponding to the edit information, the granularity of the parent level edit information is used as the basis for storage. For example, new units created under different plans will be saved as different drafts, and when restoring the draft, the parent level edit information will also be restored. This fine-grained cache can provide users with more detailed and accurate historical edit information the next time they enter the form for editing, achieving refined storage and improving user experience.

[0077] As an optional implementation, the form editing device 300 further includes:

[0078] The updating module is configured to automatically cache the latest editing information of the user at preset intervals in response to the system entering the form editing process, so as to update the historical editing information in the database.

[0079] Specifically, in order to prevent data loss when the user closes the browser or the website crashes, the draft data needs to be stored regularly, which can be set to be automatically stored every 5 minutes, and the historical editing information in the database is updated according to the user's current latest editing information. When the user actively leaves the page, if the user does not want to save the draft, the automatically cached draft data will be cleared.

[0080] As an optional implementation, after the information acquisition module 302 acquires the historical editing information from the database and substitutes it into at least one form item of the form to be edited, the following further includes:

[0081] The deletion module is configured to automatically delete the historical editing information in the database.

[0082] For example, when creating a new plan, if the user has previously stored historical editing information corresponding to the "Plan" under the "Marketing Goal", a pop-up window will prompt the user, "The system has detected that you have an unfinished plan draft under the current marketing goal (website link). Do you want to continue editing the draft?" If the user clicks OK, the stored plan information will be substituted into the current form item and the plan information in the database will be cleared; if the user clicks Cancel, the plan information in the database will not be substituted and the pop-up window will be closed.

[0083] If the user cancels the editing after filling in some fields, or clicks the header navigation to jump out of the new plan page, a pop-up window will prompt the customer "Your current new website link plan is not yet completed. Save the draft so that you can continue editing the next time you enter. Are you sure to save it?" If the user clicks OK, the currently displayed form editing information will be stored in the database as historical editing information; if the user clicks Cancel, the current page will be exited and the historical editing information will not be stored.

[0084] In the technical solution disclosed herein, the acquisition, storage and application of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0085] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.

[0086] Figure 5 A schematic block diagram of an example electronic device 500 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.

[0087] like Figure 5As shown, the device 500 includes a computing unit 501, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 502 or a computer program loaded from a storage unit 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the device 500 can also be stored. The computing unit 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.

[0088] A number of components in the device 500 are connected to the I / O interface 505, including: an input unit 506, such as a keyboard, a mouse, etc.; an output unit 507, such as various types of displays, speakers, etc.; a storage unit 508, such as a disk, an optical disk, etc.; and a communication unit 509, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 509 allows the device 500 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0089] The computing unit 501 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 501 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 501 performs the various methods and processes described above, such as the form editing method. For example, in some embodiments, the form editing method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 508. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 500 via ROM 502 and / or communication unit 509. When the computer program is loaded into RAM 503 and executed by the computing unit 501, one or more steps of the form editing method described above may be performed. Alternatively, in other embodiments, the computing unit 501 may be configured to perform the form editing method in any other appropriate manner (e.g., by means of firmware).

[0090] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0091] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0092] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0093] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0094] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0095] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.

[0096] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of this disclosure can be achieved, and this document is not limited here.

[0097] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A form editing method, comprising: In response to the system entering a form editing process, detecting whether there is historical editing information in the database; If the historical editing information exists in the database, obtaining the historical editing information from the database and substituting it into at least one form item of the form to be edited; Generate a recommended copy based on the historical editing information and the user's editing preferences, and push it to the user; The user editing preference is obtained by analyzing the editing information of the user in at least one historical form editing process.

2. The method according to claim 1, wherein: In response to the system entering the form editing process, before detecting whether there is historical editing information in the database, the method further includes: In response to the user's storage instruction, the current editing information and the corresponding associated information are processed to obtain the historical editing information, which is stored in the database; wherein the type of the current editing information includes at least one of text, picture, and video.

3. The method according to claim 2, wherein: When the type of the current editing information is a picture or a video, the processing of the current editing information and the corresponding associated information to obtain the historical editing information includes: Determine the compression rate corresponding to each image area in the picture or video according to the detail level of each image area; Each of the image regions is compressed according to the corresponding compression rate, and the associated information corresponding to the current editing information is compressed to obtain the historical editing information.

4. The method according to claim 2, wherein: The associated information includes at least one of the following: user identification; timestamp; page level information; parent level information.

5. The method according to any one of claims 1 to 4, wherein: The database is set on the client.

6. The method according to claim 1, wherein: The obtaining of the historical editing information from the database and substituting it into at least one form item of the form to be edited comprises: Determine the level corresponding to the form to be edited according to the parent level information corresponding to the form to be edited; According to the level corresponding to the form to be edited, the historical editing information of the corresponding level is obtained from the database, and substituted into at least one form item of the form to be edited.

7. The method according to claim 1, wherein: After the system enters the form editing process, the method further includes: The latest editing information of the user is automatically cached at preset intervals to update the historical editing information in the database.

8. The method according to claim 1, wherein: After obtaining the historical editing information from the database and substituting it into at least one form item of the form to be edited, the method further includes: The historical editing information in the database is automatically deleted.

9. A form editing device, comprising: A detection module, configured to detect whether there is historical editing information in the database in response to the system entering the form editing process; An information acquisition module is configured to acquire the historical editing information from the database and substitute it into at least one form item of the form to be edited if the historical editing information exists in the database; A copy recommendation module is configured to generate a recommended copy based on the historical editing information and the user's editing preference, and push it to the user; The user editing preference is obtained by analyzing the editing information of the user in at least one historical form editing process.

10. The device according to claim 9, wherein: Also includes: The cache module is configured to respond to the detection module entering the form editing process, and before detecting whether there is historical editing information in the database, respond to the user's storage instruction, process the current editing information and the corresponding associated information to obtain the historical editing information, and store it in the database; wherein the type of the current editing information includes at least one of text, picture, and video.

11. The device according to claim 10, wherein: When the type of the current editing information is a picture or a video, the cache module includes: A determination unit, configured to determine a compression rate corresponding to each image region in the picture or video according to a detail level of each image region; The compression unit is configured to compress each of the image regions according to the corresponding compression rate and compress the associated information corresponding to the current editing information to obtain the historical editing information.

12. The device according to claim 10, wherein: The associated information includes at least one of the following: user identification; timestamp; page level information; parent level information.

13. The device according to any one of claims 9 to 12, wherein: The database is set on the client.

14. The device according to claim 9, wherein: The information acquisition module includes: A level determination unit, configured to determine the level corresponding to the form to be edited according to the parent level information corresponding to the form to be edited; The information acquisition unit is configured to acquire the historical editing information of the corresponding level from the database according to the level corresponding to the form to be edited, and substitute it into at least one form item of the form to be edited.

15. The device according to claim 9, wherein: Also includes: The updating module is configured to automatically cache the latest editing information of the user at preset intervals in response to the system entering the form editing process, so as to update the historical editing information in the database.

16. The device according to claim 9, wherein: After the information acquisition module acquires the historical editing information from the database and substitutes it into at least one form item of the form to be edited, the method further includes: A deletion module is configured to automatically delete the historical editing information in the database.

17. An electronic device comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 8.

18. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-8.

19. A computer program product, comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 8.

Citation Information

Cited By

  • Data storage method and device for online document, electronic equipment and storage medium

    CN121029806A