Document creation method and device, computer readable medium and electronic equipment

By obtaining and utilizing the target document identity in the pre-created document list and adjusting its status to generate created documents, it solves the problem of increasing document creation time-consuming problems caused by network failures or delays, and achieves a more efficient and stable document creation process.

CN119829526APending Publication Date: 2025-04-15TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311322244.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-12
Publication Date
2025-04-15

AI Technical Summary

Technical Problem

During the document creation process, network failure or delay causes an increase in data transmission time between the client and server, affecting the convenience of document use.

Method used

By obtaining the list of pre-created documents corresponding to the document creation request, find the matching target document identity from it, and adjust its corresponding pre-created document status from the locked state to the activated state to generate the created document.

Benefits of technology

It reduces the time-consuming document creation, improves document creation efficiency, reduces dependence on the network, and ensures the stability of document creation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119829526A_ABST
    Figure CN119829526A_ABST
Patent Text Reader

Abstract

The invention discloses a document creating method and device, a computer readable medium and electronic equipment, and the document creating method and device can be applied to various scenes including but not limited to cloud technology, artificial intelligence, intelligent traffic, auxiliary driving and the like. The method comprises the steps of obtaining a document creation request, wherein the document creation request is used for indicating to-be-created document information; obtaining a pre-created document list corresponding to the document creation request, wherein the pre-created document list comprises document identifiers corresponding to a plurality of pre-created documents respectively; searching a target document identifier matched with the document creation request from a pre-created document list; and adjusting a document state of a pre-created document corresponding to the target document identifier from a locked state to an activated state to generate a created document corresponding to the document creation request. According to the technical scheme, time consumed for document creation is shortened, document creation efficiency is improved, dependence on a network in the document creation process is reduced, and document creation stability is guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of computer technology, and specifically relates to a document creation method, device, computer-readable medium, and electronic device. Background Art

[0002] Documents are a product that people often use in their daily lives and work. With the development of Internet technology, products that use Internet technology to enable multiple objects to edit the same document at the same time have emerged. This type of document is generally called an online document. Online documents are created through the client on the terminal side, and the data of online documents is usually stored on the server side. In the process of document creation, data transmission between the client and the server is involved. When the network fails or the network delay is relatively large, the data transmission time between the client and the server increases, which will increase the time consumption of document creation, thereby affecting the convenience of document use. Summary of the invention

[0003] The purpose of the present application is to provide a document creation method, device, computer-readable medium and electronic device to reduce the time consumption of document creation.

[0004] Other features and advantages of the present application will become apparent from the following detailed description, or may be learned in part by the practice of the present application.

[0005] According to one aspect of an embodiment of the present application, a method for creating a document is provided, comprising:

[0006] Obtaining a document creation request, wherein the document creation request is used to indicate document information to be created;

[0007] Acquire a pre-created document list corresponding to the document creation request, wherein the pre-created document list includes document identifiers corresponding to a plurality of pre-created documents respectively;

[0008] Searching the pre-created document list for a target document identifier that matches the document creation request;

[0009] The document state of the pre-created document corresponding to the target document identifier is adjusted from a locked state to an activated state to generate a created document corresponding to the document creation request.

[0010] According to one aspect of an embodiment of the present application, a document creation device is provided, including:

[0011] A request receiving module, used for obtaining a document creation request, wherein the document creation request is used for indicating document information to be created;

[0012] A list acquisition module, used to acquire a pre-created document list corresponding to the document creation request, wherein the pre-created document list includes document identifiers corresponding to a plurality of pre-created documents respectively;

[0013] An identification search module, used to search the pre-created document list for a target document identification that matches the document creation request;

[0014] The state adjustment module is used to adjust the document state of the pre-created document corresponding to the target document identifier from a locked state to an activated state, so as to generate a created document corresponding to the document creation request.

[0015] In one embodiment of the present application, the device further includes:

[0016] A pre-created list request module is used to obtain a pre-created document list acquisition request, and obtain multiple candidate document lists corresponding to the terminal device identifier according to the terminal device identifier in the pre-created document list acquisition request; wherein one candidate document list corresponds to one document type;

[0017] A document identification number detection module, configured to create a pre-created document with a document status of a locked state according to a second preset threshold value if the number of document identifications with a document status of a locked state in the candidate document list is less than a first preset threshold value corresponding to the document type to which the candidate document list belongs;

[0018] The first list generating module is used to update the candidate document list according to the document identifier corresponding to the pre-created document whose document status is locked, and use the updated candidate document list as the pre-created document list.

[0019] In one embodiment of the present application, the device further includes:

[0020] A document version detection module, configured to detect the document versions associated with the document identifiers in the candidate document list if the number of document identifiers in the candidate document list whose document status is locked is greater than a first preset threshold;

[0021] The second list generating module is used to delete the document identifier whose associated document version does not match the specified document version from the candidate document list if there is a document identifier in the candidate document list whose associated document version does not match the specified document version, and use the candidate document list after deleting the document identifier as the pre-created document list.

[0022] In one embodiment of the present application, the device further includes:

[0023] The pre-creation request generation module is used to generate a pre-creation document list acquisition request when detecting that the document creation client is started; or: when information associated with the document is detected in the current environment of the document creation client account, generate a pre-creation document list acquisition request.

[0024] In one embodiment of the present application, the list acquisition module is specifically used to:

[0025] According to the document type to be created indicated by the document creation request, a pre-created document list corresponding to the document type to be created is acquired from a plurality of pre-created document lists.

[0026] In one embodiment of the present application, the device further includes:

[0027] A target data acquisition module, used to acquire target document data corresponding to the created document from the local storage of the terminal device;

[0028] The first creation page generation module is used to render according to the target document data to generate a creation page for the created document.

