Inspection content generation method, apparatus, device, medium, and product

By identifying software changes and production content, and using models to generate dynamic inspection points, the problem of poor adaptability of fixed inspection item lists is solved, and efficient and targeted production inspections are achieved.

CN123178233APending Publication Date: 2026-11-27CHINA CONSTRUCTION BANK +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611351094.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-02
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

In existing technologies, fixed checklists are difficult to adapt to the differences in various production changes, resulting in low inspection efficiency and a lack of specificity.

Method used

By acquiring the changes and deployment details of the target software, the target model is used to identify the inspection types and scope, generate dynamic inspection points, and transfer constraints between stages based on the content type to form a deployment inspection checklist.

Benefits of technology

Dynamically generate inspection content to reduce redundancy, improve the relevance and completeness of the inspection checklist, and ensure the continuity and in-depth coverage of inspection dimensions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123178233A_ABST
    Figure CN123178233A_ABST
Patent Text Reader

Abstract

The present disclosure provides a method and device for generating inspection content, equipment, medium and product, which can be applied to the field of computer technology. The method comprises: obtaining changed content, production content and multiple inspection stages; for the current inspection stage, inputting the changed content, the production content and the stage identifier of the current inspection stage into the target model to output multiple inspection points by identifying the inspection type involved in the changed content and the inspection range defined by the production content; determining the stage inspection content corresponding to the current inspection stage from the inspection knowledge base according to the multiple inspection points; for the next inspection stage, using the target model to generate multiple inspection points corresponding to the next inspection stage and covering the content category by taking the content category extracted from the stage inspection content of the current inspection stage as a constraint condition, so as to determine the stage inspection content of the next inspection stage; and integrating the stage inspection content of each inspection stage to obtain a production inspection list.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of computer technology, and more specifically to a method, apparatus, device, medium, and program product for generating inspection content. Background Technology

[0002] As software systems become increasingly larger and more frequently iterate, pre-deployment checks become more complex. Related technologies typically involve creating a fixed checklist based on historical experience and identified problems, and then checking each item one by one before each deployment.

[0003] In the process of realizing the concept of this disclosure, it was found that the relevant technology has at least the following problems: the fixed checklist is difficult to adapt to the differences in different production changes, resulting in a large number of redundant checklists, low inspection efficiency and lack of pertinence. Summary of the Invention

[0004] In view of the above problems, this disclosure provides a method, apparatus, device, medium and program product for inspecting content generation.

[0005] According to the first aspect of this disclosure, a method for generating inspection content is provided, comprising: acquiring change content of target software, production content for the target software, and multiple inspection stages arranged in a preset order; for the current inspection stage, inputting the change content, production content, and stage identifier of the current inspection stage into a target model to output multiple inspection points corresponding to the inspection types within the inspection scope by identifying the inspection types involved in the change content and the inspection scope defined by the production content; determining the stage inspection content corresponding to the current inspection stage from an inspection knowledge base based on the multiple inspection points, wherein the inspection content corresponding to different inspection types in the inspection knowledge base is divided into multiple content categories, and the content categories are used to identify the specific business dimensions of the inspection content; for the next inspection stage, using the content categories extracted from the stage inspection content of the current inspection stage as constraints, using the target model to generate multiple inspection points corresponding to the next inspection stage and covering the content categories, to determine the stage inspection content of the next inspection stage; and integrating the stage inspection content of each inspection stage based on a preset order to obtain a production inspection checklist for the target software.

[0006] The second aspect of this disclosure provides an inspection content generation apparatus, comprising: a change acquisition module, used to acquire change content of the target software, production content for the target software, and multiple inspection stages arranged in a preset order; a key point generation module, used to input the change content, production content, and stage identifier of the current inspection stage into a target model for the current inspection stage, so as to output multiple key points corresponding to the inspection types within the inspection scope by identifying the inspection types involved in the change content and the inspection scope defined by the production content; a content determination module, used to determine the stage inspection content corresponding to the current inspection stage from an inspection knowledge base based on the multiple key points, wherein the inspection content corresponding to different inspection types in the inspection knowledge base is divided into multiple content categories, and the content categories are used to identify the specific business dimensions of the inspection content; a key point constraint module, used to generate multiple key points corresponding to the next inspection stage and covering the content categories using the target model, based on the content categories extracted from the stage inspection content of the current inspection stage, for the next inspection stage, so as to determine the stage inspection content of the next inspection stage; and a list generation module, used to integrate the stage inspection content of each inspection stage based on a preset order to obtain a production inspection list for the target software.

[0007] A third aspect of this disclosure provides an electronic device comprising: one or more processors; and a memory for storing one or more computer programs, wherein the one or more processors execute the one or more computer programs to implement the steps of the method described above.

[0008] A fourth aspect of this disclosure also provides a computer-readable storage medium having a computer program or instructions stored thereon, which, when executed by a processor, implement the steps of the above-described method.

[0009] The fifth aspect of this disclosure also provides a computer program product, including a computer program or instructions that, when executed by a processor, implement the steps of the above-described method.

[0010] According to embodiments of this disclosure, by acquiring the change content, production content, and multiple sequentially arranged inspection stages of the target software, the target model, combined with the current inspection stage identifier, identifies the inspection types involved in the change and the inspection scope limited by production, generating inspection points matching the current inspection stage. These inspection points then determine the specific stage inspection content from the inspection knowledge base. Based on this, the content types involved in the inspection content of the current inspection stage are used as constraints to guide the target model to generate inspection points covering these content types for the next inspection stage, thereby ensuring continuity in the inspection business dimension between adjacent stages. Finally, the inspection content of each stage is integrated in a preset order to form a production inspection checklist for the target software. This method can dynamically generate inspection content based on actual changes and production scope, reducing the large amount of redundancy caused by fixed inspection content. Simultaneously, by transferring constraints between stages through content types, it improves the relevance and completeness of the inspection checklist. Attached Figure Description

[0011] The foregoing contents, as well as other objects, features, and advantages of this disclosure, will become clearer from the following description of embodiments with reference to the accompanying drawings, in which:

[0012] Figure 1 The illustrations depict application scenarios of the inspection content generation method, apparatus, device, medium, and program product according to embodiments of the present disclosure.

[0013] Figure 2 A flowchart illustrating an inspection content generation method according to an embodiment of the present disclosure is shown schematically;

[0014] Figure 3 This illustration schematically shows a diagram of an inspection knowledge base for an inspection content generation method according to an embodiment of the present disclosure;

[0015] Figure 4 A flowchart illustrating a method for generating inspection content according to another embodiment of this disclosure is shown schematically;

[0016] Figure 5 This schematically illustrates a structural block diagram of an inspection content generation apparatus according to an embodiment of the present disclosure; and

[0017] Figure 6 A block diagram schematically illustrates an electronic device suitable for implementing the content generation method according to an embodiment of the present disclosure. Detailed Implementation

[0018] The embodiments of the present disclosure will now be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the disclosure. In the following detailed description, numerous specific details are set forth to provide a thorough understanding of the embodiments of the present disclosure for ease of explanation. However, it will be apparent that one or more embodiments may be practiced without these specific details. Furthermore, descriptions of well-known structures and techniques are omitted in the following description to avoid unnecessarily obscuring the concepts of the present disclosure.

[0019] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit this disclosure. The terms “comprising,” “including,” etc., as used herein indicate the presence of the stated features, steps, operations, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, or components.

[0020] All terms used herein (including technical and scientific terms) have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein are to be interpreted in a manner consistent with the context of this specification, and not in an idealized or overly rigid way.

