Nothing Special   »   [go: up one dir, main page]

CN118394313A - Application program rapid construction method suitable for various personnel - Google Patents

Application program rapid construction method suitable for various personnel Download PDF

Info

Publication number
CN118394313A
CN118394313A CN202410852771.7A CN202410852771A CN118394313A CN 118394313 A CN118394313 A CN 118394313A CN 202410852771 A CN202410852771 A CN 202410852771A CN 118394313 A CN118394313 A CN 118394313A
Authority
CN
China
Prior art keywords
user
story
application program
representing
development
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202410852771.7A
Other languages
Chinese (zh)
Other versions
CN118394313B (en
Inventor
张扬
徐海涛
杜万波
范振兴
宗宇
胡学林
王鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huaneng Information Technology Co Ltd
Original Assignee
Huaneng Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huaneng Information Technology Co Ltd filed Critical Huaneng Information Technology Co Ltd
Priority to CN202410852771.7A priority Critical patent/CN118394313B/en
Publication of CN118394313A publication Critical patent/CN118394313A/en
Application granted granted Critical
Publication of CN118394313B publication Critical patent/CN118394313B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/20Software design
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0766Error or fault reporting or storing
    • G06F11/0778Dumping, i.e. gathering error/state information after a fault for later diagnosis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0766Error or fault reporting or storing
    • G06F11/0787Storage of error reports, e.g. persistent data storage, storage using memory protection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3604Analysis of software for verifying properties of programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/362Debugging of software
    • G06F11/3644Debugging of software by instrumenting at runtime
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3668Testing of software
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3668Testing of software
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3668Testing of software
    • G06F11/3672Test management
    • G06F11/3692Test management for test results analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/10Pre-processing; Data cleansing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/57Certifying or maintaining trusted computer platforms, e.g. secure boots or power-downs, version controls, system software checks, secure updates or assessing vulnerabilities
    • G06F21/577Assessing vulnerabilities and evaluating computer system security
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/03Indexing scheme relating to G06F21/50, monitoring users, programs or devices to maintain the integrity of platforms
    • G06F2221/033Test or assess software

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • Biomedical Technology (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • Debugging And Monitoring (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a rapid construction method of an application program applicable to various personnel, belonging to the technical field of program construction, comprising the following steps: performing demand investigation on the target group to determine first demands of each target user, and performing demand analysis on all the first demands to determine second users; designing an application architecture based on the second user; providing development documents and test cases based on development functions related to the application program architecture; and carrying out integrated test on all development functions according to the development document and the test case, generating a test report, and completing quick construction of the application program based on the test report. The method can accurately know the requirements of target users, design reasonable application program architecture, ensure the functional perfection and stability of the application program, improve the consistency and maintainability of the application program, improve the development efficiency and quality, and quickly construct the application program with good user satisfaction and experience.

Description

Application program rapid construction method suitable for various personnel
Technical Field
The invention relates to the technical field of program construction, in particular to a quick construction method of an application program applicable to various personnel.
Background
The application program is constructed in a very wide application range, and relates to various industries and fields, for example, in the commercial field, the application in the aspects of electronic commerce, customer relationship management, financial management and the like; the method is applied to aspects of data analysis, simulation, visualization and the like in the scientific research field; in the field of social media, the method is applied to aspects of real-time chat, social network, content sharing and the like.
In the current application program construction process, certain technical problems exist, such as unclear, conflicting, incomplete or low real rationality of user demands, incomplete application program architecture, redundant development functions, lack of or inconsistent with actual demands are caused, system complexity is increased, development speed is reduced, system consistency and maintainability are reduced, and user satisfaction is reduced.
Therefore, the invention provides a quick construction method of application programs applicable to various personnel.
Disclosure of Invention
The invention provides a quick construction method of an application program applicable to various personnel, which is used for solving the defects of program construction in the prior art.
In one aspect, the present invention provides a method for quickly constructing an application program applicable to a plurality of persons, including:
S101: performing demand investigation on the target group to determine first demands of each target user, and performing demand analysis on all the first demands to determine second users;
s102: designing an application architecture based on the second user;
s103: providing development documents and test cases based on development functions related to the application program architecture;
S104: and carrying out integrated test on all development functions according to the development document and the test case, generating a test report, and completing quick construction of the application program based on the test report.
According to the application program rapid construction method suitable for various personnel, the invention carries out demand investigation on target groups to determine the first demand of each target user, and the method comprises the following steps:
determining corresponding user characteristics according to the demand investigation result of each target user in the target group;
constructing a corresponding user portrait based on the demand investigation result of each target user and the user characteristics;
Each user representation is analyzed to determine a first demand for the corresponding target user.
According to the application program rapid construction method suitable for various personnel, which is provided by the invention, the requirement analysis is carried out on all the first requirements to determine the second user, and the method comprises the following steps:
converting the first demand of each target user into a user story, wherein the user story comprises one or more of user targets, user expectations, functional demands, non-functional demands, technical feasibility and resource availability;
Setting evaluation standards of user stories, constructing a decision tree, and calculating a reasonable value of each user story based on the decision tree;
; wherein, A reasonable value representing the user's story i1,Representing the weight of the decision tree root node,Representing an initial rational value for determining the user incident i1 based on the decision tree root node, N1 represents the number of intermediate nodes involved in determining the user story i1 based on the decision tree,The weight of the intermediate node j1 corresponding to the user story i1 is represented,Representing reasonable values of the intermediate node j1 corresponding to the user story i1 given the parent node, N2 represents the number of leaf nodes involved in determining the user story i1 based on the decision tree,The weight of the leaf node k1 corresponding to the user story i1 is represented,Representing reasonable values for leaf node k1 corresponding to user story i1 given all parent nodes,Respectively representing the father node condition 1, father node condition 2 to father node condition a of the intermediate node j1 corresponding to the user story i1,Representing user story i1 at a given intermediate node j1Is used to determine the combined reasonable value of (a),An initial reasonable value representing the intermediate node j1 to which the user story i1 corresponds,Representing the joint rational value of the intermediate node j1 corresponding to the user story i1 based on the conditions of all parent nodes,Parent node condition 1, parent node condition 2 through parent node condition b respectively representing leaf node k1 corresponding to user story i1,Representing user story i1 at a given leaf node k1Is used to determine the combined reasonable value of (a),An initial reasonable value representing the leaf node k1 to which the user story i1 corresponds,A joint rational value representing the leaf node k1 to which the user story i1 corresponds based on all parent node conditions,Representing the variance of the error value of the intermediate node j1 corresponding to the user incident i1 under each parent node condition,Representing the variance of the error value of the leaf node k1 corresponding to the user incident i1 under each parent node condition,
Screening target users with reasonable user story values larger than a preset reasonable threshold value, and determining a first user;
building story vectors of user stories of each first user respectively;
calculating similarity between each two story vectors
; Where N3 represents the number of dimensions of the story vector,Representing the value of story vector a in the d1 st dimension,Representing the value of story vector B in the d1 st dimension,Representing the inner product of story vector a and story vector B,The modular length of the story vector a is represented,A modular length representing story vector B; Representing all Is a variance of (2); Representation and representation The matched unit error coefficient has a value range of (1, 2), and [ (surface ] represents a rounding symbol); Representing all Is selected from the group consisting of a minimum value of,Representation and representationThe unit similarity of the matching is (0, 1),A first similarity value is indicated and is used to indicate,Representing a second similarity value;
setting the similar range as Wherein, the method comprises the steps of, wherein,Representing the adjustment parameters;
And determining two story vectors corresponding to the similarity value within the set similarity range as similar stories, and carrying out similarity combination on all user stories contained by the first user to determine the second user.
According to the application program rapid construction method applicable to various personnel, which is provided by the invention, an application program architecture is designed based on a second user, and the method comprises the following steps:
determining the complex value of each user story according to the functional requirements, the nonfunctional requirements, the technical feasibility and the resource availability corresponding to all user stories contained by the second user;
determining a priority value of each user story based on the reasonable value and the complex value of each user story in the second user, and performing priority value ascending arrangement to determine a first sequence;
The functional requirements are divided based on the first sequence, and an application program architecture is designed based on all the functional requirements.
According to the application program rapid construction method suitable for various personnel, provided by the invention, based on the development function related to the application program architecture, the development document and the test case are provided, and the method comprises the following steps:
setting unified compiling files and configuration parameters;
generating a generatable function based on an application program architecture, a compiling file and configuration parameters, providing a unified development document for all the generatable functions, and providing a corresponding test case for each generatable function;
after the function generation is completed, performing function test on all the generatable functions based on the unified development document and the corresponding test cases.
According to the application program rapid construction method suitable for various personnel, provided by the invention, based on the development function related to the application program architecture, the development document and the test case are provided, and the method further comprises the following steps:
Developing the non-generatable functions by a developer based on the application program architecture, the compiling file and the configuration parameters, and providing corresponding development documents and test cases for each non-producable function;
in the development process, a static analysis tool is used for code checking at regular intervals, and modification is carried out based on suggestions and warnings given by the static analysis tool;
After the function development is completed, the developer performs a function test on the modified code for each non-generatable function based on the corresponding development document and test case.
According to the method for quickly constructing the application program applicable to various personnel, which is provided by the invention, all development functions are subjected to integrated test according to the development document and the test case, a test report is generated, and quick construction of the application program is completed based on the test report, and the method comprises the following steps:
Determining interfaces and dependencies between each two functions based on the application framework;
integrating all developed development functions based on all development documents and test cases and interfaces and dependency relations between every two functions, and performing synchronous debugging optimization;
and carrying out integrated test on all the integrated development functions and generating a test report.
According to the method for quickly constructing the application program applicable to various personnel, which is provided by the invention, all development functions are subjected to integrated test according to the development document and the test case, a test report is generated, and quick construction of the application program is completed based on the test report, and the method further comprises the following steps:
Analyzing failure use cases and error logs in the test report, determining a first problem, and determining urgency, classification and resolution standards for each sub-problem;
solving and testing the first problem based on the corresponding classification according to the urgency of each sub-problem;
And comparing the test result of each sub-problem with the solution standard, and adjusting the application program which is quickly constructed.
Compared with the prior art, the application has the following beneficial effects:
the first requirements of all target users are analyzed to determine the second user, the application program architecture is designed according to the second user, the function development is carried out, the integrated test is carried out on all development functions, the test report is generated, the quick construction of the application program is completed according to the test report, the requirements of the target users can be accurately known, the application program architecture is reasonable in design, the functional perfection and the stability of the application program are ensured, the development efficiency and the development quality are improved, and the application program with good user satisfaction and experience is quickly constructed.
Drawings
In order to more clearly illustrate the invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flow chart of a method for quickly constructing an application program applicable to various personnel according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Example 1:
The embodiment of the invention provides a quick construction method of an application program applicable to various personnel, as shown in fig. 1, comprising the following steps:
S101: performing demand investigation on the target group to determine first demands of each target user, and performing demand analysis on all the first demands to determine second users;
s102: designing an application architecture based on the second user;
s103: providing development documents and test cases based on development functions related to the application program architecture;
S104: and carrying out integrated test on all development functions according to the development document and the test case, generating a test report, and completing quick construction of the application program based on the test report.
In this embodiment, the target population represents the main user population of the application.
In this embodiment, the demand survey represents the demand and desire for the collection of target groups for applications.
In this embodiment, the development document represents a document that records and describes information of an application development process, a module design, a code structure, an interface, and the like.
In this embodiment, the test cases represent a set of steps defining the expected inputs, operations, and outputs for verifying that the development functions meet the requirements and specifications.
In this embodiment, the test report represents a document recording the test procedure and results, including detailed information of test execution, problems found, severity of problems, repair advice, and the like.
The beneficial effects of the technical scheme are that: the first requirements of all target users are analyzed to determine the second user, the application program architecture is designed according to the second user, the function development is carried out, the integrated test is carried out on all development functions, the test report is generated, the quick construction of the application program is completed according to the test report, the requirements of the target users can be accurately known, the application program architecture is reasonable in design, the functional perfection and the stability of the application program are ensured, the development efficiency and the development quality are improved, and the application program with good user satisfaction and experience is quickly constructed.
Example 2:
the embodiment of the invention provides a quick construction method of an application program applicable to various personnel, which is used for carrying out demand investigation on a target group to determine a first demand of each target user and comprises the following steps:
determining corresponding user characteristics according to the demand investigation result of each target user in the target group;
constructing a corresponding user portrait based on the demand investigation result of each target user and the user characteristics;
Each user representation is analyzed to determine a first demand for the corresponding target user.
In this embodiment, each target user corresponds to a requirement investigation result and corresponds to a user feature.
In this embodiment, the user characteristics represent general attributes and characteristics of the corresponding target user, and may include characteristics related to the application program, such as age, gender, educational background, geographic location, occupation, and the like.
In this embodiment, the user portraits represent virtual portraits created based on the results of the target user's demand investigation and the user characteristics, one for each target user.
The beneficial effects of the technical scheme are that: by determining the characteristics of the target user, constructing the portrait of the target user and determining the first requirement of the target user, the requirement and the behavior mode of the target user can be clearly known, and the lack of development functions is avoided.
Example 3:
the embodiment of the invention provides a quick construction method of an application program applicable to various personnel, which is used for carrying out demand analysis on all first demands to determine a second user and comprises the following steps:
converting the first demand of each target user into a user story, wherein the user story comprises one or more of user targets, user expectations, functional demands, non-functional demands, technical feasibility and resource availability;
Setting evaluation standards of user stories, constructing a decision tree, and calculating a reasonable value of each user story based on the decision tree;
; wherein, A reasonable value representing the user's story i1,Representing the weight of the decision tree root node,Representing an initial rational value for determining the user incident i1 based on the decision tree root node, N1 represents the number of intermediate nodes involved in determining the user story i1 based on the decision tree,The weight of the intermediate node j1 corresponding to the user story i1 is represented,Representing reasonable values of the intermediate node j1 corresponding to the user story i1 given the parent node, N2 represents the number of leaf nodes involved in determining the user story i1 based on the decision tree,The weight of the leaf node k1 corresponding to the user story i1 is represented,Representing reasonable values for leaf node k1 corresponding to user story i1 given all parent nodes,Respectively representing the father node condition 1, father node condition 2 to father node condition a of the intermediate node j1 corresponding to the user story i1,Representing user story i1 at a given intermediate node j1Is used to determine the combined reasonable value of (a),An initial reasonable value representing the intermediate node j1 to which the user story i1 corresponds,Representing the joint rational value of the intermediate node j1 corresponding to the user story i1 based on the conditions of all parent nodes,Parent node condition 1, parent node condition 2 through parent node condition b respectively representing leaf node k1 corresponding to user story i1,Representing user story i1 at a given leaf node k1Is used to determine the combined reasonable value of (a),An initial reasonable value representing the leaf node k1 to which the user story i1 corresponds,A joint rational value representing the leaf node k1 to which the user story i1 corresponds based on all parent node conditions,Representing the variance of the error value of the intermediate node j1 corresponding to the user incident i1 under each parent node condition,Representing the variance of the error value of the leaf node k1 corresponding to the user incident i1 under each parent node condition,
Screening target users with reasonable user story values larger than a preset reasonable threshold value, and determining a first user;
building story vectors of user stories of each first user respectively;
calculating similarity between each two story vectors
; Where N3 represents the number of dimensions of the story vector,Representing the value of story vector a in the d1 st dimension,Representing the value of story vector B in the d1 st dimension,Representing the inner product of story vector a and story vector B,The modular length of the story vector a is represented,A modular length representing story vector B; Representing all Is a variance of (2); Representation and representation The matched unit error coefficient has a value range of (1, 2), and [ (surface ] represents a rounding symbol); Representing all Is selected from the group consisting of a minimum value of,Representation and representationThe unit similarity of the matching is (0, 1),A first similarity value is indicated and is used to indicate,Representing a second similarity value;
setting the similar range as Wherein, the method comprises the steps of, wherein,Representing the adjustment parameters;
And determining two story vectors corresponding to the similarity value within the set similarity range as similar stories, and carrying out similarity combination on all user stories contained by the first user to determine the second user.
In this embodiment, the user story representation describes the application functionality, requirements, and desired specifications from the user's perspective.
In this embodiment, the functional requirements represent requirements of the application program in terms of functions and behaviors, and are specific functions, operations and logic flows that the application program needs to implement.
In this embodiment, the non-functional requirement indicates a requirement of an application program in terms of performance, availability, security, expandability, and the like, and is a requirement and constraint of the application program in terms of non-functionality.
In this embodiment, technical feasibility means whether a development team can achieve the required functions and requirements under the given technical conditions and resource constraints.
In this embodiment, resource availability represents the availability and effectiveness of various resources required in developing and maintaining an application.
In this embodiment, the decision tree includes one root node, N1 intermediate nodes, N2 leaf nodes.
In the embodiment, each user story is mapped onto a node of a decision tree according to an evaluation standard, and a reasonable value of the user story is calculated according to the weight of the node and the reasonable value of the node under the given condition.
In this embodiment, the user story reasonable value not being greater than the preset reasonable threshold indicates that the user story does not coincide with the application program target, and the functional requirement and the non-functional requirement contained in the user story cannot be satisfied.
In this embodiment, the similarity range includes a similarity upper limit threshold and a similarity lower limit threshold, and the similarity value between the two story vectors indicates that the user stories corresponding to the two story vectors are similar stories within the similarity range.
In this embodiment, the second user includes a smaller number of user stories than the first user.
The beneficial effects of the technical scheme are that: the first user is determined by calculating the reasonable value of each user story, and the second user is determined by calculating the similarity value between every two story vectors in the first user, so that the user stories with clear and complete user demands can be screened, and the development function redundancy or the situation that the development function redundancy is inconsistent with the actual demands is avoided.
Example 4:
The embodiment of the invention provides a quick construction method of an application program applicable to various personnel, which is based on a second user design application program architecture and comprises the following steps:
determining the complex value of each user story according to the functional requirements, the nonfunctional requirements, the technical feasibility and the resource availability corresponding to all user stories contained by the second user;
determining a priority value of each user story based on the reasonable value and the complex value of each user story in the second user, and performing priority value ascending arrangement to determine a first sequence;
The functional requirements are divided based on the first sequence, and an application program architecture is designed based on all the functional requirements.
In this embodiment, the complex value represents a composite value that measures the functional requirements, non-functional requirements, technical feasibility, and resource availability, among other factors, contained in the user's story.
In this embodiment, the priority value represents a value determined according to factors such as importance, value, and urgency of the user story.
In this embodiment, the first sequence represents the user story sequence of interest and processing during development.
The beneficial effects of the technical scheme are that: by determining the complex value and the priority value of each user in the second user, determining the first sequence according to the priority value and dividing the functional requirements to design the application program architecture, the functional requirements can be reasonably divided and the complete application program architecture can be designed, the complexity of the system is reduced, and the development speed is improved.
Example 5:
The embodiment of the invention provides a quick construction method of an application program applicable to various personnel, which provides a development document and a test case based on development functions related to an application program architecture, and comprises the following steps:
setting unified compiling files and configuration parameters;
generating a generatable function based on an application program architecture, a compiling file and configuration parameters, providing a unified development document for all the generatable functions, and providing a corresponding test case for each generatable function;
after the function generation is completed, performing function test on all the generatable functions based on the unified development document and the corresponding test cases.
In this embodiment, the compiled file represents a file for compiling and building an application program, and may include a source code file, a configuration file, a dependency file, and the like.
In this embodiment, the configuration parameters represent settings that affect the behavior and functionality of the application and may be used to adjust the manner in which the application operates, such as database connection information, log levels, cache size, etc.
In this embodiment, functions may be generated that represent functions that the code generator automatically generates based on information such as application architecture, compiled files, and configuration parameters.
In this embodiment, the non-generatable functions represent functions that need to be manually written or that are implemented in dependence on external libraries, tools, etc., and cannot be fully automatically generated.
In this embodiment, the code generator generates source code for the generatable function according to preset rules and templates.
In this embodiment, the functional test means that the function of the application is verified.
The beneficial effects of the technical scheme are that: the unified compiling file and configuration parameters are set, so that the consistency and maintainability of the system can be improved, the development efficiency is improved, the generatable functions can be generated and tested, the normal operation of the generatable functions can be ensured, and the requirements of users and expected requirements are met.
Example 6:
the embodiment of the invention provides a quick construction method of an application program applicable to various personnel, which provides a development document and a test case based on development functions related to an application program architecture, and further comprises the following steps:
Developing the non-generatable functions by a developer based on the application program architecture, the compiling file and the configuration parameters, and providing corresponding development documents and test cases for each non-producable function;
in the development process, a static analysis tool is used for code checking at regular intervals, and modification is carried out based on suggestions and warnings given by the static analysis tool;
After the function development is completed, the developer performs a function test on the modified code for each non-generatable function based on the corresponding development document and test case.
In this embodiment, the static analysis tool represents a tool for performing static analysis on source code during application development.
In this embodiment, the source code is inspected and analyzed using static analysis tools to discover and repair errors, vulnerabilities, and inefficiencies in the code based on suggestions and warning cues for code improvement.
The beneficial effects of the technical scheme are that: the developer develops the non-generatable functions according to the application program architecture, the compiling file and the configuration parameters, periodically performs code checking and modifying, and performs functional testing, so that the normal operation of the non-generatable functions can be ensured, the user requirements and the expected requirements are met, and the readability, maintainability and consistency of codes are improved.
Example 7:
The embodiment of the invention provides a quick construction method of an application program applicable to various personnel, which carries out integrated test on all development functions according to the development document and the test case and generates a test report, and completes the quick construction of the application program based on the test report, and comprises the following steps:
Determining interfaces and dependencies between each two functions based on the application framework;
integrating all developed development functions based on all development documents and test cases and interfaces and dependency relations between every two functions, and performing synchronous debugging optimization;
and carrying out integrated test on all the integrated development functions and generating a test report.
In this embodiment, the interface represents the communication protocol and specification to be followed between different functions, and may include parameters and return types of function calls, data formats, communication protocols, and the like.
In this embodiment, the dependency relationship indicates that one function depends on other functions, and when a module function changes, other functions on which the function depends may be affected.
In this embodiment, the integrated representation integrates the individual independently developed functions together
In this embodiment, the test report represents a document generated after the integrated test, including information of the result of the test execution, the problem found, the covered test case, and the like.
The beneficial effects of the technical scheme are that: according to all development documents and test cases and interfaces and dependency relations between every two functions, function integration, debugging optimization, integration test and test report generation are carried out, and therefore stability and performance of the application program can be guaranteed to be provided by all functions effectively in a cooperated mode.
Example 8:
The embodiment of the invention provides a quick construction method of an application program, which is suitable for various personnel, and is used for carrying out integrated test on all development functions according to the development document and the test case and generating a test report, completing quick construction of the application program based on the test report, and further comprising the following steps:
Analyzing failure use cases and error logs in the test report, determining a first problem, and determining urgency, classification and resolution standards for each sub-problem;
solving and testing the first problem based on the corresponding classification according to the urgency of each sub-problem;
And comparing the test result of each sub-problem with the solution standard, and adjusting the application program which is quickly constructed.
In this embodiment, the failed case indicates that the actual result of the test case executed in the test process is inconsistent with the expected result or is not verified, which represents a problem or defect in the application program.
In this embodiment, the error log represents a file or record of errors and exception information recorded during the running of the application program, and may include information about detailed descriptions of the errors, time stamps, stack tracking, and the like.
In this embodiment, the urgency represents the priority and urgency of solving the sub-problem.
In this embodiment, the classification is divided according to the nature and scope of influence of the sub-problem, and may include a functional problem, a performance problem, a security problem, and the like.
In this embodiment, the solution criteria are solutions and metrics formulated based on the nature and urgency of the sub-problem.
The beneficial effects of the technical scheme are that: the urgency, classification and solution standard of each sub-problem are determined through analysis of the test report, sub-problem solution, test and comparison are carried out, and the rapidly constructed application program is adjusted, so that the maintainability of the system can be improved, and the satisfaction degree and experience feeling of a user can be improved.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (8)

1. The utility model provides a quick construction method of application program suitable for multiple personnel, which is characterized in that the method comprises the following steps:
S101: performing demand investigation on the target group to determine first demands of each target user, and performing demand analysis on all the first demands to determine second users;
s102: designing an application architecture based on the second user;
s103: providing development documents and test cases based on development functions related to the application program architecture;
S104: and carrying out integrated test on all development functions according to the development document and the test case, generating a test report, and completing quick construction of the application program based on the test report.
2. The method for quickly constructing an application program applicable to a plurality of people according to claim 1, wherein the step of performing a demand investigation on a target group to determine a first demand of each target user comprises the steps of:
determining corresponding user characteristics according to the demand investigation result of each target user in the target group;
constructing a corresponding user portrait based on the demand investigation result of each target user and the user characteristics;
Each user representation is analyzed to determine a first demand for the corresponding target user.
3. The method for quickly constructing an application program applicable to a plurality of persons according to claim 1, wherein the step of performing a requirement analysis on all the first requirements to determine the second user comprises the steps of:
converting the first demand of each target user into a user story, wherein the user story comprises one or more of user targets, user expectations, functional demands, non-functional demands, technical feasibility and resource availability;
Setting evaluation standards of user stories, constructing a decision tree, and calculating a reasonable value of each user story based on the decision tree;
; wherein, A reasonable value representing the user's story i1,Representing the weight of the decision tree root node,Representing an initial rational value for determining the user incident i1 based on the decision tree root node, N1 represents the number of intermediate nodes involved in determining the user story i1 based on the decision tree,The weight of the intermediate node j1 corresponding to the user story i1 is represented,Representing reasonable values of the intermediate node j1 corresponding to the user story i1 given the parent node, N2 represents the number of leaf nodes involved in determining the user story i1 based on the decision tree,The weight of the leaf node k1 corresponding to the user story i1 is represented,Representing reasonable values for leaf node k1 corresponding to user story i1 given all parent nodes,Respectively representing the father node condition 1, father node condition 2 to father node condition a of the intermediate node j1 corresponding to the user story i1,Representing user story i1 at a given intermediate node j1Is used to determine the combined reasonable value of (a),An initial reasonable value representing the intermediate node j1 to which the user story i1 corresponds,Representing the joint rational value of the intermediate node j1 corresponding to the user story i1 based on the conditions of all parent nodes,Parent node condition 1, parent node condition 2 through parent node condition b respectively representing leaf node k1 corresponding to user story i1,Representing user story i1 at a given leaf node k1Is used to determine the combined reasonable value of (a),An initial reasonable value representing the leaf node k1 to which the user story i1 corresponds,A joint rational value representing the leaf node k1 to which the user story i1 corresponds based on all parent node conditions,Representing the variance of the error value of the intermediate node j1 corresponding to the user incident i1 under each parent node condition,Representing the variance of the error value of the leaf node k1 corresponding to the user incident i1 under each parent node condition,
Screening target users with reasonable user story values larger than a preset reasonable threshold value, and determining a first user;
building story vectors of user stories of each first user respectively;
calculating similarity between each two story vectors
; Where N3 represents the number of dimensions of the story vector,Representing the value of story vector a in the d1 st dimension,Representing the value of story vector B in the d1 st dimension,Representing the inner product of story vector a and story vector B,The modular length of the story vector a is represented,A modular length representing story vector B; Representing all Is a variance of (2); Representation and representation The matched unit error coefficient has a value range of (1, 2), and [ (surface ] represents a rounding symbol); Representing all Is selected from the group consisting of a minimum value of,Representation and representationThe unit similarity of the matching is (0, 1),A first similarity value is indicated and is used to indicate,Representing a second similarity value;
setting the similar range as Wherein, the method comprises the steps of, wherein,Representing the adjustment parameters;
And determining two story vectors corresponding to the similarity value within the set similarity range as similar stories, and carrying out similarity combination on all user stories contained by the first user to determine the second user.
4. A method of quickly building an application for multiple people according to claim 3, wherein designing the application architecture based on the second user comprises:
determining the complex value of each user story according to the functional requirements, the nonfunctional requirements, the technical feasibility and the resource availability corresponding to all user stories contained by the second user;
determining a priority value of each user story based on the reasonable value and the complex value of each user story in the second user, and performing priority value ascending arrangement to determine a first sequence;
The functional requirements are divided based on the first sequence, and an application program architecture is designed based on all the functional requirements.
5. The method for quickly constructing an application program applicable to a plurality of persons according to claim 1, wherein the step of providing development documents and test cases based on development functions related to an application program architecture comprises:
setting unified compiling files and configuration parameters;
generating a generatable function based on an application program architecture, a compiling file and configuration parameters, providing a unified development document for all the generatable functions, and providing a corresponding test case for each generatable function;
after the function generation is completed, performing function test on all the generatable functions based on the unified development document and the corresponding test cases.
6. The method for quickly constructing an application program applicable to a plurality of persons according to claim 5, wherein the step of providing the development document and the test case based on the development function related to the application program architecture further comprises:
Developing the non-generatable functions by a developer based on the application program architecture, the compiling file and the configuration parameters, and providing corresponding development documents and test cases for each non-producable function;
in the development process, a static analysis tool is used for code checking at regular intervals, and modification is carried out based on suggestions and warnings given by the static analysis tool;
After the function development is completed, the developer performs a function test on the modified code for each non-generatable function based on the corresponding development document and test case.
7. The method for quickly constructing an application program applicable to a plurality of persons according to claim 1, wherein the steps of performing integrated test on all development functions according to the development document and the test case and generating a test report, and completing quick construction of the application program based on the test report include:
Determining interfaces and dependencies between each two functions based on the application framework;
integrating all developed development functions based on all development documents and test cases and interfaces and dependency relations between every two functions, and performing synchronous debugging optimization;
and carrying out integrated test on all the integrated development functions and generating a test report.
8. The method for quickly constructing an application program applicable to multiple persons according to claim 7, wherein the integrated test is performed on all development functions according to the development document and the test case, and a test report is generated, and the quick construction of the application program is completed based on the test report, further comprising:
Analyzing failure use cases and error logs in the test report, determining a first problem, and determining urgency, classification and resolution standards for each sub-problem;
solving and testing the first problem based on the corresponding classification according to the urgency of each sub-problem;
And comparing the test result of each sub-problem with the solution standard, and adjusting the application program which is quickly constructed.
CN202410852771.7A 2024-06-28 2024-06-28 Application program rapid construction method suitable for various personnel Active CN118394313B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410852771.7A CN118394313B (en) 2024-06-28 2024-06-28 Application program rapid construction method suitable for various personnel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410852771.7A CN118394313B (en) 2024-06-28 2024-06-28 Application program rapid construction method suitable for various personnel

Publications (2)

Publication Number Publication Date
CN118394313A true CN118394313A (en) 2024-07-26
CN118394313B CN118394313B (en) 2024-09-03

Family

ID=91991747

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410852771.7A Active CN118394313B (en) 2024-06-28 2024-06-28 Application program rapid construction method suitable for various personnel

Country Status (1)

Country Link
CN (1) CN118394313B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170083290A1 (en) * 2015-09-21 2017-03-23 Shridhar V. Bharthulwar Integrated System for Software Application Development
CN110058846A (en) * 2019-04-19 2019-07-26 深圳市康拓普信息技术有限公司 A kind of service application software development system and method
CN112685005A (en) * 2020-12-24 2021-04-20 南通海睿知新信息科技有限公司 Information processing method and system based on software development service
US20210263733A1 (en) * 2020-02-26 2021-08-26 Accenture Global Solutions Limited Utilizing artificial intelligence and machine learning models to reverse engineer an application from application artifacts
CN114943474A (en) * 2022-06-16 2022-08-26 平安科技(深圳)有限公司 Research and development workload detection method, device, equipment and storage medium
CN115794038A (en) * 2022-11-09 2023-03-14 新疆中宏立达软件工程有限公司 Software engineering development system based on Internet and method thereof
CN116450484A (en) * 2023-04-26 2023-07-18 成都赛力斯科技有限公司 Evaluation method and device based on model development software, electronic equipment and medium
CN116700678A (en) * 2023-08-04 2023-09-05 广州市海捷计算机科技有限公司 Demand tracking method and device in software development management system
CN117555520A (en) * 2023-11-13 2024-02-13 中国联合网络通信集团有限公司 Demand processing method and device, electronic equipment and storage medium
CN117971166A (en) * 2023-12-18 2024-05-03 湖南道纪新成信息技术有限公司 Software development management system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170083290A1 (en) * 2015-09-21 2017-03-23 Shridhar V. Bharthulwar Integrated System for Software Application Development
CN110058846A (en) * 2019-04-19 2019-07-26 深圳市康拓普信息技术有限公司 A kind of service application software development system and method
US20210263733A1 (en) * 2020-02-26 2021-08-26 Accenture Global Solutions Limited Utilizing artificial intelligence and machine learning models to reverse engineer an application from application artifacts
CN112685005A (en) * 2020-12-24 2021-04-20 南通海睿知新信息科技有限公司 Information processing method and system based on software development service
CN114943474A (en) * 2022-06-16 2022-08-26 平安科技(深圳)有限公司 Research and development workload detection method, device, equipment and storage medium
CN115794038A (en) * 2022-11-09 2023-03-14 新疆中宏立达软件工程有限公司 Software engineering development system based on Internet and method thereof
CN116450484A (en) * 2023-04-26 2023-07-18 成都赛力斯科技有限公司 Evaluation method and device based on model development software, electronic equipment and medium
CN116700678A (en) * 2023-08-04 2023-09-05 广州市海捷计算机科技有限公司 Demand tracking method and device in software development management system
CN117555520A (en) * 2023-11-13 2024-02-13 中国联合网络通信集团有限公司 Demand processing method and device, electronic equipment and storage medium
CN117971166A (en) * 2023-12-18 2024-05-03 湖南道纪新成信息技术有限公司 Software development management system

Also Published As

Publication number Publication date
CN118394313B (en) 2024-09-03

Similar Documents

Publication Publication Date Title
US20230135819A1 (en) Systems and methods for diagnosing problems from error logs using natural language processing
Toval et al. Requirements reuse for improving information systems security: a practitioner’s approach
US8495583B2 (en) System and method to determine defect risks in software solutions
US9020943B2 (en) Methods, systems, and computer program product for automatically categorizing defects
US7451051B2 (en) Method and system to develop a process improvement methodology
WO2010131758A1 (en) Model verification system, model verification method and recording medium
EP4075281A1 (en) Ann-based program test method and test system, and application
Paiva et al. End-to-end automatic business process validation
CN118760612A (en) Code processing methods and code repair testing methods
US11615016B2 (en) System and method for executing a test case
CN118394313B (en) Application program rapid construction method suitable for various personnel
CN116991746A (en) Method and device for evaluating general quality characteristics of software
CN117421231A (en) Automatic software testing method, system and device
CN117215552A (en) Interactive component generation method and device, storage medium and computer equipment
CN115840560A (en) Management system for software development process
CN110008098B (en) Method and device for evaluating operation condition of nodes in business process
CN118194000B (en) Multi-mode data consistency verification method, device and medium based on data standard
CN118626381B (en) Fuzz testing method and platform based on upper competition
KR100656559B1 (en) Program Automatic Development Device Using GIID Methodology
Bermon Angarita et al. A Bibliometric Analysis of DevOps Metrics.
Bunyakiat et al. Resilience Techniques for an Automatic Car Parking System
Kong Towards a formal and scalable approach for quantifying software reliability at early development stages
CN114386743A (en) Performance analysis method and system for RESAR performance engineering
CN119441062A (en) Test case generation method and system based on large language model
CN119396719A (en) Software efficient test method and system based on artificial intelligence

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant