Demand management method, device, electronic device and storage medium

By obtaining the requirement identifier and parsing the functional flow chart to obtain pseudocode, and managing requirements based on pseudocode, the problems of high time cost and information loss in requirement management in the existing technology are solved, and efficient requirements management and code inspection are achieved.

CN115878079BActive Publication Date: 2024-10-18PEOPLE'S INSURANCE COMPANY OF CHINA
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202211551923.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-05
Publication Date
2024-10-18
Estimated Expiration
2042-12-05

AI Technical Summary

Technical Problem

The existing requirements management platform has high time costs and risks of information loss. Project team members need to open different systems and documents separately when managing requirements, resulting in increased time waste and risk of information loss.

Method used

By obtaining the requirement identifier, parsing the functional flow chart to obtain pseudocode, and performing requirement management based on the source code files and functions in the pseudocode, automatic download and version control are achieved, reducing dependence on different systems and improving efficiency.

Benefits of technology

It saves a lot of time and cost, improves the efficiency of demand management, and facilitates developers to conduct code inspection and problem location through pseudo-code inspection, reducing the risk of information loss.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115878079B_ABST
    Figure CN115878079B_ABST
Patent Text Reader

Abstract

The present invention provides a requirement management method, device, electronic device and storage medium, wherein the method comprises: obtaining a requirement identifier of a requirement to be queried, and determining a functional flow chart corresponding to the requirement identifier; parsing a script corresponding to the functional flow chart to obtain a pseudo code representing the implementation logic of the functional flow chart; and performing requirement management based on the source code files and functions corresponding to each step in the pseudo code. The method, device, electronic device and storage medium provided by the present invention perform requirement management based on the source code files and functions corresponding to each step in the pseudo code. When checking the detailed content of the requirement or the detailed design of the requirement, there is no need to open different systems and different documents respectively, which saves a lot of time cost, and by checking the source code files and functions corresponding to each step in the pseudo code, it is convenient for subsequent developers to perform code checking and problem location.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of demand management, and in particular to a demand management method, device, electronic equipment and storage medium. Background Art

[0002] Most existing demand management platforms use business requirements as the basic management unit, and the specific content of the requirements is described in simple text.

[0003] In the prior art, the requirements management platform is usually not associated with the business function process, the modified or newly added source files or functions involved in the coding development of the business requirements. When the project team members are conducting overall requirements management, when they are checking the requirements details, or when they are checking the detailed design of the requirements, they need to open different systems and different documents respectively, which greatly increases the time cost. Moreover, if the document management is not standardized, it may cause the loss of documents, increasing the risk of information loss. Summary of the invention

[0004] The present invention provides a demand management method, device, electronic device and storage medium, which are used to solve the defects of high time cost and risk of information loss in the prior art demand management.

[0005] The present invention provides a demand management method, comprising:

[0006] Obtain the requirement identifier of the requirement to be queried, and determine the functional flow chart corresponding to the requirement identifier;

[0007] Parsing the script corresponding to the functional flowchart to obtain pseudo code representing the implementation logic of the functional flowchart;

[0008] Demand management is performed based on the source code files and functions corresponding to each step in the pseudocode.

[0009] According to a method for demand management provided by the present invention, the demand management is performed based on the source code files and functions corresponding to each step in the pseudo code, including:

[0010] Download source code files and functions corresponding to the requirement identifiers in the distributed version control system;

[0011] Demand management is performed based on the source code files and functions corresponding to the requirement identifiers, and the source code files and functions corresponding to the steps in the pseudocode.

[0012] According to a requirement management method provided by the present invention, the source code files and functions corresponding to the requirement identifiers in the downloading version control system respectively include:

[0013] At every preset time threshold, the version control system is automatically connected, and source code files and functions corresponding to the requirement identifiers in the version control system are downloaded.

[0014] According to a demand management method provided by the present invention, after determining the functional flow chart corresponding to the demand identifier, the method further includes:

[0015] A comparison of the functional flowcharts is performed based on the functional flowchart corresponding to the requirement identifier and the functional flowchart corresponding to the requirement identifier in the version history.

[0016] According to a requirement management method provided by the present invention, the requirement management is performed based on the source code files and functions corresponding to each step in the pseudo code, and then further includes:

[0017] In response to the user's quality inspection operation, the results of the requirement management are displayed in the current page, and the results of the requirement management include each step in the pseudocode, the source code files and functions corresponding to each step in the pseudocode, the quality inspection box, the functional flow chart corresponding to the requirement identifier, the pseudocode, the flow chart code and the version history.

[0018] According to a demand management method provided by the present invention, the step of parsing the script corresponding to the functional flowchart to obtain a pseudo code representing the implementation logic of the functional flowchart includes:

[0019] In response to a user's operation of clicking on a flowchart to be managed, a script corresponding to the flowchart to be managed is parsed to obtain a pseudo code representing the implementation logic of the flowchart to be managed, wherein the flowchart to be managed is one of the functional flowcharts corresponding to the requirement identifier.

[0020] The present invention also provides a demand management device, comprising:

[0021] An acquisition unit, used to acquire a demand identifier of a demand to be queried, and determine a functional flow chart corresponding to the demand identifier;

[0022] A parsing unit, used for parsing the script corresponding to the functional flowchart to obtain a pseudo code representing the implementation logic of the functional flowchart;

[0023] The requirement management unit is used to perform requirement management based on the source code files and functions corresponding to each step in the pseudo code.

[0024] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, any one of the demand management methods described above is implemented.

[0025] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the demand management method as described above is implemented.

[0026] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the demand management method described above is implemented.

[0027] The requirements management method, device, electronic device and storage medium provided by the present invention parse the script corresponding to the functional flowchart to obtain the pseudocode that represents the implementation logic of the functional flowchart, and perform requirements management based on the source code files and functions corresponding to each step in the pseudocode. When checking the detailed content of the requirements or the detailed design of the requirements, there is no need to open different systems and different documents respectively, which saves a lot of time cost and improves the efficiency of requirements management. In addition, by checking the source code files and functions corresponding to each step in the pseudocode, it is convenient for subsequent developers to perform code checking and problem location. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0029] Figure 1 It is a flowchart of the demand management method provided by the present invention;

[0030] Figure 2 It is a schematic diagram of a functional flow chart provided by the present invention;

[0031] Figure 3 is a flowchart of step 130 in the demand management method provided by the present invention;

[0032] Figure 4 It is a structural schematic diagram of the demand management device provided by the present invention;

[0033] Figure 5 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0034] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are 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 are within the scope of protection of the present invention.

[0035] The present invention provides a demand management method. Figure 1 It is a flow chart of the demand management method provided by the present invention, such as Figure 1 As shown, the method includes:

[0036] Step 110, obtaining the requirement identifier of the requirement to be queried, and determining the functional flow chart corresponding to the requirement identifier.

[0037] Specifically, the demand identifier of the demand to be queried can be obtained, where the demand to be queried here is the demand that needs to be queried, and the demand to be queried can be one or more. For example, when the demand management platform is a car channel project platform of an Internet channel, the demand to be queried can be a reimbursement demand, a login demand, a leave demand, etc., which is not specifically limited in the embodiment of the present invention.

[0038] The demand identification of the demand to be queried may be the demand ID (Identification) of the demand to be queried, and the demand ID of the demand to be queried may be 6542356, 6542436, 4523901, etc., which is not specifically limited in the embodiment of the present invention.

[0039] After obtaining the demand identifier of the demand to be queried, the functional flow chart corresponding to the demand identifier can be determined. The functional flow chart here is used to display the same tasks determined by functional decomposition and display them in their logical order. The functional flow chart can be one or more. Each functional flow chart can have a corresponding functional flow chart name and functional flow chart ID. The functional flow chart name here can be a reimbursement flow chart, a login flow chart, a leave flow chart, a salary adjustment flow chart, etc. The embodiment of the present invention does not specifically limit this.

[0040] Correspondingly, the function flow chart ID here can be CHARGE, LOGIN, UPSALA, etc., and the embodiment of the present invention does not make any specific limitation on this.

[0041] It is understandable that the requirement identifier, the functional flow chart identifier and the source code path may be associated in advance, that is, the functional flow chart corresponding to the requirement identifier may be determined through the requirement identifier.