[0029] In one embodiment of the present application, the target data acquisition module is specifically used to:

[0030] Obtain document page rendering data corresponding to the created document;

[0031] Obtaining empty document data corresponding to the document type to which the created document belongs;

[0032] Generate target document data corresponding to the created document according to the document page rendering data and the empty document data.

[0033] In one embodiment of the present application, the device further includes:

[0034] The second creation page generation module is used to obtain a pre-generated empty document page that belongs to the same document type as the created document; and generate a creation page for the created document according to the empty document page.

[0035] In one embodiment of the present application, the device further includes:

[0036] The information updating module is used to update the document description information of the pre-created document corresponding to the target document identifier, wherein the document description information at least includes the document creation time.

[0037] In one embodiment of the present application, the device further includes:

[0038] The event generation module is used to generate a document creation event indicating that the document corresponding to the document creation request has been successfully created; and update the document log according to the document creation event.

[0039] According to one aspect of an embodiment of the present application, a computer-readable medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the document creation method in the above technical solution is implemented.

[0040] According to one aspect of an embodiment of the present application, an electronic device is provided, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor executes the executable instructions so that the electronic device executes a document creation method as in the above technical solution.

[0041] According to one aspect of the embodiments of the present application, a computer program product or a computer program is provided, the computer program product or the computer program including computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the document creation method in the above technical solution.

[0042] In the technical solution provided by the embodiment of the present application, by obtaining a list of pre-created documents corresponding to a document creation request, the list of pre-created documents includes document identifiers corresponding to multiple pre-created documents, and searching the list of pre-created documents for a target document identifier that matches the document creation request, and then adjusting the document state of the pre-created document corresponding to the target document identifier from a locked state to an activated state, so as to generate a created document corresponding to the document creation request. In this process, it is not necessary to execute the various steps of creating a new document when a document creation request is detected, but to change the pre-created document to a created document by adjusting the document state of the pre-created document, thereby reducing the time consumption of document creation and improving the efficiency of document creation. In addition, since it is not necessary to transmit too much document data through the network when creating a document, the dependence of the document creation process on the network is reduced, further improving the efficiency of document creation and ensuring the stability of document creation.

[0043] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present application, and together with the specification are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0045] Figure 1 The exemplary system architecture block diagram applying the technical solution of the present application is schematically shown.

[0046] Figure 2A A schematic diagram schematically shows an application scenario provided by an embodiment of the present application.

[0047] Figure 2B A schematic diagram of a created document provided by an embodiment of the present application is schematically shown.

[0048] Figure 3 The flowchart of a document creation method provided by an embodiment of the present application is schematically shown.

[0049] Figure 4 The flowchart of a document creation method provided by an embodiment of the present application is schematically shown.

[0050] Figure 5 The following is a schematic diagram showing a process of generating a pre-created document list according to an embodiment of the present application.

[0051] Figure 6 The flowchart of a document creation method provided by an embodiment of the present application is schematically shown.

[0052] Figure 7 The following is a schematic diagram of a document creation process provided by an embodiment of the present application.

[0053] Figure 8 The structural block diagram of the document creation device provided in an embodiment of the present application is schematically shown.

[0054] Fig. 9 The structure block diagram of a computer system suitable for implementing an electronic device of an embodiment of the present application is schematically shown. DETAILED DESCRIPTION

[0055] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this application will be more comprehensive and complete and fully convey the concept of the example embodiments to those skilled in the art.

[0056] In addition, described feature, structure or characteristic can be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present application. However, those skilled in the art will appreciate that the technical scheme of the present application can be put into practice without one or more of the specific details, or other methods, components, devices, steps, etc. can be adopted. In other cases, known methods, devices, realizations or operations are not shown or described in detail to avoid blurring the various aspects of the application.

[0057] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0058] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.

[0059] It is understandable that in the specific implementation of this application, related data such as object information is involved. When the above embodiments of this application are applied to specific products or technologies, it is necessary to obtain the permission or consent of the object, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.

[0060] Figure 1 The exemplary system architecture block diagram applying the technical solution of the present application is schematically shown.

[0061] like Figure 1 As shown, the system architecture 100 may include a terminal device 110, a network 120, and a server 130. The terminal device 110 may include a smart phone, a tablet computer, a laptop computer, an intelligent voice interaction device, a smart home appliance, a vehicle terminal, an aircraft, etc. The server 130 may be an independent physical server, or a server cluster or a distributed system composed of multiple physical servers, or a cloud server providing cloud computing services. The network 120 may be a communication medium of various connection types that can provide a communication link between the terminal device 110 and the server 130, for example, a wired communication link or a wireless communication link.

[0062] According to implementation requirements, the system architecture in the embodiment of the present application may have any number of terminal devices, networks and servers. For example, the server 130 may be a server group composed of multiple server devices.

