Method for referencing document element, and code development platform

By introducing the document element reference method into the code development platform and using the instruction information in the template to automatically reference document elements at different development stages or design links, the problem of low collaboration and synchronization efficiency of document element content is solved, and the efficiency of information transmission and design are improved. Content consistency of links.

WO2024198695A1PCT designated stage expired Publication Date: 2024-10-03HUAWEI CLOUD COMPUTING TECHNOLOGIES CO LTD
View PDF 11 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/074479
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-27
Filing Date
2024-01-29
Publication Date
2024-10-03

AI Technical Summary

Technical Problem

The existing code development platform is difficult to achieve collaboration and synchronization of document element content between different design documents, resulting in low information transmission efficiency and lack of fast collaboration and synchronization methods, which affects product design work efficiency.

Method used

By introducing the document element reference method into the code development platform, the instruction information in the template is used to automatically reference document elements in different development stages or design links, realizing automatic reference and synchronization of document elements and reducing the need for manual input and communication.

Benefits of technology

It improves the efficiency of collaboration and synchronization between multiple development stages or design links, ensures fast and accurate information transmission, and enhances the content consistency of the design links of the code development platform.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024074479_03102024_PF_FP_ABST
    Figure CN2024074479_03102024_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the embodiments of the present application are a method for referencing a document element, and a code development platform. The method comprises: a code development platform acquiring a first template at a first development stage (310); the code development platform determining indication information according to the first template, wherein the indication information is used for indicating reference to a first document element in a second document at a second development stage (320); and according to the indication information and the first template, the code development platform constructing a first document, which comprises the first document element, and managing development content of a software product at the first development stage according to the constructed first document (330). In the technical solution of the present application, it is determined by means of a first template and indication information that a first document references a document element in a second document, such that the document element is automatically referenced, thereby improving the efficiency of document element reference in a design process.
Need to check novelty before this filing date? Find Prior Art

Description

A document element reference method and code development platform

[0001] This application claims priority to the Chinese patent application with application number 202310308933.6 filed with the State Intellectual Property Office of China on March 27, 2023, and priority to the Chinese patent application with the invention name “A method and code development platform for document element reference”, all contents of which are incorporated by reference into this application. Technical Field

[0002] The embodiments of the present application relate to the field of cloud computing, and more specifically, to a document element reference method and a code development platform. Background Art

[0003] Code development platforms in cloud environments enable communication and collaboration between developers and operations personnel. Through automated development and operations processes, they make product building, testing, and release faster, more frequent, and more reliable. DevOps platforms, for example, are a combination of the words "development" and "operations." In recent years, code development platforms have generally used design documents stored in online knowledge bases to manage design content across various development stages within the platform, such as through online knowledge base tools for product design and modeling.

[0004] However, each development stage in the code development platform may correspond to different developers or testers, and there may be duplication of content between the design documents corresponding to multiple development stages or design links. The current code development platform is difficult to achieve coordination and synchronization of duplicate content between different design documents.

[0005] Summary of the Invention

[0006] The embodiments of the present application provide a method for document element reference and a code development platform, which realizes automatic reference of document elements between different design documents based on templates, thereby improving the efficiency of information transmission between various development stages or design links of the code development platform.

[0007] In a first aspect, a method for referencing document elements is provided. The method is applied to a code development platform, which is deployed in a data center and is applied to the development of a software product. The development of the software product includes at least one of the following development stages: requirements management, product design, compilation development, use case testing, or product deployment. The method includes: the code development platform obtains a first template for a first development stage, where the first development stage is a development stage in the development of the software product; the code development platform determines, based on the first template, indication information, where the indication information is used to indicate a reference to a first document element in a second document in a second development stage, where the second development stage is a development stage in the development of the software product, and the second document is used to manage product development content in the second development stage; the code development platform constructs a first document based on the indication information and the first template, where the first document includes the first document element; and the code development platform manages the development content of the software product in the first development stage based on the constructed first document.

[0008] According to the technical solution provided in this application, designers only need to determine the instruction information according to the template corresponding to the document to realize the automatic reference of document elements. There is no need to manually communicate with designers in other design links to obtain reference content of other design links, thereby improving the collaboration and synchronization efficiency between multiple development stages or design links.

[0009] In combination with the first aspect, in certain implementations of the first aspect, the code development platform determines the indication information based on the first template, including: the code development platform determines the indication information included in the first template, wherein the indication information includes the identity information and indication element of the second template in the second development stage, the indication element is used to describe the first document element, and the second document is constructed based on the second template.

[0010] According to the technical solution provided in this application, designers can enter instruction information in the template, and the code development platform can determine the referenced document elements based on the instruction information by traversing the content in the template, thereby improving the efficiency of referencing document elements.

[0011] In combination with the first aspect, in certain implementations of the first aspect, the code development platform constructs a first document based on the indication information and the first template, including: the code development platform determines the second document constructed based on the second template based on the identity information of the second template; the code development platform determines the first document element in the second document based on the indication element; and the code development platform inserts the first document element in the second document into the first template to obtain the first document.

[0012] According to the technical solution provided in this application, the code development platform can directly determine the first document element in the referenced second document based on the identity information and indication element of the second template carried in the indication information, thereby improving the efficiency of determining the referenced document element.

[0013] In combination with the first aspect, in certain implementations of the first aspect, the code development platform determines the indication information based on the first template, including: the code development platform determines the indication information from the associated information of the first template based on the first template, wherein the associated information is used to describe the reference relationship and reference content between the first template and other templates, and the indication information includes reference relationship indication information and reference content indication information, the reference relationship indication information is used to indicate that the first template references the second template in the second development stage, and the reference content indication information is used to describe the first document elements, and the second document is constructed based on the second template.

[0014] According to the technical solution provided in this application, a reference and association method between multiple templates is provided to achieve automatic association to reduce the operation of manually entering instruction information.

[0015] In combination with the first aspect, in certain implementations of the first aspect, the association information corresponds to a knowledge graph, and the code development platform determines the indication information from the association information of the first template based on the first template, including: the code development platform determines the first node corresponding to the first template in the knowledge graph based on the first template; the code development platform determines the reference relationship indication information and the reference content indication information from the knowledge graph based on the first node, wherein the reference relationship indication information is a directed edge in the knowledge graph from the first node to the second node, and the reference content indication information is the edge information of the directed edge, and the second node corresponds to the second template.

[0016] According to the technical solution provided in this application, the code development platform can directly determine the first document element in the referenced second document based on the nodes, directed edges and other elements included in the knowledge graph, without the need for designers to manually input instruction information, and the efficiency of determining the referenced content is higher.

[0017] In combination with the first aspect, in certain implementations of the first aspect, the code development platform constructs a first document based on the indication information and the first template, including: the code development platform determines the second document constructed based on the second template based on the reference relationship indication information; the code development platform determines the first document element in the second document based on the reference content indication information; the code development platform inserts the first document element in the second document into the first template to obtain the first document.

[0018] According to the technical solution provided in this application, the code development platform can directly determine the referenced content by traversing the association relationship of the first template, thereby improving the efficiency of referencing document elements.

[0019] In combination with the first aspect, in certain implementations of the first aspect, the reference content indication information is also used to describe the target position information of the first document element; the code development platform determines the first document element in the second document based on the reference content indication information, and also includes: the code development platform determines the target position in the first template corresponding to the target position information based on the reference content indication information; the code development platform inserts the first document element in the second document into the first template to obtain the first document, including: the code development platform inserts the first document element in the second document into the target position in the first template to obtain the first document.

[0020] According to the technical solution provided in the present application, by adding position information to the associated information, accurate positioning of the position where the document element is inserted is achieved.

[0021] In combination with the first aspect, in certain implementations of the first aspect, the method further includes: the code development platform determines that the content of the first document element in the second document has changed to obtain the second document element; the code development platform generates change notification information, which is used to prompt that the first document element in the second document has changed to the second document element.

[0022] According to the technical solution provided in this application, the content consistency between various stages of the design process of the code development platform is enhanced by prompting changes in the content of document elements.

[0023] In combination with the first aspect, in some implementations of the first aspect, the change notification information is further used to indicate the difference between the first document element and the second document element.

[0024] According to the technical solution provided in this application, by providing a reference comparison of the modified content, designers can quickly determine the content that needs to be modified in the first document by comparing the content differences.

[0025] In combination with the first aspect, in certain implementations of the first aspect, before the code development platform generates change notification information, the method also includes: the code development platform determines that the key information of the second document element is different from the key information of the first document element, and the key information is determined based on the features used when summarizing the content of the document element.

[0026] According to the technical solution provided by this application, the resource waste of change notification information caused by minor modifications or non-substantive modifications is reduced.

[0027] In combination with the first aspect, in certain implementations of the first aspect, the code development platform determines that the key information of the second document element is different from the key information of the first document element, including: the code development platform determines the similarity value of the key information of the second document element relative to the key information of the first document element; when the similarity value is less than or equal to the similarity threshold, the code development platform determines that the key information of the second document element is different from the key information of the first document element.

[0028] According to the technical solution provided in this application, by introducing the similarity value of key information, the accuracy of judging whether document elements have undergone substantial modifications is improved, and the resource waste of change notification information caused by minor or non-substantial modifications is reduced.

