Service design review method, device and equipment, medium and product
Through the automated service design review method, service design documents are obtained and parsed, and a verification pool is built for review, which solves the problem of high efficiency and low manual review costs and achieves a high-quality and efficient review process.
Patent Information
- Application Number
- CN202411285218.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-13
- Publication Date
- 2025-01-10
AI Technical Summary
The existing service design review model relies on manual review, resulting in high costs, low efficiency and missed reviews, making it difficult to ensure the quality and efficiency of reviews at the same time.
By obtaining service design documents, analyzing and determining the list of full review items, building a verification pool, and verifying the review items based on the preset defect model library, generating an review report, and realizing automatic review.
Automatic review of service design is realized, labor costs are released, the quality and efficiency of review work are improved, and the inspector pool is dynamically arranged to enhance targetedness.
Smart Images

Figure CN119294884A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of information management technology, and in particular to a service design review method, device, equipment, medium and product. Background Art
[0002] Building an enterprise business platform is a common technical route for the digital transformation of enterprises. The enterprise business platform plays an important role in improving the business response speed of enterprises, reducing enterprise operating costs, and enhancing enterprise innovation capabilities. Conducting a business platform service design review will help strengthen the construction and operation quality of the business platform.
[0003] Currently, service design is usually reviewed based on the traditional expert manual review model.
[0004] However, this manual review model has problems such as high cost, low efficiency, and strong subjectivity. First, during the rapid construction and iterative improvement of the business platform, the review frequency is high and the review services are numerous, which inevitably leads to manual omissions; second, in order to ensure the quality of the review, the review experts need to invest more labor costs and time costs, which leads to a bottleneck in the review efficiency. How to ensure the quality and efficiency of the review at the same time is an urgent problem to be solved. Summary of the invention
[0005] The present invention provides a service design review method, device, equipment, medium and product to realize automatic review of service design.
[0006] According to a first aspect of the present invention, there is provided a service design review method, comprising:
[0007] Obtain service design documents;
[0008] Parse the service design document and determine the full review item list;
[0009] Constructing a verifier pool for verifying the service design document according to a preset defect model library, the full review item list and the catalog items of the service design document;
[0010] Each review item in the full review item list is verified according to the verifier pool, a verification result is obtained and a review report of the service design document is generated.
[0011] According to a second aspect of the present invention, there is provided a service design review device, comprising:
[0012] Document acquisition module, used to obtain service design documents;
[0013] A list determination module, used to parse the service design document and determine a list of all review items;
[0014] A pool construction module, used to construct a verifier pool for verifying the service design document according to a preset defect model library, the full review item list and the catalog items of the service design document;
[0015] The result determination module is used to verify each review item in the full review item list according to the verifier pool, obtain the verification result and generate a review report for the service design document.
[0016] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0017] at least one processor; and
[0018] a memory communicatively connected to the at least one processor; wherein,
[0019] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the service design review method described in any embodiment of the present invention.
[0020] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the service design review method described in any embodiment of the present invention when executed.
[0021] According to another aspect of the present invention, an embodiment of the present invention further provides a computer program product, the computer program product includes a computer program, and when the computer program is executed by a processor, the service design review method of any embodiment of the present invention is implemented.
[0022] The technical solution of the embodiment of the present invention is to obtain the service design document; parse the service design document to determine the full review item list; build a verifier pool for verifying the service design document according to the preset defect model library, the full review item list and the catalog items of the service design document; verify each review item in the full review item list according to the verifier pool, obtain the verification result and generate a review report for the service design document. By determining the full review item list of the service design document and building a verifier pool for reviewing the service design document, each review item is verified by the verifier pool to obtain a review report. Automatic review of service design is achieved, freeing up labor costs. Dynamic arrangement of the verifier pool used for review is achieved, the pertinence of the verifier pool is improved, and the quality and efficiency of the review work are improved.
[0023] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0025] Figure 1 is a flow chart of a service design review method provided according to Embodiment 1 of the present invention;
[0026] Figure 2 is a flow chart of a service design review method provided according to Embodiment 2 of the present invention;
[0027] Figure 3 is a structural diagram of a service design review device provided according to Embodiment 3 of the present invention;
[0028] Figure 4 It is a schematic diagram of the structure of an electronic device implementing an embodiment of the present invention. DETAILED DESCRIPTION
[0029] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0030] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0031] Embodiment 1
[0032] Figure 1A flowchart of a service design review method is provided for the first embodiment of the present invention. This embodiment is applicable to the review of service design. The method can be executed by a service design review device. The service design review device can be implemented in the form of hardware and / or software. The service design review device can be configured in an electronic device. Figure 1 As shown, the method includes:
[0033] S110. Obtain service design documents.
[0034] In this embodiment, the service design document can be understood as key elements such as architecture, functions, interfaces, and data models used to describe and define the business.
[0035] Specifically, an interactive layer connected to users can be set up to provide users with interactive interfaces in the form of web sites, PC clients, and mobile apps. Users can input content through the service design document template architecture provided in the interactive interface to form a service design document. The processor can obtain the service design document filled out by the user based on his or her own business needs.
[0036] S120. Analyze the service design document and determine the full review item list.
[0037] In this embodiment, the full review item list can be understood as all items in the service design document that need to be reviewed.
[0038] Specifically, the processor can parse unstructured service design documents. For example, it can extract all review items in the service design document through semantic analysis, understand and record the contextual relationship between each review item, and obtain the corresponding full review item list based on all review items in the service design document.
[0039] S130. Construct a verifier pool for verifying the service design document based on the preset defect model library, the full review item list, and the catalog items of the service design document.
[0040] It can be understood that the preset defect model library can be understood as a model library composed of all models used to identify design defects. The preset defect model can be based on the team's early accumulated experience in mid-stage service design review, and for case samples that failed the large data volume review, the corresponding abnormal features are abstracted and refined one by one, and finally a set of service design defect model libraries that support intelligent review of service design can be constructed. The larger the amount of case sample data accumulated by the team in the early stage, the richer the defect model library can be constructed, so that the device can identify as many design defects as possible, and then form a more detailed and detailed review report, and finally achieve the goal of releasing more manpower costs. The catalog item can be understood as an item used to provide the structure of the service design document. The verifier pool can be understood as including all verifiers used to verify the review items. For example, the verifier can verify the naming specifications, input and output parameter specifications, and the merging of interfaces.
[0041] Specifically, the processor can determine the verifier group for each review item in the full review item list based on the preset defect model library, assign meaning to the parsed review items through the contextual relationship between each review item, and convert the originally scattered text information into review items with internal logical relationships. The structured review items are arranged into a tree structure through directory items combined with contextual relationships, and the verifiers in the verifier pool are sorted according to the review order of the review items provided by the tree structure to obtain the verifier pool of the service design document.
[0042] S140. Verify each review item in the full review item list according to the verifier pool, obtain the verification results and generate a review report for the service design document.
[0043] In this embodiment, the verification result can be understood as a result used to indicate whether each review item has passed the verification. The review report can be understood as a review report composed of the structure of the verification result of each review item in the service design document, which lists in detail the problems and possible risks in the document.
[0044] Specifically, the processor can check and verify each review item in the full review item list according to the order in the verifier pool. Each verifier verifies specific checkpoints (such as camel case naming of data fields, URL naming rules, etc.). The verifiers in the verifier pool can work in parallel to improve the verification efficiency. The processor can summarize all verification results according to the structure in the service design document, and generate a final review report based on the review items, the functions of the verifier and the verification structure, listing in detail the problems and possible risks in the document to help users improve and optimize the service design document.
[0045] Exemplarily, the review report can display the results in the order of the verifier's function, review items and review results, [Verify document naming compliance], [a book-b center-c service-d date], review result: passed; [Verify interface list consistency], [Total number of interfaces = e], review result: passed; Interface name 1: query interface, interface URL: v / n / m, [Verify interface naming compliance], [Query interface], review result: passed; [Verify URL naming compliance], [v / n / m], review result passed.
[0046] The technical solution of the embodiment of the present invention is to obtain the service design document; parse the service design document to determine the full review item list; build a verifier pool for verifying the service design document according to the preset defect model library, the full review item list and the catalog items of the service design document; verify each review item in the full review item list according to the verifier pool, obtain the verification result and generate a review report for the service design document. By determining the full review item list of the service design document and building a verifier pool for reviewing the service design document, each review item is verified by the verifier pool to obtain a review report. Automatic review of service design is achieved, freeing up labor costs. Dynamic arrangement of the verifier pool used for review is achieved, the pertinence of the verifier pool is improved, and the quality and efficiency of the review work are improved.
[0047] As a first optional embodiment of the first embodiment, after verifying each review item in the full review item list according to the verifier pool, obtaining the verification results and generating the review report of the service design document, it also includes:
[0048] Provide review reports via a visual interface.
[0049] In this embodiment, the visualization interface can be understood as a feedback interface provided in a visualization form.
[0050] Specifically, after verifying each review item in the full review item list according to the verifier pool, obtaining the verification results and generating a review report for the service design document, the processor can feed back the review report to the user through a visual interface. The user can view the problems found in each chapter during the service design document review process through the interface, which helps the user to fully understand the review situation.
[0051] Embodiment 2
[0052] Figure 2 This is a flow chart of a service design review method provided by Embodiment 2 of the present invention. This embodiment is a further refinement of the above embodiment. Figure 2 As shown, the method includes:
[0053] S201. Obtain service design documents.
[0054] S202: Parse the service design document and extract service description information fragments.
[0055] In this embodiment, the service description information fragment can be understood as a detailed description of the service interface, functions and related features.
[0056] Specifically, the processor can parse the service design document through semantics and other methods to extract service description information fragments. Each fragment is a review item. Document parsing technology must strictly comply with the document standard format, which is the key to ensuring the success rate of parsing.
[0057] S203: Determine the contextual relationship between each service description information fragment.
[0058] In this embodiment, the contextual relationship can be understood as the vertical call and dependency relationship between each service description information fragment.
[0059] Specifically, the processor may determine the contextual relationship between each service description information fragment while parsing the service design document.
[0060] S204: The service description information fragments are grouped according to the contextual relationships to obtain a structured list of all review items.
[0061] Specifically, the processor can collect structured data of a large number of service description information fragments generated after document parsing based on various contextual relationships, give logical meaning to the information fragments, and obtain a structured list of all review items. This helps to systematically organize information and lay a solid foundation for subsequent analysis and utilization. Through data modeling, the originally scattered text information is converted into structured data with internal logical relationships, so as to more conveniently serve the subsequent review and decision-making process.
[0062] S205. In the preset defect model library, determine the verifier that matches each review item in the full review item list.
[0063] It is understandable that the information covered by the service design document originates from business needs. There are differences in the service design documents submitted by different users. The review items are dynamically changeable, and the verifier corresponding to each review item is also dynamically changeable according to the actual situation of the document.
[0064] Specifically, the processor can first determine the correspondence between each review item in the full review item list and each preset defect model in the preset defect model library, and one or more design defect models can be determined for one review item, and a verifier is provided for each review item through the design defect model.
[0065] S206. Determine the review item list tree according to the contextual relationship of each review item and the catalog items of the service design document.
[0066] In this embodiment, the review item list tree can be understood as a review item list formed in a tree structure, and a processing order is provided through the tree structure.
[0067] Specifically, the processor may determine the review items belonging to the root node of the tree structure according to the contextual relationship of each review item and the catalog items of the service design document, and determine each review item under each node to form a review item list tree.
[0068] Further, based on the above embodiment, the steps of determining the review item list tree according to the contextual relationship of each review item and the catalog items of the service design document can be refined as follows:
[0069] According to the service design document, determine the document node and use it as the root node of the review item list tree; according to the directory items and contextual relationships of the service design document, determine the nodes to which each review item belongs; the nodes include the service nodes under the document node, the interface nodes under each service node, and the parameter nodes under each interface node; according to the root node and each node, determine the review item list tree.
[0070] In this embodiment, the document node can be understood as a node representing the entire document. The root node can be understood as the core of the tree node, which includes all child nodes. The service node can be understood as a node divided by service items. The interface node can be understood as a node formed by the interface supporting each service. The parameter node can be understood as a node formed by the parameters supporting each interface.
[0071] Specifically, the processor can use the review item corresponding to the name of the service design document as the document node and as the root node of the review item list tree. The processor can distinguish the review items belonging to the service node according to the contextual relationship of each review item and the directory items of the service design document, and determine the interface node of the next level of the service node and the parameter node of the next level of the interface node, and determine the review item list tree according to the hierarchical relationship between each node.
[0072] For example, the catalog items in a service design document may include 7 levels, 1. A, A1, A2; 2. B, B1, B2; 3. C, C1, C2, C21; 4. D, D1, D11, D2; 5. E, E1, E2; 6. F; 7. G, G1, G2. Among them, the top-level review item in the catalog item can be used as a service node, the interface-related review items in the next level can be used as interface nodes, and the review items related to each parameter belonging to the next level of the interface node can be used as parameter nodes. The name of the service design document is [a book-b center-c service-d date]. The document name compliance review item corresponding to the name is the document node. The service planned in the document is the service node. The service node includes multiple verification items, for example, verification item 1 in chapter B2, whose corresponding verifier is verifier 1, verification item 2 in chapter D2, whose corresponding verifier is verifier 2, and verification item 3 in chapter D1, whose corresponding verifier is verifier 3. Chapter D1 also includes interface 1, interface 2 and interface 3 described in D11. Interface 1 is interface node 1, and interface 2 is interface node 2. Under interface node 1, review items such as interface name, URL name and interface request are included as parameter nodes of the next level of interface node 1; under interface node 2, review items such as interface name, URL name and interface request are included as parameter nodes of the next level of interface node 2; under interface node 3, review items such as interface name, URL name and interface request are included as parameter nodes of the next level of interface node 3.
[0073] S207. Construct a verifier pool for verifying the service design document based on the review item list tree and each verifier.
[0074] Specifically, the processor may determine the corresponding review order starting with the root node in the review item list tree. The processor may first group the verifiers belonging to each node, and then sort the verifier groups of each node according to the review order to construct a verifier pool for verifying the service design document.
[0075] Further, based on the above embodiment, the steps of constructing a verifier pool for verifying the service design document according to the review item list tree and each verifier can be refined as follows:
[0076] The verifiers belonging to the same review item are merged into a verifier group; the review order of each review item is determined according to the node relationship in the review item list tree; and each verifier group is sorted based on the review order to obtain a verifier pool.
[0077] In this embodiment, the checker group can be understood as a group composed of multiple checkers for reviewing one review item. The node relationship can be understood as the parallel and subordinate relationship between nodes. The review order can be understood as the execution order for review.
[0078] Specifically, since one review item can be reviewed by one or more verifiers, the verifiers belonging to the same review item can be merged into a verifier group. The processor can perform a round of data traversal on the review item list tree according to the node relationship, and obtain the review order after completing a complete round of traversal. The traversal method used determines the execution order of the review, and a pre-order traversal method can be used. The processor can sort each verifier group according to the review order to obtain a verifier pool with a review order.
[0079] S208. Verify each review item in the full review item list according to the verifier pool, obtain the verification results and generate a review report for the service design document.
[0080] The technical solution of the embodiment of the present invention parses the service design document to obtain service description information fragments, and at the same time understands the contextual relationship between each information fragment and collects them to obtain a structured full review item list, and organizes the unstructured fragments into a structured full review item list, which is helpful for the systematic organization of information and lays the foundation for subsequent analysis and review. Through the full review item list and directory items, a review item list tree for the service design document process is generated, and the verifiers are sorted according to the review order of the review item list tree to obtain a verifier pool, which meets the differences between different documents and realizes the dynamic determination of the review process. Through the verifier pool, each review item in the full review item list is verified, and multiple verifiers can be verified in parallel, which improves the verification efficiency. The verification results are obtained through the verifier pool and a review report is generated. Automatic review of service design is realized, labor costs are released, and the quality of review work is improved. By displaying the review results of the review items in each chapter in detail, it is helpful for users to fully understand the review situation.
[0081] Embodiment 3
[0082] Figure 3 This is a schematic diagram of the structure of a service design review device provided by Embodiment 3 of the present invention. Figure 3 As shown, the device includes: a document acquisition module 31, a list determination module 32, a pool construction module 33 and a result determination module 34.
[0083] A document acquisition module 31 is used to acquire service design documents;
[0084] A list determination module 32 is used to parse the service design document and determine a list of all review items;
[0085] A pool construction module 33, used to construct a verifier pool for verifying the service design document according to a preset defect model library, the full review item list and the catalog items of the service design document;
[0086] The result determination module 34 is used to verify each review item in the full review item list according to the verifyer pool, obtain the verification result and generate a review report for the service design document.
[0087] The technical solution of the embodiment of the present invention is to obtain the service design document; parse the service design document to determine the full review item list; build a verifier pool for verifying the service design document according to the preset defect model library, the full review item list and the catalog items of the service design document; verify each review item in the full review item list according to the verifier pool, obtain the verification result and generate a review report for the service design document. By determining the full review item list of the service design document and building a verifier pool for reviewing the service design document, each review item is verified by the verifier pool to obtain a review report. Automatic review of service design is achieved, freeing up labor costs. Dynamic arrangement of the verifier pool used for review is achieved, the pertinence of the verifier pool is improved, and the quality and efficiency of the review work are improved.
[0088] Furthermore, the list determination module 32 is specifically used for:
[0089] Parsing the service design document to extract service description information fragments;
[0090] Determining the contextual relationship between each of the service description information fragments;
[0091] The service description information fragments are grouped according to the contextual relationships to obtain a structured list of all review items.
[0092] Furthermore, the pool construction module 33 includes:
[0093] A first determination unit is used to determine, in a preset defect model library, a checker that matches each review item in the full review item list;
[0094] A second determining unit, configured to determine a review item list tree according to the contextual relationship of each review item and the catalog items of the service design document;
[0095] The third determining unit is used to construct a verifier pool for verifying the service design document according to the review item list tree and each of the verifiers.
[0096] Wherein, the second determining unit is specifically used for:
[0097] According to the service design document, determine a document node and use it as the root node of the review item list tree;
[0098] Determine the node to which each review item belongs according to the catalog items of the service design document and each contextual relationship; the node includes a service node under the document node, an interface node under each service node, and a parameter node under each interface node;
[0099] The review item list tree is determined according to the root node and each of the nodes.
[0100] The third determining unit is specifically used for:
[0101] Merging the verifiers belonging to the same review item into a verifier group;
[0102] Determining the review order of each review item according to the node relationship in the review item list tree;
[0103] The verifier groups are sorted based on the review order to obtain a verifier pool.
[0104] Optionally, the device further includes: a result feedback module.
[0105] The result feedback module is specifically used to feedback the review report through a visual interface.
[0106] The service design review device provided in the embodiment of the present invention can execute the service design review method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0107] Embodiment 4
[0108] Figure 4 A schematic diagram of the structure of an electronic device 40 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0109] like Figure 4As shown, the electronic device 40 includes at least one processor 41, and a memory connected to the at least one processor 41, such as a read-only memory (ROM) 42, a random access memory (RAM) 43, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 41 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 42 or the computer program loaded from the storage unit 48 to the random access memory (RAM) 43. In the RAM 43, various programs and data required for the operation of the electronic device 40 can also be stored. The processor 41, the ROM 42, and the RAM 43 are connected to each other through a bus 44. An input / output (I / O) interface 45 is also connected to the bus 44.
[0110] A number of components in the electronic device 40 are connected to the I / O interface 45, including: an input unit 46, such as a keyboard, a mouse, etc.; an output unit 47, such as various types of displays, speakers, etc.; a storage unit 48, such as a disk, an optical disk, etc.; and a communication unit 49, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 49 allows the electronic device 40 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0111] The processor 41 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 41 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 41 executes the various methods and processes described above, such as the service design review method.
[0112] In some embodiments, the service design review method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 48. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 40 via the ROM 42 and / or the communication unit 49. When the computer program is loaded into the RAM 43 and executed by the processor 41, one or more steps of the service design review method described above may be performed. Alternatively, in other embodiments, the processor 41 may be configured to execute the service design review method in any other appropriate manner (e.g., by means of firmware).
[0113] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0114] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0115] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0116] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0117] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0118] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0119] In one embodiment, the embodiment of the present invention further includes a computer program product, the computer program product includes a computer program, and the computer program implements the service design review method of any embodiment of the present invention when executed by a processor.
[0120] In the process of implementation, the computer program product can be written in one or more programming languages or a combination thereof to perform the computer program code of the present invention, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, using an Internet service provider to connect through the Internet).
[0121] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0122] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A service design review method, characterized in that: include: Obtain service design documents; Parse the service design document and determine the full review item list; Constructing a verifier pool for verifying the service design document according to a preset defect model library, the full review item list and the catalog items of the service design document; Each review item in the full review item list is verified according to the verifier pool, a verification result is obtained and a review report of the service design document is generated.
2. The method according to claim 1, characterized in that The service design document is parsed to determine a full review item list, including: Parsing the service design document to extract service description information fragments; Determining the contextual relationship between each of the service description information fragments; The service description information fragments are grouped according to the contextual relationships to obtain a structured list of all review items.
3. The method according to claim 1, characterized in that: The step of constructing a checker pool for checking the service design document according to the preset defect model library, the full review item list and the catalog items of the service design document includes: In a preset defect model library, a checker matching each review item in the full review item list is determined; Determine a review item list tree according to the contextual relationship of each review item and the catalog items of the service design document; A verifier pool for verifying the service design document is constructed based on the review item list tree and each of the verifiers.
4. The method according to claim 3, characterized in that Determining the review item list tree according to the contextual relationship of each review item and the catalog items of the service design document includes: According to the service design document, determine a document node and use it as the root node of the review item list tree; Determine the node to which each review item belongs according to the catalog items of the service design document and each contextual relationship; the node includes a service node under the document node, an interface node under each service node, and a parameter node under each interface node; The review item list tree is determined according to the root node and each of the nodes.
5. The method according to claim 3, characterized in that: The step of constructing a checker pool for checking the service design document according to the review item list tree and each of the checkers includes: Merging the verifiers belonging to the same review item into a verifier group; Determining the review order of each review item according to the node relationship in the review item list tree; The verifier groups are sorted based on the review order to obtain a verifier pool.
6. The method according to claim 1, characterized in that After verifying each review item in the full review item list according to the verifyer pool, obtaining the verification result and generating the review report of the service design document, the method further includes: The review report is fed back through a visual interface.
7. A service design review device, characterized in that: include: Document acquisition module, used to obtain service design documents; A list determination module, used to parse the service design document and determine a list of all review items; A pool construction module, used to construct a verifier pool for verifying the service design document according to a preset defect model library, the full review item list and the catalog items of the service design document; The result determination module is used to verify each review item in the full review item list according to the verifier pool, obtain the verification result and generate a review report for the service design document.
8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the service design review method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the service design review method according to any one of claims 1 to 6 when executed.
10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the computer program implements the service design review method according to any one of claims 1 to 6.