[0063] The embodiments of the present invention can be applied to various scenarios, including but not limited to cloud technology, artificial intelligence, smart transportation, assisted driving, etc. The technical solution provided in the embodiments of the present application can be applied to the terminal device 110, or can be implemented by the terminal device 110 and the server 130. For example, the terminal device 110 is configured with an application client that can create an online document, and the object performs the online document creation operation through the application client. Exemplary, Figure 2A The following is a schematic diagram of an application scenario provided by an embodiment of the present application. Figure 2A As shown, the object performs the operation of creating an online document by clicking any of the options in the document creation list, such as "New Document", "New Table", "New Slide" and "New Collection Table". It should be noted that the "document" in "New Document" is generally a document that processes text content (and may also include graphics, tables and other information), and is a type of "document" created in this application. When the object clicks any of the aforementioned options, a document creation request is generated, and the document creation request indicates information about the document to be created. For example, the document creation request indicates which specific type of document to be created is. When the application client detects the document creation request, it obtains a pre-created document list corresponding to the document creation request, and the pre-created document list includes document identifiers corresponding to multiple pre-created documents. Next, the application client searches the pre-created document list for a target document identifier that matches the document creation request based on the document creation request, and then adjusts the document state of the pre-created document corresponding to the target document identifier from a locked state to an activated state to generate a created document corresponding to the document creation request. Exemplarily, the object in Figure 2A Click "New Document" in the document, and the following can be quickly generated through the technical solution of this application: Figure 2B The created document is shown. Although the pre-created document is a pre-created document, it is in a locked state when no object is using it. When the object needs to create an online document, the pre-created document is changed from a locked state to an activated state, so that the object can immediately use the pre-created document. Since the document is pre-created, when the object creates the document, the application client no longer needs to transmit data with the server through the network, thereby reducing the document creation process’s dependence on the network and improving the document creation efficiency. It should be noted that in this application, the server and the server have the same meaning. The server is the name relative to the client, and the server is the name relative to the terminal device.

[0064] The document creation method provided by this application is described in detail below in conjunction with specific implementation methods.

[0065] Figure 3The flowchart of the document creation method provided by an embodiment of the present application is schematically shown. The method can be implemented by the document creation device provided by any embodiment of the present application. The device can be configured in a terminal device or a server. The specific implementation process of the method will be described below with the device as the execution subject. As shown in Figure 2, the document creation method provided by the embodiment of the present application includes steps 310 to 340, which are as follows:

[0066] Step 310: Obtain a document creation request, where the document creation request is used to indicate document information to be created.

[0067] Specifically, a document creation request is generated when an object creates a new online document. The document creation request is used to indicate the document information to be created, such as the type of document to be created, such as a text document, a table document, a collection table document, a slide document, etc., as shown in FIG. 2 .

[0068] Step 320: Obtain a pre-created document list corresponding to the document creation request, wherein the pre-created document list includes document identifiers corresponding to a plurality of pre-created documents.

[0069] Specifically, the pre-created document list includes document identifiers of multiple pre-created documents. One document identifier corresponds to one pre-created document, so the pre-created document list can also be regarded as a list of pre-created documents.

[0070] In one embodiment of the present application, different document types correspond to different documents, and therefore, the document creation device may include multiple pre-created document lists. For example, the document creation device may include a pre-created text document list, a pre-created table document list, a pre-created collection table document list, and a pre-created slide document list. Then, when obtaining a pre-created document list corresponding to a document creation request, the document creation device obtains a pre-created document list corresponding to the document type from the multiple pre-created document lists included therein according to the document type indicated by the document creation request. For example, if the document creation request indicates the creation of a text-type document, a pre-created text document list is obtained; if the document creation request indicates the creation of a slide-type document, a pre-created slide document list is obtained.

[0071] Step 330: Search the pre-created document list for a target document identifier that matches the document creation request.

[0072] Specifically, after obtaining the pre-created document list, a document identifier is searched therein as a target document identifier, and the target document identifier is assigned to the document creation request. Then, the document to be created by the subsequent document creation request is the document corresponding to the target document identifier.

[0073] In one embodiment of the present application, when a pre-created document is not in use, it is in a locked state, that is, it is unavailable or uneditable. For the object, the pre-created document at this time is invisible. When the pre-created document has been used, the document status will change to an activated state, which is an available or editable state. For the object, the pre-created document in this state is visible. Each document identifier in the pre-created document list is associated with a document status, which is used to record whether the corresponding pre-created document is in a locked state or an activated state. When an object creates a document, before creation, the document should be in an uneditable state. Therefore, when searching for a target document identifier, a document identifier with a document status of a locked state can be searched in the pre-created document list as the target document identifier.

[0074] Step 340: Adjust the document state of the pre-created document corresponding to the target document identifier from a locked state to an activated state to generate a created document corresponding to the document creation request.

[0075] Specifically, the document state of the pre-created document corresponding to the target document identifier is adjusted from a locked state to an activated state, indicating that the pre-created document can be used currently, which is equivalent to generating a created document corresponding to the document creation request.

[0076] In the technical solution provided by the embodiment of the present application, by obtaining a list of pre-created documents corresponding to a document creation request, the list of pre-created documents includes document identifiers corresponding to multiple pre-created documents, and searching the list of pre-created documents for a target document identifier that matches the document creation request, and then adjusting the document state of the pre-created document corresponding to the target document identifier from a locked state to an activated state, so as to generate a created document corresponding to the document creation request. In this process, it is not necessary to execute the various steps of creating a new document when a document creation request is detected, but to change the pre-created document to a created document by adjusting the document state of the pre-created document, thereby reducing the time consumption of document creation and improving the efficiency of document creation. In addition, since it is not necessary to transmit too much document data through the network when creating a document, the dependence of the document creation process on the network is reduced, further improving the efficiency of document creation and ensuring the stability of document creation.

[0077] Figure 4 The flowchart of the document creation method provided by one embodiment of the present application is schematically shown. This embodiment is a further refinement of the above embodiment. Figure 4 As shown, the document creation method provided in the embodiment of the present application includes steps 401 to 409, which are as follows:

[0078] Step 401: Obtain a pre-created document list acquisition request, and acquire multiple candidate document lists corresponding to the terminal device identifier according to the terminal device identifier in the pre-created document list acquisition request; wherein one candidate document list corresponds to one document type.

[0079] Specifically, the document creation device obtains the pre-created document list through a pre-created document list acquisition request. However, in the process of obtaining the pre-created document list, the candidate document list is first obtained, and the pre-created document list is obtained after the subsequent documents are processed. The candidate document list is also equivalent to a pre-created document list, which is a pre-created document list that is uncertain whether it can be used directly. The candidate document list corresponds to the pre-created document list one by one, that is, one candidate document list corresponds to one pre-created document list, and then the document type of the candidate document list is the same as the document type of the pre-created document list.