[0042] For example, when the demand to be queried is a reimbursement demand, the functional flow chart corresponding to the demand identifier determined by the demand identifier of the demand to be queried can be CHARGE (reimbursement flow chart); for another example, when the demand to be queried is a login demand, the functional flow chart corresponding to the demand identifier determined by the demand identifier of the demand to be queried can be LOGIN (login flow chart); for another example, when the demand to be queried is a salary adjustment demand, the functional flow chart corresponding to the demand identifier determined by the demand identifier of the demand to be queried can be UPSALA (salary adjustment flow chart), etc. The embodiments of the present invention do not make specific limitations on this.

[0043] Step 120, parsing the script corresponding to the functional flowchart to obtain pseudo code representing the implementation logic of the functional flowchart.

[0044] Specifically, after determining the functional flow chart corresponding to the requirement identifier, the script corresponding to the functional flow chart can be parsed to obtain pseudocode that represents the implementation logic of the functional flow chart. The script here is an executable file written in a certain format using a specific descriptive language, also known as a macro or batch file. The script is used to control software applications. The script is usually saved in text and is only parsed or compiled when called. The script here can be a MarkDown script, a Python script, or a JavaScript script, which is not specifically limited in the embodiment of the present invention.

[0045] The pseudocode here is between natural language and programming language. It is a language that describes algorithms. Pseudocode can improve the readability of the code, acting as a bridge between the program and the functional flowchart. It can also be used as a rough document to allow programmers to better construct the code.

[0046] Figure 2 It is a schematic diagram of the functional flow chart provided by the present invention, such as Figure 2 As shown, the script corresponding to the functional flowchart is parsed, and the pseudo code representing the implementation logic of the functional flowchart can be obtained:

[0047]

[0048] It can be understood that the pseudo code corresponds to each node in the functional flowchart in sequence, representing the implementation logic of the functional flowchart.

[0049] Step 130 , performing requirement management based on the source code files and functions corresponding to each step in the pseudo code.

[0050] Specifically, after obtaining the pseudocode representing the implementation logic of the functional flow chart, demand management can be performed based on the source code files and functions corresponding to each step in the pseudocode.

[0051] For example, the step in the pseudocode may be Christmas, the source code file corresponding to the step in the pseudocode may be com.picc.XXX.XXX.ChristmasServiceImpl, and the function corresponding to the step in the pseudocode may be charist.

[0052] For another example, the step in the pseudocode may be Go_shopping, the source code file corresponding to the step in the pseudocode may be com.picc.XXX.XXX.Shopping ServiceImpl, and the function corresponding to the step in the pseudocode may be buy.

[0053] The pseudo code steps may also be Let_me_think(), Laptop, IPhone, fa:fa-car Car, Pay, Leave, Back, etc., which are not specifically limited in the embodiment of the present invention.

[0054] The requirement management here can be to check whether the source code files and functions involved in the coding development of the requirement to be queried are modified, or it can be to compare whether the functional flow chart corresponding to the requirement identifier of the requirement to be queried is consistent with the functional flow chart in the version history. The embodiment of the present invention does not make specific limitations on this.

[0055] The method provided by the embodiment of the present invention parses the script corresponding to the functional flowchart to obtain the pseudocode that represents the implementation logic of the functional flowchart, and performs requirement management based on the source code files and functions corresponding to each step in the pseudocode. When reviewing the detailed content of the requirement or reviewing the detailed design of the requirement, there is no need to open different systems and different documents respectively, which saves a lot of time cost and improves the efficiency of requirement management. In addition, by checking the source code files and functions corresponding to each step in the pseudocode, it is convenient for subsequent developers to perform code checking and problem location.

[0056] Based on the above embodiments, Figure 3 is a flow chart of step 130 in the demand management method provided by the present invention, such as Figure 3 As shown, step 130 includes:

[0057] Step 131, downloading source code files and functions corresponding to the requirement identifiers in the version control system;

[0058] Step 132, performing requirement management based on the source code files and functions corresponding to the requirement identifiers, and the source code files and functions corresponding to the steps in the pseudocode.

[0059] Specifically, the version control system may be Git, Mercurial, or Bazaar, which is not specifically limited in the embodiment of the present invention.