[0029] In combination with the first aspect, in some implementations of the first aspect, the method further includes: the code development platform determines a keyword of the first document element; and the code development platform determines a third document element based on the keyword, wherein the third document element includes the keyword.

[0030] According to the technical solution provided by the present application, the recommendation of similar content of the referenced document elements is achieved, so that designers can have more reference content when writing the first document.

[0031] In a second aspect, a code development platform is provided, which is deployed in a data center and is applied to the development of software products. The development of the software products includes at least one of the following development stages: demand management, product design, compilation development, use case testing, or product deployment. The code development platform includes: an acquisition module for acquiring a first template for a first development stage, where the first development stage is a development stage in the development of the software product; a processing module for determining indication information based on the first template, where the indication information is used to indicate a reference to a first document element in a second document in a second development stage, where the second development stage is a development stage in the development of the software product, and the second document is used to manage product development content in the second development stage; and a construction module for constructing a first document based on the indication information and the first template, where the first document includes the first document element, and managing the development content of the software product in the first development stage based on the constructed first document.

[0032] In combination with the second aspect, in certain implementations of the second aspect, the processing module is specifically used to: determine the indication information included in the first template, wherein the indication information includes the identity information and indication element of the second template in the second development stage, and the indication element is used to describe the first document element, and the second document is constructed based on the second template.

[0033] In combination with the second aspect, in certain implementations of the second aspect, the processing module is specifically used to: determine the second document constructed according to the second template based on the identity information of the second template, and determine the first document element in the second document based on the indication element; the construction module is specifically used to: insert the first document element in the second document into the first template to obtain the first document.

[0034] In combination with the second aspect, in certain implementations of the second aspect, the processing module is specifically used to: determine indication information from the associated information of the first template based on the first template, wherein the associated information is used to describe the reference relationship and reference content between the first template and other templates, and the indication information includes reference relationship indication information and reference content indication information, the reference relationship indication information is used to indicate that the first template references the second template in the second development stage, and the reference content indication information is used to describe the first document elements, and the second document is constructed based on the second template.

[0035] In combination with the second aspect, in certain implementations of the second aspect, the association information corresponds to a knowledge graph, and the processing module is specifically used to: determine, based on the first template, the first node corresponding to the first template in the knowledge graph, and based on the first node, determine the reference relationship indication information and the reference content indication information from the knowledge graph, wherein the reference relationship indication information is a directed edge in the knowledge graph from the first node to the second node, and the reference content indication information is the edge information of the directed edge, and the second node corresponds to the second template.

[0036] In combination with the second aspect, in certain implementations of the second aspect, the processing module is specifically used to: determine the second document constructed according to the second template based on the reference relationship indication information, and determine the first document element in the second document based on the reference content indication information; the construction module is specifically used to: insert the first document element in the second document into the first template to obtain the first document.

[0037] In combination with the second aspect, in certain implementations of the second aspect, the reference content indication information is also used to describe the target position information of the first document element; the processing module is also used to: determine the target position in the first template corresponding to the target position information based on the reference content indication information; the construction module is also used to: insert the first document element in the second document into the target position in the first template to obtain the first document.

[0038] In combination with the second aspect, in certain implementations of the second aspect, the code development platform also includes a generation module, and the processing module is further used to: determine whether the content of the first document element in the second document has changed to obtain the second document element; the generation module is used to: generate change notification information, and the change notification information is used to prompt that the first document element in the second document has changed to the second document element.

[0039] In combination with the second aspect, in some implementations of the second aspect, the change notification information is further used to indicate the difference between the first document element and the second document element.

[0040] In combination with the second aspect, in certain implementations of the second aspect, before the generation module generates change notification information, the processing module is also used to: determine that the key information of the second document element is different from the key information of the first document element, and the key information is determined based on the features used when summarizing the content of the document element.

[0041] In combination with the second aspect, in certain implementations of the second aspect, the processing module is specifically used to: determine the similarity value of the key information of the second document element relative to the key information of the first document element, and when the similarity value is less than or equal to the similarity threshold, determine that the key information of the second document element is different from the key information of the first document element.

[0042] In combination with the second aspect, in some implementations of the second aspect, the processing module is further used to: determine a keyword of the first document element, and determine a third document element based on the keyword, where the third document element includes the keyword.

[0043] In a third aspect, a computing device is provided, comprising a processor and a memory, wherein the memory is used to store instructions, and the processor is used to execute the instructions stored in the memory, so that the computing device executes the method in the first aspect or any possible implementation of the first aspect.

[0044] In a fourth aspect, a computing device cluster is provided, comprising at least two computing devices, each computing device comprising a processor and a memory, wherein the memory is used to store instructions, and the processor is used to call and run the instructions from the memory, so that the computing device cluster executes the method in the first aspect or any possible implementation of the first aspect.

[0045] Optionally, the processor may be a general-purpose processor, which may be implemented in hardware or software. When implemented in hardware, the processor may be a logic circuit, an integrated circuit, or the like; when implemented in software, the processor may be a general-purpose processor implemented by reading software code stored in a memory, which may be integrated into the processor or located independently of the processor.

[0046] In a fifth aspect, a chip is provided, which obtains instructions and executes the instructions to implement the method in the above-mentioned first aspect or any possible implementation manner of the first aspect.

[0047] Optionally, as an implementation, the chip includes a processor and a data interface, and the processor reads instructions stored in the memory through the data interface to execute the method in the above-mentioned first aspect or any possible implementation of the first aspect.

[0048] Optionally, as an implementation method, the chip may also include a memory, in which instructions are stored, and the processor is used to execute the instructions stored in the memory. When the instructions are executed, the processor is used to execute the method in the above-mentioned first aspect or any possible implementation method of the first aspect.

[0049] In a sixth aspect, a computer program product comprising instructions is provided. When the instructions are executed by a computing device or a computing device cluster, the computing device or the computing device cluster executes the method in the above-mentioned first aspect or any possible implementation of the first aspect.

[0050] In the seventh aspect, a computer-readable storage medium is provided, comprising computer program instructions. When the computer instructions are executed by a computing device or a computing device cluster, the computing device or the computing device cluster executes the method in the above-mentioned first aspect or any possible implementation of the first aspect.

[0051] By way of example, these computer-readable storage media include, but are not limited to, one or more of the following: read-only memory (ROM), programmable ROM (PROM), erasable PROM (EPROM), Flash memory, electrically EPROM (EEPROM), and a hard drive.

[0052] Optionally, as an implementation manner, the above-mentioned storage medium may specifically be a non-volatile storage medium. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] FIG1 is a schematic diagram of a system based on a cloud server system provided in an embodiment of the present application.

[0054] FIG2 is a schematic diagram of the system architecture of a code development platform provided in an embodiment of the present application.

[0055] FIG3 is a schematic block diagram of a method for referencing document elements provided in an embodiment of the present application.

[0056] FIG4 is a schematic diagram of a template and document provided in an embodiment of the present application.

[0057] FIG5 is a schematic diagram of a template and document reference interface provided in an embodiment of the present application.

[0058] Figure 6 is a schematic diagram of a knowledge graph provided in an embodiment of the present application.

[0059] FIG7 is a schematic diagram of another template and document reference interface provided in an embodiment of the present application.

[0060] FIG8 is a schematic diagram of a change notification method provided in an embodiment of the present application.

[0061] FIG9 is a schematic diagram of a system architecture for a change notification provided in an embodiment of the present application.

[0062] FIG10 is a schematic structural block diagram of a code development platform provided in an embodiment of the present application.

[0063] FIG11 is a schematic structural block diagram of a computing device provided in an embodiment of the present application.

[0064] FIG12 is a schematic structural block diagram of a computing device cluster provided in an embodiment of the present application.

[0065] FIG13 is a schematic structural block diagram of another computing device cluster provided in an embodiment of the present application. DETAILED DESCRIPTION

[0066] The following will describe the technical solutions in the embodiments of this application in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0067] Unless otherwise specified, all technical and scientific terms used in the embodiments of the present application have the same meaning as those commonly understood by those skilled in the art in the art of the present application. The terms used in this application are only for the purpose of describing specific embodiments and are not intended to limit the scope of this application.

[0068] It should be understood that in the various embodiments of the present application, the size of the serial number of each process does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0069] Additionally, in the embodiments of this application, words such as "exemplary" and "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described in this application as "exemplary" should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of the word "exemplary" is intended to present concepts in a concrete manner.

[0070] In the embodiments of the present application, “corresponding” and “relevant” may sometimes be used interchangeably. It should be noted that when the distinction between them is not emphasized, the meanings they intend to express are consistent.

[0071] The network architecture and business scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. A person skilled in the art will appreciate that, with the evolution of the network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are equally applicable to similar technical problems.

[0072] References to "one embodiment" or "some embodiments" in this specification mean that a particular feature, structure, or characteristic described in conjunction with that embodiment is included in one or more embodiments of the present application. Thus, phrases such as "in one embodiment," "in some embodiments," "in other embodiments," and "in yet other embodiments" appearing in various places in this specification do not necessarily refer to the same embodiment, but rather mean "one or more but not all embodiments," unless otherwise specifically emphasized. The terms "including," "comprising," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.