[0080] The creation of a document is generally performed through a document creation client (which can be referred to as the client for short), and the document creation client is usually configured on a terminal device. In this embodiment, different terminal devices correspond to different candidate document lists. Therefore, when obtaining the candidate document list, it is necessary to obtain the corresponding candidate document list based on the terminal device identifier in the pre-created document list acquisition request, and then generate the corresponding pre-created document list after processing the candidate document list.

[0081] In one embodiment of the present application, a pre-created document list acquisition request can be generated by a document creation client on a terminal device, and the client sends the pre-created document list acquisition request to a server. The server then acquires multiple candidate document lists corresponding to the terminal device identifier in the pre-created document list acquisition request, and processes the candidate document lists in subsequent steps to generate a pre-created document list.

[0082] In one embodiment of the present application, when it is detected that the document creation client is started, a request to obtain the pre-created document list is generated. When the document creation client is started, it indicates that the object has a high probability of creating a new document. At this time, a request to obtain the pre-created document list is generated, and the pre-created document list can be obtained in advance. When a new document is created later, the pre-created document list can be used immediately without waiting for a document to be created before obtaining the pre-created document request, which can improve the efficiency of document creation.

[0083] In one embodiment of the present application, when information associated with a document is detected in the current environment of an account of a document creation client, a request to obtain a list of pre-created documents is generated. The current environment of an account of a document creation client refers to the current environment of the account used by the object in the document creation client, for example, the account is in a chat environment, a news browsing environment, an email sending and receiving environment, etc. When information associated with a document is detected in the current environment of the account, it means that the current account has a large number of document creation operations to be performed, and then a request to obtain a list of pre-created documents is generated at this time, so as to obtain a list of pre-created documents before creating the document. For example, when the chat environment where the account is located detects a document creation link sent by other accounts, a request to obtain a list of pre-created documents is generated.

[0084] Step 402: If the number of document identifiers in the candidate document list whose document status is locked is less than a first preset threshold corresponding to the document type to which the candidate document list belongs, a pre-created document in the locked state is created according to a second preset threshold.

[0085] Specifically, after obtaining the candidate document list, the document status corresponding to each document identifier in the candidate document list is detected, and the number of document identifiers with a locked status is counted. When the number of document identifiers is less than the first preset threshold corresponding to the document type to which the candidate document list belongs, it indicates that there are fewer document identifiers in the candidate document list that can be used to provide for subsequent creation of new documents, and may not be able to meet the document identifier usage requirements for subsequent creation of new documents. Therefore, it is necessary to add some new document identifiers, that is, to create some pre-created documents. The document status of such newly created pre-created documents is a locked state.

[0086] In one embodiment of the present application, a first preset threshold is used to limit the minimum number of available document identifiers in a pre-created document list corresponding to a document type when creating a document. The document identifiers available when creating a document are document identifiers whose document status is a locked state. The second preset threshold is used to limit the number of available document identifiers included in the pre-created document list when generating a pre-created document list corresponding to a document type. For example, the first preset threshold is 1, and the second preset threshold is 5. When the number of document identifiers whose document status is a locked state is less than 1, 5 new pre-created documents whose document status is a locked state are created. In some cases, the first preset threshold may be equal to the second preset threshold. For example, the first preset threshold and the second preset threshold are both 1. When the number of document identifiers whose document status is a locked state is less than 1, 1 new pre-created document whose document status is a locked state is created.

[0087] Step 403: Update the candidate document list according to the document identifier corresponding to the pre-created document whose document status is locked, and use the updated candidate document list as the pre-created document list.

[0088] Specifically, after a new pre-created document is created, the document identifier and document status corresponding to the newly created pre-created document are added to the candidate document list to update the candidate document list. The updated candidate document list is the pre-created document list.

[0089] In one embodiment of the present application, after generating a list of pre-created documents, the document version associated with the document identifier in the locked state in the list of pre-created documents can be detected. If there is a document identifier in the created document list whose associated document version does not match the specified document version, the document identifier and the corresponding pre-created document are deleted, and at this time, the pre-created document and its document identifier whose document version matches the specified document version can continue to be created. Exemplarily, the specified document version is the latest document version generated by the current document creation client, such as version 2.0. If the document version associated with a document identifier is version 1.8, it is necessary to delete the document identifier and its corresponding pre-created document, and re-create a pre-created document and its document identifier whose document version is version 2.0.

[0090] Step 404: If the number of document identifiers in the candidate document list whose document status is locked is greater than a first preset threshold, then detect the document versions associated with the document identifiers in the candidate document list.

[0091] Specifically, when the number of document identifiers in the candidate document list whose document status is locked is greater than a first preset threshold, the document version associated with the document identifier in the candidate document list is detected to determine whether the document version associated with the document identifier matches the specified document version.

[0092] Step 405: If there is a document identifier in the candidate document list whose associated document version does not match the specified document version, the document identifier whose associated document version does not match the specified document version is deleted from the candidate document list, and the candidate document list after deleting the document identifier is used as the pre-created document list.

[0093] Specifically, when there is a document identifier in the candidate document list whose associated document version does not match the specified document version, it means that the version of the pre-created document corresponding to the document identifier is abnormal. At this time, the document version of the pre-created document should be updated to match the specified document version. The document version can be updated by deleting the document identifier of the old document version (i.e., the document version does not match the specified document version) from the candidate document list, adding the document identifier corresponding to the specified document version to the candidate document list, and the updated candidate document list is the pre-created document list. Of course, after deleting the document identifier of the old document version, the document identifier corresponding to the specified document version can be not added, and the candidate document list after deleting the document identifier can be directly used as the pre-created document list.