[0060] The version control system can effectively and quickly handle the version management of small to very large projects. You can download the source code files and functions corresponding to the requirement identifiers in the version control system.

[0061] After the source code files and functions corresponding to the requirement identifiers are downloaded to the version control system, requirement management can be performed based on the source code files and functions corresponding to the requirement identifiers and the source code files and functions corresponding to each step in the pseudocode.

[0062] For example, when performing requirement management, it is possible to check whether the source code files and functions corresponding to the requirement identifiers are consistent with the source code files and functions corresponding to the steps in the pseudocode.

[0063] It can be understood that, when the coding development of the requirement to be queried does not change, the source code files and functions corresponding to the requirement identifiers are consistent with the source code files and functions corresponding to each step in the pseudocode; when the coding development of the requirement to be queried changes, the source code files and functions corresponding to the requirement identifiers are inconsistent with the source code files and functions corresponding to each step in the pseudocode.

[0064] For example, first, the consistency between the source code file corresponding to the requirement identifier and the source code files corresponding to each step in the pseudocode can be checked. If the source code file corresponding to the requirement identifier and the source code files corresponding to each step in the pseudocode are consistent, the function corresponding to the requirement identifier and the function corresponding to each step in the pseudocode can be checked.

[0065] The method provided in the embodiment of the present invention performs requirement management based on the source code files and functions corresponding to the requirement identifiers, and the source code files and functions corresponding to each step in the pseudocode. It can promptly discover whether the source code files and functions corresponding to the requirement identifiers are consistent with the source code files and functions corresponding to each step in the pseudocode, and it also facilitates subsequent developers to perform code checking and problem location.

[0066] Based on the above embodiment, step 131 includes:

[0067] At every preset time threshold, the version control system is automatically connected, and source code files and functions corresponding to the requirement identifiers in the version control system are downloaded.

[0068] Specifically, the version control system may be automatically connected at every preset time threshold, and the source code files and functions corresponding to the requirement identifiers in the version control system may be downloaded.

[0069] The preset time threshold here may be 30 minutes, 1 hour, 2 hours, etc., which is not specifically limited in the embodiment of the present invention.

[0070] The method provided by the embodiment of the present invention saves a large amount of computing resources and avoids waste of computing resources by automatically connecting to the version control system and downloading source code files and functions corresponding to the requirement identifiers in the version control system at preset time thresholds, compared to every moment.

[0071] Based on the above embodiment, after determining the functional flow chart corresponding to the requirement identifier, the method further includes:

[0072] A comparison of the functional flowcharts is performed based on the functional flowchart corresponding to the requirement identifier and the functional flowchart corresponding to the requirement identifier in the version history.

[0073] Specifically, after determining the function flow chart corresponding to the requirement identifier, a function flow chart comparison can be performed based on the function flow chart corresponding to the requirement identifier and the function flow chart corresponding to the requirement identifier in the version history. The function flow chart corresponding to the requirement identifier in the version history here refers to the historical function flow chart corresponding to the stored requirement identifier.

[0074] As shown in Table 1, the version history may include the function flow chart version number, user ID, requirement identifier, creation time, submission time, update time, project and number of operations, etc., which is not specifically limited in the embodiment of the present invention.

[0075] Table 1. Version history

[0076]

[0077] It can be understood that, when the coding development of the requirement to be queried has not changed, the functional flow chart corresponding to the requirement identifier is consistent with the functional flow chart corresponding to the requirement identifier in the version history; when the coding development of the requirement to be queried has changed, the functional flow chart corresponding to the requirement identifier is inconsistent with the functional flow chart corresponding to the requirement identifier in the version history.

[0078] Based on the above embodiment, after step 130, the following steps are further included:

[0079] In response to the user's quality inspection operation, the results of the requirement management are displayed in the current page, and the results of the requirement management include each step in the pseudocode, the source code files and functions corresponding to each step in the pseudocode, the quality inspection box, the functional flow chart corresponding to the requirement identifier, the pseudocode, the flow chart code and the version history.