[0073] In this application, "at least one" means one or more, and "more" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: including the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.

[0074] Code development platforms in cloud environments can enable communication and collaboration between developers and operations personnel, and make product building, testing, and release faster, more frequent, and more reliable through automated processes for development and operations maintenance, such as DevOps platforms.

[0075] For example, the term DevOps, derived from the combination of development and operations, describes the communication, collaboration, and integration between development (application / software engineering), technical operations, and quality assurance departments. A DevOps platform is an agile development platform used by R&D organizations to integrate development and operations work. It uses the DevOps platform's environment and tools to support developers in automated continuous integration (CI), continuous delivery (CD), project and requirements management, and design and document management.

[0076] In the cloud era, system scale is rapidly expanding, while product release cycles are becoming increasingly shorter. How to shorten release cycles while improving release quality is a major challenge. Code development platforms in cloud environments can coordinate various cloud resources to implement an agile development pipeline. They complete pipeline steps such as collaborative code development, automated verification, automated compilation, automated testing, and automated deployment. This effectively promotes collaboration among developers, testers, and operations personnel, improving work efficiency and ultimately shortening product release cycles while ensuring the quality of software releases.

[0077] To facilitate understanding of the cloud environment, Figure 1 shows a schematic diagram of a cloud server system. As shown in Figure 1, a code development platform 110 is used to manage the infrastructure that provides multiple cloud services. This infrastructure includes multiple cloud data centers, each of which includes multiple servers. Each server includes cloud service resources, providing corresponding cloud services to tenants.

[0078] The code development platform 110 provides an access interface (such as an interface or application program interface (API)). The tenant can operate the client remote access access interface to register a cloud account and password on the code development platform and log in to the code development platform. After the code development platform successfully authenticates the cloud account and password, the tenant can further pay to select and purchase a virtual machine with specific specifications (processor, memory, disk) on the code development platform. After the payment is successfully made, the code development platform provides the remote login account and password of the purchased virtual machine. The client can remotely log in to the virtual machine and install and run the tenant's application in the virtual machine. Tenants of cloud services can be individuals, enterprises, schools, hospitals, administrative agencies, etc.

[0079] The functions of the code development platform 110 include, but are not limited to, a user console, computing management services, network management services, storage management services, authentication services, and image management services. The user console provides an interface or API for interacting with tenants. The computing management service is used to manage servers running virtual machines and containers, as well as bare metal servers. The network management service is used to manage network services (such as gateways, firewalls, etc.). The storage management service is used to manage storage services (such as data bucket services). The authentication service is used to manage tenant accounts and passwords. The image management service is used to manage virtual machine images. Tenants can use the client 130 to log in to the code development platform 110 via the Internet 120 to manage the rented cloud services.

[0080] For example, in an embodiment of the present application, the user of the code development platform may be a designer in a tenant. The designer may design and iterate the product at various development stages or design links through the code development platform 110, and construct a design document corresponding to the template based on the template in the code development platform and the information indicating the referenced document elements in the template.

[0081] To facilitate understanding of the code development platform, Figure 2 shows a system architecture diagram of a code development platform provided in an embodiment of the present application. The code development platform in Figure 2 covers all product development stages, organizational structure, engineering services, environment, and tools. That is, all functional modules throughout the product life cycle are implemented on the same code development platform.

[0082] In some embodiments of the present application, all functional modules on the code development platform are implemented on the same cloud server. For example, all functional modules are deployed on the same physical bare metal server for use by enterprise tenants dedicated to the code development platform. In other embodiments of the present application, all functional modules on the code development platform can be implemented on different cloud servers. For example, different functional modules are deployed on different elastic cloud servers (ECS), and tenants can formulate the CPU, memory, operating system, specifications, login authentication method, etc. corresponding to the elastic cloud server for each functional module based on different types of functional modules.

[0083] To use a functional module or application in the code development platform, a tenant can first purchase an Elastic Cloud Server (ECS) and then configure the ECS's basic configuration (region, specifications, image), network configuration (network, public IP), and advanced configuration (ECS name, login credentials, cloud backup). After configuring security rules and granting credit, the tenant can deploy the functional module or application in the code development platform to the ECS. To deploy other functional modules or applications, the tenant can configure a new ECS or use an existing one.

[0084] For example, taking a code development platform application and database operations as an example, a tenant can deploy the code development platform application and the data layer for encapsulating database operations on two different elastic cloud servers. Similarly, different applications and different types of database operations can be deployed on different elastic cloud servers, allowing the code development platform to handle more load.

[0085] In some embodiments of the present application, the different elastic cloud servers may belong to the same cloud computing data center, such as a single cloud computing data center dedicated to an enterprise tenant. In other embodiments of the present application, the different elastic cloud servers may also belong to multiple different cloud computing data centers, thereby meeting the tenant's multi-cloud computing data center environment. For example, if a data leak or incident occurs in a cloud computing data center, the tenant can allocate the data or traffic of the cloud computing data center to another cloud computing data center to achieve rapid failover.

[0086] As shown in Figure 2, the development phase of a code development platform encompasses the entire process from requirements analysis to product release, including requirements management, product design, compilation and development, use case testing, and product deployment. During the requirements management phase, product designers or tenants can identify and describe the features and functions of the upcoming software product. Based on the features, functions, scenario-based requirements, and task types of the upcoming application or system, they can determine the application or system's permission model, authentication design, data analysis, compliance analysis, and common security vulnerability analysis.

[0087] Furthermore, during the product design phase, designers or tenants can determine the architecture or code for the upcoming software product based on the analysis results from the requirements management work items. During the compilation and development phase, they can build a software product deployable to the cloud environment based on code in multiple languages, frameworks, and development scenarios. During the use case testing phase, product designers or tenants can implement test management and automated testing of product test cases based on the software products identified during the product design phase. For example, tenants can use automated testing to test software modules, application programming interfaces (APIs), and user interfaces (UIs). The analysis results from test management can be used to understand the progress and execution status of various software product tests. Finally, the tested product can be deployed to the cloud server during the product deployment phase.

[0088] Optionally, each development phase of the code development platform can include one or more design phases. For example, the requirements development phase can include domain analysis and requirements design, the product design process can include architecture design and feature design, and the use case testing process can include test design.

[0089] The organizational structure of the code development platform includes product, construction, development, testing, operation and maintenance, etc. This organizational structure covers all functions of the product line and corresponds to the various development stages in the code development platform system architecture.

[0090] The engineering services of the code development platform are distributed throughout the development phase. These services aim to improve product iteration speed and delivery quality. For example, the microservices in Figure 2 break down a large application into multiple smaller, simpler applications to improve software system delivery efficiency and quality. The grayscale release in Figure 2 allows different product users to use multiple features, and adjusts the scope of use of features based on user feedback. This improves the product's trial-and-error capabilities and reduces the risks associated with new version releases.

[0091] The code development platform environment includes a development environment, a production-like environment, a production environment (grayscale), and a production environment. The development environment is used for building and continuously integrating products, the production-like environment is used for continuous functional testing of products, the production environment (grayscale) is used for trial runs and acceptance testing of products, and the final production environment is used for running products and continuously monitoring them.

[0092] It is worth noting that the code development platform in Figure 2 is merely an example of a code development platform provided in the embodiments of this application and does not impose any restrictions on the functional modules, framework structure, or the order of various processes involved in code development. For example, the development phase of the code development platform in Figure 2 may also include quality monitoring processes for analyzing application performance, and engineering services may also include test case management, security alerts, and so on.

[0093] In recent years, code development platforms generally use design documents managed by online knowledge bases to manage the content of each development stage or design link iteration in the code development platform. In some embodiments of the present application, the code development platform can use one or more design documents in each development stage in Figure 2 to implement the management of the development content of the development stage or design link and the design of the product. For example, the demand management stage may include a domain analysis link and a demand analysis link. The domain analysis link may correspond to a domain analysis document, and the demand analysis link corresponds to a demand analysis document. Similarly, the product design stage may include an architecture design document or a feature design document, and the use case test document may include a test design document, etc., and each development stage may contain one or more corresponding design documents. These documents may be multiple independent document files, or they may be a total document containing multiple sub-documents. For example, the above-mentioned product design stage may correspond to two design documents, architecture design and feature design, and also correspond to a total design document, and the total design document contains two sub-contents, architecture design and feature design.

[0094] Based on the content of the development stages in Figure 2 above, the content of design documents in each development stage or design link of code development may depend on the content of design documents in previous stages. For example, in the product design process, designers need to determine the software product to be created based on the analysis results obtained in the requirements development stage. In other words, the design documents of the product design process need to be written based on the content of the design documents in the requirements development stage. In addition, the designers who complete the various development stages or design links from requirements management to product deployment in the R&D process may come from different organizations or departments, and collaboration and synchronization are required between multiple development stages or multiple design links.