[0094] In one embodiment of the present application, after deleting document identifiers whose document versions do not match the specified document version from the candidate document list, the number of document identifiers in a locked state in the candidate document list can be detected. If the number of document identifiers in a locked state at this time is less than a first preset threshold, a pre-created document with a document status of a locked state can be created according to a second preset threshold, and a pre-created document list can be generated according to the document identifier corresponding to the pre-created document. For details, please refer to step 402, which will not be repeated here.

[0095] The generation process of the pre-created document provided in the embodiment of the present application can be implemented by the server and the terminal device together. For example, Figure 5 The following is a schematic diagram showing a process for generating a pre-created document list according to an embodiment of the present application. Figure 5 As shown, the generation process of the pre-created document is implemented by the terminal device 110 and the server 130. The terminal device 110 includes a client and a web page (web), and the server 130 includes a pre-created server (xmprecreateservice), a disk file server (xmdiskfilesvr) and a storage server (tablekv). The generation process of the pre-created document includes the following process:

[0096] The client or web page initiates a request to obtain a list of pre-created documents to the pre-creation server, that is, to fetch the list of pre-created documents (pre-creation list fetch), and the request includes a terminal device identifier, such as a device ID. After receiving the request to obtain a list of pre-created documents, the pre-creation server requests the pre-creation list interface in the disk file server (requesting the PreCreateList interface). The pre-creation list interface in the disk file server reads the candidate document list corresponding to the terminal device identifier from the storage server (reading PreCreateDocList), and returns the candidate document list to the disk file server, and the disk file server returns the candidate document list to the pre-creation server. After the pre-creation server obtains the candidate document list, it detects whether the number of document identifiers in the locked state in the candidate document list is greater than the first preset threshold, and whether the document version matches the specified document version. If the number of document identifiers in the locked state is less than the first preset threshold, it means that the number of document identifiers in the locked state is insufficient, or the number of pre-created documents is insufficient. When the number of document identifiers in the locked state is insufficient or the version does not match, the pre-creation server requests the pre-creation interface in the disk file server (requesting the PreCreate interface) to instruct the disk file server to add or delete pre-created documents. The disk file server processes the document description information (docinfo, fileinfo, and scode), creates the document entity, and generates a pre-created document. docinfo and fileinfo include the basic information of the pre-created document, such as the creation time, document status, and document visibility. scode is used to describe the sharing status of the document, that is, whether the document can be used for sharing. The disk file server inserts the generated pre-created document into the pre-created document list of the storage server, and feeds back the generated pre-created document to the pre-creation server, which detects whether its grayscale version matches. The grayscale version refers to the last version before the official version of the document is released. If the grayscale version of the pre-created document does not match, the corresponding document identifier (docid) in the candidate document list is deleted, and the pre-created list deletion interface in the disk file server is requested (request PreCreateListDel interface) to instruct the disk file server to update the pre-created document list in the storage server (update PreCreateDocList). At the same time, the pre-creation server feeds back the candidate document list after deleting the document identifier in the grayscale version to the client or web page, so that the client or web page can obtain the pre-created document list corresponding to each document type (category), which includes the document identifier (docid) and the document data storage address (url).

[0097] Step 406: Obtain a document creation request, where the document creation request is used to indicate document information to be created.

[0098] Step 407: Obtain a pre-created document list corresponding to the document type to be created from multiple pre-created document lists according to the document type to be created indicated by the document creation request.

[0099] Step 408: Search the pre-created document list for a document identifier whose associated document status is a locked status as a target document identifier that matches the document creation request.

[0100] Step 409: Adjust the document state of the pre-created document corresponding to the target document identifier from a locked state to an activated state to generate a created document corresponding to the document creation request.

[0101] For steps 406 to 409, reference may be made to the relevant descriptions of steps 210 to 240 in the aforementioned embodiment, which will not be repeated here.

[0102] In the technical solution provided by the embodiment of the present application, by constructing a pre-created document list before creating a document, the pre-created document list can be directly used during the document creation process, which reduces the time consumption of obtaining the pre-created document list during the document creation process, thereby improving the efficiency of document creation. At the same time, by detecting the number of document identifiers and document versions in a locked state in the candidate document list, it is effectively guaranteed that there are sufficient available document identifiers and the correctness of the pre-created document versions in the pre-created document list, further improving the efficiency and accuracy of document creation.

[0103] Figure 6 The flowchart of the document creation method provided by one embodiment of the present application is schematically shown. This embodiment is a further refinement of the above embodiment. Figure 6 As shown, the document creation method provided in the embodiment of the present application includes steps 610 to 670, which are as follows:

[0104] Step 610: Obtain a document creation request, where the document creation request is used to indicate document information to be created.

[0105] Step 620: Obtain a pre-created document list corresponding to the document creation request, wherein the pre-created document list includes document identifiers corresponding to a plurality of pre-created documents.

[0106] Step 630: Search the pre-created document list for a target document identifier that matches the document creation request.

[0107] Step 640: Adjust the document state of the pre-created document corresponding to the target document identifier from a locked state to an activated state to generate a created document corresponding to the document creation request.

[0108] Steps 610 to 640 are the same as steps 210 to 240 in the aforementioned embodiment and are not described in detail herein.

[0109] In one embodiment of the present application, the pre-created document list is stored not only locally on the terminal device but also on the server. In order to keep the local data of the terminal device and the server consistent, after adjusting the document status of the pre-created document in the terminal device, it is necessary to initiate status adjustment information to the server to instruct the server to synchronously adjust the document status in the pre-created document list stored in it.

[0110] Step 650: Update the document description information of the pre-created document corresponding to the target document identifier, where the document description information at least includes the document creation time.