[0080] Specifically, considering that after conducting demand management, the user can perform quality inspection by clicking the mouse, the result of demand management can be displayed in the current page in response to the user's quality inspection operation. The result of demand management here can include each step in the pseudocode, the source code files and functions corresponding to each step in the pseudocode, the quality inspection box, the functional flow chart corresponding to the requirement identifier, pseudocode, flow chart code and version history.

[0081] The flowchart coding here represents the execution logic in the pseudocode, and the pseudocode can be generated from the flowchart coding.

[0082] For example, the flowchart encoding could be:

[0083] graph TD

[0084] A[Christmas]-->|Get money|B(Go shopping)

[0085] B-->C{Let me think}

[0086] C-->|One|D[Laptop]

[0087] C-->|Two|E[iPhone]

[0088] C-->|Three|F[fa:fa-car Car]

[0089] D-->G[Pay]

[0090] G-->|Lack of Money|H[Leave]

[0091] The corresponding pseudo code can be:

[0092]

[0093]

[0094] The steps in the pseudocode can be Christmas, Go_shopping, Let_me_think(), Laptop, IPhone, fa:fa-car Car, Pay, Leave, Back, etc. in sequence. The source code files corresponding to the steps in the pseudocode can be com.picc.XXX.XXX.ChristmasServiceImpl, com.picc.XXX.XXX.Shopping ServiceImpl, etc. in sequence. The functions corresponding to the steps in the pseudocode can be charist, buy, etc. in sequence, which will not be repeated here.

[0095] The version history may include the function flowchart version number, function flowchart ID, user ID, requirement identifier, creation time, submission time, update time, project and number of operations, etc., which is not specifically limited in the embodiment of the present invention.

[0096] The quality check box reflects whether the consistency between each step in the pseudocode and the source code files and functions corresponding to each step in the pseudocode has been checked. For example, if each step in the pseudocode is consistent with the source code files and functions corresponding to each step in the pseudocode, the quality check box can be checked, and if each step in the pseudocode is inconsistent with the source code files and functions corresponding to each step in the pseudocode, the quality check box can be crossed.

[0097] The method provided by the embodiment of the present invention displays the result of demand management in the current page in response to the quality inspection operation of the user. By visually displaying the result of demand management, the efficiency of demand management is improved, and the reliability of demand management is also improved.

[0098] Based on the above embodiment, step 120 includes:

[0099] In response to a user's operation of clicking on a flowchart to be managed, a script corresponding to the flowchart to be managed is parsed to obtain a pseudo code representing the implementation logic of the flowchart to be managed, wherein the flowchart to be managed is one of the functional flowcharts corresponding to the requirement identifier.

[0100] Specifically, considering that the user can view the flowchart to be managed by clicking the mouse, the script corresponding to the flowchart to be managed can be parsed in response to the user's operation of clicking the flowchart to be managed, and the pseudo code representing the implementation logic of the flowchart to be managed can be obtained. The flowchart to be managed here is one of the functional flowcharts corresponding to the demand identifier. For example, the functional flowchart corresponding to the demand identifier can be a reimbursement flowchart, a login flowchart, a leave flowchart, and a salary adjustment flowchart, etc. The flowchart to be managed can be a reimbursement flowchart, a login flowchart, or a leave flowchart, and the embodiment of the present invention does not specifically limit this.

[0101] The script here may be a MarkDown script, a Python script, or a JavaScript script, which is not specifically limited in the embodiment of the present invention.

[0102] Based on any of the above embodiments, a demand management method comprises the following steps:

[0103] The first step is to obtain the requirement identifier of the requirement to be queried and determine the functional flow chart corresponding to the requirement identifier.

[0104] After determining the functional flow chart corresponding to the requirement identification, it also includes:

[0105] A comparison of the functional flow charts is performed based on the functional flow chart corresponding to the requirement identifier and the functional flow chart corresponding to the requirement identifier in the version history.

[0106] The second step is to parse the script corresponding to the functional flowchart and obtain the pseudo code that represents the implementation logic of the functional flowchart.

[0107] The third step is to automatically connect to the version control system at preset time thresholds and download the source code files and functions corresponding to the requirement identifiers in the version control system.

[0108] The fourth step is to perform requirement management based on the source code files and functions corresponding to the requirement identifiers, as well as the source code files and functions corresponding to each step in the pseudocode.