[0095] For example, this collaboration and synchronization can occur between the requirements analysis phase and all design phases in the product design process. Designers in the product design process need to determine the corresponding architecture or code for the product based on the requirements analysis results or the content of the design document. Therefore, designers in the requirements analysis phase need to collaborate and synchronize the content of the requirements analysis document with all designers in the product design process. Without a fast collaboration and synchronization method between multiple development phases or design phases, the slow information transfer rate will affect product design efficiency.

[0096] To improve collaboration and synchronization between multiple development stages or design phases, this application proposes a method for referencing document elements. Figure 3 illustrates a method 300 for referencing document elements in accordance with an embodiment of this application. Method 300 includes steps 310, 320, and 330. This method is implemented on a code development platform. Designers set templates for design documents at each development stage or design phase, determine instruction information based on the templates, and then automatically reference document elements during document construction.

[0097] Step 310: The code development platform obtains a first template in the first development phase.

[0098] It should be understood that templates can be used to organize product development ideas and can be used to build documents. Documents can be used to describe or manage product development content. In the embodiments of the present application, each development stage in the development of a software product can have a corresponding template or document. The template includes indicator elements, and the document includes document elements. As can be seen from the above, document elements can be elements used to divide the content of a document, such as a document's table of contents, footnotes, tables, pictures, or paragraphs, while indicator elements are used to indicate the content of document elements. The correspondence between templates and documents will be described in detail later, and is not limited here.

[0099] Step 320: The code development platform determines indication information based on the first template, where the indication information is used to indicate a reference to a first document element in a second document in the second development phase.

[0100] It should be understood that the code development platform determines the indication information used to indicate the referenced content based on the first template, that is, the first document constructed based on the first template needs to reference the first document element in the second document. The second document is used to manage the product development content in the second development phase. The indication information may be included in the content of the first template, and the code development platform determines the indication information by traversing the content of the first template. The indication information may also not be included in the first template. For example, the indication information may be determined by the code development platform based on the associated information of the first template. The content of the indication information and the method for determining the indication information will be introduced in detail later and will not be elaborated here.

[0101] Step 330: The code development platform constructs a first document according to the instruction information and the first template, wherein the first document includes first document elements, and manages the development content of the product in the first development phase according to the constructed first document.

[0102] It should be understood that the designer can edit the content in the created first document, and the created first document already contains the content of the first document element in the second document, thereby realizing the rapid and automatic reference of the document elements. In other embodiments of the present application, the first document can also be a document that has been created and the content has been written. If new instruction information is added, the code development platform will only reference the document elements indicated by the newly added instruction information, and will not make any modifications to other document elements in the first document. By constructing the first document, the code development platform can manage the development content of the first development stage corresponding to the first document.

[0103] According to the above method 300, designers only need to layout the template corresponding to the design document to realize automatic reference of document elements, and do not need to communicate manually with designers in other design links to obtain reference content of other design links, thereby improving the collaboration and synchronization efficiency between multiple development stages or design links.

[0104] The implementation process of method 300 will be described in detail below according to an embodiment. To facilitate understanding of templates and documents, FIG4 shows a schematic diagram of a template and a document, wherein the template includes multiple indicator elements and the document includes multiple document elements.

[0105] As shown in Figure 4, the "Product Requirements.dot" template includes a table of contents, headings, and an overview of the content under each heading. Optionally, the template can also include the basic document structure and document settings, such as fonts, shortcut keys, macros, page setup, and styles. When designers build documents based on the first template, the newly created document automatically incorporates the content configured in the first template, eliminating repetitive setup work.

[0106] Alternatively, the content of the first template can be a pre-defined content framework. This framework serves as an outline for designers to subsequently construct the first document based on the first template. For example, the framework can include a defined table of contents, major and minor headings, a summary of the content for each heading, and the basic document structure and settings. Designers can then construct the document directly based on the framework. As shown in Figure 4, the content framework in the template can follow the order of "background description - functional description - risk analysis" and can also include pre-defined major and minor headings. Furthermore, the specific content of each paragraph can be pre-defined for the designer. For example, the section "1.1 Current Problem" can include three paragraphs: "Problems with the Current Product," "Opportunities in the Current Market," and "User Pain Points to be Addressed." Designers can then construct and write the design document directly based on the content framework provided by the template. As shown in the document in Figure 4, the content of specific document elements within the document is determined based on the content framework provided by the template. For example, based on the "[Paragraph: Solutions Based on the Problem]" section in Section 1.3 of the template, the designer writes in Section 1.3, "According to Section 1.2, the solution includes the following points:..."

[0107] Optionally, the indicator elements in the template can be the large and small titles of the content framework defined above. The large and small titles serve as indicator elements to divide the content in the document to be constructed. For example, the main title can be the "1 Background Description", "2 Function Description" and "3 Risk Analysis" mentioned above, and the subtitle of each paragraph can be the "1.1 Problem Status" or "2.1 Function List" mentioned above. In other embodiments of the present application, when the framework structure of the template is confirmed to not change, the indicator element can also be the serial number of the title, such as using the serial number "1" to indicate the entire chapter content of the background description of the first chapter or using the serial number "1.1" to indicate the entire section content of the problem status in section 1.1. Designers can directly write or construct the document elements of the document based on the above-mentioned large and small titles.

[0108] Optionally, the indicator element in the template can be a content overview corresponding to each title given in the template. The content overview is used to describe the main content of one or more document elements that need to be written under the corresponding title. Designers can add paragraphs, pictures, tables and other document elements in the document based on these content overviews. For example, the content overview of the title "1.2 Problem Analysis" in Figure 4 is "Paragraph: The essential causes of product problems and user pain points". Designers can add paragraphs describing the current problems of the product, user pain points caused by the problems, and the essential causes of the problems under the title "1.2 Problem Analysis" based on the content overview. For another example, the content overview of the title "2.2 Functional Module" in Figure 4 is "Picture: Relationship diagram of functional modules". When writing this part, designers can add pictures of the association or dependency relationships between functional modules based on the content overview. In other embodiments of the present application, the above-mentioned content overview may not include specific types of document elements such as "paragraphs, tables, pictures". For example, the content overview "Paragraph: Problems with the current product" shown in Figure 4 can also be simply "Problems with the current product". When constructing the document element corresponding to the content overview "Problems with the current product", the designer can add paragraphs such as "The problems with the current product are as follows: 1, 2, 3..." according to the content needs, or add a table that lists the problems one by one, or add a scenario diagram or fault diagram that can describe the product problem.

[0109] Optionally, the template can correspond to one of the design links in each development stage of the code development platform, and the design document corresponding to the design link is a document constructed according to the template. For example, the template "Product Requirements.dot" shown in Figure 4 corresponds to the product requirements design link, and the design document corresponding to the product requirements design link is the document "Product Requirements.doc" shown in Figure 4. Designers can construct documents corresponding to product A based on the template, or they can construct documents corresponding to product B, that is, all documents for products to be designed or completed can be constructed based on the template. For example, the template can be a template corresponding to the requirements analysis link, and the file name is "Requirements Analysis.dot". When designing products A and B, tenants can construct "Requirements Analysis.doc" for products A and B respectively based on the template "Requirements Analysis.dot", and place them in the file directories corresponding to products A and B. Furthermore, the design documents of all products to be designed or completed can use document elements or document formats with similar content.

[0110] According to method 300, after obtaining the first template, the code development platform determines the indication information for indicating the reference to the first document element in the second document according to the first template, and constructs the first document according to the first template and the indication information. The following will introduce an embodiment of a method 300 proposed in this application in conjunction with Figure 5. Figure 5 shows a schematic diagram of the reference interface corresponding to this embodiment. Among them, Figure 5 includes the first template, the second template, the first document "Product Design.doc" constructed according to the first template "Product Design.dot", and the second document "Product Requirements.doc" constructed according to the second template "Product Requirements.dot". The indication elements of the first template, such as large and small titles, content overviews, and large and small titles, paragraphs, tables, and pictures of the first document correspond one to one, and the indication elements in the second template and the document elements in the second document have the same correspondence. For the convenience of description, the document elements inserted into the second document of the first template can be referred to as first document elements.

[0111] In this embodiment, the indication information is present in the first template, namely, the underlined portion shown in the schematic diagram of the first template in FIG5 . It is worth noting that the underlined portion shown in FIG5 is only for ease of image recognition and does not represent the actual presentation of the template, and does not limit the template content in this application. In an actual template, the code development platform may annotate the indication information using methods such as underlining or highlighting, or may not annotate the indication information at all.

[0112] In the embodiment shown in FIG5 , the first template includes a variety of symbols, such as square brackets “[]”, curly brackets “{}”, “$$”, and “&&”. As mentioned above, the content in the square brackets “[]” is used to describe the content overview. For example, “[Paragraph: User pain points that the product needs to solve]” in FIG5 is used to describe the content of the document element that needs to be written under the title “1.3 Product Background” as “The user pain points that the product urgently needs to solve are…”. The instruction information in the first template can use curly brackets “{}” and “$$”, “&&” to indicate the referenced document elements.