[0111] Specifically, after adjusting the document status of the pre-created document corresponding to the target document identifier, it is also necessary to simultaneously update the document description information corresponding to the pre-created document. The document description information includes at least the document creation time, and may also include the document's visible status, sharing status, editing status, etc. The document description information of the pre-created document is related to the document status of the pre-created document. When the pre-created document is in a locked state, the corresponding document description information is the description information of the pre-created document that created the locked state; when the pre-created document is in an activated state, the pre-created document has been changed to a created document, and the corresponding document description information should be updated to the description information of the created document, or the description information of the pre-created document in an activated state. For example, when the pre-created document is just created, it is in a locked state, and the corresponding document creation time is the time of the pre-created document; when the pre-created document is changed to a created document, the document creation time should be updated to the creation time of the created document, which is equivalent to the time when the pre-created document is adjusted from a locked state to an activated state. For another example, when a pre-created document is created, it is in an invisible, non-shareable, and non-editable state. When the pre-created document is activated, the corresponding document description information is updated to a visible, shareable, and editable state.

[0112] Step 660: Obtain target document data corresponding to the created document from the local storage of the terminal device.

[0113] Specifically, the target document data refers to the data required from document creation to opening. From a visual perspective, the target document data refers to the data required from the time when an object is clicked to create a new document until the page where the document is created appears. In this embodiment, the terminal device stores the target document data corresponding to each pre-created document locally in advance. When creating a document, the target document data corresponding to the pre-created document stored locally is the target document data corresponding to the created document. Then, the target document data can be directly obtained from the local storage of the terminal device without requesting the corresponding target document data from the server through the network, thereby reducing the dependence of the document creation process on the network, reducing the time consumption of data transmission, and improving the efficiency of document creation.

[0114] In one embodiment of the present application, the target document data corresponding to each pre-created document is stored locally using offline package technology. Offline package technology can download the target document data (such as HTML / JS / CSS resources) required by the object in the process of opening the online document in the form of a file list to the local terminal device before the object uses the online document page. When the object actually opens the online document (i.e., creates the document), the client reads the corresponding target document data from the local storage of the terminal device in response. Compared with opening the online document page through the network, opening the page through the offline package does not rely on the network, can significantly improve the opening speed, and also improve the efficiency of document creation.