[0109] The fifth step is to respond to the user's quality inspection operation and display the results of the requirement management on the current page. The results of the requirement management here include each step in the pseudocode, the source code files and functions corresponding to each step in the pseudocode, the quality inspection box, the functional flow chart corresponding to the requirement identifier, the pseudocode, the flow chart code and the version history.

[0110] The demand management device provided by the present invention is described below. The demand management device described below and the demand management method described above can be referenced to each other.

[0111] Based on any of the above embodiments, the present invention provides a demand management device, Figure 4 is a schematic diagram of the structure of the demand management device provided by the present invention, such as Figure 4 As shown, the device comprises:

[0112] The acquisition unit 410 is used to acquire the demand identifier of the demand to be queried and determine the function flow chart corresponding to the demand identifier;

[0113] A parsing unit 420, configured to parse the script corresponding to the functional flowchart to obtain a pseudo code representing the implementation logic of the functional flowchart;

[0114] The requirement management unit 430 is used to perform requirement management based on the source code files and functions corresponding to each step in the pseudo code.

[0115] The device provided by the embodiment of the present invention parses the script corresponding to the functional flowchart, obtains the pseudocode that represents the implementation logic of the functional flowchart, and performs demand management based on the source code files and functions corresponding to each step in the pseudocode. When checking the detailed content of the requirements or the detailed design of the requirements, there is no need to open different systems and different documents respectively, which saves a lot of time cost and improves the efficiency of demand management. In addition, by checking the source code files and functions corresponding to each step in the pseudocode, it is convenient for subsequent developers to perform code checking and problem location.

[0116] Based on any of the above embodiments, the demand management unit specifically includes:

[0117] A download unit, used to download source code files and functions corresponding to the requirement identifiers in the version control system;

[0118] The requirement management subunit is used to perform requirement management based on the source code files and functions corresponding to the requirement identifiers, and the source code files and functions corresponding to the steps in the pseudocode.

[0119] Based on any of the above embodiments, the downloading unit is specifically used for:

[0120] The download subunit is used to automatically connect to the version control system at every preset time threshold, and download the source code files and functions corresponding to the requirement identifiers in the version control system.

[0121] Based on any of the above embodiments, after determining the functional flow chart corresponding to the requirement identifier, the method further includes:

[0122] A comparison of the functional flowcharts is performed based on the functional flowchart corresponding to the requirement identifier and the functional flowchart corresponding to the requirement identifier in the version history.

[0123] Based on any of the above embodiments, the demand management unit further includes:

[0124] In response to the user's quality inspection operation, the results of the requirement management are displayed in the current page, and the results of the requirement management include each step in the pseudocode, the source code files and functions corresponding to each step in the pseudocode, the quality inspection box, the functional flow chart corresponding to the requirement identifier, the pseudocode, the flow chart code and the version history.

[0125] Based on any of the above embodiments, the parsing unit is specifically used for:

[0126] In response to a user's operation of clicking on a flowchart to be managed, a script corresponding to the flowchart to be managed is parsed to obtain a pseudo code representing the implementation logic of the flowchart to be managed, wherein the flowchart to be managed is one of the functional flowcharts corresponding to the requirement identifier.

[0127] Figure 5 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 5As shown, the electronic device may include: a processor 510, a communication interface 520, a memory 530 and a communication bus 540, wherein the processor 510, the communication interface 520 and the memory 530 communicate with each other through the communication bus 540. The processor 510 may call the logic instructions in the memory 530 to execute the demand management method, which includes: obtaining the demand identification of the demand to be queried, and determining the function flow chart corresponding to the demand identification; parsing the script corresponding to the function flow chart to obtain the pseudo code representing the implementation logic of the function flow chart; and performing demand management based on the source code files and functions corresponding to each step in the pseudo code.

[0128] In addition, the logic instructions in the above-mentioned memory 530 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0129] On the other hand, the present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the requirement management method provided by the above methods, which includes: obtaining the requirement identifier of the requirement to be queried, and determining the functional flow chart corresponding to the requirement identifier; parsing the script corresponding to the functional flow chart to obtain a pseudocode that represents the implementation logic of the functional flow chart; and performing requirement management based on the source code files and functions corresponding to each step in the pseudocode.