[0021] When using expressions such as "at least one of A, B and C", they should generally be interpreted in accordance with the meaning that is commonly understood by those skilled in the art (e.g., "a system having at least one of A, B and C" should include, but is not limited to, a system having A alone, a system having B alone, a system having C alone, a system having A and B, a system having A and C, a system having B and C, and / or a system having A, B and C, etc.).

[0022] In the technical solution disclosed herein, the user information (including but not limited to user personal information, user image information, user device information, such as location information) and data (including but not limited to data used for analysis, stored data, and displayed data) involved are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, storage, use, processing, transmission, provision, disclosure, and application of related data all comply with relevant laws, regulations, and standards, and necessary measures have been taken to ensure that they do not violate public order and good morals. Corresponding operation entry points are provided for users to choose to authorize or refuse.

[0023] The embodiments of this disclosure provide a method for generating inspection content, including: acquiring change content of the target software, production content for the target software, and multiple inspection stages arranged in a preset order; for the current inspection stage, inputting the change content, production content, and stage identifier of the current inspection stage into a target model to identify the inspection types involved in the change content and the inspection scope defined by the production content, and outputting multiple inspection points corresponding to the inspection types within the inspection scope; based on the multiple inspection points, determining the stage inspection content corresponding to the current inspection stage from an inspection knowledge base, wherein the inspection content corresponding to different inspection types in the inspection knowledge base is divided into multiple content categories, and the content categories are used to identify the specific business dimensions of the inspection content; for the next inspection stage, using the content categories extracted from the stage inspection content of the current inspection stage as constraints, using the target model, generating multiple inspection points corresponding to the next inspection stage and covering the content categories, to determine the stage inspection content of the next inspection stage; and integrating the stage inspection content of each inspection stage based on a preset order to obtain a production inspection checklist for the target software.

[0024] Figure 1 The illustrations depict application scenarios of the inspection content generation method, apparatus, device, medium, and program product according to embodiments of the present disclosure.

[0025] like Figure 1 As shown, application scenario 100 according to this embodiment may include a first terminal device 101, a second terminal device 102, a third terminal device 103, a network 104, and a server 105. The network 104 serves as a medium for providing a communication link between the first terminal device 101, the second terminal device 102, the third terminal device 103, and the server 105. The network 104 may include various connection types, such as wired or wireless communication links, or fiber optic cables, etc.

[0026] Users can use the first terminal device 101, the second terminal device 102, and the third terminal device 103 to interact with the server 105 via the network 104 to receive or send messages, etc. Various communication client applications can be installed on the first terminal device 101, the second terminal device 102, and the third terminal device 103, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social media platform software, etc. (for example only).

[0027] The first terminal device 101, the second terminal device 102, and the third terminal device 103 can be various electronic devices with displays and support web browsing, including but not limited to smartphones, tablets, laptops, and desktop computers.

[0028] Server 105 can be a server that provides various services, such as a backend management server that supports websites browsed by users using the first terminal device 101, the second terminal device 102, and the third terminal device 103 (this is just an example). The backend management server can analyze and process data such as received user requests, and feed back the processing results (such as web pages, information, or data obtained or generated according to user requests) to the terminal devices.

[0029] It should be noted that the inspection content generation method provided in this embodiment can generally be executed by server 105. Correspondingly, the inspection content generation device provided in this embodiment can generally be located in server 105. The inspection content generation method provided in this embodiment can also be executed by a server or server cluster that is different from server 105 and capable of communicating with the first terminal device 101, the second terminal device 102, the third terminal device 103, and / or server 105. Correspondingly, the inspection content generation device provided in this embodiment can also be located in a server or server cluster that is different from server 105 and capable of communicating with the first terminal device 101, the second terminal device 102, the third terminal device 103, and / or server 105.

[0030] It should be understood that Figure 1 The number of terminal devices, networks, and servers shown is merely illustrative. Depending on implementation needs, any number of terminal devices, networks, and servers can be included.

[0031] The following will be based on Figure 1 The described scene, through Figures 2-4 The method for generating inspection content according to the disclosed embodiments will be described in detail.

[0032] Figure 2 A flowchart illustrating an inspection content generation method according to an embodiment of the present disclosure is shown schematically.

[0033] like Figure 2 As shown, this embodiment includes operations S210 to S250.

[0034] In operation S210, the changes to the target software, the production requirements for the target software, and multiple inspection stages arranged in a preset order are obtained.

[0035] In operation S220, for the current inspection stage, the change content, production content, and the stage identifier of the current inspection stage are input into the target model. By identifying the inspection type involved in the change content and the inspection scope defined by the production content, multiple inspection points corresponding to the inspection type within the inspection scope are output.

[0036] In operation S230, based on multiple inspection points, the stage inspection content corresponding to the current inspection stage is determined from the inspection knowledge base. The inspection content corresponding to different inspection types in the inspection knowledge base is divided into multiple content categories, which are used to identify the specific business dimensions of the inspection content.

[0037] In operation S240, for the next inspection stage, the content types extracted from the current inspection stage are used as constraints. Using the target model, multiple inspection points corresponding to the next inspection stage and covering the content types are generated to determine the inspection content of the next inspection stage.

[0038] When operating S250, the inspection content of each inspection stage is integrated based on a preset sequence to obtain a production inspection checklist for the target software.

[0039] According to embodiments of this disclosure, the changes and deployment details of the target software are obtained. The changes are typically collected through commit logs from version control systems, change orders from requirement management platforms, or maintenance work order systems. These changes specifically cover unstructured or semi-structured information such as code file differences, configuration parameter adjustments, database scripts, and functional requirement descriptions. The deployment details are obtained by parsing deployment orchestration files or resource lists to clarify the specific application modules, service nodes, database instances, and dependent external interfaces involved in this deployment.

[0040] At the same time, when the process starts, the inspection process is abstracted into multiple stages arranged in a preset order according to the software delivery lifecycle model, such as the requirements analysis stage, design stage, development stage, testing stage, production stage, and production operation stage. The identifiers of these stages and their sequential relationships are stored in a linked list or queue data structure, providing a process control basis for subsequent iterative processing.

[0041] For the current inspection phase, the phase identifier of the current inspection phase, the obtained change content text, and the scope of the production content are structurally concatenated to construct a prompt word template containing instruction prefixes and context information. Then, the trained target model is called (this model can be fine-tuned based on a large language model to enhance the understanding of knowledge in the operation and maintenance and testing domains).

[0042] After receiving input, the target model uses semantic parsing and named entity recognition capabilities to extract implicit or explicit inspection types from the changed content, such as application changes, database changes, script changes, security-related changes, implementation-related changes, testing-related changes, infrastructure changes, and version rollbacks. Simultaneously, based on the application boundaries and network topology defined by the production content, it determines the physical or logical scope where the inspection actions must be implemented, such as limiting it to a new service node in a specific data center or a core business table.

[0043] Based on these two types of information, the target model uses its internally learned domain knowledge association graph to output multiple fine-grained inspection points corresponding to specific inspection types within a given scope. Each point is represented by structured fields, including the inspection object, inspection indicators, execution timing, and expected results, thereby transforming the macro-level change description into specific, executable verification items.

[0044] After generating the key points for the current inspection stage, these are used as retrieval vectors or tag filtering conditions and matched against a pre-built inspection knowledge base to determine the corresponding stage inspection content. Based on the business semantics contained in the key points of the current inspection stage, multiple inspection contents highly related to these key points are retrieved from the inspection knowledge base through vector similarity calculation or precise tag matching. These contents are then dynamically rendered in conjunction with the execution environment parameters of the current inspection stage, ultimately assembling into a directly executable stage inspection content. This stage inspection content includes not only inspection steps but may also include assertion logic for inspection results and failure handling contingency plans.