[0113] Optionally, the indication information may be to use "{}" to indicate the first document element inserted into the first template. As shown in the indication information in FIG5 , the content in the curly brackets "{}" includes two parts. The first part may describe the identity information of the second template. For example, the "product requirements" in "$${product requirements.paragraph: product problems}" under the title "1.3 Product Background" is used to describe the identity information of the second template "product requirements.dot" used to construct the second document "product requirements.doc" in FIG5 , indicating that the first document element in the second document "product requirements.doc" constructed according to the second template "product requirements.dot" is inserted into the first template. The second part is an indication element, which is used to indicate the first document element inserted into the first template. For example, as shown in FIG5 , the "paragraph: product problems" in "$${product requirements.paragraph: product problems}" is used to indicate the indication element "[paragraph: product problems]" shown in the second template "product requirements.dot". The indication element "[paragraph: product problems]" is used to indicate the first document element in the second document "product requirements.doc" "The problems with this product are as follows: ①..." In this way, according to the content in the curly brackets "{}" such as "{Product Requirements. Paragraph: Product Problems}", the first document element "The problems with this product are as follows: ①..." in the second document "Product Requirements.doc" can be determined and inserted into the first template "Product Design.dot".

[0114] Optionally, the first part and the second part can be separated by a specific symbol, such as the “.” in “$${product requirements.paragraph: product problems}” shown in FIG5 , or can be other symbols such as “-” that can divide the two parts.

[0115] Optionally, the indication information may further include a reference symbol, which is used to indicate the type of the referenced document element. For example, the "$$" in "$${Product Requirements. Paragraph: Product Issues}" shown in FIG5 indicates that the type of the referenced document element is a paragraph, and the "&&" in "&&{Product Requirements. Feature List}" indicates that the type of the referenced document element is a table. This application does not limit the specific form of the reference symbol.

[0116] Alternatively, in the embodiment shown in FIG5 , the code development platform may determine the indication information by traversing all the content in the first template to search for indication information such as reference symbols or codes. When a reference symbol or code is found, the reference symbol or code is parsed to obtain the reference relationship and reference content specifically referred to in the indication information.

[0117] For example, take the content shown in Figure 5 as an example. In the embodiment of Figure 5, the code development platform obtains two indication information in the first template, including "$${Product Requirements. Paragraph: Product Problems}" and "&&{Product Requirements. Function List}" by traversing the first template. First, the code development platform determines the second template "Product Requirements.dot" based on the identity information of the template in the above two indication information, and determines the second document "Product Requirements.doc" constructed according to the second template; secondly, the code development platform determines the document elements indicated by the indication elements in the second document "Product Requirements.doc" based on the indication elements in the second template in the above indication information, that is, the paragraphs and tables indicated by the indication elements "Paragraph: Product Problems" and "Function List", or in other words, the paragraph in Section 1.2 "The problems with this product are as follows:..." and the table "Table 2 Function List" shown in Section 2.1 shown in the schematic diagram of the second document in Figure 5; finally, as shown in the box content in the first document in Figure 5, the code development platform inserts the paragraph in Section 1.2 "The problems with this product are as follows:..." and the table in Section 2.1 into the first template "Product Design.dot". Designers can use the content in the above box as a reference to write or construct a complete first document.

[0118] It is worth noting that, similar to the underline annotation, the above-mentioned method of marking the referenced document elements with boxes is only an example and does not limit the document content of this application. The annotation method for the referenced document elements in the first document can also use a font or font size different from that of the main text of the first document.

[0119] Optionally, the insertion position of the document element in the above-mentioned second document can be determined based on the position of the indication information in the first template. For example, as shown in Figure 5, the indication information "$${Product Requirements. Paragraph: Product Problems}" is after the section 1.3 title and before "[Paragraph: User Pain Points that the Product Needs to Solve]" in the first template, then the position of the document element "The problems with this product are as follows: ①..." indicated by the indication information in the second document can be between the section 1.3 title and "The user pain points that this product urgently needs to solve are..." in the first document. In other embodiments of the present application, the insertion position of the document element can also be the blank area on both sides of the section 1.3 title or the "User pain points that this product urgently needs to solve are..." paragraph in the first document, that is, the insertion position is not in the main text area of ​​the first document.

[0120] Optionally, in other embodiments of the present application, the insertion position of the document elements of the second document may also be the beginning of the document, the end of the document, or the non-text area of ​​the document. For example, if the designer cannot clearly specify the specific location of the instruction information when adding the instruction information to the first template, the code development platform may insert the document elements of the second document at the beginning of the first template or the end of the first template, that is, the position of the first document elements is at the beginning or end of the first document, or place all the document elements of the second document to be inserted in the blank areas on both sides of the first document or other non-text areas.

[0121] The following describes another embodiment proposed by the present application, which is different from the embodiment corresponding to Figure 5 in that the instruction information is determined based on the content in the first template. In this other embodiment, the instruction information is not in the first template, and the code development platform determines the instruction information based on the associated information of the first template.

[0122] The association information of the first template can be used to describe the reference relationship and reference content between the first template and other templates. The code development platform can determine the document elements that need to be referenced by the first document corresponding to the first template based on the reference relationship and reference content between the first template and other templates. For example, the indication information may include reference relationship indication information and reference content indication information. The reference relationship indication information is used to indicate that the first template references the second template, and the second document is constructed based on the second template. The reference content indication information is used to describe the first document element. The reference content indication information may be the indication element mentioned above, and may also include the location information of the reference content, such as the subheading corresponding to the location, or the document element number, such as the mth paragraph of page n or Figure k, Table k. The code development platform can determine the first document element in the second document indicated by the indication information based on the indication information.

[0123] For example, in some embodiments of the present application, the association information may correspond to a table recording reference relationship indication information and reference content indication information between templates. Table 1 shows an association table provided in an embodiment of the present application.

[0124] Table 1

[0125] As shown in Table 1, the code development platform can search for the first template in step 310 based on the original template in the first column of Table 1. The information in the second and third columns of Table 1 corresponding to the first template is the indicator information corresponding to the first template. For example, if the reference content indicator information is an indicator element, if Template 1 is the first template, the code development platform can determine, based on the two rows of data corresponding to Template 1 in Table 1 and the data in the second and third columns of Table 1, that the reference relationship indicator information between Template 1 and the other templates is that Template 1 references Template 2 and Template 3, and that the reference content indicator information is Indicator Element A in Template 2 and Indicator Element B in Template 3. If Indicator Element A corresponds to Document Element A, and Indicator Element B corresponds to Document Element B, respectively, based on the reference relationship and reference content of Template 1, the code development platform determines that Document 1 constructed based on Template 1 references Document Element A in Document 2 constructed based on Template 2, and references Document Element B in Document 3 constructed based on Template 3. Similarly, the code development platform can also determine that Document 2 constructed based on Template 2 references Document Element C in Document 4 constructed based on Template 4.

[0126] Optionally, Table 1 may also include a fourth column, "Reference Location," for the code development platform to determine the insertion location of the document element. For example, when the original template is Template 1, the code development platform may determine from Table 1 that Document 1 references Document Element A in Document 2 at Section 1.3 of Document 1, and references Document Element B in Document 3 at Section 2.1 of Document 2.

[0127] For example, in some embodiments of the present application, the association information may correspond to a knowledge graph. Figure 6 shows a schematic block diagram of a knowledge graph, wherein the knowledge graph includes nodes and directed edges connecting two nodes, each node corresponds to a template, and each directed edge includes a direction and edge information. The direction of the directed edge corresponds to the reference relationship between the templates corresponding to the two nodes, and the edge information of the directed edge is used to describe the referenced document element. For example, the edge information may be an indicator element. Optionally, the edge information may also include location information of the referenced document element.

[0128] The code development platform can determine the first node corresponding to the first template in the knowledge graph based on the first template, and determine the reference relationship indication information and the reference content indication information from the knowledge graph based on the first node corresponding to the first template. In an embodiment of the present application, the reference relationship indication information is a directed edge in the knowledge graph that is connected to the first node and points from the first node to the second node, the reference content indication information is the edge information of the directed edge, and the second node corresponds to the second template. The code development platform can determine the second template based on the reference relationship indication information, and then determine the second document constructed based on the second template based on the second template. At the same time, the code development platform can further determine the first document element in the second document based on the reference content indication information, and insert the first document element in the second document into the first template to obtain the first document.

[0129] The following is a detailed description of the process of document element reference by the above-mentioned code development platform in conjunction with Figure 6. As shown in Figure 6, the knowledge graph includes four nodes corresponding to templates 1 to template 4, and a plurality of directed edges connecting the four nodes. If template 1 is the first template mentioned above, the code development platform can determine the node corresponding to template 1 in the knowledge graph, and determine the reference relationship indication information and reference content indication information of the node corresponding to template 1. For example, the reference relationship indication information corresponding to template 1 can be the direction of three directed edges, two directed edges from the node corresponding to template 1 to the node corresponding to template 2 and one directed edge from the node corresponding to template 1 to the node corresponding to template 4, and the reference content indication information is the edge information contained in the directed edge, such as the reference indication element and reference location information included in Figure 6.