[0130] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, it is implemented to execute the requirement management method provided by the above-mentioned methods. The method includes: obtaining the requirement identifier of the requirement to be queried, and determining the functional flow chart corresponding to the requirement identifier; parsing the script corresponding to the functional flow chart to obtain a pseudocode representing the implementation logic of the functional flow chart; and performing requirement management based on the source code files and functions corresponding to each step in the pseudocode.

[0131] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0132] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

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

Claims

1. A demand management method, characterized in that: include: Obtain the requirement identifier of the requirement to be queried, and determine the functional flow chart corresponding to the requirement identifier; Parsing the script corresponding to the functional flowchart to obtain pseudo code representing the implementation logic of the functional flowchart; Performing demand management based on the functions in the source code files corresponding to the steps in the pseudocode; The performing demand management based on the functions in the source code files corresponding to the steps in the pseudocode respectively includes: Download the source code files and functions corresponding to the requirement identifier in the version control system; Performing requirement management based on the source code files and functions corresponding to the requirement identifiers, and the functions in the source code files corresponding to the steps in the pseudocodes; The method further comprises: performing demand management based on functions in source code files corresponding to each step in the pseudo code; and then: In response to the user's quality inspection operation, the results of the requirement management are displayed in the current page. The results of the requirement management include each step in the pseudocode, the function in the source code file corresponding to each step in the pseudocode, the quality inspection box, the functional flow chart corresponding to the requirement identifier, the pseudocode, the flow chart code and the version history.

2. The demand management method according to claim 1, characterized in that: The source code files and functions corresponding to the requirement identifier in the download version control system include: At every preset time threshold, the version control system is automatically connected, and the source code file and function corresponding to the requirement identifier in the version control system are downloaded.

3. The demand management method according to claim 1, characterized in that: After determining the functional flow chart corresponding to the requirement identifier, the method further includes: A comparison of the functional flowcharts is performed based on the functional flowchart corresponding to the requirement identifier and the functional flowchart corresponding to the requirement identifier in the version history.

4. The demand management method according to any one of claims 1 to 3, characterized in that: The step of parsing the script corresponding to the functional flowchart to obtain a pseudo code representing the implementation logic of the functional flowchart includes: In response to a user's operation of clicking on a flowchart to be managed, a script corresponding to the flowchart to be managed is parsed to obtain a pseudo code representing the implementation logic of the flowchart to be managed, wherein the flowchart to be managed is one of the functional flowcharts corresponding to the requirement identifier.

5. A demand management device, characterized in that: include: An acquisition unit, used to acquire a demand identifier of a demand to be queried, and determine a functional flow chart corresponding to the demand identifier; A parsing unit, used for parsing the script corresponding to the functional flowchart to obtain a pseudo code representing the implementation logic of the functional flowchart; A requirement management unit, used for performing requirement management based on functions in source code files corresponding to the steps in the pseudo code; The demand management unit is specifically used for: Download the source code files and functions corresponding to the requirement identifier in the version control system; Performing requirement management based on the source code files and functions corresponding to the requirement identifiers, and the functions in the source code files corresponding to the steps in the pseudocodes; It also includes a demand management subunit, which is specifically used to: In response to the user's quality inspection operation, the results of the requirement management are displayed in the current page. The results of the requirement management include each step in the pseudocode, the function in the source code file corresponding to each step in the pseudocode, the quality inspection box, the functional flow chart corresponding to the requirement identifier, the pseudocode, the flow chart code and the version history.

6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the demand management method according to any one of claims 1 to 4 is implemented.

7. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the demand management method according to any one of claims 1 to 4 is implemented.

8. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the demand management method according to any one of claims 1 to 4 is implemented.

Citation Information

Patent Citations

  • Requirement change reverse tracking system

    CN106325969A

  • On-line development document generation method, device, terminal and readable storage medium

    CN109408112A

  • Software development method and device based on artificial intelligence and electronic device

    CN110795077A

  • Demand conformity analysis method and system, electronic equipment and storage medium

    CN113467755A

  • Software demand and code mapping method and system

    CN113791757A