[0045] When the inspection process progresses to the next stage, the inspection points are no longer regenerated from scratch. Instead, an iterative generation strategy based on content type constraints is adopted. Specifically, the inspection content already determined in the current stage is parsed, and the covered or matched content types are extracted using rule expressions or model extraction modules. For example, it is identified that the current inspection includes the content types "data consistency verification" and "interface timeout retry mechanism verification".

[0046] The extracted content categories are then used as constraints, combined with the stage identifier of the next inspection stage, and input back into the target model. When generating new inspection points, the target model is explicitly required to prioritize covering the content categories extracted in the previous inspection stage. At the same time, it is allowed to appropriately expand and supplement new related categories according to the characteristics of the next inspection stage. This ensures that the inspection dimensions have continuity and progressive depth between different stages, reducing the omission of key business dimensions due to stage switching. It also allows for dynamic adjustment of the inspection granularity according to changes in stage focus, achieving a progressive inspection coverage from shallow to deep.

[0047] The process follows the iterative logic described above, sequentially processing all inspection stages in the preset order until the last inspection stage is traversed and its corresponding inspection content is generated. Finally, according to the preset order, the inspection content generated by each inspection stage is vertically stitched together along the timeline. Duplicate inspection content appearing across stages is deduplicated, and overlapping or mutually dependent inspection items are merged and their order adjusted. For example, inspection content that depends on successful deployment is strictly arranged after deployment completion.

[0048] Finally, this information is compiled and formatted into a well-structured and hierarchical production checklist. This checklist can be reviewed manually or directly imported into an automated testing framework or release process engine as the final basis and acceptance standard for this production launch operation.

[0049] By acquiring the target software's change details, deployment details, and multiple sequentially arranged inspection stages, the target model, combined with the current inspection stage identifier, identifies the inspection types involved in the change and the inspection scope limited by deployment. It then generates inspection points matching the current inspection stage, and uses these inspection points to determine the specific stage inspection content from the inspection knowledge base. Based on this, the content types involved in the current inspection stage are used as constraints to guide the target model in generating inspection points covering these content types for the next inspection stage, ensuring continuity in the inspection business dimension between adjacent stages. Finally, the inspection content of each stage is integrated in a preset order to form a deployment inspection checklist for the target software. This method can dynamically generate inspection content based on actual changes and deployment scope, reducing the significant redundancy caused by fixed inspection content. Simultaneously, by transferring constraints between stages through content types, it improves the relevance and completeness of the inspection checklist.

[0050] According to embodiments of this disclosure, by identifying the inspection type involved in the changed content and the inspection scope defined by the production content, multiple inspection points corresponding to the inspection type within the inspection scope are output, including: performing semantic analysis on the changed content and the production content respectively to obtain change semantic features and production semantic features; determining the inspection type corresponding to the current inspection stage from multiple preset inspection types based on the change semantic features and the stage identifier of the current inspection stage, wherein the multiple preset inspection types are inspection types defined in the inspection knowledge base; determining the inspection scope corresponding to the current inspection stage based on the production semantic features and the stage identifier of the current inspection stage; combining the change semantic features, production semantic features, the stage identifier of the current inspection stage, the inspection type, and the inspection scope according to a preset key point prompt template to generate inspection input prompts; and generating multiple inspection points corresponding to the current inspection stage based on the inspection input prompts.

[0051] After obtaining the changes and the content to be deployed, semantic analysis is performed on them respectively. For the changes, natural language processing techniques such as word segmentation, part-of-speech tagging, named entity recognition, and dependency parsing can be used to extract key semantic elements related to the change type from the change description text, code commit logs, requirement descriptions, or change orders, forming a change semantic feature vector to characterize the technology type and target of this change.

[0052] For content to be deployed, key semantic elements related to the deployment scope can be extracted from the deployment package file list, deployment description file, database change script, and configuration file to form a deployment semantic feature vector. Change semantic features and deployment semantic features can be expressed in the form of feature vectors.

[0053] Based on the semantic features of the change and the stage identifier of the current inspection stage, the inspection type corresponding to the current inspection stage is determined from multiple preset inspection types. Specifically, the multiple preset inspection types are predefined inspection types in the inspection knowledge base, and at least include application changes. Database changes Script changes Safety related Implementation of related Infrastructure Version rollback Related to testing And other types that can be set as needed.

[0054] Different inspection stages (Design phase) (Development phase) (Testing phase) (Production Phase) has corresponding preset inspection types. Based on the current inspection phase indicator... And by changing semantic features, rule matching or similarity calculation is used to select from a pre-defined set of inspection types. The process involves determining the type of inspection that matches the current inspection phase.

[0055] At the same time, based on the semantic features of production and the stage identifier of the current inspection stage. This involves determining the scope of inspection corresponding to the current inspection phase, which limits the set of inspectable objects that need to be addressed in the current inspection phase.

[0056] This will change the semantic features, the production semantic features, and the stage identifier of the current inspection stage. The inspection type and scope are combined according to a preset key point prompt template to generate inspection input prompts. The preset key point prompt template is based on the stage types in the inspection knowledge base. and inspection type The constructed structured prompt template should include at least the following fields: stage information, change characteristics, deployment scope, and inspection type. Stage identifiers should be included. Inspection type The semantic features of the change, the semantic features of the production, and the scope of inspection are mapped to the corresponding fields in the template to form a complete inspection input prompt.

[0057] Based on the inspection input prompts, the inspection point generation engine is invoked to generate multiple inspection points corresponding to the current inspection stage. Specifically, the inspection point generation engine uses the stage identifier in the inspection input prompts. and inspection type The corresponding inspection content is then searched in the knowledge base. Indicates during the inspection phase Below, inspection type The corresponding inspection items are: ,in, .

[0058] Among these, the inspection content for the same type of inspection differs at different inspection stages, namely... ≠ For inspection type During the inspection phase The following are the contents of the inspection. During the inspection phase The following are the contents of the inspection. ,in Indicates the inspection phase The content to be inspected belongs to content category a. , where t=1,2,3,4,...

[0059] By modifying semantic features, production semantic features, and stage identifiers, the inspection type and scope are determined, making the generated inspection points more aligned with the actual needs of the current inspection stage.

[0060] According to embodiments of this disclosure, determining the stage inspection content corresponding to the current inspection stage from an inspection knowledge base based on multiple inspection points includes: for each inspection point, determining multiple candidate inspection contents from the inspection knowledge base based on the inspection type corresponding to the inspection point and the stage identifier of the current inspection stage, wherein each inspection content in the inspection knowledge base is associated with a corresponding content category; performing semantic matching between the inspection points and each candidate inspection content to determine semantic similarity, wherein semantic matching includes calculating similarity between the semantic features of the inspection points, the semantic features of the candidate inspection contents, and the semantic features corresponding to the content categories associated with the candidate inspection contents; and selecting the stage inspection content that matches the inspection points from the multiple candidate inspection contents based on the semantic similarity.

[0061] For each inspection point, multiple candidate inspection contents are determined from the inspection knowledge base based on the inspection type corresponding to that inspection point and the stage identifier of the current inspection stage. The inspection knowledge base pre-stores all inspection contents corresponding to each inspection type under each stage type. Specifically, for each inspection stage... and inspection type The content to be checked is stored in the knowledge base. Each item in the knowledge base is also associated with a corresponding content category, and the type of inspection is determined by the category. During the inspection phase The following inspection contents Belongs to content category ,in, Representation phase The content to be checked belongs to type a.

