Online document processing method, online document processing device and electronic device
By dividing online documents into chapter units and processing them according to chapter approval results, the document rejection problem caused by failure to pass the online document content is solved, the document delivery efficiency and accuracy are improved, and the delivery and testing time of version documents is controlled. Reduced production risks.
Patent Information
- Application Number
- CN202011562483.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-25
- Publication Date
- 2025-01-07
- Estimated Expiration
- 2040-12-25
AI Technical Summary
In the DevOps continuous delivery pipeline, the failure to pass part of the online document's content approval results will be rejected, affecting the efficiency of document delivery.
By dividing online documents into chapter units for management and phased approval, the modification and approval of designated chapters are allowed, the final approval result of the document is determined based on the chapter approval results, and if necessary, the chapter will be returned to the document creation stage for modification.
It improves the flexibility and efficiency of document delivery, ensures the accuracy and uniqueness of documents, and controls the delivery and testing time of version documents, reducing the risk of production.
Smart Images

Figure CN112632947B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of cloud computing, and more specifically, to an online document processing method, an online document processing device, and an electronic device. Background Art
[0002] As the continuous delivery pipeline of processes, methods and systems (Development Operations, DevOps) is widely recognized by the industry, continuous delivery of versions with close collaboration between development and operation and maintenance is a major trend in version management.
[0003] In the process of implementing the concept of the present disclosure, the applicant found that there are at least the following problems in the related art: In the related art, the entire online document is used as the basic unit for approval. If part of the content in the online document is not approved, the approval result of the entire online document will be set to approval rejection, affecting the delivery efficiency of the online document. Summary of the invention
[0004] In view of this, the present disclosure provides an online document processing method, an online document processing device and an electronic device for improving the convenience of online document approval to improve the efficiency of document delivery while ensuring the accuracy of the document.
[0005] One aspect of the present disclosure provides an online document processing method, wherein the online document includes at least two chapters, and the online document includes a document creation stage and at least one document approval stage. The method includes: obtaining a chapter approval result of a specified chapter in the online document in the document approval stage, wherein the chapter approval result includes an approval rejection; in response to the chapter approval result being an approval rejection, modifying the document stage of the specified chapter to a document creation stage, so as to receive a modified chapter from a client having processing authority for the document creation stage; and sequentially transferring the modified chapter according to at least one document approval stage to obtain an approval result for the modified chapter, so as to determine the approval result of the online document based on the chapter approval results of at least two chapters.
[0006] One aspect of the present disclosure provides an online document processing method, wherein the online document includes at least two chapters, and the online document includes a document creation stage and at least one document approval stage. The method includes: sending a chapter approval instruction to a server, the chapter approval instruction including a chapter approval result for a specified chapter in the online document in the document approval stage, the chapter approval result including an approval rejection; and obtaining a modified chapter corresponding to the chapter approval result from the server, and approving the modified chapter, so as to determine the approval result of the online document based on the chapter approval results of at least two chapters; wherein the modified chapter is a modified chapter received from a client having processing authority for the document creation stage after the server modifies the document stage of the specified chapter to the document creation stage in response to the chapter approval result being an approval rejection.
[0007] One aspect of the present disclosure provides an online document processing device, which is applied to a server side, wherein the online document includes at least two chapters, the online document includes a document creation stage and at least one document approval stage, and the device includes: a first approval result acquisition module, a document stage modification module, and a second approval result acquisition module. The first approval result acquisition module is used to obtain the chapter approval result of a specified chapter in the online document in the document approval stage, and the chapter approval result includes approval rejection; the document stage modification module is used to modify the document stage of the specified chapter to the document creation stage in response to the chapter approval result being approval rejection, so as to receive the modified chapter from a client having processing authority for the document creation stage; and the second approval result acquisition module is used to sequentially circulate the modified chapter according to at least one document approval stage, and obtain the approval result for the modified chapter, so as to determine the approval result of the online document based on the chapter approval results of at least two chapters.
[0008] One aspect of the present disclosure provides an online document processing device, which is applied to a client, wherein the online document includes at least two chapters, the online document includes a document creation stage and at least one document approval stage, and the device includes: an approval instruction sending module and a modified chapter approval module. The approval instruction sending module is used to send a chapter approval instruction to a server, the chapter approval instruction includes a chapter approval result for a specified chapter in an online document in the document approval stage, and the chapter approval result includes approval rejection; and the modified chapter approval module is used to obtain a modified chapter corresponding to the chapter approval result from the server, and approve the modified chapter, so as to determine the approval result of the online document based on the chapter approval results of at least two chapters; wherein the modified chapter is a modified chapter received from a client having processing authority for the document creation stage after the server changes the document stage of the specified chapter to the document creation stage in response to the chapter approval result being approval rejection.
[0009] One aspect of the present disclosure provides an electronic device, including one or more processors and a storage device, wherein the storage device is used to store executable instructions, and when the executable instructions are executed by the processor, the method described above is implemented.
[0010] One aspect of the present disclosure provides a computer-readable storage medium storing computer-executable instructions, which are used to implement the above-mentioned method when executed.
[0011] One aspect of the present disclosure provides a computer program, which includes computer executable instructions, and the instructions are used to implement the method described above when executed.
[0012] The online document processing method, online document processing device and electronic device provided by the embodiments of the present disclosure manage online documents in chapters and approve them in stages. The document directory pages are displayed as items and chapters can be edited and displayed separately, so that version document delivery is more flexible, approval operations and development editing and modification are more targeted, and management efficiency is effectively improved.
[0013] The online document processing method, online document processing device and electronic device provided by the embodiments of the present disclosure form a sub-online document by copying an online document. The sub-online document is continuously edited in subsequent development without invalidating the original online document. The original online document is invalidated during the delivery operation (the sub-online document enters the document approval stage), and the approval status of each chapter in the original online document is synchronized to the sub-online document, ensuring that the update and editing of the version online document does not affect the test progress, and retains the approval progress and results of the original document when the online document is updated, ultimately ensuring the accuracy and uniqueness of the online document.
[0014] The online document processing method, online document processing device and electronic device provided by the embodiments of the present disclosure set a lock time to limit the time for delivery testing and handover for production of version documents, and perform certain standardized control on developers and testers, so as to achieve that the version document can meet the flexibility of continuous delivery and continuous deployment while ensuring basic testing time requirements and deployment time requirements, thereby ensuring version quality and reducing production risks. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The above and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:
[0016] Figure 1 The following schematically shows a logic diagram of an online document processing method in the related art;
[0017] Figure 2a The application scenarios of the online document processing method, the online document processing device and the electronic device according to the embodiments of the present disclosure are schematically shown;
[0018] Figure 2b The application scenarios of the online document processing method, the online document processing device and the electronic device according to the embodiments of the present disclosure are schematically shown;
[0019] Figure 3 An exemplary system architecture to which an online document processing method, an online document processing apparatus, and an electronic device according to an embodiment of the present disclosure can be applied is schematically shown;
[0020] Figure 4 A flowchart of an online document processing method according to an embodiment of the present disclosure is schematically shown;
[0021] Figure 5 A schematic diagram of the structure of an online document instance set according to an embodiment of the present disclosure is shown;
[0022] Figure 6 A schematic diagram showing the structure of an online document instance set according to another embodiment of the present disclosure is shown;
[0023] Figure 7 A flowchart of an online document processing method according to another embodiment of the present disclosure is schematically shown;
[0024] Figure 8 A schematic diagram of a document pipeline according to an embodiment of the present disclosure is schematically shown;
[0025] Fig. 9 A schematic diagram schematically shows document stage association information according to an embodiment of the present disclosure;
[0026] Fig.10 A block diagram schematically shows an online document processing device according to an embodiment of the present disclosure;
[0027] Fig.11 A block diagram schematically shows an online document processing apparatus according to another embodiment of the present disclosure; and
[0028] Fig.12 A block diagram of an electronic device according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION
[0029] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.
[0030] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.
[0031] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification, and should not be interpreted in an idealized or overly rigid manner.
[0032] When using expressions such as "at least one of A, B, and C, etc.", it should generally be interpreted in accordance with the meaning of the expression generally understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.). The terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more features.
[0033] Figure 1 The following schematically shows a logic diagram of an online document processing method in the related art.
[0034] like Figure 1 As shown, after user 1 (such as a developer) initiates an online document, user 2 (such as a tester), user 3 (such as an operation and maintenance personnel), etc. can perform operations such as viewing, editing, and approving the document online according to their own processing permissions without downloading the document. When a document stage is approved, the online document enters the next stage, and the user's processing permissions for the online document will change. Through the above method, the accidental risk caused by unrelated personnel editing the online document is reduced, which helps to improve the various problems encountered in the above-mentioned related technologies.
[0035] However, when version documents are maintained and managed through the continuous delivery pipeline online system, the document content is visible to developers, testers, and operation and maintenance personnel throughout the entire process, and the process is visualized. In addition, the version document of the same application on the same production date is maintained in only one copy online from creation and writing to testing confirmation until production implementation. Version document maintenance faces the following problems.
[0036] For example, after the version document is completed by the development editor and delivered to the tester, if any problems with the version document are found during the test process, how to promptly, effectively and specifically feedback the document problems so that the developer can accurately locate the document problems, make modifications in a timely manner and deliver new documents.
[0037] For example, each application needs to deliver multiple patches within a version cycle, that is, the same document needs to be continuously updated and delivered, while the last delivered version document is still in the testing process. In this case, it is not convenient for developers to add new patch content to the same delivered document without affecting the testers' testing and approval confirmation operations on the content of the last patch document delivery.
[0038] For example, under the premise of implementing online pipeline delivery of version documents, developers can modify and deliver the content of version documents at any time. When the version is handed over to operation and maintenance for production, if developers continue to modify the version document, it will lead to insufficient testing time, affecting the handover of operation and maintenance for production, and the delivery time needs to be controlled.
[0039] The embodiments of the present disclosure provide an online document processing method, an online document processing device, and an electronic device. The contents of document chapters are stored in a database table, so that incremental editing, confirmation, and modification can be performed online in units of document chapters. The entire contents are merged and displayed on a web page. When the document is delivered, the newly edited chapter contents are merged into the document, and the confirmation status of the original document is synchronized to the new document. Automatic deadline for document delivery can be achieved by setting a "lock time value"
[0040] Figure 2a The application scenarios of the online document processing method, the online document processing device and the electronic device according to the embodiments of the present disclosure are schematically illustrated.
[0041] like Figure 2aAs shown, in multiple document stages, the approval result of all chapters of online document version 1 in stage 1 is approved, and stage 2 reviews the online document version 1 by chapters, where, among chapters 1 to n (n is a positive integer greater than 1), the approval result of chapter 3 is rejected, and the approval results of the remaining chapters are approved. Then, except for chapter 3, all other chapters in online document version 1 will stop at the current document stage, and chapter 3 will be returned to the initial stage 1. Developers can generate a sub-document for online document version 1 in stage 1: online document version 2 for re-approval. When the internal inspection of the developer is completed and the delivery is carried out, the online document version 2 can be integrated with the online document version 1. For example, the integrated online document can be online document version 2, including chapters 1 to n, where the approval status of chapters 1, 2, 4 to n is approved in stage 2, and the approval status of chapter 3 is not approved in stage 2. After chapter 3 is approved in document stage 2, online document version 2 can be transferred to stage ... so that the online document version 2 can be approved in the next stage. That is, all chapters of the online document will be transferred to stage … only after all chapters have been confirmed and approved in stage 2.
[0042] Figure 2b The application scenarios of the online document processing method, the online document processing device and the electronic device according to the embodiments of the present disclosure are schematically illustrated.
[0043] like Figure 2b As shown, in multiple document stages, the approval results of all chapters of online document version 1 in stage 2 are approved. If the developer needs to add a new chapter, such as adding chapter 5, the approval process of online document version 1 does not stop during the process of the developer adding chapter 5, such as being transferred to stage... When the developer generates online document version 2 including the newly added chapter 5, and the review result of chapter 5 within the development department is approved, when online document version 2 is delivered, online document version 2 can be integrated with online document version 1. For example, the integrated online document is online document version 2, including chapters 1 to 5, the review status of chapter 5 is stage 2 unreviewed, and the review status of chapters 1 to 4 is stage... approved.
[0044] The disclosed embodiments mainly focus on the approval, confirmation and modification of documents of different versions of applications during the continuous delivery process, as well as the process control of delivery testing and handover to operation and maintenance for production, so as to achieve flexible delivery and timely confirmation of version documents, and hard control over the time points of delivery testing and handover of version documents to operation and maintenance for production, so as to ensure the timeliness of version documents.
[0045] Figure 3 The exemplary system architecture to which the online document processing method, online document processing apparatus and electronic device according to the embodiments of the present disclosure can be applied is schematically shown. It should be noted that: Figure 3The examples shown are only examples of system architectures to which the embodiments of the present disclosure can be applied, in order to help those skilled in the art understand the technical content of the present disclosure, but do not mean that the embodiments of the present disclosure cannot be used in other devices, systems, environments or scenarios. It should be noted that the online document processing method, online document processing device and electronic device provided by the embodiments of the present disclosure can be used in cloud computing in document management related aspects, and can also be used in various fields other than the field of cloud computing. The application fields of the online document processing method, online document processing device and electronic device provided by the embodiments of the present disclosure are not limited.
[0046] like Figure 3 As shown, the system architecture 300 according to this embodiment may include terminal devices 301, 302, 303, a network 304 and a server 305. The network 304 may include multiple routers, network cables, etc., which are used to provide a medium for communication links between the terminal devices 301, 302, 303 and the server 305. The network 304 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.
[0047] The user can use the terminal devices 301, 302, 303 to interact with other terminal devices and the server 305 through the network 304 to receive or send information, such as sending a document creation request, a document related information query request, editing an online document, approving an online document, and receiving processing results. The terminal devices 301, 302, 303 can be installed with various communication client applications, such as banking applications, operation and maintenance applications, web browser applications, office applications, search applications, instant messaging tools, email clients, social platform software, and other applications (only examples).
[0048] Terminal devices 301 , 302 , and 303 include, but are not limited to, smart phones, virtual reality devices, augmented reality devices, tablet computers, laptop computers, and the like.
[0049] The server 305 can receive the request and process the request. For example, the server 305 can be a background management server, a server cluster, etc. The background management server can analyze and process the received document creation request, document related information query request, etc., and feed back the processing result (such as a prompt of successful document creation, etc.) to the terminal device.
[0050] It should be noted that the online document processing method provided in the embodiment of the present disclosure can generally be executed by the server 305 or the terminal devices 301, 302, 303. It should be understood that the number of terminal devices, networks and servers is only illustrative. Any number of terminal devices, networks and servers can be provided according to implementation requirements.
[0051] Figure 4The flowchart of the online document processing method according to the embodiment of the present disclosure is schematically shown.
[0052] like Figure 4 As shown, the method may include operations S402 to S406.
[0053] In operation S402, a chapter approval result of a specified chapter in an online document in a document approval stage is obtained, where the chapter approval result includes approval rejection.
[0054] In this embodiment, the online document includes at least two chapters, wherein the document and the chapters can be associated with each other through a mapping relationship. Each chapter can be approved separately, or multiple chapters can be approved at the same time.
[0055] An online document may include at least one document stage, such as a research and development stage, a testing stage, and an operation and maintenance stage. Each stage may correspond to a product stage in the life cycle of the product to which the online document corresponds. For example, when a developer is developing a new product, he creates a technical document for the product. The document stage may be in the research and development stage. Later, when the product is delivered to the testing department for testing, the document stage may be in the testing stage. It should be noted that, in order to achieve refined management, each document stage can also be subdivided into multiple sub-document stages, and a user's processing permissions for multiple sub-document stages within a document stage may be the same or different.
[0056] Each online document may have a document ID, such as an ID that is automatically generated when the online document is created, to uniquely identify a document. In addition, in order to facilitate intuitive determination of the product corresponding to a document, the document ID may be generated based on certain rules using information such as product name and version. The document ID may be modified or prohibited from being modified. In addition, when a document needs to be recreated, document version information may be added to the document ID for differentiation.
[0057] In operation S404, in response to the chapter approval result being approval rejection, the document stage of the designated chapter is modified to the document creation stage, so as to receive the modified chapter from a client having processing authority for the document creation stage.
[0058] For example, the document stage may include the document creation stage, the delivery stage, the testing stage, etc. When the approval result of a chapter in the testing stage is rejection, the document stage of the chapter in the online document may be changed to the document creation stage so that the developer can edit the chapter to meet the approval requirements. Since each chapter can be approved separately, in order to speed up the approval efficiency, only the document stage of the chapter may be changed.
[0059] The system can notify the developer of the existence of rejected online documents or chapters so that the developer can modify the online documents or chapters online in a timely manner.
[0060] It should be noted that different processing permissions can be set for different users for online documents in different document stages. For example, developers can edit and approve documents in the R&D stage, but cannot edit or approve documents in the testing stage. Testers can edit and approve documents in the testing stage, but cannot edit or approve documents in the R&D stage. It should be noted that users with user attributes that do not correspond to the current document stage can also have certain processing permissions, such as viewing permissions, so that product-related staff corresponding to the online document (such as R&D, testing, and operation and maintenance personnel, etc.) can view the document, which makes it easier for relevant staff to timely understand the product progress and the preparations required to undertake the product.
[0061] For example, in the DevOps continuous delivery pipeline scenario, three roles can be set for an application version document pipeline: developers, testers, and operations and maintenance personnel (roles can be a type of user attribute). In each document stage of a version of the online document, all roles are given the right to view the document, and the document content is visible throughout the process. The developer role is given the document editing and development stage document approval authority. The tester role is given the document approval authority during the testing process. The operations and maintenance personnel role is given the document approval authority during the production process.
[0062] In operation S406, the modified chapters are sequentially circulated according to at least one document approval stage to obtain approval results for the modified chapters, so as to determine the approval results of the online document based on the chapter approval results of at least two chapters.
[0063] As shown in Figure 2, the approval result for the online document can be given by combining the approval results of multiple chapters. Of course, the approval result of each chapter can also be given.
[0064] Among them, the version document is shared and visible throughout the entire life cycle from development creation and editing to operation and maintenance implementation and production. The accuracy of permissions is ensured through online conversion of document status and permission setting for relevant personnel, and the maintenance of a single document for the same product (such as application) is achieved to ensure the accuracy of version documents. Users can edit and display documents through a unified World Wide Web (WEB) interface to make the documents more standardized. After development and delivery, the testing process continues to improve, and production can intervene in document quality control in advance, and finally hand over and approve, directly forming production documents, without the need to edit documents offline and then transmit them online, avoiding manual document integration, and achieving standardized document writing and document operation processes.
[0065] In the disclosed embodiment, the version document is catalogued in chapters, and the web page displaying the document content displays the catalogue of the document. Click the document chapter that needs to be confirmed, and the version document is confirmed and approved one by one according to the chapters, incrementally modified, and fully merged and delivered. For a delivered version document, if the tester fails to approve it, when rejecting the development, only the problematic chapters will be approved and rejected with a description of the problem. After receiving the rejection information, the development can accurately locate and modify it in time.
[0066] In one embodiment, the chapter approval result also includes approval passed.
[0067] Correspondingly, the above method also includes: in response to the chapter approval result being approval, modifying the document stage of the specified chapter to the next document stage of the current document stage in at least one document approval stage, so that an account with approval authority for the next document stage of the current document stage can approve the specified chapter.
[0068] In one embodiment, the document creation phase creates an online document in the following manner.
[0069] First, a document creation request is received, and the document creation request includes a document template name and version associated information. For example, the document creation request includes a document template name, etc. The document creation request may also include a document identifier, and the document identifier may include at least one of a product name, product version information, product associated date information, and document version information. Among them, the product name may be an application name, an application abbreviation, an application code, etc. The product associated date may include: the project establishment date of the product, the product R&D start time, the product production date and its code, etc. The document version information may be included in the document creation request, or it may be generated by the system by default. For example, the version of the document generated for the product for the first time may be 0, 1, a, etc., and the version of the document generated for the product for the second time may be 1, 2, b, etc., which will not be described in detail here.
[0070] Then, in response to the document creation request, a document template identifier corresponding to the document template name is determined from the document template collection, a document identifier is generated, and the document chapter identifier, the document chapter name corresponding to the document chapter identifier, and the document template identifier are added to the document chapter attribute collection. The document chapter name is obtained from the document template corresponding to the document template name, and the chapter content details of the document chapter name are stored in the document content collection. The collection can be stored or displayed in the form of a table. For example, the document template collection can be stored or displayed through a document template table.
[0071] Next, the document identifier, document template identifier, document instance name and version association information are stored in a document instance collection in an associated manner.
[0072] Figure 5 The structural diagram of the online document instance set according to the embodiment of the present disclosure is schematically shown.
[0073] like Figure 5 As shown, an online document may involve a document template table, a document chapter table, a document instance table, a document content table, and the like.
[0074] The system obtains the document template information of different types and versions that have been determined for page entry, and records the document template information in the document template table of the database. The document template table contains information such as "document template ID" and "document template name". The system also obtains the chapter information in the pre-entered document template and records it in the document chapter table of the database. The document chapter table contains information such as "document chapter ID", "document chapter name", and "document template ID". The two tables are associated through the "document template ID". When the developer creates a document, the system obtains the "document template name" selected by the developer on the WEB page, associates and references the "document template ID" recorded in the document template table, associates the document chapter table through the "document template ID", obtains the document chapter name, and displays the template information and chapter name on the WEB page. At the same time, the system obtains the version-related information (application name, version number, production date, etc.) entered by the page developer, merges it according to the rules to generate the "document instance name", and records the "document ID", "document instance name", "document template ID", "production date" and other information in the document instance table of the database.
[0075] There is a corresponding relationship between the document creation stage and at least one document approval stage and each product stage in the product life cycle. The document template can be in a unified format, such as including: document title, subtitle, directory, chapter, section, etc. In addition, the document template can include multiple versions, such as a unified template for financial applications and a unified template for government applications, so that users can select the required template from the template library according to their own needs.
[0076] In one embodiment, the method may further include the following operations.
[0077] First, a first chapter creation instruction is received, where the first chapter creation instruction is for an online document that is in a document creation stage.
[0078] Then, in response to the first new chapter creation instruction, the newly added chapter identifier, the document identifier, the newly added chapter name and the newly added chapter content details are stored in association in the document temporary chapter set.
[0079] For example, when a developer edits a document on a WEB page, they edit each chapter one by one, and the specific content of the edited chapter is recorded in the document content table (including "document content ID", "document chapter ID", "chapter content details"). Attachments can be uploaded to the chapter content, and the attachment content is saved in the document attachment table (record address). If the template chapter does not meet the requirements, the developer triggers a new chapter through the page. After the system obtains the command to add a new chapter, it records the "new chapter ID", "new chapter name", "document ID", "new chapter content" and other information in the database document temporary chapter table, and records the "new chapter content details" of the new chapter edit.
[0080] In addition, in order to facilitate searching for the required chapters and their chapter content details, the above method may also include the following operations.
[0081] First, a document query instruction is received, the document query instruction including a document instance name. The document query instruction may come from a client.
[0082] Then, the document attributes associated with the document instance name are determined, wherein the document attributes include a document identifier, wherein the document attributes include but are not limited to at least one of the following: a document template identifier, a name, a document execution status, a document execution node, a document delivery time, and the like.
[0083] Next, the document chapter identifier and the newly added document chapter identifier associated with the document identifier are determined.
[0084] Then, determine the document chapter name corresponding to the document chapter identifier and the newly added document chapter name corresponding to the newly added document chapter identifier, and determine the chapter content details corresponding to the document chapter identifier and the newly added document chapter content details corresponding to the newly added document chapter identifier.
[0085] Then, at least one of the document chapter name, the newly added document chapter name, the chapter content details, the newly added document chapter content details and the document attributes is sent to the client so that the client can display it.
[0086] In this way, the various information about online documents required by users can be found from multiple tables through multiple mapping relationships.
[0087] In one embodiment, the above method may further include: for an online document in the document approval stage, updating the online document by sequentially executing the steps of copying the online document, adding a new chapter, and synchronizing the online document.
[0088] During the version testing cycle, if the developer needs to issue a new patch, and the version document delivered by the previous version is still being confirmed by the tester, the developer can create and edit a new chapter, and the original document can continue to be confirmed by the tester. When the developer completes editing the new document chapter and passes the internal test, at the delivery test time, the system will synchronize the approval confirmation status and specific content of the original document chapter to the new document and deliver it to the tester, so as to ensure that one document is always maintained in the pipeline. At the same time, when the developer creates and edits a new patch document, it will not affect the tester's confirmation of the document.
[0089] Specifically, updating the online document by sequentially executing copying the online document, adding a new chapter, and synchronizing the online document may include the following operations.
[0090] First, a second chapter creation instruction is received, where the second chapter creation instruction is for an online document that is in a document approval stage.
[0091] Then, in response to the second new chapter creation instruction, a sub-online document of the online document is formed in the document instance collection by copying, and the sub-online document has a different version number from the online document.
[0092] Next, for the sub-online document, the sub-chapter identifier, the sub-document identifier, and the sub-chapter content details corresponding to the sub-chapter content are stored in association in the document content set.
[0093] Then, in response to the sub-online document entering the document approval stage, the information in the online document except the sub-sections is synchronized to the sub-online document, and the online document is disabled.
[0094] In one embodiment, obtaining a chapter approval result of an online document in a document approval stage includes: first, receiving a chapter approval instruction, the chapter approval instruction including a document chapter identifier and a document chapter status flag. Then, in response to the chapter approval instruction, setting the document chapter status of the chapter corresponding to the document chapter identifier to the document chapter status flag.
[0095] Figure 6 The structural diagram of an online document instance collection according to another embodiment of the present disclosure is schematically shown.
[0096] refer to Figure 6As shown in the figure, after all chapters of the document are edited, after the pipeline process is initiated, the system finds out the corresponding "document instance name", "document chapter name", "chapter content details", "newly added chapter name", "newly added chapter content details" according to the content association of the document instance table, document chapter table, document content table, document attachment table and document temporary chapter table in the database, and displays them on the page in web form. After the document process is initiated, the status of each chapter is initialized to 0 for the "document chapter ID" and "newly added chapter ID", and recorded in the "document approval record table"; each chapter on the page provides "approved" and "approval rejected" buttons. If the approval result is "approved", the chapter status is updated to 1. If the approval result is "approved", the status is updated to 2. The page displays the document directory, and the document chapter status is obtained from the database. If it is 0, it is an unapproved chapter, and the chapter name on the page is displayed in gray. If it is 1, it is an approved chapter, and the chapter name on the page is displayed in green. If it is 2, it is an approved chapter, and it is displayed in red on the page. Users can accurately locate the rejected chapter and modify the document content.
[0097] Developers reuse (copy) the new content of the document editing patch that is being tested ("testing" or "handover" phase), and the original document is not invalidated temporarily to ensure that the pipeline has only one accurate document under test. The original document is invalidated when the document is "delivered" and the results are confirmed by merging the original document.
[0098] The document instance table records the "document ID", "document execution status" (not started, in execution, rejected, stopped, successful), and "document execution node" (internal testing, delivery, testing, handover, production commissioning). When the document status in the document instance table is read as "in execution" and the document execution node is "testing" or "handover", the page displays the document instance status as "under industry research approval". When the developer clicks the "reuse" function button on the "under industry research approval" instance document, the system receives the request, copies a piece of data in the document instance table, initializes the document status to "not started", and generates a new instance document. The document name is distinguished by adding 1 to the original number. The new document ID and document instance name and other information are recorded in the document instance table. In addition, in the document relationship table, the "parent document" and "child document" attributes register the "document ID" of the original document_1 and the "document ID" of the new document_2 respectively. Copy the corresponding content of the original document_1 in the document content table, document attachment table, and document temporary chapter table. When the document_2 page is displayed, read the original document content in the document content table, document attachment table, and document temporary chapter table according to the "document ID" association and display it. In addition, developers can continue to add and edit new documents, such as reference Figure 2b In addition, developers can modify the existing chapter content (only modify the relevant content associated with the new document ID, refer to Figure 2a Scenario shown).
[0099] In addition, a chapter status table may be set so as to determine the chapter status of each chapter associated with the document identifier based on the chapter status table, such as approved or rejected.
[0100] When the document flow listener detects that the document execution node of the current new document _2 is executing the delivery operation at "delivery", and the execution status of the original document is "under review by industry research", it triggers the setting of the execution status of the original document _1 to "stopped", and the page displays the document status as stopped. According to the synchronous update of the reused parent-child relationship in the relationship table, the status of each chapter of the original document is set to each chapter of the new document _2, with 0 for unapproved, 1 for approved, and 2 for rejected. This ensures that one document is always kept in the pipeline, and at the same time, when developing a new created edit patch document, it does not affect the document confirmation work of the tester.
[0101] In one embodiment, the method may further include the following operation: in response to an operation on the online document satisfying a locking condition, prohibiting execution of the operation satisfying the locking condition, wherein the locking condition is related to a time parameter in a system parameter management table of the online document.
[0102] For example, documents with specific conditions are locked at fixed time points to ensure the timeliness and quality of version deployment. Figure 6 As shown in the table above, register the "time parameters" in the system parameter table (used to preset the time point rules that the system needs to lock: T-2 day 14:30; T-1 day 14:30); when creating a document, obtain the document production date, and assign the "delivery time lock" and "handover time lock" fields in the document instance table according to the "time parameter" rules in the system parameter table. For example, if the production time of the document instance is September 8, the delivery time lock is "September 6 14:30", and the handover time lock is "September 7 14:30".
[0103] When the read system time matches the "delivery time lock" time in the document instance table, the delivery and approval rejection functions of the document are locked, ensuring that the version document is delivered for testing as required and does not affect the pre-production testing time. When the read system time matches the "handover time lock" time in the document instance table, the handover function of the document is locked. Ensure that the version document is handed over to operation and maintenance for production on time and does not affect the deployment timeliness. The document instance sets a manual modification time box for the "delivery time lock" on the WEB page for personnel with tester permissions. In special circumstances, the time setting can be manually modified, which can be advanced or delayed. The system obtains the time modified by the page tester and assigns it to the "delivery time lock" of the document instance table. When the system time matches it, the delivery and approval rejection can be locked. The document instance sets a manual modification time box for the "handover time lock" on the WEB page for personnel with operation and maintenance personnel permissions. In special circumstances, the time setting can be manually modified, which can be advanced or delayed. The system obtains the time modified by the page operation and maintenance personnel and assigns it to the "handover time lock" of the document instance table. When the system time matches it, the handover operation can be locked.
[0104] The disclosed embodiment of the present invention implements hard control over the time of version delivery testing and handover to operation and maintenance before the version goes into production. According to the rules, the delivery test and confirmation rejection functions are locked at 2 pm 2 days before production, and the handover to operation and maintenance is locked at 2 pm 1 day before production, to ensure that the version document is delivered and tested on time, and to ensure the test quality and production timeliness. At the same time, the function of manually modifying the lock time is set for the functions that are automatically locked by the system to deal with special situations.
[0105] Another aspect of the present disclosure provides an online document processing method executed by a client.
[0106] Figure 7 The flowchart of an online document processing method according to another embodiment of the present disclosure is schematically shown.
[0107] The online document includes at least two sections. The online document includes a document creation stage and at least one document approval stage, such as Figure 7 As shown, the above method includes operations S702 to S704.
[0108] In operation S702, a chapter approval instruction is sent to the server, the chapter approval instruction includes a chapter approval result for a specified chapter in the online document in the document approval stage, and the chapter approval result includes approval rejection.
[0109] In operation S704, a modified chapter corresponding to the chapter approval result is obtained from the server, and the modified chapter is approved, so as to determine the approval result of the online document based on the chapter approval results of at least two chapters.
[0110] The modified chapter is received from a client having processing authority for the document creation stage after the server modifies the document stage of the designated chapter to the document creation stage in response to the chapter approval result being approval rejection.
[0111] In order to improve the convenience and intuitiveness of document management, the approval progress and other information can be processed graphically.
[0112] Figure 8 A schematic diagram of a document pipeline according to an embodiment of the present disclosure is schematically shown.
[0113] like Figure 8 As shown, the document pipeline may include: document creation stage, internal testing stage, delivery stage, testing stage, handover stage, production commissioning stage and end stage, etc. After the document stage of each chapter is approved, it will automatically enter the next document stage, or after all chapters of the document are approved (which may include approval and rejection), the approved chapters enter the next document stage. The same user has different processing permissions for each document stage in the document pipeline. In addition, different users have different processing permissions for the same document stage in the document pipeline.
[0114] For example, the version document is displayed through a WEB page, and each pipeline provides a pipeline link diagram to display the current status of the document or each chapter. The passed link is displayed as the first state (such as green or the first fill), the current link is displayed as the second state (such as blue or the second fill), and the unreached link is the third state (such as gray or the third fill). The version document display page provides "Approved" and "Approval Rejected" buttons. Personnel with authority in each link can approve the corresponding link by clicking the page display. By converting the document status, the pipeline transmission of the version document is realized. It should be noted that if some chapters in the current document stage are rejected and the rejected chapters are not re-approved, and some chapters have been transferred to the next document stage, the current document stage can be displayed as the second state.
[0115] Fig. 9 A schematic diagram schematically shows document stage association information according to an embodiment of the present disclosure.
[0116] like Fig. 9As shown, the document pipeline may include seven stages: document creation stage, internal testing stage, delivery stage, testing stage, handover stage, production commissioning stage and end stage. Among them, the document creation stage, internal testing stage and delivery stage are completed stages, and a grid fill pattern can be displayed. The testing stage is the current document stage, and a vertical bar fill pattern can be displayed. The handover stage, production commissioning stage and end stage are document stages that have not yet been carried out, and pattern filling may not be performed. In this way, users related to the product can directly view the current document stage of the online document related to the product.
[0117] For example, the version document of the application can be created by the developer. After the document content is uploaded to the server database, the document status is set to "internal test", and the internal test node of the page pipeline is set to blue. At this time, according to the personnel authority configuration, the developer has the approval authority, performs the approval operation in the internal test phase, and obtains the approval result of the page writeback. If the approval result of all chapters is approved, the document status is set to "delivery", the internal test node of the page pipeline is set to green, and the delivery node is set to blue. Repeat the above operations until the pipeline ends.
[0118] In one embodiment, when an online document reaches any document stage, a prompt message is sent to a user with approval authority to notify the processing personnel of the corresponding link of the application to handle it in time. If the approval result obtained at each stage is failure, the document is set to the "create edit" state, the reason for the failure of approval is obtained and saved in the database, and the developer is notified to re-edit it. The node that failed the approval is set in red, the corresponding chapter in the chapter directory is set in red, the pipeline is stopped (such as prohibiting the chapters of the online document from flowing to the next document stage), and the newly created sub-online document re-initiates the pipeline.
[0119] In one embodiment, reference Figure 2b As shown in the figure, when the developer creates a new chapter for the online document in circulation, the online document approval pipeline does not stop. When the developer delivers the new chapter, the new version of the child online document is merged with the parent online document in circulation. Then, the unapproved new chapters and other chapters that have not completed the approval are approved in sequence according to the document stage order of the pipeline.
[0120] Users can click on the blue document stage on the WEB page to trigger the display of the approval status of the document and its chapters on the page.
[0121] One aspect of the present disclosure provides an online document processing device applied to a server.
[0122] Fig.10 The block diagram of an online document processing apparatus according to an embodiment of the present disclosure is schematically shown.
[0123] like Fig.10 As shown, the online document processing device 1000 includes: a first approval result acquisition module 1010 , a document stage modification module 1020 and a second approval result acquisition module 1030 .
[0124] The first approval result acquisition module 1010 is used to acquire the chapter approval result of a specified chapter in the online document in the document approval stage, where the chapter approval result includes approval rejection.
[0125] The document stage modification module 1020 is used to modify the document stage of the specified chapter to the document creation stage in response to the chapter approval result being approval rejection, so as to receive the modified chapter from a client having processing authority for the document creation stage.
[0126] The second approval result acquisition module 1030 is used to sequentially circulate the modified chapters according to at least one document approval stage to obtain the approval result for the modified chapters, so as to determine the approval result of the online document based on the chapter approval results of at least two chapters.
[0127] The online document includes at least two chapters, and the online document includes a document creation stage and at least one document approval stage.
[0128] The disclosed embodiment manages and approves the online version documents in chapters, displays the document catalog page in an itemized manner, and allows chapters to be edited and displayed separately, making the delivery of version documents more flexible, and making the approval operation and development editing and modification more targeted, thereby effectively improving management efficiency. In addition, the original document can be "reused" and then the development can continue to edit the new document without invalidating the original document, and the original document can be invalidated during the delivery operation, and the approval status of each chapter in the original document can be synchronized to the new document, ensuring that the update and editing of the version document does not affect the test progress, and the approval progress and results of the original document are retained when the online document is updated, ultimately ensuring the accuracy and uniqueness of the online document. In addition, the lock time can be set to limit the time for the delivery test and handover of the version document, and certain standardized control can be performed on developers and testers, so that the version document can meet the flexibility of continuous delivery and continuous deployment while ensuring the basic test time requirements and deployment time requirements, ensuring the quality of the version and reducing the risk of production.
[0129] One aspect of the present disclosure provides an online document processing device applied to a client.
[0130] Fig.11 A block diagram of an online document processing apparatus according to another embodiment of the present disclosure is schematically shown.
[0131] like Fig.11As shown, the apparatus 1100 includes: an approval instruction sending module 1110 and a modified chapter approval module 1120 .
[0132] The approval instruction sending module 1110 is used to send a chapter approval instruction to the server. The chapter approval instruction includes a chapter approval result for a specified chapter in an online document in the document approval stage. The chapter approval result includes approval rejection.
[0133] The modified chapter approval module 1120 is used to obtain the modified chapter corresponding to the chapter approval result from the server, and approve the modified chapter, so as to determine the approval result of the online document based on the chapter approval results of at least two chapters.
[0134] The online document includes at least two chapters, and the online document includes a document creation stage and at least one document approval stage. The modified chapter is received from a client having processing authority for the document creation stage after the server modifies the document stage of the designated chapter to the document creation stage in response to the chapter approval result being approval rejection.
[0135] It should be noted that the implementation methods, technical problems solved, functions realized, and technical effects achieved of each module / unit in the device part embodiment are the same or similar to the implementation methods, technical problems solved, functions realized, and technical effects achieved of each corresponding step in the method part embodiment, and they will not be repeated here one by one.
[0136] According to the embodiments of the present invention, any multiple of the modules and units, or at least part of the functions of any multiple of them can be implemented in one module. According to the embodiments of the present invention, any one or more of the modules and units can be split into multiple modules for implementation. According to the embodiments of the present invention, any one or more of the modules and units can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application specific integrated circuit (ASIC), etc. Alternatively, according to the embodiments of the present invention, one or more of the modules and units can be at least partially implemented as a computer program module, and when the computer program module is run, the corresponding function can be performed.
[0137] One aspect of the present disclosure provides an electronic device. Fig.12 A block diagram of an electronic device according to an embodiment of the present disclosure is schematically shown. Fig.12 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 disclosure.
[0138] like Fig.12As shown, the electronic device 1200 according to an embodiment of the present disclosure includes a processor 1201, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1202 or a program loaded from a storage part 1208 into a random access memory (RAM) 1203. The processor 1201 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 1201 may also include an onboard memory for caching purposes. The processor 1201 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.
[0139] In RAM 1203, various programs and data required for the operation of electronic device 1200 are stored. Processor 1201, ROM 1202 and RAM 1203 are connected to each other through bus 1204. Processor 1201 performs various operations of the method flow according to the embodiment of the present disclosure by executing the program in ROM 1202 and / or RAM 1203. It should be noted that the program can also be stored in one or more memories other than ROM 1202 and RAM 1203. Processor 1201 can also perform various operations of the method flow according to the embodiment of the present disclosure by executing the program stored in one or more memories.
[0140] According to an embodiment of the present disclosure, the electronic device 1200 may further include an input / output (I / O) interface 1205, which is also connected to the bus 1204. The electronic device 1200 may further include one or more of the following components connected to the I / O interface 1205: an input portion 1206 including a keyboard, a mouse, etc.; an output portion 1207 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage portion 1208 including a hard disk, etc.; and a communication portion 1209 including a network interface card such as a LAN card, a modem, etc. The communication portion 1209 performs communication processing via a network such as the Internet. A drive 1210 is also connected to the I / O interface 1205 as needed. A removable medium 1211, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1210 as needed, so that a computer program read therefrom is installed into the storage portion 1208 as needed.
[0141] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist independently without being assembled into the device / apparatus / system.
[0142] According to an embodiment of the present disclosure, a computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, may include but is not limited to: 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), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, an apparatus, or a device. For example, according to an embodiment of the present disclosure, a computer-readable storage medium may include the ROM 1202 and / or RAM 1203 described above and / or one or more memories other than ROM 1202 and RAM 1203.
[0143] The present disclosure also provides a computer program, which includes one or more programs. The above method 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 storage medium, and the computer program contains a 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 through the communication part 1209, and / or installed from the removable medium 1211. When the computer program is executed by the processor 1201, the above functions defined in the system of the embodiment of the present disclosure are executed. According to an embodiment of the present disclosure, the system, device, means, module, unit, etc. described above can be implemented by a computer program module.
[0144] Those skilled in the art will appreciate that the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways, even if such combinations or combinations are not explicitly described in the present disclosure. These embodiments are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the various embodiments are described above, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. The scope of the present disclosure is defined by the attached claims and their equivalents. Without departing from the scope of the present disclosure, those skilled in the art may make a variety of substitutions and modifications, all of which should fall within the scope of the present disclosure.
Claims
1. A DevOps-based online document processing method executed by a server, wherein the online document comprises at least two chapters, the online document comprises a document creation stage and at least one document approval stage, and the method comprises: Obtaining a chapter approval result of a specified chapter in an online document in a document approval stage, wherein the chapter approval result includes approval rejection; In response to the chapter approval result being approval rejection, modifying the document stage of the designated chapter to the document creation stage, so as to receive the modified chapter from a client having processing authority for the document creation stage; as well as Circulating the modified chapters in order according to the at least one document approval stage to obtain an approval result for the modified chapters, so as to determine an approval result of the online document based on the chapter approval results of each of the at least two chapters; The online document processing method further includes updating the online document in the document approval stage by sequentially copying the online document, adding a new chapter, and synchronizing the online document, wherein updating the online document includes: receiving a second chapter creation instruction, where the second chapter creation instruction is for an online document in a document approval stage; In response to the second section creation instruction, forming a sub-online document of the online document in the document instance set by copying, wherein the sub-online document has a different version number from the online document; For the sub-online document, the sub-section identifier, the sub-document identifier and the sub-section content details corresponding to the sub-section content are stored in a document content set in association with each other; and In response to the sub-online document entering the document approval stage, information in the online document except for the sub-sections is synchronized to the sub-online document, and the online document is disabled.
2. The method according to claim 1, wherein: The document creation phase creates the online document in the following manner: receiving a document creation request, wherein the document creation request includes a document template name and version association information; In response to the document creation request, a document template identifier corresponding to the document template name is determined from a document template set, a document identifier is generated, and a document chapter identifier, a document chapter name corresponding to the document chapter identifier, and a document template identifier are added to a document chapter attribute set, wherein the document chapter name is obtained from a document template corresponding to the document template name, and chapter content details of the document chapter name are stored in a document content set; as well as The document identifier, the document template identifier, the document instance name and the version association information are stored in a document instance collection in an associated manner.
3. The method according to claim 2, further comprising: receiving a first chapter creation instruction, wherein the first chapter creation instruction is for an online document in a document creation stage; as well as In response to the first chapter creation instruction, a newly added chapter identifier, the document identifier, the newly added chapter name and the newly added chapter content details are stored in a document temporary chapter set in an associated manner.
4. The method according to claim 3, further comprising: Receiving a document query instruction, wherein the document query instruction includes a document instance name; Determining document properties associated with the document instance name, the document properties including a document identifier; Determine the document chapter identifier and the newly added document chapter identifier associated with the document identifier; Determine the document chapter name corresponding to the document chapter identifier and the newly added document chapter name corresponding to the newly added document chapter identifier, and determine the chapter content details corresponding to the document chapter identifier and the newly added document chapter content details corresponding to the newly added document chapter identifier; as well as At least one of the document chapter name, the newly added document chapter name, the chapter content details, the newly added document chapter content details and the document attributes is sent to the client so that the client can display them.
5. The method according to any one of claims 1 to 4, wherein: The chapter approval result also includes approval; The method further comprises: In response to the chapter approval result being approval passed, the document stage of the designated chapter is modified to the next document stage of the current document stage in the at least one document approval stage, so that the designated chapter can be approved by an account with approval authority for the next document stage of the current document stage.
6. The method according to any one of claims 1 to 4, wherein: The obtaining of the chapter approval result of the online document in the document approval stage includes: receiving a chapter approval instruction, wherein the chapter approval instruction includes a document chapter identifier and a document chapter status flag; and In response to the chapter approval instruction, the document chapter status of the chapter corresponding to the document chapter identifier is set as the document chapter status flag.
7. The method according to any one of claims 1 to 4, further comprising: In response to an operation on the online document satisfying a locking condition, the operation satisfying the locking condition is prohibited from being executed, wherein the locking condition is related to a time parameter in a system parameter management table of the online document.
8. A method for processing an online document executed by a client, wherein the online document comprises at least two chapters, the online document comprises a document creation phase and at least one document approval phase, the method comprising: Sending a chapter approval instruction to the server, wherein the chapter approval instruction includes a chapter approval result for a specified chapter in the online document in the document approval stage, wherein the chapter approval result includes approval rejection; as well as Acquire a modified chapter corresponding to the chapter approval result from the server, and approve the modified chapter, so as to determine the approval result of the online document based on the chapter approval results of the at least two chapters; The modified chapter is a modified chapter received from a client having processing authority for the document creation stage after the server changes the document stage of the designated chapter to the document creation stage in response to the chapter approval result being the approval rejection; The online document processing method further includes updating the online document in the document approval stage by sequentially copying the online document, adding a new chapter, and synchronizing the online document, wherein updating the online document includes: Send a second chapter creation instruction, wherein the second chapter creation instruction is for an online document in a document approval stage, so that the server-side responds to the second chapter creation instruction and forms a sub-online document of the online document in the document instance collection by copying, wherein the sub-online document has a different version number from the online document, and for the sub-online document, a sub-chapter identifier, a sub-document identifier and sub-chapter content details corresponding to the sub-chapter content are associatedly stored in a document content collection; in response to the sub-online document entering the document approval stage, information in the online document except the sub-chapter is synchronized to the sub-online document, and the online document is disabled.
9. A DevOps-based online document processing device, applied to a server, wherein the online document comprises at least two chapters, the online document comprises a document creation stage and at least one document approval stage, and the device comprises: A first approval result acquisition module is used to acquire a chapter approval result of a specified chapter in an online document in a document approval stage, wherein the chapter approval result includes approval rejection; A document stage modification module, configured to modify the document stage of the designated chapter to the document creation stage in response to the chapter approval result being approval rejection, so as to receive the modified chapter from a client having processing authority for the document creation stage; as well as A second approval result acquisition module, configured to sequentially circulate the modified chapter according to the at least one document approval stage to obtain an approval result for the modified chapter, so as to determine an approval result of the online document based on the chapter approval results of each of the at least two chapters; The modified chapter approval module is further used to update the online document in the document approval stage by sequentially copying the online document, adding a new chapter, and synchronizing the online document, wherein updating the online document includes: receiving a second chapter creation instruction, where the second chapter creation instruction is for an online document in a document approval stage; In response to the second section creation instruction, forming a sub-online document of the online document in the document instance set by copying, wherein the sub-online document has a different version number from the online document; For the sub-online document, the sub-section identifier, the sub-document identifier and the sub-section content details corresponding to the sub-section content are stored in a document content set in association with each other; In response to the sub-online document entering the document approval stage, information in the online document except for the sub-sections is synchronized to the sub-online document, and the online document is disabled.
10. An online document processing device, applied to a client, wherein the online document includes at least two chapters, the online document includes a document creation stage and at least one document approval stage, and the device includes: An approval instruction sending module is used to send a chapter approval instruction to the server, wherein the chapter approval instruction includes a chapter approval result for a specified chapter in an online document in a document approval stage, wherein the chapter approval result includes approval rejection; as well as A modified chapter approval module is used to obtain a modified chapter corresponding to the chapter approval result from the server, and to approve the modified chapter, so as to determine the approval result of the online document based on the respective chapter approval results of the at least two chapters; wherein the modified chapter is a modified chapter received from a client having processing authority for the document creation stage after the server changes the document stage of the designated chapter to the document creation stage in response to the chapter approval result being the approval rejection; The modified chapter approval module is also used to send a second chapter creation instruction to an online document in a document approval stage, so that the server side updates the online document by sequentially executing the copying of the online document, the adding of a new chapter and the synchronization of the online document. The updating of the online document includes: the server side responds to the second chapter creation instruction, forms a sub-online document of the online document in the document instance collection by copying, the sub-online document has a different version number from the online document, and for the sub-online document, stores a sub-chapter identifier, a sub-document identifier and sub-chapter content details corresponding to the sub-chapter content in a document content collection in an associated manner; in response to the sub-online document entering the document approval stage, synchronizes the information in the online document except the sub-chapter to the sub-online document, and disables the online document.
11. An electronic device, comprising: one or more processors; A storage device for storing executable instructions, which, when executed by the processor, implements the online document processing method executed by the server according to any one of claims 1 to 7, or implements the online document processing method executed by the client according to claim 8.
12. A computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, implement the online document processing method executed by a server according to any one of claims 1 to 7, or implement the online document processing method executed by a client according to claim 8.
Citation Information
Patent Citations
Document management method and system
CN105068979A
Online document processing method and device and electronic equipment
CN112035861A