[0130] The following describes how the code development platform references document elements based on the knowledge graph in Figure 6, using Figure 7. Figure 7 shows a schematic diagram of the reference interface for Template 1 and Template 2. Template 1 and Document 1 have roughly the same content as the first template and first document in Figure 5, while Template 2 and Document 2 are identical to the second template and second document in Figure 5. The difference is that Template 1 does not contain any directive information. Based on the reference relationship indication information between the nodes corresponding to Template 1 and Template 2 in Figure 6, the code development platform can determine that the nodes corresponding to Template 1 point to the nodes corresponding to Template 2, meaning that Document 1, constructed based on Template 1, needs to reference document elements in Document 2, constructed based on Template 2. The code development platform then determines the corresponding document elements in Document 2 and the insertion position of each document element based on the reference content indication information between the nodes corresponding to Template 1 and Template 2 in Figure 6. As shown in the interface diagram for Document 1 in Figure 7, Document 1 inserts the line "This product has the following issues:..." from Document 2 into Section 1.3 Product Background of Document 1, and inserts the line "Table 2: Function List" from Document 2 into Section 2.1 Product Module of Document 1.

[0131] As shown in Figure 7 , without adding any information to Template 1, the code development platform can construct Document 1 containing referenced document elements based on the reference relationship indication information and reference content indication information between templates obtained from the knowledge graph in Figure 6 . The schematic diagram of the ultimately constructed Document 1 is identical to the schematic diagram of the first document in Figure 5 . In this embodiment, designers can reference document elements without having to open or edit Template 1.

[0132] Optionally, the indicator element and position information in each edge information in the knowledge graph can be predefined. For example, in the embodiment of FIG6 , the upward direction of the arrow of the directed edge is used as the reference direction, the left side of the directed edge is the position information, and the right side of the directed edge is the indicator element.

[0133] Alternatively, in other embodiments of the present application, the edge information in the knowledge graph may only include indicator elements. For example, the edge information of the directed edge from the node corresponding to template 1 to the node corresponding to template 2 may only include the indicator elements "Paragraph: Product Problems" and "Table 2: Function List". In this case, the document elements corresponding to the indicator elements "Paragraph: Product Problems" and "Table 2: Function List" can be inserted at the beginning or end or in the non-text area of ​​document 1.

[0134] Optionally, the code development platform can recommend similar document elements based on the keywords in the first document element indicated by the indication information in step 320, so that designers can have reference content when writing the first document. The code development platform can also provide similar document elements in other product documents based on the keywords in the first document element, so that designers can refer to them when writing. For example, when designing products C and D of the same category, the code development platform can recommend document elements related to "industrial use" or including the keyword "industrial use" in all design documents of product C based on the keyword "industrial use" of product D when creating the first document for product D.

[0135] Optionally, mutual references between different design documents can only involve the same product, that is, the design document of product A can only reference the document elements of the design document of product A. For example, the requirement analysis template of product A includes the instruction information "Refer to requirement analysis: requirement description" that references the "requirement description", then the content of "requirement analysis" referenced by the code development platform in the requirement analysis document can only be paragraphs or pictures related to the requirement description corresponding to product A. In other embodiments of the present application, the development stages corresponding to the same product can be the same. For example, after product A has been iterated, the document of the requirement analysis stage after the iteration needs to reference the content in the document of the requirement analysis stage before the iteration.

[0136] Optionally, the mutual references between different design documents may involve different products, that is, the design document of product A may reference the content of the design document of product B. Exemplarily, the reference path may be marked in the indication information to help the code development platform identify the referenced document, for example, "Refer to product_B. Experimental Design: Experimental Platform" indicates a reference to the paragraph or picture related to the experimental platform in the experimental design document of product B. In some embodiments of the present application, the development stages corresponding to different products may be different, for example, the document of the product design stage corresponding to product A needs to reference the content of the document of the product requirement stage corresponding to product B. In other embodiments of the present application, the development stages corresponding to different products may be the same, for example, the document of the product requirement stage corresponding to product A needs to reference the content of the document of the product requirement stage corresponding to product B.

[0137] The code development platform implements a method of document element reference through a first template and indication information, so that one or more documents constructed based on the first template can automatically reference the document elements indicated by the indication information, thereby realizing automatic reference of document elements and solving the problem of low efficiency of manual reference. However, only achieving the coordination and synchronization of the content of the referenced document elements cannot fully guarantee the coordination and synchronization of various development stages or design links in the code development platform. For example, when a first document references a first document element of a second document and the designer has completed writing the first document, when the first document element of the second document changes, although the first document element in the first document will change at the same time, other document elements in the first document written based on the first document element may no longer be applicable. At this time, the code development platform needs to let the designer of the first document know that the first document element of the second document has changed, so that the designer can synchronously modify the other contents of the first document except the first document element after the content of the first document element changes.

[0138] To solve the above problem, an embodiment of the present application proposes a change notification method 800. As shown in FIG8 , the method 800 includes steps 810 and 830.

[0139] Step 810: Determine whether the content of the first document element of the second document has changed to obtain a second document element.

[0140] Optionally, determining whether the content of the first document element has been changed can include determining whether the first document element has been edited and modified by a designer. If the content of the first document element has been edited, then the content of the first document element is determined to have been changed. However, if the content of the first document element has only been modified to include typos or punctuation marks, i.e., the designer has not made any changes to the substantive content of the first document element, the above method may result in a waste of message resources.

[0141] Optionally, determining that the content of the first document element has changed may be determining that the key information of the second document element obtained after the change is different from the key information of the first document element, that is, the substantial content of the first document element has changed. The key information may be information that can extract important content of the document element, or it may be determined based on important features used when summarizing the content of the document element. In some embodiments of the present application, if the first document element and the second document element are paragraphs, the key information may be the semantics of the paragraph and / or the meaning of the keywords of the paragraph. In other embodiments of the present application, if the first document element and the second document element are drawings, the key information may be any one or more of the objects in the drawings, the modules contained in the objects of the drawings, and the sizes of the objects of the drawings.

[0142] Optionally, the method for comparing the key information of the first document element and the second document element can be to extract and compare the key information of the two document elements based on an artificial intelligence (AI) model. For example, if the first document element and the second document element are paragraphs, the code development platform can identify the semantic information of the first document element and the second document element through a semantic AI model, and when the semantic information of the two document elements is different, it is determined that the content of the first document element has changed. In other embodiments of the present application, if the first document element and the second document element are pictures, the code development platform can use an AI model such as a convolutional neural network to determine whether the key information of the pictures of the first document element and the second document element are the same.

[0143] For example, if the first document element is "This product targets users over 60 years old" and the second document element is "This product targets users under 60 years old," according to the semantic AI model, the key information of the first document element is "people over 60 years old," while the key information of the second document element is the opposite, "people under 60 years old." In other words, the semantics of the second document element are the antonym of the semantics of the first document element, so the code development platform determines that the content of the first document element has changed. If the second document element is "This product targets users over 60 years old" or "This product targets users over 70 years old," according to the semantic AI model, the semantics of the second document element are similar to those of the first document element, so the code development platform determines that the content of the first document element has not changed.

[0144] Optionally, the method for comparing key information may be to determine a similarity value of the key information of the second document element relative to the key information of the first document element. For example, the semantics of the first document element "This product is targeted at users over 60 years old" and the second document element "This product is targeted at users over 70 years old" mentioned above are similar but not identical, and the different content of the first document element will also result in different similarity values ​​of the key information.

[0145] For example, if the first document element is "This product targets users who are over 60 years old" and the second document element is "This product targets users who are over 70 years old", since "people over 60 years old" includes "people over 70 years old", the semantic AI model can give a higher similarity value, that is, the key information of the two document elements is highly similar. This similarity value is higher than the similarity threshold, and the code development platform can determine that the content of the first document element has not changed. If the first document element is "This product targets users who are over 60 years old" and the second document element is "This product targets users who are over 50 years old", since "people over 60 years old" is a special case of "people over 50 years old" and lacks people aged 50-60, the semantic AI model can give a lower similarity value, which is lower than the similarity threshold, and the code development platform can determine that the content of the first document element has changed. The above-mentioned similarity threshold can be any artificially determined value. For example, if the similarity value range is 0 to 1, the similarity threshold can be set to 0.5 within the range of 0 to 1. The similarity threshold can also be a value customized by the AI ​​model. For example, if the similarity value range is 0 to 1, the AI ​​model customizes the similarity threshold to 0.8 or any value close to 1 to ensure the accuracy of comparing different document elements.

[0146] Step 830: The code development platform generates change notification information, where the change notification information is used to prompt that the first document element of the second document is changed to the second document element.

[0147] In order to facilitate understanding of the process of generating change notification information, Figure 9 shows a system architecture diagram of a change notification provided by an embodiment of the present application. Among them, the referenced person in the design link can refer to the design document in which the document element is referenced, or it can refer to the designer associated with the design document. When the document element in the design document changes or the designer edits the content of the document element, the code development platform can determine the change configuration based on the content of the document element change. The change configuration can be a comparison of the key information of the document element before and after the change, a comparison of the specific content of the change, the path and conditions of the change notification, etc. After determining that the document element has undergone substantial changes, the code development platform can locate which design documents reference the changed document element based on the indication information or associated information mentioned above, such as the map shown in Figure 5, and generate change notification information to send to the design document or the designer of the design document that references the changed document element.