[0062] For example, suppose the inspection type For "Application Changes", the corresponding inspection contents for each inspection stage are shown in Table 1.

[0063] Table 1

[0064] Inspection phase Inspection type Inspection content Design phase Application changes Does this involve any new transactions? If so, please describe the details of the new transactions. Development phase Application changes For newly added or modified transactions, are they compatible with existing functions? And have special handling procedures been implemented, including but not limited to: handling null values, handling special rule scenarios, and handling abnormal rule scenarios? Testing phase Application changes Feedback on the results of new or modified transaction tests Production Phase Application changes Have new transactions or changes been monitored?

[0065] Assuming the type of inspection For the "database changes" category, the corresponding inspection content for each inspection stage is shown in Table 2.

[0066] Table 2

[0067] Inspection phase Inspection type Inspection content Design phase Database changes Does this involve index modification? If so, please explain the modifications and whether they align with business requirements. Development phase Database changes When adding or modifying a database index, please describe the changes. Testing phase Database changes Adding or changing indexes, non-functional design, and test results Production Phase Database changes The newly added or modified index has been successfully created.

[0068] Based on the current inspection stage identifier and the inspection type corresponding to the inspection points, search the inspection knowledge base for all inspection contents that match both the stage identifier and the inspection type to obtain multiple candidate inspection contents.

[0069] The key points of the inspection are semantically matched with each candidate inspection content to determine semantic similarity. Specifically, semantic matching includes calculating similarity for the semantic features of the key points, the semantic features of the candidate inspection content, and the semantic features corresponding to the content categories associated with the candidate inspection content. Semantic feature vectors are extracted from the key points, each candidate inspection content, and the content categories associated with each candidate inspection content. These feature vectors are then fused to calculate the similarity. Similarity calculation can use cosine similarity or vector distance metrics, and the similarity value measures the degree of semantic matching between the key points and each candidate inspection content.

[0070] Based on semantic similarity, the stage inspection content that matches the inspection point is selected from multiple candidate inspection contents. Specifically, the candidate inspection contents are sorted from high to low semantic similarity, and the candidate inspection content with the highest semantic similarity is selected as the stage inspection content that matches the inspection point. When the highest semantic similarity is lower than a preset threshold, a prompt message can be triggered, allowing the user to confirm or regenerate the inspection point.

[0071] The stage inspection contents obtained by matching each inspection point are summarized to obtain the stage inspection contents set corresponding to the current inspection stage, represented as follows: ,in, , This represents the various inspection types in the set of inspection types determined in the current inspection phase. This set is all the phase inspection content that matches each inspection point in the current inspection phase.

[0072] By considering the key points of inspection, candidate inspection content, and their content types simultaneously during semantic matching, the accuracy of selecting inspection content at each stage is effectively improved.

[0073] According to embodiments of this disclosure, the method for generating inspection content further includes: when the semantic similarity between the inspection point and each candidate inspection content is lower than a preset similarity, using a target model to generate supplementary inspection content based on the inspection point, the inspection type corresponding to the inspection point, and the stage identifier of the current inspection stage; and in response to receiving a confirmation instruction for the supplementary inspection content, using the supplementary inspection content as the stage inspection content of the current inspection stage.

[0074] After determining the semantic similarity between each candidate inspection content and the inspection point, it is judged whether the highest semantic similarity is lower than the preset similarity. If the highest semantic similarity is lower than the preset similarity, it indicates that there is currently no existing inspection content in the inspection knowledge base that fully matches the inspection point. Using the target model (i.e., the large language model or generative model adopted by the inspection point generation engine), supplementary inspection content is generated based on the inspection point, the inspection type corresponding to the inspection point, and the stage identifier of the current inspection stage.

[0075] The target model's input includes the semantic features of the inspection points, the inspection type corresponding to each inspection point, and the semantic context of the inspection content in the inspection knowledge base related to the current inspection stage and inspection type. Based on the above input, and understanding the expression methods and format specifications of the existing inspection content in the inspection knowledge base, the target model generates supplementary inspection content with the same format as the existing inspection content.

[0076] The generated supplementary inspection content is presented to the user interactively, awaiting user confirmation. If the user modifies and confirms the generated supplementary inspection content, or directly confirms the supplementary inspection content, a confirmation instruction is received. In response to receiving the confirmation instruction for the supplementary inspection content, the supplementary inspection content is incorporated into the stage inspection content of the current inspection stage, forming a complete stage inspection content together with the existing inspection content. If the user does not confirm the supplementary inspection content, the supplementary inspection content is discarded, and a manual data entry process is triggered, requiring the user to manually input or adjust the inspection points and then re-match them.

[0077] When there is insufficient matching content in the knowledge base, supplementary inspection content is automatically generated and confirmed, which effectively reduces the omission of inspection points and the workload of manual repetitive writing.

[0078] According to embodiments of this disclosure, the inspection knowledge base is constructed as follows: Multiple historical inspection contents are acquired, along with the inspection type, inspection stage, and content category defined for each historical inspection content, wherein the content category is used to identify the specific business dimension to which the historical inspection content belongs; for each historical inspection content, semantic features are extracted to obtain an inspection semantic vector, wherein the inspection semantic vector is used to semantically match the inspection points when determining the inspection content for a stage; and each historical inspection content, its corresponding inspection type, the stage identifier of the inspection stage, the content category, and the inspection semantic vector are associated and stored to construct the inspection knowledge base.

[0079] This involves obtaining multiple historical inspection records, along with the inspection type, inspection stage, and content category defined for each record. The inspection type includes application changes. Database changes Script changes Safety related Implementation of related Infrastructure Version rollback Related to testing And other types that can be set up as needed. The review phase includes the design phase. Development stage Testing phase and production stage And other stages that can be set up as needed. Content categories are used to identify the specific business dimension to which historical inspection content belongs, such as inspection type. During the inspection phase The inspection content below belongs to content categories a, b, c, d, etc.

[0080] For each historical inspection item, semantic features are extracted to obtain an inspection semantic vector. Specifically, word embedding models or semantic encoding models from natural language processing techniques can be used to convert the textual description of the historical inspection item into a fixed-dimensional vector representation. The inspection semantic vector is used to semantically match the inspection points when determining the inspection item at the current stage.

[0081] Include each historical inspection item, its corresponding inspection type, the stage identifier of the inspection phase, and the content type (e.g., ...). , , , (etc.) and inspection semantic vectors are associated and stored to build an inspection knowledge base. In the inspection knowledge base, the inspection stage and inspection type jointly index the inspection content, and each inspection content in the inspection knowledge base is associated with an identifier corresponding to the content category.

[0082] The inspection content in the inspection knowledge base can be organized and stored according to inspection stage, inspection type, and content category. Specifically, the inspection knowledge base can be stored using a relational database or a document-oriented database, with inspection stage and inspection type as a joint index, content category as a classification label, and inspection semantic vector as a vector retrieval field. In the subsequent process of determining the inspection content, based on the current inspection stage and the currently determined inspection type, candidate inspection content is quickly located through the joint index, and then vector similarity matching is used to achieve accurate matching between inspection points and inspection content.

[0083] By storing historical inspection content as semantic vectors associated with inspection type, inspection stage, and content category, structured support is provided for subsequent semantic matching.