[0115] In one embodiment of the present application, document creation generally refers to creating a new document. This new document is usually a blank document, referred to as an empty document. When the same type of empty document is created, the creation page opened is usually the same. Therefore, the creation page contents of different types of empty documents when they are created can be enumerated. For example, the creation page of a text document displays text editing prompt information (such as Figure 2B As shown in the figure, the creation page of the table document displays blank table information. In order to speed up the opening of the newly created document, when acquiring the target document data, this embodiment first acquires the document page rendering data corresponding to the created document; then acquires the empty document data corresponding to the document type to which the created document belongs; and finally generates the target document data corresponding to the created document according to the document page rendering data and the empty document data.

[0116] Specifically, the document page rendering data can be pre-stored in the local storage of the terminal device using offline package technology. The empty document data can be downloaded by the client to the local of the terminal device in advance. The empty document data is generally an HTML (Hyper Text Markup Language) fragment. After obtaining these two types of data, the empty document data is dynamically filled into the document page rendering data, that is, the HTML fragment is filled into the HTML file of the offline package to form the target document data. This method of downloading the empty document data in advance and then filling it into the offline package file is also called the second viewing technology.

[0117] Step 670: Render according to the target document data to generate a creation page for the created document.

[0118] Specifically, by rendering and displaying according to the target document data, a creation page of the created document can be generated. The document creation process actually includes a creation process and an opening process. The creation process is closely related to the background program of the client, and the opening process is oriented to the object of creating the document. For the object of creating the document, a complete document creation process is realized from selecting document creation to opening the document. Exemplarily, the object clicks "New Document" in the document creation client shown in Figure 2 to generate a document creation request. The client loads the target document data required to create the document according to the technical solution of the present application and generates a creation page for the created document. The words "Please add a title" may be displayed on the creation page.

[0119] In one embodiment of the present application, a document creation device can improve the opening speed of a created document by preloading a blank document page, specifically including: obtaining a pre-generated blank document page of the same document type as the created document; generating a creation page of the created document based on the blank document page. Since the created document generated according to the document creation request is usually an empty document, the document creation device can pre-load an empty document page. When the object creates a document, the pre-loaded empty document page is reused as the creation page of the created document. Similarly, there is no need to rely on the network for document data transmission, which can improve the efficiency of opening the document.

[0120] In the technical solution provided in the embodiment of the present application, the target document data corresponding to the created document is obtained from the local storage of the terminal device; and then rendering is performed according to the target document data to generate a creation page for the created document, so that the target document data required for the document opening process when the document is created does not need to rely on the network to be obtained from the server, thereby reducing the dependence on the network when creating the document and improving the efficiency of document creation.

[0121] In one embodiment of the present application, after creating a document, the document creation device also generates a document creation event for indicating that the document corresponding to the document creation request has been successfully created; and then updates the document log according to the document creation event. On the document creation client, the document creation event can be used to prompt that the object document has been successfully created. For example, the document creation event can be reflected as "xxx successfully created a text (or slide, collection sheet, table, etc.) document". The document log can be used to record relevant information about the document creation, such as the object that created the document (reflected as an account number), time, whether the creation was successful, etc., so as to facilitate subsequent query of the document creation information through the log.

[0122] For example, Figure 7 The following is a schematic diagram of a document creation process provided by an embodiment of the present application. Figure 7 As shown, this embodiment is implemented by the terminal device 110 and the server 130. The terminal device 110 includes a client and a web page (web), and the server 130 includes a pre-creation server (xmprecreateservice), a disk file server (xmdiskfilesvr) and a storage server (tablekv). The document creation process includes the following process:

[0123] When the client or web page creates a document, it adjusts a document identifier in the pre-created document list from a locked state to an activated state, that is, marks the document identifier as a used state, and the client or web page sends this information to the pre-creation server. The pre-creation server requests the pre-creation use interface (request PreCreateUse interface) in the disk file server to instruct the server to update the file status in the pre-created file list. After receiving the request from the pre-creation server, the disk file server initiates an instruction to update the pre-created document list (update PreCreateDocList) to the storage server to adjust the document status of the corresponding document identifier in the pre-created document list of the storage server from a locked state to an activated state. At the same time, the disk file server updates the document description information (updates docinfo, fileinfo, scode and creation time). Next, the disk file server generates a document creation event and sends the document creation event to the disk file server of the management end (push create event). The disk file server of the management end records the document creation event and updates the document log (push, management end log, etc.). At the same time, the disk file server feeds back the information that the document status has been successfully adjusted to the creation server, and the pre-creation server then feeds back the information to the client or web page.

[0124] It should be noted that although the steps of the method in the present application are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.

[0125] The following introduces an apparatus embodiment of the present application, which can be used to execute the document creation method in the above-mentioned embodiment of the present application. Figure 8 The structure block diagram of the document creation device provided in the embodiment of the present application is schematically shown. Figure 8 As shown, the document creation device provided in the embodiment of the present application includes:

[0126] A request receiving module 810, used to obtain a document creation request, where the document creation request is used to indicate document information to be created;

[0127] A list acquisition module 820, configured to acquire a pre-created document list corresponding to the document creation request, wherein the pre-created document list includes document identifiers corresponding to a plurality of pre-created documents respectively;

[0128] An identifier search module 830 is used to search the pre-created document list for a target document identifier that matches the document creation request;

[0129] The state adjustment module 840 is used to adjust the document state of the pre-created document corresponding to the target document identifier from a locked state to an activated state, so as to generate a created document corresponding to the document creation request.

[0130] In one embodiment of the present application, the device further includes:

[0131] A pre-created list request module is used to obtain a pre-created document list acquisition request, and obtain multiple candidate document lists corresponding to the terminal device identifier according to the terminal device identifier in the pre-created document list acquisition request; wherein one candidate document list corresponds to one document type;

[0132] A document identification number detection module, configured to create a pre-created document with a document status of a locked state according to a second preset threshold value if the number of document identifications with a document status of a locked state in the candidate document list is less than a first preset threshold value corresponding to the document type to which the candidate document list belongs;

[0133] The first list generating module is used to update the candidate document list according to the document identifier corresponding to the pre-created document whose document status is locked, and use the updated candidate document list as the pre-created document list.

[0134] In one embodiment of the present application, the device further includes:

[0135] A document version detection module, configured to detect the document versions associated with the document identifiers in the candidate document list if the number of document identifiers in the candidate document list whose document status is locked is greater than a first preset threshold;

[0136] The second list generating module is used to delete the document identifier whose associated document version does not match the specified document version from the candidate document list if there is a document identifier in the candidate document list whose associated document version does not match the specified document version, and use the candidate document list after deleting the document identifier as the pre-created document list.

[0137] In one embodiment of the present application, the device further includes:

[0138] The pre-creation request generation module is used to generate a pre-creation document list acquisition request when detecting that the document creation client is started; or: when information associated with the document is detected in the current environment of the document creation client account, generate a pre-creation document list acquisition request.

[0139] In one embodiment of the present application, the list acquisition module 820 is specifically used to:

[0140] According to the document type to be created indicated by the document creation request, a pre-created document list corresponding to the document type to be created is acquired from a plurality of pre-created document lists.

[0141] In one embodiment of the present application, the device further includes:

[0142] A target data acquisition module, used to acquire target document data corresponding to the created document from the local storage of the terminal device;

[0143] The first creation page generation module is used to render according to the target document data to generate a creation page for the created document.

[0144] In one embodiment of the present application, the target data acquisition module is specifically used to:

[0145] Obtain document page rendering data corresponding to the created document;

[0146] Obtaining empty document data corresponding to the document type to which the created document belongs;

[0147] Generate target document data corresponding to the created document according to the document page rendering data and the empty document data.

[0148] In one embodiment of the present application, the device further includes:

[0149] The second creation page generation module is used to obtain a pre-generated empty document page that belongs to the same document type as the created document; and generate a creation page for the created document according to the empty document page.

[0150] In one embodiment of the present application, the device further includes:

[0151] The information updating module is used to update the document description information of the pre-created document corresponding to the target document identifier, wherein the document description information at least includes the document creation time.

[0152] In one embodiment of the present application, the device further includes:

[0153] The event generation module is used to generate a document creation event indicating that the document corresponding to the document creation request has been successfully created; and update the document log according to the document creation event.

[0154] The specific details of the document creation device provided in each embodiment of the present application have been described in detail in the corresponding method embodiment and will not be repeated here.

[0155] Fig. 9 The structure block diagram of a computer system for implementing an electronic device according to an embodiment of the present application is schematically shown.

[0156] It should be noted that Fig. 9 The computer system 900 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0157] like Fig. 9 As shown, the computer system 900 includes a central processing unit 901 (CPU), which can perform various appropriate actions and processes according to the program stored in the read-only memory 902 (ROM) or the program loaded from the storage part 908 to the random access memory 903 (RAM). Various programs and data required for system operation are also stored in the random access memory 903. The central processing unit 901, the read-only memory 902 and the random access memory 903 are connected to each other through a bus 904. An input / output interface 905 (Input / Output interface, i.e., I / O interface) is also connected to the bus 904.

