Information processing method, device, terminal and storage medium
By unifying the document template and document, users can directly create a new document using the document as a template in the associated area of the document, solving the problem of separation between document templates and document functions, and improving user experience and operational convenience.
Patent Information
- Application Number
- CN202210161533.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-22
- Publication Date
- 2025-09-23
- Estimated Expiration
- 2042-02-22
AI Technical Summary
In the prior art, document templates are separated from document functions, which requires users to remember additional storage paths and operation paths, making them inconvenient to use and affecting user experience.
The document template and document are processed in a unified manner so that the document has both document properties and document template properties. By displaying controls in the associated area of the document, users can directly create a new document using the document as a template, simplifying the operation path.
It avoids repeated development of document templates and document functions, reduces the user's memory burden, improves user experience, and facilitates document management and use.
Smart Images

Figure CN115017110B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and in particular to an information processing method, device, terminal, and storage medium. Background Art
[0002] During document processing, templates are often required. Users create documents based on templates. Templates and documents are usually different types of files. Summary of the Invention
[0003] The present disclosure provides an information processing method, device, terminal, and storage medium.
[0004] The present disclosure adopts the following technical solutions.
[0005] In some embodiments, the present disclosure provides an information processing method, including:
[0006] Display the first document;
[0007] In response to a first operation event on a first document, a document template attribute is added to the first document, and a first control is displayed in an associated area of the first document or an associated area of a content page of the first document. The first control is used to create a document using the first document as a template after being triggered.
[0008] In some embodiments, the present disclosure provides an information processing device, including:
[0009] A display unit, configured to display a first document;
[0010] A control unit is used to add document template attributes to the first document in response to a first operation event on the first document, and display a first control in an associated area of the first document or an associated area of the content page of the first document, wherein the first control is used to create a document using the first document as a template after being triggered.
[0011] In some embodiments, the present disclosure provides a terminal comprising: at least one memory and at least one processor;
[0012] The memory is used to store program codes, and the processor is used to call the program codes stored in the memory to execute the above method.
[0013] In some embodiments, the present disclosure provides a storage medium for storing program code, and the program code is used to execute the above method.
[0014] The information processing method provided by the embodiment of the present disclosure displays a first document; in response to a first operation event on the first document, adds a document template attribute to the first document, displays a first control in an associated area of the first document or an associated area of a content page of the first document, and the first control is used to create a document using the first document as a template after being triggered. The method proposed by the embodiment of the present disclosure unifies the document template with the document and uses the document template as a special document. This avoids the separation of the document template function and the document function, and has all the functions of a document, thereby avoiding the repeated development of the same functions of the document template and the document, and is more in line with the user's usage habits. It can be used to directly create a document using the first document as a template by triggering the first control. The user does not need to remember the storage path of the document, which reduces the user's memory burden. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The above and other features, advantages, and aspects of the various embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that components and elements are not necessarily drawn to scale.
[0016] Figure 1 It is a flowchart of an information processing method according to an embodiment of the present disclosure.
[0017] Figure 2 This is a display diagram of an embodiment of the present disclosure when a first document does not have a document template attribute.
[0018] Figure 3 This is a schematic diagram of displaying a first document according to an embodiment of the present disclosure.
[0019] Figure 4 This is a schematic diagram of displaying a first document having document template attributes according to an embodiment of the present disclosure.
[0020] Figure 5 It is a schematic diagram of a display interface of a document application according to an embodiment of the present disclosure.
[0021] Figure 6 It is a schematic diagram of a display interface of a communication application according to an embodiment of the present disclosure.
[0022] Figure 7 This is a schematic diagram of a first document sharing process according to an embodiment of the present disclosure.
[0023] Figure 8 This is a schematic diagram of a first document sharing process according to an embodiment of the present disclosure.
[0024] Figure 9 This is a schematic diagram of a first document being shared in a session according to an embodiment of the present disclosure.
[0025] Figure 10 Schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0026] The following describes embodiments of the present disclosure in more detail with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments described herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.
[0027] It should be understood that the various steps described in the method embodiments of the present disclosure can be performed sequentially and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0028] As used herein, the term "including" and its variations are open-ended, i.e., "including but not limited to." The term "based on" means "based, at least in part, on." The term "one embodiment" means "at least one embodiment," the term "another embodiment" means "at least one additional embodiment," and the term "some embodiments" means "at least some embodiments." Other terms are defined in the following description.
[0029] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0030] It should be noted that the modification of “one” mentioned in the present disclosure is illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as “one or more”.
[0031] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0032] The following is a detailed description of the solution provided in the embodiments of the present application with reference to the accompanying drawings.
[0033] Documents, such as online documents, often offer the ability to store them as document templates. After a document is stored as a document template, users can select the document template from the template library and create a new document based on it. However, because the document template's usage path is independent of the document, users need to remember an additional storage path, which is inconvenient. To avoid this problem, some users name their documents as templates and copy them each time they use them. This leads to inconvenient management, making the document impossible to find in the template library and unusable in scenarios where it is used as a template. The existence of these issues leads to an inadequate user experience.
[0034] In some embodiments of the present application, an information processing method is proposed, which can be used for document processing, such as online document processing. In some embodiments, Figure 1 As shown, Figure 1 4 is a flowchart of an information processing method according to an embodiment of the present disclosure, which includes the following steps.
[0035] S11: Display the first document.
[0036] In some embodiments, the content page of the first document may be displayed after the first document is opened, or the first document may be displayed in a document list of a document database when the first document is not opened.
[0037] S12: In response to the first operation event on the first document, add a document template attribute to the first document in an associated area of the first document or an associated area of a content page of the first document.
[0038] In some embodiments, as Figure 2As shown, in step S11, the first document is opened. The first document may be an online document. The first document may have associated tools or controls, etc. The first operation event may include one or more operations, such as a trigger operation on a document or control associated with the first document. In some embodiments, in response to the first operation event on the first document, a document template attribute may be added to the first document so that the first document has both document attributes and document template attributes. The document template attribute may identify the first document as a document template, and the document attribute may identify the first document as a document. That is, in some embodiments of the present disclosure, the first document is both a document and a document template. Therefore, the first document can be searched when searching for a document type file, and the first document can also be searched when searching for a document template type file. Since the first document is both a document and a document template, it has the functions of a document and the functions of a document template. In some embodiments, the associated area of the first document may be, for example, the area around the title of the first document. At this time, the first document does not need to be opened, and the first control is displayed around the title of the unopened first document. The associated area of the content area of the first document may be, for example, the top or left and right areas of the content area after the first document is opened. In some embodiments, as Figure 4 As shown, in response to the first operation event, a "Use this template" button is displayed as a first control on the upper right side of the first document. Clicking the first control, for example, triggers a new document using the first document as a template. The user can directly operate the first control to create a new document without having to search for a template in the template library. This eliminates the need to remember the operation path, reducing memory overhead, and the document operation still applies to the first document.
[0039] In some embodiments, when the first document is not opened, the first document may be displayed in a document list of a document database, a first operation event on the first document may be received, and a document template attribute may be added to the first document.
[0040] In some embodiments of the present disclosure, the document template is unified with the document and used as a special document. This avoids the separation of the document template function and the document function, and has all the functions of a document. Therefore, it avoids the repeated development of the same functions of the document template and the document, is more in line with the user's usage habits, and reduces the user's memory burden.
[0041] In some embodiments of the present disclosure, in response to a first operation event on a first document, adding a document template attribute to the first document includes: in response to a second control associated with the first document switching from a first state to a second state, adding a document template attribute to the first document, wherein the second control has a first state and a second state, and when the second control is in the first state, the first document has the document attribute, and when the second control is in the second state, the first document has the document attribute and the document template attribute. In some embodiments, when the first document is in an open state, a toolbar may be displayed, and the toolbar may have a second control, or an option in the toolbar may be triggered to display the second control, for example Figure 2 After the "..." in the code is triggered, it will be displayed as follows: Figure 3 The control list shown includes a second control, which may be a switch. Figure 3 The switch corresponding to "Convert to Template" is the second control, which has two states. In the first state, the first document is a document, and in the second state, the first document is both a document and a document template. In this embodiment, the properties of the first document are determined by changing the state of the second control. The first document itself always has document properties, so the document template and the document usage path are integrated. The first document does not need to be saved as, and the user does not need to be prompted to select a save location when assigning document template properties to the first document. The first document is still stored in its original location, and the document template properties of the first document can be removed by changing the state of the second control. Therefore, it is convenient for users to convert the state of the first document with one click, which is convenient for use.
[0042] In some embodiments of the present disclosure, it also includes: adding a template tag to the first document, and the template tag is used to identify the first document as a document template. In some embodiments, by adding a template tag to the first document, the first document is distinguished from other documents that are not document templates, ensuring that the first document is distinguished from ordinary documents in various scenarios of circulation and use, and facilitating quick identification. In some embodiments, the template tag is displayed in the associated area of the title of the first document, and the template tag is used to identify the first document as a document template. In some embodiments, please refer to Figure 4 After the first operation event is executed on the first document, i.e., when it has the document template attribute, the word "Template" is displayed next to the title of the first document, so that the user can confirm the status of the first document through the template tag. In some embodiments of the present disclosure, the first document is simply labeled as a template, and its usage path and management method are the same as those of documents that are not document templates. Therefore, it can be managed like an ordinary document, which is convenient for users.
[0043] In some embodiments of the present disclosure, the method further includes: displaying a second document created using the first document as a template in response to a second operation event on the first document. In some embodiments, the template tag can be triggered by clicking, etc., at which time the second document created using the first document as a template is displayed. In some embodiments, taking into account user permissions, only documents created using the first document as a template that the current user has permission to view are displayed. This embodiment allows for quick viewing of documents created using the first document as a template.
[0044] In some embodiments of the present disclosure, in response to a first modification operation, the content of the first document is modified, and in response to a third operation event on the first document, the modified content of the first document is applied to the second document. In some embodiments, the user may modify the content of the first document, such as modifying the text of the title, the text of the body, or modifying a specific text description. At this time, the template tag can be triggered by, for example, long pressing or other methods, so that the modified content can be applied to all second documents created with the first document as a template, without modifying each document one by one. In some embodiments, taking into account the user's permissions, the modified content of the first document is only applied to documents created with the first document as a template for which the current user has editing permissions.
[0045] In some embodiments of the present disclosure, it also includes: displaying the first document in a document classification of a document database, and displaying the first document in a document template classification. In some embodiments, the document can be displayed in a document database, which is used to store documents and can be a cloud space. In this embodiment, the first document can be displayed in both the document classification and the document template classification. The user can find the first document when searching for documents, and can also find the first document when searching for document templates. In some related technologies, documents and document templates are distinguished, and document templates cannot be searched in document classifications, but can only be searched in document template classifications. This method requires users to remember two storage paths, which is inconvenient for users to use, and the operations that can be performed on documents may not be applied to document templates. Users need to remember the operations corresponding to documents and document templates respectively, which increases the memory cost.
[0046] In some embodiments of the present disclosure, displaying the first document includes: displaying the first document in an open state; and maintaining the display of the first document in an open state during and after the response to the first operation event. In some embodiments, in response to the first operation event, no operation such as saving as is required, and the first document remains open without closing. When assigning document template attributes to the first document, the entire display page does not affect the display of the first document.
[0047] In some embodiments, document template information is displayed in an associated area of the first document or an associated area of the content page of the first document, and the document template information includes at least one of a creator and usage information. In some embodiments, as Figure 4 shown, "This template was created by @Zhang San and has been used 0 times" is displayed in the first document. In some embodiments, as Figure 4 shown, a template status bar is displayed below the top of the first document as a bearing area for template-related functions. A first control and document template information are displayed in the template status bar. Since the first control is directly displayed in the first document, when the user wants to create a document using the first document as a template, there is no need to remember the path to find the template and can directly create the document. In some embodiments, regardless of which user opens the first document, a second control and document template information are displayed. In some other embodiments, only when a user with a first permission for the first document opens the first document, the first control and document template information are displayed, otherwise not.
[0048] In some embodiments of the present disclosure, it further includes: in response to a fourth operation event on the first document, adding the first document to a target folder. In some embodiments, the fourth operation event can be, for example, a classification operation on the first document. The method in this embodiment can be used in a document application, and the target folder can be any folder in the document application, for example, it can be Figure 5 the shared folder shown in.
[0049] In some embodiments of the present disclosure, it further includes: in response to a fifth operation event on the first document, adding the first document to a quick access entry. In some embodiments, as Figure 5 shown, the first document can be added to the quick access entry, and the quick access entry can be displayed on the home page of the document application. In this way, the user can directly access the first document on the home page, and it can be seen that the template label is still displayed in the associated area of the title of the first document displayed in the quick access entry.
[0050] In some embodiments of the present disclosure, it further includes: in response to a sixth operation event on the first document, adding the first document to a group announcement. In some embodiments, the first document can be added to any group of a communication application associated with the target application as a group announcement. In the related art, only documents can be used for group announcements, and document templates cannot be used. In the embodiments of the present disclosure, since the first document is both a document and a document template, the first document can be added to the group announcement. As Figure 6 shown, when the first document is displayed in the group announcement, the template label is also displayed.
[0051] In some embodiments of the present disclosure, the method further includes: in response to the seventh operation event on the first document, adding the first document to the user's business card. In some embodiments, the user's business card refers to the user's electronic business card, such as the user's electronic signature. Documents can be added to the user's business card. In this embodiment, because the first document retains its document attributes, the first document can be added to the user's business card.
[0052] In some embodiments of the present disclosure, the method further includes: in response to an eighth operation event on the first document, determining a target object and sharing the first document with the target object. Figures 7 to 9 A sharing control for sharing can be displayed in or near the first document. The sharing interface is displayed by triggering the sharing control. Collaborators can be invited as target objects in the sharing interface, and permissions can be granted to the target objects when sharing. The permissions can include reading permissions and editing permissions. Notes can be added when sharing. When sharing, the first document can be shared with a group with the target object. Since permissions are set for the target object, group members without permissions cannot access the first document through sharing. In related technologies, document templates cannot be shared. However, in this embodiment, because the first document has document attributes, the first document as a document template can be shared. In this embodiment, because the document template is also a document, it is free from the constraints of the template and can be shared, forwarded, etc. like an ordinary document.
[0053] In some embodiments of the present disclosure, the process further includes: creating a third document using the first document as a template in response to a triggering operation on the first control; and synchronizing the content of the third document with the first document in response to a ninth operation event on the third document. In some embodiments, the third document is created using the first document as a document template. After editing the third document, it may become more suitable as a template. In this case, the ninth operation event may be performed on the third document, such as triggering a third control in the third document, thereby transmitting the content of the third document back to the first document serving as a document template. This eliminates the need to convert the third document into a document template and the need to delete the first document, thereby facilitating user operations.
[0054] In some embodiments of the present disclosure, an information processing device is provided, including:
[0055] A display unit, configured to display a first document;
[0056] A control unit is used to add document template attributes to the first document in response to a first operation event on the first document, display a first control in an associated area of the first document or an associated area of a content page of the first document, and the first control is used to create a document using the first document as a template after being triggered.
[0057] In some embodiments, the control unit, in response to a first operation event on a first document, adds a document template attribute to the first document, including:
[0058] In response to the second control associated with the first document switching from a first state to a second state, document template attributes are added to the first document, wherein the second control has a first state and a second state, when the second control is in the first state, the first document has document attributes, and when the second control is in the second state, the first document has document attributes and document template attributes.
[0059] In some embodiments, the control unit is further configured to add a template tag to the first document, where the template tag is configured to identify the first document as a document template.
[0060] In some embodiments, the control unit is further configured to display the template tag in an associated area of the title of the first document, where the template tag is configured to identify the first document as a document template.
[0061] In some embodiments, the control unit is further configured to display a second document created using the first document as a template in response to a second operation event on the first document.
[0062] In some embodiments, the control unit is further configured to modify the content of the first document in response to a first modification operation; and apply the modified content of the first document to the second document in response to a third operation event on the first document.
[0063] In some embodiments, the control unit is further configured to display the first document in a document category of a document database, and to display the first document in a document template category.
[0064] In some embodiments, the control unit is further configured to display document template information in an associated area of the first document or an associated area of a content page of the first document, the document template information including at least one of creator and usage information.
[0065] In some embodiments, the control unit is further configured to perform at least one of the following:
[0066] In response to a fourth operation event on the first document, adding the first document to a target folder;
[0067] In response to the fifth operation event on the first document, the first document is added to the quick access entry
[0068] In response to a sixth operation event on the first document, adding the first document to a group announcement;
[0069] In response to a seventh operation event on the first document, adding the first document to a user business card;
[0070] In response to an eighth operation event on the first document, a target object is determined and the first document is shared with the target object.
[0071] In some embodiments, the control unit is further configured to create a third document using the first document as a template in response to a triggering operation on the first control;
[0072] In response to a ninth operation event on the third document, content of the third document is synchronized with the first document.
[0073] For the embodiments of the device, since they basically correspond to the method embodiments, the relevant parts can be referred to the partial description of the method embodiments. The device embodiments described above are merely illustrative, wherein the modules described as separation modules may or may not be separate. Some or all of the modules can be selected according to actual needs to achieve the purpose of the present embodiment. Those of ordinary skill in the art can understand and implement them without paying creative work.
[0074] The method and apparatus of the present disclosure are described above based on the embodiments and application examples. In addition, the present disclosure also provides a terminal and a storage medium, which are described below.
[0075] Reference below Figure 10 , which shows a schematic diagram of the structure of an electronic device (e.g., a terminal device or server) 800 suitable for implementing embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. The electronic device shown in the figure is merely an example and should not limit the functionality and scope of use of the embodiments of the present disclosure.
[0076] like Figure 10As shown, the electronic device 800 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 801, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 802 or a program loaded from a storage device 808 into a random access memory (RAM) 803. Various programs and data required for the operation of the electronic device 800 are also stored in the RAM 803. The processing device 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.
[0077] Typically, the following devices may be connected to the I / O interface 805: an input device 806 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 807 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 808 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 809. The communication device 809 may allow the electronic device 800 to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows the electronic device 800 with various devices, it should be understood that it is not required to implement or have all of the devices shown. More or fewer devices may be implemented or have alternatively.
[0078] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network via the communication device 809, or installed from the storage device 808, or installed from the ROM 802. When the computer program is executed by the processing device 801, the above-mentioned functions defined in the method of the embodiment of the present disclosure are performed.
[0079] It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, device, or component. In the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination thereof.
[0080] In some embodiments, the client and server can communicate using any currently known or future developed network protocol, such as HTTP (HyperText Transfer Protocol), and can be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0081] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0082] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device executes the method of the present disclosure.
[0083] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on the remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0084] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the module, program segment, or a part of 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 than that 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 and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0085] The units involved in the embodiments described in this disclosure may be implemented in software or hardware, wherein the name of a unit does not necessarily limit the unit itself.
[0086] The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, and without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.
[0087] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in conjunction with an instruction execution system, device or equipment. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can 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 can 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.
[0088] According to one or more embodiments of the present disclosure, there is provided an information processing method, including:
[0089] Display the first document;
[0090] In response to a first operation event on a first document, a document template attribute is added to the first document, and a first control is displayed in an associated area of the first document or an associated area of a content page of the first document. The first control is used to create a document using the first document as a template after being triggered.
[0091] According to one or more embodiments of the present disclosure, there is provided an information processing method, which, in response to a first operation event on a first document, adds a document template attribute to the first document, comprising:
[0092] In response to the second control associated with the first document switching from a first state to a second state, a document template attribute is added to the first document, wherein the second control has a first state and a second state, when the second control is in the first state, the first document has the document attribute, and when the second control is in the second state, the first document has the document attribute and the document template attribute.
[0093] According to one or more embodiments of the present disclosure, an information processing method is provided, further comprising: adding a template tag to the first document, wherein the template tag is used to identify the first document as a document template.
[0094] According to one or more embodiments of the present disclosure, there is provided an information processing method, including:
[0095] The template tag is displayed in an area associated with the title of the first document, and the template tag is used to identify the first document as a document template.
[0096] According to one or more embodiments of the present disclosure, there is provided an information processing method, further comprising at least one of the following:
[0097] In response to a second operation event on the first document, displaying a second document created using the first document as a template;
[0098] In response to a first modification operation, the content in the first document is modified; and in response to a third operation event on the first document, the modified content of the first document is applied to a second document.
[0099] According to one or more embodiments of the present disclosure, there is provided an information processing method, further comprising:
[0100] The first document is displayed in a document category of a document database, and the first document is displayed in a document template category.
[0101] According to one or more embodiments of the present disclosure, there is provided an information processing method, further comprising:
[0102] Document template information is displayed in an associated area of the first document or an associated area of a content page of the first document, where the document template information includes at least one of creator information and usage information.
[0103] According to one or more embodiments of the present disclosure, there is provided an information processing method, further comprising at least one of the following:
[0104] In response to a fourth operation event on the first document, adding the first document to a target folder;
[0105] In response to the fifth operation event on the first document, the first document is added to the quick access entry
[0106] In response to a sixth operation event on the first document, adding the first document to a group announcement;
[0107] In response to a seventh operation event on the first document, adding the first document to a user business card;
[0108] In response to an eighth operation event on the first document, a target object is determined and the first document is shared with the target object.
[0109] According to one or more embodiments of the present disclosure, there is provided an information processing method, further comprising:
[0110] In response to a triggering operation on the first control, creating a third document using the first document as a template;
[0111] In response to a ninth operation event on the third document, content of the third document is synchronized with the first document.
[0112] According to one or more embodiments of the present disclosure, there is provided an information processing apparatus, including:
[0113] A display unit, configured to display a first document;
[0114] A control unit is used to add document template attributes to the first document in response to a first operation event on the first document, and display a first control in an associated area of the first document or an associated area of the content page of the first document, wherein the first control is used to create a document using the first document as a template after being triggered.
[0115] According to one or more embodiments of the present disclosure, there is provided a terminal, including: at least one memory and at least one processor;
[0116] The at least one memory is used to store program code, and the at least one processor is used to call the program code stored in the at least one memory to execute any one of the above methods.
[0117] According to one or more embodiments of the present disclosure, a storage medium is provided, wherein the storage medium is used to store program code, and the program code is used to execute the above method.
[0118] The above description is merely a preferred embodiment of the present disclosure and an illustration of the technical principles employed. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, but also includes other technical solutions formed by any combination of the above-mentioned technical features or their equivalents without departing from the above-mentioned disclosed concepts. For example, a technical solution formed by replacing the above-mentioned features with (but not limited to) technical features with similar functions disclosed in this disclosure.
[0119] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details have been included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0120] Although the subject matter has been described in language specific to structural features and / or methodological logical acts, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims.
Claims
1. An information processing method, characterized in that: include: Display the first document; In response to a first operation event on a first document, adding a document template attribute to the first document, and displaying a first control in an associated area of the first document or an associated area of a content page of the first document, wherein the first control is configured to create a document using the first document as a template after being triggered; In response to a first operation event on a first document, adding a document template attribute to the first document includes: In response to the second control associated with the first document switching from a first state to a second state, document template attributes are added to the first document, wherein the second control has a first state and a second state, when the second control is in the first state, the first document has document attributes, and when the second control is in the second state, the first document has document attributes and document template attributes.
2. The method according to claim 1, characterized in that Also includes: A template tag is added to the first document, where the template tag is used to identify the first document as a document template.
3. The method according to claim 2, characterized in that include: The template tag is displayed in an associated area of the title of the first document, and the template tag is used to identify the first document as a document template.
4. The method according to claim 1, wherein Also includes at least one of the following: In response to a second operation event on the first document, displaying a second document created using the first document as a template; In response to a first modification operation, modifying content in the first document; In response to a third operation event on the first document, the modified content of the first document is applied to the second document.
5. The method according to claim 1, wherein Also includes: The first document is displayed in a document category of a document database, and the first document is displayed in a document template category.
6. The method according to claim 1, wherein Also includes: Document template information is displayed in an associated area of the first document or an associated area of a content page of the first document, where the document template information includes at least one of creator information and usage information.
7. The method according to claim 1, characterized in that Also includes at least one of the following: In response to a fourth operation event on the first document, adding the first document to a target folder; In response to the fifth operation event on the first document, the first document is added to the quick access entry In response to a sixth operation event on the first document, adding the first document to a group announcement; In response to a seventh operation event on the first document, adding the first document to a user business card; In response to an eighth operation event on the first document, a target object is determined and the first document is shared with the target object.
8. The method according to claim 1, characterized in that Also includes: In response to a triggering operation on the first control, creating a third document using the first document as a template; In response to a ninth operation event on the third document, content of the third document is synchronized with the first document.
9. An information processing device comprising: A display unit, configured to display a first document; a control unit, configured to, in response to a first operation event on a first document, add a document template attribute to the first document and display a first control in an associated area of the first document or an associated area of a content page of the first document, wherein the first control is configured to create a document using the first document as a template after being triggered; In response to a first operation event on a first document, adding a document template attribute to the first document includes: In response to the second control associated with the first document switching from a first state to a second state, document template attributes are added to the first document, wherein the second control has a first state and a second state, when the second control is in the first state, the first document has document attributes, and when the second control is in the second state, the first document has document attributes and document template attributes.
10. A terminal comprising: at least one memory and at least one processor; The at least one memory is used to store program code, and the at least one processor is used to call the program code stored in the at least one memory to execute the method according to any one of claims 1 to 8.
11. A storage medium for storing program code, wherein the program code is used to execute the method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Page template file generation method and device, electronic equipment and storage medium
CN112528619A
Method and system for generating controlled file template of drug quality system
CN113177696A