[0084] Figure 3 The diagram illustrates an inspection knowledge base of an inspection content generation method according to an embodiment of the present disclosure.

[0085] like Figure 3 As shown, the inspection knowledge base includes multiple preset inspection types, multiple inspection stages, and corresponding inspection content for each inspection type and stage. Inspection type 1 contains corresponding inspection content, which is categorized into content type a and content type b. Inspection stages also contain corresponding inspection content, categorized into content type c and content type d. The inspection knowledge base organizes and indexes inspection content through three dimensions: inspection type, inspection stage, and content type, to support retrieval and matching of inspection content based on one or more of these three dimensions.

[0086] According to embodiments of this disclosure, the method for generating inspection content includes: extracting semantic features of supplementary inspection content to obtain a supplementary semantic vector; determining the content category corresponding to the supplementary inspection content based on the semantic similarity between the supplementary semantic vector and the semantic features corresponding to historical inspection content under each content category in the inspection knowledge base; and associating and storing the supplementary inspection content, the inspection type corresponding to the inspection points, the stage identifier of the current inspection stage, the content category corresponding to the supplementary inspection content, and the supplementary semantic vector, and adding them to the inspection knowledge base.

[0087] When adding supplementary inspection content to the inspection knowledge base, the semantic features of the supplementary inspection content are extracted to obtain supplementary semantic vectors. Specifically, the same semantic encoding model used when constructing the inspection knowledge base can be employed to convert the textual description of the supplementary inspection content into a vector representation, thus maintaining the uniformity of the vector space.

[0088] Based on the semantic similarity between the supplementary semantic vector and the semantic features corresponding to historical content under each content category in the inspection knowledge base, the content category corresponding to the supplementary inspection content is determined. All inspection content in the inspection knowledge base belongs to its corresponding content category, and each content category's historical inspection content has a corresponding semantic feature vector. The similarity between the supplementary semantic vector and the semantic feature vectors of all historical inspection content under each content category in the inspection knowledge base is calculated. Similarity calculation can use cosine similarity or vector distance metrics to determine the content category that is semantically closest to the supplementary inspection content.

[0089] When the highest semantic similarity exceeds a preset threshold, the content category corresponding to that highest semantic similarity is determined as the content category corresponding to the supplementary inspection content. When the highest semantic similarity is lower than the preset threshold, a new content category can be created by the user or manually.

[0090] The supplementary inspection content, the inspection type corresponding to the inspection points, the stage identifier of the current inspection stage, the content category corresponding to the supplementary inspection content, and the supplementary semantic vector are associated and stored, and added to the inspection knowledge base so that they can be retrieved during subsequent semantic matching. By automatically determining the content category of the supplementary inspection content and adding it to the database, the consistency of classification is effectively ensured even after the inspection knowledge base is expanded.

[0091] According to embodiments of this disclosure, the content categories extracted from the current inspection stage are used as constraints. A target model is used to generate multiple inspection points corresponding to the next inspection stage and covering the content categories. This includes: determining the inspection type and scope corresponding to the next inspection stage based on change semantic features, production semantic features, and the stage identifier of the next inspection stage; combining the content categories as constraints with change semantic features, production semantic features, the stage identifier of the next inspection stage, the inspection type, and the inspection scope according to a preset stage prompt template to generate stage input prompts; wherein the preset stage prompt template includes coverage requirements generated based on the constraints, which indicate that the generated inspection points must cover the content categories and allow the generation of other inspection points beyond the content category range; and using the target model, multiple inspection points corresponding to the next inspection stage are generated based on the stage input prompts.

[0092] Extract the content categories associated with each inspection item from the phase inspection content to form a constraint set of content categories, which is used to constrain the inspection points of the next inspection phase to cover these content categories.

[0093] Obtain the stage identifier for the next inspection stage. Based on the change semantic features, production semantic features, and the stage identifier for the next inspection stage, determine the inspection type and scope corresponding to the next inspection stage. Specifically, based on the change semantic features and the stage identifier, determine the inspection type involved in the next stage from multiple preset inspection types; based on the production semantic features and the stage identifier, determine the inspection scope of the next stage.

[0094] The extracted set of content category constraints is used as the constraint conditions. These constraints are combined with the semantic features of change, semantic features of production, the stage identifier of the next inspection stage, the inspection type, and the inspection scope, according to a preset stage prompt template, to generate stage input prompts. The preset stage prompt template includes coverage requirements generated based on the content category constraint set. These coverage requirements indicate that the inspection points generated by the target model must cover all content categories in the constraint set, and allow the generation of other inspection points beyond the scope of those content categories.

[0095] By setting flexible constraints that allow for exceeding the scope, the continuity of the inspection content of the current inspection stage is ensured in the next inspection stage, while not restricting the next inspection stage from generating new inspection points based on new changes, thus achieving a balance between knowledge transfer and flexibility.

[0096] Using the target model (i.e., the large language model or generative model employed by the checkpoint generation engine), multiple checkpoints corresponding to the next check stage are generated based on stage input prompts. The generated checkpoints cover all content categories in the constraint set of content categories, and may further include new content categories beyond the scope of the constraint set.

[0097] Meanwhile, if there is a cross-stage collaborative relationship between the next inspection stage and the current inspection stage, that is, when the same inspection type belongs to two inspection stages at the same time, the generated inspection points will further include collaborative verification information. This collaborative verification information is used to indicate the linkage verification requirements of the inspection conclusion of the current inspection stage for the inspection of the next inspection stage.

[0098] By applying the content types of the previous inspection stage as constraints to the generation process of inspection points in the next inspection stage, complete coverage of inspection points across stages is effectively ensured.

[0099] According to embodiments of this disclosure, a method for generating inspection content includes: for any two adjacent inspection stages in a preset sequence, identifying multiple pairs of related inspection content with the same content type from the stage inspection content of each of the two inspection stages; for each pair of related inspection content, if it is determined that the pair of related inspection content includes the target inspection content of the previous inspection stage and does not include the verification inspection content corresponding to the target inspection content of the subsequent inspection stage, generating supplementary verification content based on the target inspection content and the stage identifier of the subsequent inspection stage using a target model; wherein the target inspection content is the inspection content in the previous inspection stage used to instruct the subsequent inspection stage to perform verification, and the verification inspection content is the inspection content in the subsequent inspection stage used to verify the target inspection content; and adding the supplementary verification content to the stage inspection content of the subsequent inspection stage.

[0100] Obtain the inspection content from the previous inspection stage and the inspection content from the next inspection stage. Pair inspection content with the same content type from both stages to obtain multiple pairs of associated inspection content. The method for determining if content types are the same is: within the inspection stage... With inspection phase If the content to be inspected belongs to the same category, and there are other inspections of the same type... Both belong to these two inspection phases ( ∈gl and If ∈fl), then the two inspection phases respectively contain the inspection content corresponding to that inspection type. and At this point, the two inspection items constitute a pair of related inspection items.

[0101] For each pair of related inspection items, determine whether the pair includes the target inspection item from the previous inspection stage, but does not include the verification inspection item corresponding to the target inspection item in the subsequent inspection stage. The target inspection item is the inspection item present in the previous inspection stage, and the verification inspection item is the inspection item used in the subsequent inspection stage to inherit and verify the work related to the target inspection item.