[0148] Optionally, the content of the change notification information can be a reminder that the content of a document element has changed. For example, if a first document references a first document element of a second document, when the content of the first document element in the second document changes, the content of the first document element in the first document can also change accordingly, and a prompt message can be generated around the first document element to inform the designer who wrote the first document that the content of the first document element has changed.

[0149] Optionally, the content of the change notification information may be a difference or modification comparison between the first document element before the change and the second document element after the change. For example, the content of the change notification information may be a comparison between the first document element and the second document element, where the second document element includes a revision mark. The designer can use this revision mark to make targeted modifications to the content of the first document that references the first document element.

[0150] Optionally, the content of the change notification information can include the reason for the change. For example, if the first document element is a requirement description, when the first document element is changed to a second document element, the content of the change notification can be "Original requirement A has been changed to requirement B" or "Some sub-requirements of requirement A have been modified or deleted", etc.

[0151] Optionally, the change notification information may be notified to the referencer in FIG9 via an online notification method. In some embodiments of the present application, when a first document references a first document element of a second document, the change notification information may be presented in the first document, such as around the first document element, or on the first page of the first document. In other embodiments of the present application, the change notification information may be presented in an interface corresponding to the development stage or design phase of the first document, so that designers can be informed of changes to the content of the first document element without opening the first document.

[0152] Alternatively, the change notification information can be notified by calling an interface or a distributed messaging system Kafka. For example, Kafka or the interface sends the change notification to a message queue, and the designer can search the message queue for the content of the change notification information.

[0153] Optionally, the change notification information may be sent offline. For example, if it is determined that the designer of the first document has not read the online change notification information, the code development platform may send the content of the change notification information to the designer or person in charge of the first document via email or text message.

[0154] The following describes a block diagram of the code development platform according to an embodiment of the present application in conjunction with FIG10 . It should be noted that the code development platform shown in FIG10 can execute the methods shown in FIG3 and FIG8 . It should be understood that the code development platform described below is capable of executing the methods of the aforementioned embodiments of the present application. To avoid unnecessary repetition, repeated descriptions will be appropriately omitted when introducing the code development platform according to the embodiment of the present application.

[0155] FIG10 is a schematic diagram of a code development platform according to an embodiment of the present application. The code development platform 1000 shown in FIG10 includes: an acquisition module 1010 , a processing module 1020 , and a construction module 1030 .

[0156] Specifically, the acquisition module 1010 is used to acquire a first template.

[0157] Specifically, the processing module 1020 is configured to determine indication information according to the first template, where the indication information is used to indicate a reference to the first document element in the second document.

[0158] Specifically, the construction module 1030 is configured to construct a first document according to the instruction information and the first template, where the first document includes a first document element.

[0159] The specific functions and beneficial effects of the acquisition module 1010, the processing module 1020 and the construction module 1030 are described in the above embodiments and will not be repeated here for the sake of brevity.

[0160] The above modules can be implemented by software or hardware. For example, the implementation of the processing module 1020 is described below using the processing module 1020 as an example. Similarly, the implementation of the acquisition module 1010 and the construction module 1030 can refer to the implementation of the processing module 1020.

[0161] As an example of a software functional unit, the processing module 1020 may include code running on a computing instance. The computing instance may include at least one of a physical host (computing device), a virtual machine, and a container. Furthermore, the computing instance may be one or more. For example, the processing module 1020 may include code running on multiple hosts / virtual machines / containers. It should be noted that the multiple hosts / virtual machines / containers used to run the code may be distributed in the same region or in different regions. Furthermore, the multiple hosts / virtual machines / containers used to run the code may be distributed in the same availability zone (AZ) or in different AZs, each AZ including one data center or multiple geographically close data centers. Typically, a region may include multiple AZs.

[0162] Similarly, multiple hosts / virtual machines / containers running the code can be distributed within the same virtual private cloud (VPC) or across multiple VPCs. Typically, a VPC is set up within a region. Cross-region communication between two VPCs within the same region, or between VPCs in different regions, requires a communication gateway within each VPC to interconnect the VPCs.

[0163] As an example of a hardware functional unit, processing module 1020 may include at least one computing device, such as a server. Alternatively, processing module 1020 may be implemented using an application-specific integrated circuit (ASIC) or a programmable logic device (PLD). The PLD may be a complex programmable logical device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.

[0164] The multiple computing devices included in processing module 1020 can be distributed in the same region or in different regions. The multiple computing devices included in processing module 1020 can be distributed in the same AZ or in different AZs. Similarly, the multiple computing devices included in processing module 1020 can be distributed in the same VPC or in multiple VPCs. The multiple computing devices included in processing module 1020 can be any combination of computing devices such as servers, ASICs, PLDs, CPLDs, FPGAs, and GALs.

[0165] This application also provides a computing device 1100. As shown in Figure 11, computing device 1100 includes a bus 1102, a processor 1104, a memory 1106, and a communication interface 1108. Processor 1104, memory 1106, and communication interface 1108 communicate with each other via bus 1102. Computing device 1100 can be a server or a terminal device. It should be understood that this application does not limit the number of processors and memories in computing device 1100.

[0166] Bus 1102 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, among others. Buses may be classified as address buses, data buses, control buses, and the like. For ease of illustration, FIG11 illustrates a single bus line, but this does not imply a single bus or type of bus. Bus 1102 may include a path for transmitting information between various components of computing device 1100 (e.g., memory 1106, processor 114, and communication interface 1108).

[0167] The processor 1104 may include any one or more processors such as a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor (MP), or a digital signal processor (DSP).

[0168] The memory 1106 may include volatile memory, such as random access memory (RAM). The processor 1104 may also include non-volatile memory, such as read-only memory (ROM), flash memory, hard disk drive (HDD), or solid state drive (SSD).

[0169] The memory 1106 stores executable program code, and the processor 1104 executes the executable program code to implement the functions of the aforementioned acquisition module 1010 and processing module 1020, thereby implementing the aforementioned document element reference method. In other words, the memory 1106 stores instructions for executing the aforementioned document element reference method.

[0170] The communication interface 1108 uses a transceiver module such as, but not limited to, a network interface card or a transceiver to implement communication between the computing device 1100 and other devices or a communication network.

[0171] Embodiments of the present application also provide a computing device cluster. The computing device cluster includes at least two computing devices. The computing device can be a server, such as a central server, an edge server, or a local server in a local data center. In some embodiments, the computing device can also be a terminal device such as a desktop computer, a laptop computer, or a smartphone.

[0172] As shown in Figure 12, the computing device cluster includes at least two computing devices 1100. The memory 1106 of the multiple computing devices 1100 in the computing device cluster may store the same instructions for executing the above-mentioned method for referencing document elements.

[0173] In some possible implementations, the memories 1106 of the multiple computing devices 1100 in the computing device cluster may each store partial instructions for executing the aforementioned method for referencing document elements. In other words, a combination of one or more computing devices 1100 may collectively execute the instructions for executing the aforementioned method for referencing document elements.

[0174] It should be noted that the memory 1106 in different computing devices 1100 in the computing device cluster can store different instructions, each for executing a portion of the functions of the above-mentioned code development platform. In other words, the instructions stored in the memory 1106 in different computing devices 1100 can implement the functions of one or more modules among the acquisition module, the processing module, and the construction module.

[0175] In some possible implementations, multiple computing devices in a computing device cluster can be connected via a network. The network can be a wide area network or a local area network, etc. Figure 13 shows a possible implementation. As shown in Figure 13, two computing devices 1100A and 1100B are connected via a network. Specifically, the network is connected via a communication interface in each computing device. In this type of possible implementation, the memory 1106 in the computing device 1100A stores instructions for the functions of the acquisition module. At the same time, the memory 1106 in the computing device 1100B stores instructions for executing the functions of the processing module and the construction module.

[0176] It should be understood that the functionality of the computing device 1100A shown in FIG13 may also be implemented by multiple computing devices 1100. Similarly, the functionality of the computing device 1100B may also be implemented by multiple computing devices 1100.

[0177] An embodiment of the present application also provides a chip, which includes a processor and a data interface. The processor reads instructions stored in a memory through the data interface to execute the above-mentioned document element reference method.

[0178] Embodiments of the present application also provide a computer program product comprising instructions. This computer program product may be software or a program product comprising instructions that can be run on a computing device or stored in any available medium. When this computer program product is run on at least one computing device, it causes the at least one computing device to execute the aforementioned method for referencing a document element.

[0179] The present application also provides a computer-readable storage medium. The computer-readable storage medium can be any available medium that can be stored by a computing device, or a data storage device such as a data center that contains one or more available media. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive). The computer-readable storage medium includes instructions that instruct the computing device to execute the aforementioned document element reference method.

[0180] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0181] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the protection scope of the technical solutions of the embodiments of the present application.

[0182] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and modules described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0183] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of modules is only a logical function division. In actual implementation, there may be other division methods, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.

[0184] Modules described as separate components may or may not be physically separate, and components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed across multiple network modules. Some or all of these modules may be selected to achieve the purpose of this embodiment based on actual needs.

[0185] In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module.

[0186] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0187] The above are only specific embodiments of the present application, but the scope of protection of this application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

Claims