[0158] The following components are connected to the input / output interface 905: an input section 906 including a keyboard, a mouse, etc.; an output section 907 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker; a storage section 908 including a hard disk, etc.; and a communication section 909 including a network interface card such as a LAN card, a modem, etc. The communication section 909 performs communication processing via a network such as the Internet. A drive 910 is also connected to the input / output interface 905 as needed. A removable medium 911, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 910 as needed so that a computer program read therefrom is installed into the storage section 908 as needed.

[0159] In particular, according to an embodiment of the present application, the process described in each method flow chart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer readable medium, and the computer program contains a program code for executing the method shown in the flow chart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 909, and / or installed from the removable medium 911. When the computer program is executed by the central processor 901, various functions defined in the system of the present application are executed.

[0160] It should be noted that the computer-readable medium shown in the embodiment of the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by an instruction execution system, device or device or used in combination with it. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a computer-readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer readable signal media may also be any computer readable medium other than computer readable storage media, which may send, propagate, or transmit programs for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

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

[0162] It should be noted that, although several modules or units of the equipment for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into being embodied by multiple modules or units.

[0163] Through the description of the above implementation methods, it is easy for those skilled in the art to understand that the example implementation methods described here can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the implementation methods 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.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the implementation methods of the present application.

[0164] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary technical means in the art that are not disclosed in the present application.

[0165] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. A method for creating a document, characterized in that: include: Obtaining a document creation request, wherein the document creation request is used to indicate document information to be created; Acquire a pre-created document list corresponding to the document creation request, wherein the pre-created document list includes document identifiers corresponding to a plurality of pre-created documents respectively; Searching the pre-created document list for a target document identifier that matches the document creation request; The document state of the pre-created document corresponding to the target document identifier is adjusted from a locked state to an activated state to generate a created document corresponding to the document creation request.

2. The method for creating a document according to claim 1, characterized in that: Before obtaining the pre-created document list corresponding to the document creation request, the method further includes: Obtaining a pre-created document list acquisition request, and acquiring a plurality of candidate document lists corresponding to the terminal device identifier according to the terminal device identifier in the pre-created document list acquisition request; wherein one candidate document list corresponds to one document type; If the number of document identifiers in the candidate document list whose document status is locked is less than a first preset threshold corresponding to the document type to which the candidate document list belongs, creating a pre-created document in a locked state according to a second preset threshold; The candidate document list is updated according to the document identifier corresponding to the pre-created document whose document status is locked, and the updated candidate document list is used as the pre-created document list.

3. The method for creating a document according to claim 2, characterized in that: After obtaining the candidate document list corresponding to the terminal device identifier according to the terminal device identifier in the pre-created document list obtaining request, the method further includes: If the number of document identifiers in the candidate document list whose document status is locked is greater than a first preset threshold, detecting the document versions associated with the document identifiers in the candidate document list; If there is a document identifier in the candidate document list whose associated document version does not match the specified document version, the document identifier whose associated document version does not match the specified document version is deleted from the candidate document list, and the candidate document list after deleting the document identifier is used as the pre-created document list.

4. The method for creating a document according to claim 2, characterized in that: Before obtaining the pre-created document list acquisition request, the method further includes: When it is detected that the document creation client is started, a request for obtaining the pre-created document list is generated; or: When information associated with a document is detected in the current environment of the account of the document creation client, a request for obtaining a list of pre-created documents is generated.

5. The method for creating a document according to claim 1, characterized in that: Obtaining a list of pre-created documents corresponding to the document creation request, including: According to the document type to be created indicated by the document creation request, a pre-created document list corresponding to the document type to be created is acquired from a plurality of pre-created document lists.

6. The method for creating a document according to claim 1, characterized in that: The method further comprises: Acquire target document data corresponding to the created document from the local storage of the terminal device; Rendering is performed according to the target document data to generate a creation page of the created document.

7. The method for creating a document according to claim 6, characterized in that: Obtaining target document data corresponding to the created document includes: Obtain document page rendering data corresponding to the created document; Obtaining empty document data corresponding to the document type to which the created document belongs; Generate target document data corresponding to the created document according to the document page rendering data and the empty document data.

8. The method for creating a document according to claim 1, characterized in that: The method further comprises: Obtain a pre-generated empty document page of the same document type as the created document; A creation page of the created document is generated according to the empty document page.

9. The method for creating a document according to claim 1, characterized in that: After adjusting the document state of the pre-created document corresponding to the target document identifier from a locked state to an activated state, the method further includes: The document description information of the pre-created document corresponding to the target document identifier is updated, wherein the document description information at least includes the document creation time.

10. The method for creating a document according to claim 1, characterized in that: The method further comprises: Generate a document creation event for indicating that the document corresponding to the document creation request has been successfully created; A document log is updated according to the document creation event.

11. A document creation device, characterized in that: include: A request receiving module, used for obtaining a document creation request, wherein the document creation request is used for indicating document information to be created; A list acquisition module, used to acquire a pre-created document list corresponding to the document creation request, wherein the pre-created document list includes document identifiers corresponding to a plurality of pre-created documents respectively; An identification search module, used to search the pre-created document list for a target document identification that matches the document creation request; The state adjustment module is used to adjust the document state of the pre-created document corresponding to the target document identifier from a locked state to an activated state, so as to generate a created document corresponding to the document creation request.

12. A computer readable medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the document creation method according to any one of claims 1 to 10 is implemented.

13. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; The processor executes the executable instructions so that the electronic device executes the document creation method described in any one of claims 1 to 10.

14. A computer program product, characterized in that The computer program product includes computer instructions stored in a computer-readable storage medium; The processor of the computer device reads and executes the computer instructions from the computer-readable storage medium, so that the computer device executes the document creation method according to any one of claims 1 to 10.