[0102] If the target inspection content exists in the previous inspection phase, but the corresponding verification inspection content is not included in the phase inspection content of the subsequent inspection phase, it indicates that the work items discovered or involved in the previous inspection phase lack corresponding inspection tracking nodes in the subsequent inspection phase and need to be supplemented. This is not differentiated based on whether the inspection conclusion of the previous phase is positive or negative; as long as the previous inspection phase involves the inspection content, the subsequent inspection phase needs to have corresponding verification inspection content to take over, ensuring that the matter is continuously tracked throughout the entire R&D cycle.

[0103] If supplementary verification content is determined to be needed, supplementary verification content is generated based on the target inspection content and the stage identifier of the next inspection stage, using the target model (i.e., the large language model or generative model adopted by the inspection point generation engine). Specifically, the text description of the target inspection content, the stage identifier of the next inspection stage, and the inspection type corresponding to the target inspection content are taken as input and fed into the target model to generate supplementary verification content that matches the target inspection content and is suitable for the next inspection stage. The generated supplementary verification content belongs to the same content category as the target inspection content, and its form is a verification check item for this content category in the next inspection stage. It is used to take over and verify whether the work items involved in the target inspection content of the previous inspection stage have been implemented in the next stage.

[0104] The supplementary verification content is added to the stage inspection content of the next inspection stage, that is, it becomes part of the inspection content of the inspection type under the next inspection stage, and together with the existing verification inspection content, it constitutes the complete verification inspection content of that content type in the next inspection stage.

[0105] By comparing and supplementing the related inspection content pairs between adjacent inspection stages, the lack of verification of the inspection requirements of the previous stage by the later inspection stage is effectively made up for, thereby improving the stage connection and overall closed loop of the inspection process.

[0106] Figure 4 A flowchart illustrating a method for generating inspection content according to another embodiment of this disclosure is shown schematically.

[0107] like Figure 4 As shown, strategies are encapsulated based on the inspection stage and inspection knowledge base to obtain all candidate inspection strategies for the current inspection stage. Through adaptive identification, the inspection type involved in this change is determined based on the change content. Based on this, a strategy selection process is used to filter out inspection strategies that match the inspection type from all candidate strategies, generating the inspection content for the current stage.

[0108] Simultaneously, cross-stage collaboration uses the types of content involved in the inspection content of the previous inspection stage as constraints to pass to the current inspection stage, realizing the linkage and coverage of similar inspection items between stages. Finally, the inspection is executed, and the inspection content of each inspection stage is integrated in a preset order to obtain a production inspection checklist for the target software.

[0109] In the above process, strategy encapsulation, adaptive identification, strategy selection, and cross-stage collaboration together constitute the strategy secondary generation process, realizing the on-demand dynamic generation of inspection content and the linkage verification between stages.

[0110] Based on the above-described method for generating inspection content, this disclosure also provides an apparatus for generating inspection content. The following will be combined with... Figure 5 The device is described in detail.

[0111] Figure 5 A schematic block diagram of an inspection content generation apparatus according to an embodiment of the present disclosure is shown.

[0112] like Figure 5 As shown, the inspection content generation device 500 of this embodiment includes a change acquisition module 510, a key point generation module 520, a content determination module 530, a key point constraint module 540, and a list generation module 550.

[0113] The change acquisition module 510 is used to acquire the change content of the target software, the production content of the target software, and multiple inspection stages arranged in a preset order.

[0114] The key point generation module 520 is used to input the change content, production content and the stage identifier of the current inspection stage into the target model for the current inspection stage, so as to output multiple inspection key points corresponding to the inspection type within the inspection scope by identifying the inspection type involved in the change content and the inspection scope defined by the production content.

[0115] The content determination module 530 is used to determine the stage inspection content corresponding to the current inspection stage from the inspection knowledge base based on multiple inspection points. The inspection content corresponding to different inspection types in the inspection knowledge base is divided into multiple content categories, and the content categories are used to identify the specific business dimensions of the inspection content.

[0116] The key point constraint module 540 is used to extract the content types from the current inspection stage as constraints for the next inspection stage, and use the target model to generate multiple inspection key points that correspond to the next inspection stage and cover the content types, so as to determine the stage inspection content of the next inspection stage.

[0117] The checklist generation module 550 is used to integrate the phase inspection contents of each inspection stage based on a preset order to obtain a production inspection checklist for the target software.

[0118] According to embodiments of this disclosure, the key point generation module 520 includes a semantic analysis submodule, a type determination submodule, a range determination submodule, an inspection generation submodule, and a key point generation submodule.

[0119] The semantic analysis submodule is used to perform semantic analysis on the changed content and the put-in content respectively, and obtain the semantic features of the change and the semantic features of the put-in content.

[0120] The type determination submodule is used to determine the inspection type corresponding to the current inspection stage from multiple preset inspection types based on the change semantic features and the stage identifier of the current inspection stage. The multiple preset inspection types are inspection types defined in the inspection knowledge base.

[0121] The scope determination submodule is used to determine the inspection scope corresponding to the current inspection stage based on the production semantic features and the stage identifier of the current inspection stage.

[0122] The inspection generation submodule is used to combine change semantic features, production semantic features, the stage identifier of the current inspection stage, inspection type, and inspection scope according to the preset key point prompt template to generate inspection input prompts.

[0123] The checkpoint generation submodule is used to generate multiple checkpoints corresponding to the current check stage based on the check input prompts.

[0124] According to embodiments of this disclosure, the content determination module 530 includes a candidate determination submodule, a similarity determination submodule, and a content selection submodule.

[0125] The candidate determination submodule is used to determine multiple candidate inspection contents from the inspection knowledge base for each inspection point, based on the inspection type corresponding to the inspection point and the stage identifier of the current inspection stage. Each inspection content in the inspection knowledge base is associated with a corresponding content category.

[0126] The similarity determination submodule is used to perform semantic matching between the inspection points and each candidate inspection content to determine the semantic similarity. The semantic matching includes calculating the similarity between the semantic features of the inspection points, the semantic features of the candidate inspection content, and the semantic features corresponding to the content categories associated with the candidate inspection content.

[0127] The content selection submodule is used to select the stage inspection content that matches the inspection points from multiple candidate inspection content based on semantic similarity.

[0128] According to embodiments of this disclosure, the content generation apparatus 500 further includes a content generation module and an instruction receiving module.

[0129] The content generation module is used to generate supplementary inspection content based on the inspection point, the inspection type corresponding to the inspection point, and the stage identifier of the current inspection stage when the semantic similarity between the inspection point and each candidate inspection content is lower than the preset similarity.

[0130] The instruction receiving module is used to respond to the receipt of a confirmation instruction for supplementary inspection content and to use the supplementary inspection content as the stage inspection content of the current inspection stage.

[0131] According to embodiments of this disclosure, the inspection content generation apparatus 500 further includes a history acquisition module, a feature extraction module, and an association storage module.

[0132] The history acquisition module is used to acquire multiple historical inspection contents, as well as the inspection type, inspection stage, and content category defined for each historical inspection content. The content category is used to identify the specific business dimension to which the historical inspection content belongs.

[0133] The feature extraction module is used to extract the semantic features of each historical inspection content to obtain an inspection semantic vector. The inspection semantic vector is used to perform semantic matching with the inspection points when determining the inspection content at the stage.

[0134] The associated storage module is used to associate and store each historical inspection content, its corresponding inspection type, the stage identifier of the inspection stage, the content category, and the inspection semantic vector to build an inspection knowledge base.

[0135] According to embodiments of this disclosure, the inspection content generation apparatus 500 further includes a supplementary extraction module, a category determination module, and a knowledge update module.

[0136] The supplementary extraction module is used to extract the semantic features of the supplementary inspection content to obtain a supplementary semantic vector.