1. A method for referencing a document element, characterized in that: The method is applied to a code development platform, the code development platform is deployed in a data center, the code development platform is applied to the development of a software product, the development of the software product includes at least one of the following development stages: demand management, product design, compilation development, use case testing or product deployment, the method includes: The code development platform obtains a first template of a first development stage, where the first development stage is a development stage in the development of the software product; The code development platform determines indication information according to the first template, the indication information being used to indicate a reference to a first document element in a second document in a second development phase, the second development phase being a development phase in the development of the software product, and the second document being used to manage product development content in the second development phase; The code development platform constructs a first document according to the instruction information and the first template, wherein the first document includes the first document element; The code development platform manages the development content of the software product in the first development phase according to the constructed first document.

2. The method according to claim 1, characterized in that: The code development platform determines instruction information according to the first template, including: The code development platform determines the indication information included in the first template, wherein the indication information includes identity information and indication elements of the second template in the second development stage, the indication elements are used to describe the first document elements, and the second document is constructed according to the second template.

3. The method according to claim 2, characterized in that The code development platform constructs a first document according to the instruction information and the first template, including: The code development platform determines the second document constructed according to the second template according to the identity information of the second template; The code development platform determines the first document element in the second document according to the indication element; The code development platform inserts the first document elements in the second document into the first template to obtain the first document.

4. The method according to claim 1, characterized in that: The code development platform determines instruction information according to the first template, including: The code development platform determines the indication information from the associated information of the first template based on the first template, wherein the associated information is used to describe the reference relationship and reference content between the first template and other templates, and the indication information includes reference relationship indication information and reference content indication information, the reference relationship indication information is used to indicate that the first template references the second template in the second development stage, and the reference content indication information is used to describe the first document elements, and the second document is constructed based on the second template.

5. The method according to claim 4, characterized in that The associated information corresponds to a knowledge graph, and the code development platform determines the indication information from the associated information of the first template according to the first template, including: The code development platform determines, according to the first template, a first node corresponding to the first template in the knowledge graph; The code development platform determines the reference relationship indication information and the reference content indication information from the knowledge graph based on the first node, wherein the reference relationship indication information is a directed edge in the knowledge graph pointing from the first node to the second node, and the reference content indication information is the edge information of the directed edge, and the second node corresponds to the second template.

6. The method according to claim 4 or 5, characterized in that: The code development platform constructs a first document according to the instruction information and the first template, including: The code development platform determines the second document constructed according to the second template according to the reference relationship indication information; The code development platform determines the first document element in the second document according to the reference content indication information; The code development platform inserts the first document elements in the second document into the first template to obtain the first document.

7. The method according to claim 6, characterized in that The reference content indication information is also used to describe the target position information of the first document element; The code development platform determines the first document element in the second document according to the reference content indication information, further comprising: The code development platform determines, according to the reference content indication information, a target position in the first template corresponding to the target position information; The code development platform inserts the first document element in the second document into the first template to obtain the first document, including: The code development platform inserts the first document element in the second document into a target position in the first template to obtain the first document.

8. The method according to any one of claims 1 to 7, characterized in that: The method further comprises: The code development platform determines that the content of the first document element in the second document is changed to obtain a second document element; The code development platform generates change notification information, where the change notification information is used to prompt that the first document element in the second document is changed to the second document element.

9. The method according to claim 8, characterized in that The change notification information is also used to indicate the difference between the first document element and the second document element.

10. The method according to claim 8 or 9, characterized in that: Before the code development platform generates change notification information, the method further includes: The code development platform determines that key information of the second document element is different from key information of the first document element, and the key information is determined based on features used when summarizing content of the document element.

11. The method according to claim 10, characterized in that The code development platform determines that the key information of the second document element is different from the key information of the first document element, including: The code development platform determines a similarity value of the key information of the second document element relative to the key information of the first document element; When the similarity value is less than or equal to a similarity threshold, the code development platform determines that the key information of the second document element is different from the key information of the first document element.

12. The method according to any one of claims 1 to 11, characterized in that: The method further comprises: The code development platform determines a keyword of the first document element; The code development platform determines a third document element according to the keyword, and the third document element includes the keyword.

13. A code development platform, characterized in that: The code development platform is deployed in a data center. The code development platform is applied to the development of software products. The development of software products includes at least one of the following development stages: demand management, product design, compilation development, use case testing or product deployment. The code development platform includes: An acquisition module, used for acquiring a first template of a first development stage, where the first development stage is a development stage in the development of the software product; a processing module, configured to determine indication information according to the first template, wherein the indication information is used to indicate a reference to a first document element in a second document in a second development stage, wherein the second development stage is a development stage in the development of the software product, and the second document is used to manage product development content in the second development stage; A construction module is used to construct a first document according to the indication information and the first template, wherein the first document includes the first document elements, and manage the development content of the software product in the first development stage according to the constructed first document.

14. The code development platform according to claim 13, characterized in that: The processing module is specifically used to: determine the indication information included in the first template, wherein the indication information includes the identity information and indication elements of the second template in the second development stage, the indication elements are used to describe the first document elements, and the second document is constructed according to the second template.

15. The code development platform according to claim 14, characterized in that: The processing module is specifically used to: determine the second document constructed according to the second template according to the identity information of the second template, and determine the first document element in the second document according to the indicator element; The construction module is specifically used to: insert the first document element in the second document into the first template to obtain the first document.

16. The code development platform according to claim 13, characterized in that: The processing module is specifically used to: determine the indication information from the associated information of the first template according to the first template, wherein the associated information is used to describe the reference relationship and reference content between the first template and other templates, the indication information includes reference relationship indication information and reference content indication information, the reference relationship indication information is used to indicate that the first template references the second template in the second development stage, the reference content indication information is used to describe the first document elements, and the second document is constructed based on the second template.

17. The code development platform according to claim 16, characterized in that: The association information corresponds to a knowledge graph, and the processing module is specifically used to: determine, based on the first template, a first node corresponding to the first template in the knowledge graph, and determine, based on the first node, the reference relationship indication information and the reference content indication information from the knowledge graph, wherein the reference relationship indication information is a directed edge from the first node to the second node in the knowledge graph, and the reference content indication information is the edge information of the directed edge, and the second node corresponds to the second template.

18. The code development platform according to claim 16 or 17, characterized in that: The processing module is specifically used to: determine the second document constructed according to the second template according to the reference relationship indication information, and determine the first document element in the second document according to the reference content indication information; The construction module is specifically used to: insert the first document element in the second document into the first template to obtain the first document.

19. The code development platform according to claim 18, characterized in that: The reference content indication information is also used to describe the target position information of the first document element; The processing module is further used to: determine the target position in the first template corresponding to the target position information according to the reference content indication information; The construction module is specifically used to: insert the first document element in the second document into a target position in the first template to obtain the first document.

20. The code development platform according to any one of claims 13 to 19, characterized in that: The code development platform also includes a generation module, The processing module is further used to: determine whether the content of the first document element in the second document has changed, so as to obtain a second document element; The generating module is used to generate change notification information, where the change notification information is used to prompt that the first document element in the second document is changed to the second document element.

21. The code development platform according to claim 20, characterized in that: The change notification information is also used to indicate the difference between the first document element and the second document element.

22. The code development platform according to claim 20 or 21, characterized in that: Before the generation module generates the change notification information, the processing module is further used to: determine that the key information of the second document element is different from the key information of the first document element, and the key information is determined based on the features used to summarize the document element content.

23. The code development platform according to claim 22, characterized in that: The processing module is specifically used to: determine a similarity value between the key information of the second document element and the key information of the first document element, and when the similarity value is less than or equal to a similarity threshold, determine that the key information of the second document element is different from the key information of the first document element.

24. The code development platform according to any one of claims 13 to 23, characterized in that: The processing module is further used to: determine the keywords of the first document element, and determine a third document element based on the keywords, wherein the third document element includes the keywords.

25. A computing device, characterized in that The computer comprises a processor and a memory, wherein the processor is configured to execute instructions stored in the memory so that the computing device executes the method according to any one of claims 1 to 12.

26. A computing device cluster, characterized in that: include: at least two computing devices, each computing device comprising a processor and a memory; The processors of the at least two computing devices are configured to execute instructions stored in the memories of the at least two computing devices, so that the computing device cluster executes the method according to any one of claims 1 to 12.

27. A computer program product comprising instructions, characterized in that When the instructions are executed by a computing device, the computing device is caused to perform the method according to any one of claims 1 to 12; Alternatively, when the instructions are executed by a computing device cluster, the computing device cluster executes the method according to any one of claims 1 to 12.

28. A computer readable medium, characterized in that comprising a computer program which, when executed on a computing device, causes the computer to perform the method as claimed in any one of claims 1 to 12; Alternatively, when the computer program is executed on a computing device cluster, the computer is enabled to execute the method according to any one of claims 1 to 12.

Citation Information

Patent Citations

  • Association document acquisition method and device

    CN106682219A

  • Automatic template generation based on previous documents

    CN108369578A

  • Document relation visualization processing method and device

    CN110134800A

  • Document template generation method and device

    CN110738035A

  • Document processing method and device and electronic equipment

    CN112528595A