[0137] The category determination module is used to determine the content category corresponding to the supplementary inspection content based on the semantic similarity between the supplementary semantic vector and the semantic features corresponding to the historical inspection content under each content category in the inspection knowledge base.

[0138] The knowledge update module is used to associate and store supplementary inspection content, inspection types corresponding to inspection points, stage identifiers of the current inspection stage, content types corresponding to supplementary inspection content, and supplementary semantic vectors, and add them to the inspection knowledge base.

[0139] According to embodiments of this disclosure, the key constraint module 540 includes an inspection and determination submodule, a stage generation submodule, and a key constraint submodule.

[0140] The inspection determination submodule is used to determine the inspection type and scope corresponding to the next inspection stage based on change semantic features, production semantic features, and the stage identifier of the next inspection stage.

[0141] The stage generation submodule is used to combine content type as a constraint with change semantic features, production semantic features, stage identifier of the next inspection stage, inspection type and inspection scope, according to the preset stage prompt template, to generate stage input prompts. The preset stage prompt template includes coverage requirements generated based on the constraint conditions. The coverage requirements are used to indicate that the generated inspection points must cover the content types and allow the generation of other inspection points that exceed the scope of content types.

[0142] The key constraint submodule is used to generate multiple check points corresponding to the next check stage based on the stage input prompts and the target model.

[0143] According to embodiments of this disclosure, the content generation apparatus 500 further includes a content recognition module, a verification generation module, and a content addition module.

[0144] The content recognition module is used to identify multiple related inspection content pairs with the same content type from the inspection content of each of the two adjacent inspection stages in a preset sequence.

[0145] The verification generation module, for each pair of associated inspection content, determines that the pair includes the target inspection content from the previous inspection stage but does not include the verification inspection content corresponding to the target inspection content from the subsequent inspection stage. Based on the target inspection content and the stage identifier of the subsequent inspection stage, it generates supplementary verification content using the target model. The target inspection content is the inspection content from the previous inspection stage used to instruct the subsequent inspection stage to perform verification, and the verification inspection content is the inspection content from the subsequent inspection stage used to verify the target inspection content.

[0146] The content addition module is used to add supplementary verification content to the stage inspection content of the next inspection stage.

[0147] According to embodiments of this disclosure, any multiple modules among the change acquisition module 510, key point generation module 520, content determination module 530, key point constraint module 540, and list generation module 550 can be combined into one module, or any one of these modules can be split into multiple modules. Alternatively, at least some of the functions of one or more of these modules can be combined with at least some of the functions of other modules and implemented in one module. According to embodiments of this disclosure, at least one of the change acquisition module 510, key point generation module 520, content determination module 530, key point constraint module 540, and list generation module 550 can be at least partially implemented as hardware circuitry, such as a field-programmable gate array (FPGA), a programmable logic array (PLA), a system-on-a-chip, a system-on-a-substrate, a system-on-package, an application-specific integrated circuit (ASIC), or implemented in hardware or firmware by any other reasonable means of integrating or packaging circuitry, or implemented in software, hardware, or firmware, or in any suitable combination of any of these three implementation methods. Alternatively, at least one of the change acquisition module 510, key point generation module 520, content determination module 530, key point constraint module 540, and list generation module 550 can be at least partially implemented as a computer program module, which can perform corresponding functions when the computer program module is run.

[0148] Figure 6 A block diagram schematically illustrates an electronic device suitable for implementing the content generation method according to an embodiment of the present disclosure.

[0149] like Figure 6 As shown, an electronic device 600 according to an embodiment of the present disclosure includes a processor 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory ROM 602 or a program loaded from a storage portion 608 into a random access memory RAM 603. The processor 601 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or an associated chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 601 may also include onboard memory for caching purposes. The processor 601 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.

[0150] RAM 603 stores various programs and data required for the operation of electronic device 600. Processor 601, ROM 602, and RAM 603 are interconnected via bus 604. Processor 601 performs various operations of the method flow according to embodiments of the present disclosure by executing programs in ROM 602 and / or RAM 603. It should be noted that programs may also be stored in one or more memories other than ROM 602 and RAM 603. Processor 601 may also perform various operations of the method flow according to embodiments of the present disclosure by executing programs stored in one or more memories.

[0151] According to embodiments of this disclosure, the electronic device 600 may further include an input / output (I / O) interface 605, which is also connected to a bus 604. The electronic device 600 may also include one or more of the following components connected to the input / output (I / O) interface 605: an input section 606 including a keyboard, mouse, etc.; an output section 607 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN card, modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 910 is also connected to the input / output (I / O) interface 605 as needed. A removable medium 911, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on the drive 910 as needed so that computer programs read from it can be installed into the storage section 608 as needed.

[0152] This disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or it may exist independently and not assembled into the device / apparatus / system. The computer-readable storage medium carries one or more programs that, when executed, implement the method according to the embodiments of this disclosure.

[0153] According to embodiments of this disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, such as including, but not limited to: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this disclosure, the computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. For example, according to embodiments of this disclosure, the computer-readable storage medium may include ROM 602 and / or RAM 603 and / or one or more memories other than ROM 602 and RAM 603 described above.

[0154] Embodiments of this disclosure also include a computer program product comprising a computer program containing program code for performing the methods shown in the flowchart. When the computer program product is run on a computer system, the program code is used to cause the computer system to implement the inspection content generation method provided in the embodiments of this disclosure.

[0155] When the computer program is executed by the processor 601, it performs the functions defined in the system / apparatus of this disclosure embodiments. According to embodiments of this disclosure, the systems, apparatuses, modules, units, etc., described above can be implemented by computer program modules.

[0156] In one embodiment, the computer program may rely on a tangible storage medium such as an optical storage device or a magnetic storage device. In another embodiment, the computer program may also be transmitted and distributed in the form of signals over a network medium, and downloaded and installed via the communication section 609, and / or installed from the removable medium 911. The program code contained in the computer program can be transmitted using any suitable network medium, including but not limited to: wireless, wired, etc., or any suitable combination thereof.

[0157] In such an embodiment, the computer program can be downloaded and installed from a network via the communication section 609, and / or installed from the removable medium 911. When the computer program is executed by the processor 601, it performs the functions defined in the system of this disclosure embodiment. According to embodiments of this disclosure, the systems, devices, apparatuses, modules, units, etc., described above can be implemented by computer program modules.

[0158] According to embodiments of this disclosure, program code for executing the computer programs provided in embodiments of this disclosure can be written in any combination of one or more programming languages. Specifically, these computational programs can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages ​​include, but are not limited to, languages ​​such as Java, C++, Python, "C", or similar programming languages. The program code can execute entirely on a user's computing device, partially on a user's device, partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can be connected to the user's computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., via the Internet using an Internet service provider).

[0159] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0160] Those skilled in the art will understand that the features described in the various embodiments of this disclosure can be combined and / or combined in various ways, even if such combinations or combinations are not explicitly described in this disclosure. In particular, the features described in the various embodiments of this disclosure can be combined and / or combined in various ways without departing from the spirit and teachings of this disclosure. All such combinations and / or combinations fall within the scope of this disclosure.

[0161] The embodiments of this disclosure have been described above. However, these embodiments are for illustrative purposes only and are not intended to limit the scope of this disclosure. Although various embodiments have been described above, this does not mean that the measures in the various embodiments cannot be used advantageously in combination. Various substitutions and modifications can be made by those skilled in the art without departing from the scope of this disclosure, and all such substitutions and modifications should fall within the scope of this disclosure.

Claims

1. A method for generating inspection content, characterized in that, The method includes: The changes to the target software, the production implementation details for the target software, and multiple inspection stages arranged in a preset order are obtained. For the current inspection stage, the changed content, the production content, and the stage identifier of the current inspection stage are input into the target model. By identifying the inspection type involved in the changed content and the inspection scope defined by the production content, multiple inspection points corresponding to the inspection type within the inspection scope are output. Based on multiple inspection points, the stage inspection content corresponding to the current inspection stage is determined from the inspection knowledge base. The inspection content corresponding to different inspection types in the inspection knowledge base is divided into multiple content categories, and the content categories are used to identify the specific business dimensions of the inspection content. For the next inspection stage, the content categories extracted from the current inspection stage are used as constraints. Using the target model, multiple inspection points corresponding to the next inspection stage and covering the content categories are generated to determine the inspection content of the next inspection stage. Based on the preset order, the phase inspection contents of each inspection stage are integrated to obtain a production inspection checklist for the target software.

2. The method according to claim 1, characterized in that, The process involves identifying the inspection type related to the changed content and the inspection scope defined by the production content, and outputting multiple inspection points corresponding to the inspection type within the inspection scope, including: Semantic analysis was performed on the changes and the production implementation to obtain semantic features of the changes and semantic features of the production implementation. Based on the change semantic features and the stage identifier of the current inspection stage, an inspection type corresponding to the current inspection stage is determined from multiple preset inspection types, wherein the multiple preset inspection types are inspection types defined in the inspection knowledge base; Based on the production semantic features and the stage identifier of the current inspection stage, determine the inspection scope corresponding to the current inspection stage; The change semantic features, the production semantic features, the stage identifier of the current inspection stage, the inspection type, and the inspection scope are combined according to a preset key point prompt template to generate inspection input prompts; Based on the inspection input prompts, multiple inspection points corresponding to the current inspection stage are generated.

3. The method according to claim 1, characterized in that, The step of determining the stage inspection content corresponding to the current inspection stage from the inspection knowledge base based on multiple inspection points includes: For each of the inspection points, multiple candidate inspection contents are determined from the inspection knowledge base according to the inspection type corresponding to the inspection point and the stage identifier of the current inspection stage, wherein each inspection content in the inspection knowledge base is associated with a corresponding content category; The inspection points are semantically matched with each of the candidate inspection contents to determine semantic similarity. The semantic matching includes calculating the similarity of the semantic features of the inspection points, the semantic features of the candidate inspection contents, and the semantic features corresponding to the content categories associated with the candidate inspection contents. Based on the semantic similarity, select the stage inspection content that matches the inspection points from multiple candidate inspection contents.

4. The method according to claim 3, characterized in that, The method further includes: When the semantic similarity between the inspection point and each of the candidate inspection contents is lower than the preset similarity, supplementary inspection contents are generated using the target model based on the inspection point, the inspection type corresponding to the inspection point, and the stage identifier of the current inspection stage. In response to receiving a confirmation instruction for the supplementary inspection content, the supplementary inspection content is used as the stage inspection content of the current inspection stage.

5. The method according to claim 1, characterized in that, The inspection knowledge base is constructed in the following manner: Obtain multiple historical inspection contents, as well as the inspection type, inspection stage, and content category defined for each historical inspection content, wherein the content category is used to identify the specific business dimension to which the historical inspection content belongs; For each of the historical inspection contents, the semantic features of the historical inspection contents are extracted to obtain an inspection semantic vector, wherein the inspection semantic vector is used to perform semantic matching with the inspection points when determining the inspection contents at the stage; The inspection knowledge base is constructed by associating and storing each historical inspection content, its corresponding inspection type, the stage identifier of the inspection stage, the content category, and the inspection semantic vector.

6. The method according to claim 4, characterized in that, The method further includes: Extract the semantic features of the supplementary inspection content to obtain a supplementary semantic vector; Based on the semantic similarity between the supplementary semantic vector and the semantic features corresponding to the historical inspection content under each content category in the inspection knowledge base, the content category corresponding to the supplementary inspection content is determined. The supplementary inspection content, the inspection type corresponding to the inspection points, the stage identifier of the current inspection stage, the content type corresponding to the supplementary inspection content, and the supplementary semantic vector are associated and stored, and added to the inspection knowledge base.

7. The method according to claim 2, characterized in that, The step of using the content categories extracted from the current inspection phase as constraints, and utilizing the target model, generates multiple inspection points corresponding to the next inspection phase and covering the content categories, including: Based on the change semantic features, the production semantic features, and the stage identifier of the next inspection stage, determine the inspection type and inspection scope corresponding to the next inspection stage; The content type is used as a constraint, and combined with the change semantic feature, the production semantic feature, the stage identifier of the next inspection stage, the inspection type and the inspection scope, according to a preset stage prompt template to generate stage input prompts; The preset stage prompt template includes coverage requirements generated based on the constraints. The coverage requirements are used to indicate that the generated checkpoints must cover the content type and allow the generation of other checkpoints that exceed the scope of the content type. Using the target model and based on the stage input prompts, multiple inspection points corresponding to the next inspection stage are generated.

8. The method according to claim 1, characterized in that, The method further includes: For any two adjacent inspection stages in the preset sequence, identify multiple pairs of related inspection content with the same content type from the inspection content of each of the two inspection stages; For each pair of associated inspection contents, if it is determined that the pair of associated inspection contents includes the target inspection contents of the previous inspection stage but does not include the verification inspection contents of the next inspection stage corresponding to the target inspection contents, supplementary verification contents are generated using the target model based on the target inspection contents and the stage identifier of the next inspection stage. The target inspection content is the inspection content used in the previous inspection stage to instruct the next inspection stage to verify it, and the verification inspection content is the inspection content used in the next inspection stage to verify the target inspection content. The supplementary verification content is added to the stage inspection content of the next inspection stage.

9. An apparatus for generating inspection content, characterized in that, The device includes: The change acquisition module is used to acquire the change content of the target software, the production content of the target software, and multiple inspection stages arranged in a preset order; The key point generation module is used to input the change content, the production content, and the stage identifier of the current inspection stage into the target model for the current inspection stage, so as to output multiple inspection key points corresponding to the inspection type within the inspection scope by identifying the inspection type involved in the change content and the inspection scope defined by the production content. The content determination module is used to determine the stage inspection content corresponding to the current inspection stage from the inspection knowledge base based on multiple inspection points. The inspection content corresponding to different inspection types in the inspection knowledge base is divided into multiple content categories, and the content categories are used to identify the specific business dimensions of the inspection content. The key point constraint module is used to extract the content types from the current inspection stage as constraints for the next inspection stage, and use the target model to generate multiple inspection key points corresponding to the next inspection stage and covering the content types, so as to determine the stage inspection content of the next inspection stage. The checklist generation module is used to integrate the phase inspection contents of each inspection stage based on the preset order to obtain a production inspection checklist for the target software.

10. An electronic device, comprising: One or more processors; Memory, used to store one or more computer programs. The characteristic feature is that the one or more processors execute the one or more computer programs to implement the steps of the method according to any one of claims 1 to 8.

11. A computer-readable storage medium having a computer program or instructions stored thereon, characterized in that, When the computer program or instructions are executed by a processor, they implement the steps of the method according to any one of claims 1 to 8.

12. A computer program product, comprising a computer program or instructions, characterized in that, When the computer program or instructions are executed by a processor, they implement the steps of the method according to any one of claims 1 to 8.