CN115202620A - Software development system based on components - Google Patents

Software development system based on components Download PDF

Info

Publication number
CN115202620A
CN115202620A CN202210829473.7A CN202210829473A CN115202620A CN 115202620 A CN115202620 A CN 115202620A CN 202210829473 A CN202210829473 A CN 202210829473A CN 115202620 A CN115202620 A CN 115202620A
Authority
CN
China
Prior art keywords
component
module
software development
information
task
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.)
Pending
Application number
CN202210829473.7A
Other languages
Chinese (zh)
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.)
Shenzhen Neentropy Technology Co ltd
Original Assignee
Shenzhen Neentropy 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 Shenzhen Neentropy Technology Co ltd filed Critical Shenzhen Neentropy Technology Co ltd
Priority to CN202210829473.7A priority Critical patent/CN115202620A/en
Publication of CN115202620A publication Critical patent/CN115202620A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/10Requirements analysis; Specification techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/327Alarm or error message display
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/35Creation or generation of source code model driven
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Quality & Reliability (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a software development system based on components, which comprises: the component storage module is used for storing components for software development; the configuration module is used for receiving software development requirements of users, analyzing the software development requirements and configuring component packages based on components of the component storage module according to analysis results; a development module to: determining a software development model from the component package; and developing software according to the software development model. Development resources are effectively distributed, the problems of long time consumption and high cost of software development are solved, and meanwhile, the reliability of software development is guaranteed.

Description

Software development system based on components
Technical Field
The invention relates to the technical field of software development, in particular to a software development system based on components.
Background
At present, along with the development of economy and science and technology, the demand of intelligent products in human production and life is more and more, so that the demand of various industries on software products and services is continuously rising. Under such circumstances, the quality and efficiency of software development are increasingly demanded, but the conventional structured development method and object-oriented development method have problems of long time and high cost.
Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the art described above. Therefore, the invention aims to provide a software development system based on components, which shortens the software development time and reduces the development cost.
In order to achieve the above object, an embodiment of the present invention provides a software development system based on components, including:
the component storage module is used for storing components for software development;
the configuration module is used for receiving the software development requirement of a user, analyzing the software development requirement and configuring the component package based on the component of the component storage module according to the analysis result;
a development module to:
determining a software development model according to the component package;
and developing software according to the software development model.
According to some embodiments of the invention, a component storage module comprises:
the component classification module is used for classifying components to be stored according to functions;
and the component information module is used for recording the components of each category and the storage positions corresponding to the components in the component classification module and generating a component information directory.
According to some embodiments of the invention, a component information module comprises:
the input module is used for creating a document and inputting the attribute information of each component in each category in the component classification module based on a first preset rule to obtain a component information text;
a traversal module to:
adjusting the input position of the attribute information of each component included in each category in the component information text based on a second preset rule to obtain an adjusted component information text;
determining a parent-child relationship between first input information corresponding to a first input position and second input information corresponding to a second input position of each component included in each category according to the adjustment component information text;
generating a tree-structured component information tree according to the parent-child relationship; the component information tree consists of a plurality of nodes, and each node corresponds to the attribute information of one component;
traversing the component information tree according to a preset traversal method based on the attribute information of the components corresponding to the nodes to obtain a plurality of first attribute nodes and a second attribute node taking the first attribute nodes as father nodes; the first attribute node corresponds to first input information of the component, and the second attribute node corresponds to second input information of the component;
a fill module to:
creating a two-dimensional table;
deploying the row and column information of the two-dimensional table by the first attribute node and the second attribute node according to a mapping relation;
filling the first input information and the second input information according to the row and column information of the two-dimensional table to obtain a plurality of function lists, wherein one row of data corresponds to one function list;
and converting the function lists into text information and splicing the text information to obtain a component information catalog.
According to some embodiments of the invention, the configuration module comprises:
the first receiving module is used for receiving software development requirements of users;
the first analysis module is used for analyzing the software development requirement;
the second receiving module is used for receiving the component information catalog generated by the component information module;
and the first determining module is used for determining the required component according to the analysis result and the component information directory and configuring the component package.
According to some embodiments of the invention, the first parsing module comprises:
the preprocessing module is used for identifying the types of characters included in the software development requirement, comparing the types of the characters with the characters included in a blacklist, and eliminating the characters with consistent contrast to obtain a requirement correction text;
the extraction module is used for extracting keywords from the requirement correction text to obtain a target requirement;
and the first conversion module is used for converting the target requirements into development component requirements and generating a component requirement list.
According to some embodiments of the invention, further comprising:
the monitoring module is used for monitoring a plurality of construction processes in the process that the development module determines the software development model according to the component package;
a first creation module to:
determining an abnormal construction process according to the monitoring result, and analyzing the abnormal reason of the abnormal construction process;
according to the abnormal reason, when the lack of key components is determined, generating a new component requirement; and creating a new component according to the requirement of the new component, and adding the new component to an exception construction process.
According to some embodiments of the invention, further comprising:
the second receiving module is used for receiving the component requirement list generated by the first conversion module and the component information catalog generated by the component information module before the development module determines a software development model according to the component package;
a marking module to:
comparing each first component in the component requirement list with each second component in the component information directory respectively;
determining a first component which is not matched with all second components, taking the first component as a target component, and marking the first component on the component requirement list to obtain a marked list;
the second creating module is used for receiving the marking list determined by the marking module, generating a newly added component and sending the newly added component to the component storage module;
the component storage module is further used for storing the newly added component.
According to some embodiments of the invention, further comprising: the task management module is used for creating a software development task, monitoring the progress of the software development task in real time and displaying the progress;
the task management module comprises:
a create task module to:
receiving a software development requirement sent by the configuration module, creating a plurality of software development tasks according to the software development requirement, and taking each software development task as a task node;
dividing each software development task into a plurality of subtasks, and setting a sub node for each subtask;
and the progress detection module is used for determining the progress information of the software development task according to the trigger responses of the task nodes and the child nodes and displaying the progress information in a data interface.
According to some embodiments of the invention, the progress detection module comprises:
the second determining module is used for determining the process information of the software development task according to the trigger responses of the task nodes and the child nodes;
the second conversion module is used for converting the process information of the software development task into task state text data;
the third establishing module is used for establishing a progress display text;
the adding module is used for adding the task state text data to the progress display text based on the time reverse sequence arrangement;
the fourth establishing module is used for establishing a progress bar;
the decomposition module is used for dividing the progress bar into a plurality of progress bar sections according to the child nodes;
a first computing module to:
acquiring the task amount of each subtask;
acquiring parameters influencing the execution speed of the subtasks;
acquiring the execution time of the subtask corresponding to the current progress bar section;
inputting the task quantity of the subtasks, parameters influencing the execution speed of the subtasks and the execution time of the subtasks corresponding to the current progress bar section into a preset time calculation model to calculate the predicted residual execution time of the corresponding subtasks;
calculating the task execution speed of the current progress bar section according to the predicted residual execution time of the subtasks;
summing the predicted residual execution time of the plurality of subtasks to obtain the predicted residual execution time of the corresponding software development task;
a fifth creating module, configured to create a timer on the data interface;
the refreshing module is used for utilizing the timer to call a preset method for refreshing the progress bar to refresh a plurality of progress bar sections corresponding to the task node when the task node is detected to be triggered;
a display module to:
displaying the progress display text, the progress bar, the task execution speed of the current progress bar section and the predicted residual execution time of the software development task in a data interface;
and displaying a plurality of progress bar sections corresponding to the refreshed task nodes in a data interface.
According to some embodiments of the invention, further comprising:
a sixth creation module to:
when the development module carries out software development according to the software development model, acquiring a monitoring instruction issued by the development module, analyzing the monitoring instruction, and determining monitoring requirements respectively corresponding to a plurality of components;
setting monitoring component interfaces of different levels according to the monitoring requirements, and monitoring access interfaces on corresponding components based on the monitoring component interfaces;
the acquisition module is used for acquiring a plurality of monitoring component reports obtained by monitoring the access interfaces on the corresponding components by the monitoring component interfaces;
the second analysis module is used for respectively analyzing the monitoring component reports and counting the data in each monitoring component report to obtain a plurality of monitoring statistical results; a monitoring component report corresponding to a monitoring statistic result;
a determination module configured to:
comparing the monitoring statistical results with preset critical data respectively, and judging whether abnormal conditions exist or not;
when the abnormal condition is judged to exist, acquiring abnormal data;
determining an abnormal grade and an abnormal category according to the abnormal data and preset abnormal grade data;
a third determination module to:
determining a target error reporting mode according to the abnormal grade and a preset abnormal grade-error reporting mode data table, and sending an alarm prompt;
and determining a target processing strategy according to the exception category and a preset exception category-processing strategy data table, and performing exception processing according to the target processing strategy.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and drawings.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
FIG. 1 is a block diagram of a component-based software development system according to one embodiment of the present invention;
FIG. 2 is a block diagram of a component storage module according to one embodiment of the invention;
FIG. 3 is a block diagram of a configuration module according to one embodiment of the invention.
Detailed Description
The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, and it will be understood that they are described herein for the purpose of illustration and explanation and not limitation.
As shown in fig. 1, an embodiment of the present invention provides a component-based software development system, including:
the component storage module is used for storing components for software development;
the configuration module is used for receiving software development requirements of users, analyzing the software development requirements and configuring component packages based on components of the component storage module according to analysis results;
a development module to:
determining a software development model from the component package;
and developing software according to the software development model.
The working principle of the technical scheme is that the component storage module is used for storing components for software development; the number of components stored in the component storage module is large, and the components comprise components with different functions and functions, so that the components can be conveniently called in the software development process; the configuration module is used for receiving the software development requirement of a user, analyzing the software development requirement and configuring the component package based on the component of the component storage module according to the analysis result; the software development requirements of the user comprise the operation scene, the function requirements, the performance requirements and the like of the software; the component packages can be configured more orderly through the configuration module, and the software development efficiency is improved; a development module to: determining a software development model according to the component package; developing software according to the software development model; the software development model comprises a waterfall model, a spiral model, an iteration increment model, an agility development model and a software test model; and determining the most consistent software development model, so that the software development resources are saved, and the software development time is shortened.
The beneficial effects of the above technical scheme are as follows: according to the received software development requirements of the user, software development is carried out in a mode of accurately configuring a software development component package, software development resources are effectively distributed, the software development efficiency is improved, the functional reliability of each component is guaranteed, the software development time is shortened, and the development cost is reduced.
According to some embodiments of the invention, as shown in fig. 2, the component storage module comprises:
the component classification module is used for classifying the components to be stored according to functions;
and the component information module is used for recording the components of each category and the storage positions corresponding to the components in the component classification module and generating a component information directory.
The technical scheme has the working principle that the component classification module is used for classifying components to be stored according to functions; so that the storage of the component storage module is more ordered and ordered; and the component information module is used for recording the components of each category and the storage positions corresponding to the components in the component classification module and generating a component information directory. The component information directory comprises each type of component, the name of each component and storage position information so as to clearly show the component information, and the position of the required component can be quickly determined when the component is called, so that the time is saved.
The beneficial effects of the above technical scheme are that: the module information catalog mode is generated after the modules are classified, so that the disorder degree of module storage is reduced, the information of the called module can be conveniently and quickly determined, and the module calling time is reduced.
According to some embodiments of the invention, a component information module comprises:
the input module is used for creating a document and inputting the attribute information of each component in each category in the component classification module based on a first preset rule to obtain a component information text;
a traversal module to:
adjusting the input position of the attribute information of each component included in each category in the component information text based on a second preset rule to obtain an adjusted component information text;
determining a parent-child relationship between first input information corresponding to a first input position and second input information corresponding to a second input position of each component included in each category according to the adjustment component information text;
generating a tree-structured component information tree according to the parent-child relationship; the component information tree consists of a plurality of nodes, and each node corresponds to the attribute information of one component;
traversing the component information tree according to a preset traversal method based on the attribute information of the components corresponding to the nodes to obtain a plurality of first attribute nodes and a second attribute node taking the first attribute node as a father node; the first attribute node corresponds to first input information of the component, and the second attribute node corresponds to second input information of the component;
a fill module to:
creating a two-dimensional table;
deploying the row and column information of the two-dimensional table by the first attribute node and the second attribute node according to a mapping relation;
filling the first input information and the second input information according to the row and column information of the two-dimensional table to obtain a plurality of function lists, wherein one row of data corresponds to one function list;
and converting the function lists into text information and splicing the text information to obtain a component information catalog.
The working principle of the technical scheme is as follows: the input module is used for creating a document and inputting the attribute information of each component in each category in the component classification module based on a first preset rule to obtain a component information text; the first preset rule is input according to the priority based on the preset component category; the attribute information of each component comprises a component function, a component name and a component position; the method is convenient for obtaining each item of text information of each component and generating an information catalog; a traversal module to: adjusting the input position of the attribute information of each component included in each category in the component information text based on a second preset rule to obtain an adjusted component information text; the second preset rule is that the components are sequenced according to the position information of the components; the component information text is conveniently adjusted from a disordered state to an ordered state; for example, for the entry positions of the component functions, the component names and the component positions of the components included in each category in the component information text, the entry positions are respectively a second position, a third position and a first position, and the first position, the second position and the third position are respectively entered based on the format of the component functions, the component names and the component positions; determining a parent-child relationship between first input information corresponding to a first input position and second input information corresponding to a second input position of each component included in each category according to the adjustment component information text; the first input information corresponds to a component function; the second input information corresponds to the component name; the first input information is positioned before the second input information; the component information of the tree structure is generated conveniently according to the parent-child relationship; generating a tree-structured component information tree according to the parent-child relationship; the component information tree consists of a plurality of nodes, and each node corresponds to the attribute information of one component; traversing the component information tree according to a preset traversal method based on the attribute information of the components corresponding to the nodes to obtain a plurality of first attribute nodes and a second attribute node taking the first attribute nodes as father nodes; attribute information of each ordered assembly is obtained conveniently. The first attribute node corresponds to first input information of the component, and the second attribute node corresponds to second input information of the component; the preset traversal method is breadth-first traversal, namely a traversal method is performed in the sequence of traversing the root node first and then traversing the lower-layer child nodes; the first input information is determined and then the second input information is determined, so that the logicality of generating the catalog is improved; a fill module to: creating a two-dimensional table; deploying the row and column information of the two-dimensional table by the first attribute node and the second attribute node according to a mapping relation; filling the first input information and the second input information according to the row and column information of the two-dimensional table to obtain a plurality of function lists, wherein one row of data corresponds to one function list; the component information is divided and ordered according to functions; and converting the function lists into text information and splicing the text information to obtain a component information catalog. It is convenient to obtain a component information catalog converted into text data.
The beneficial effects of the above technical scheme are that: the attribute information of each component is input according to the first preset rule and the second preset rule, so that the disordered component information can be conveniently and orderly arranged. The component information tree is generated according to the attribute information of each component and then traversed, so that a component information directory with higher logicality is obtained conveniently, and the software development efficiency is improved.
As shown in fig. 3, according to some embodiments of the invention, the configuration module includes:
the first receiving module is used for receiving software development requirements of users;
the first analysis module is used for analyzing the software development requirement;
the second receiving module is used for receiving the component information catalog generated by the component information module;
and the first determining module is used for determining the required component according to the analysis result and the component information directory and configuring the component package.
The first receiving module is used for receiving the software development requirement of a user; the software development requirement of the user is a non-professional development requirement, for example, only non-professional descriptions such as describing the use effect required to be achieved by the developed software and performing comparison description on the developed software and similar software are described; the first analysis module is used for analyzing the software development requirement; so as to obtain professional requirements more suitable for software developers; the second receiving module is used for receiving the component information catalog generated by the component information module; so as to determine the required components according to the analyzed development requirements; and the first determining module is used for determining the required component according to the analysis result and the component information directory and configuring the component package. And all a plurality of required components are configured in the component package according to the analyzed software development requirements so as to determine the most consistent software development model.
The beneficial effects of the above technical scheme are that: the software development requirements of the user are analyzed, the development requirements with stronger speciality are obtained, the accuracy of the basic requirements of the software development is ensured, invalid development work caused by understanding deviation of software developers is avoided, and the accuracy of determining the required components is ensured in the process of configuring the component package.
According to some embodiments of the invention, the first parsing module comprises:
the preprocessing module is used for identifying the types of characters included in the software development requirement, comparing the types of characters with the characters included in a blacklist, and removing the characters with consistent comparison to obtain a requirement correction text;
the extraction module is used for extracting keywords from the requirement correction text to obtain a target requirement;
and the first conversion module is used for converting the target requirements into development component requirements and generating a component requirement list.
The preprocessing module is used for identifying the type of characters included in the software development requirement, comparing the type of characters with the characters included in a blacklist, and removing the characters with consistent comparison to obtain a required correction text; the required correction text is a text with interference characters removed in software development requirements; the black list comprises non-standard characters, interference characters and the like; interference removal operation is carried out on software development requirements, so that effective software development requirement information is conveniently acquired; the extraction module is used for extracting keywords from the requirement correction text to obtain a target requirement; the target requirement is to record text information of a plurality of keywords. And the professional software development requirements can be conveniently determined according to the keywords. And the first conversion module is used for converting the target requirements into development component requirements and generating a component requirement list. The component requirement list includes the function of the required component and the name of the component. The one-time generation of the component requirement list saves software development time so as to improve software development efficiency.
The beneficial effects of the above technical scheme are that: the software development requirements of the user are preprocessed, and the interference of characters in the software development requirements is effectively eliminated. Extraction of the keywords is convenient for grasping truly useful requirement information in fuzzy or lengthy requirement correction texts. The method has the advantages that the non-professional software development requirements of the user are converted into professional development requirements required by software developers, so that the accuracy and the reliability of the basic stage of software development are guaranteed, and the development work of the software developers is facilitated.
According to some embodiments of the invention, further comprising:
the monitoring module is used for monitoring a plurality of construction processes in the process that the development module determines the software development model according to the component package;
a first creation module to:
determining an abnormal construction process according to the monitoring result, and analyzing the abnormal reason of the abnormal construction process;
according to the abnormal reason, when the lack of key components is determined, generating a new component requirement;
and creating a new component according to the requirement of the new component, and adding the new component to an exception construction process.
The monitoring module is used for monitoring a plurality of construction processes in the process of determining the software development model by the development module according to the component package, so that the software development model is accurately determined, and the software development efficiency is improved; a first creation module to: determining an abnormal construction process according to the monitoring result, and analyzing the abnormal reason of the abnormal construction process; according to the abnormal reason, when the lack of key components is determined, generating a new component requirement; the new component requirement comprises the function and name of the component to be newly built; and creating a new component according to the requirement of the new component, and adding the new component to an abnormal construction process so as to solve the abnormal state of the construction process.
The beneficial effects of the above technical scheme are that: based on monitoring of the construction process, software developers can conveniently know the state of the development component, the requirement for creating a new component is timely generated when the component is abnormal, the component is generated to be in a normal state, the accuracy of a software development model is ensured in the process of determining a software development module, and the software development efficiency is improved.
According to some embodiments of the invention, further comprising:
the second receiving module is used for receiving the component requirement list generated by the first conversion module and the component information catalog generated by the component information module before the development module determines a software development model according to the component package;
a marking module to:
comparing each first component in the component requirement list with each second component in the component information directory respectively;
determining a first component which is not matched with all second components, taking the first component as a target component, and marking the first component on the component requirement list to obtain a marked list;
the second creating module is used for receiving the marking list determined by the marking module, generating a newly added component and sending the newly added component to the component storage module;
the component storage module is further used for storing the newly added component.
The second receiving module is used for receiving the component requirement list generated by the first conversion module and the component information catalog generated by the component information module before the development module determines the software development model according to the component package; a marking module to: comparing each first component in the component requirement list with each second component in the component information directory respectively; determining a first component which is not matched with all second components as a target component, and marking on the component requirement list to obtain a marking list; the marking list is a list for marking components which are lacked in the component storage module and used for software development, and is beneficial to quickly determining the components which need to be added; the second creating module is used for receiving the marking list determined by the marking module, generating a newly added component and sending the newly added component to the component storage module; the component storage module is also used for storing the newly added component so that the configuration module can rapidly determine the newly added component and obtain a component package, and the software development efficiency is improved.
The beneficial effects of the above technical scheme are that: according to the one-by-one comparison of the component requirement list and the component information directory, the components needing to be newly added are conveniently and accurately determined, omission is avoided, and reasonable utilization of the storage space of the component storage module and strict control of the software development process are facilitated.
According to some embodiments of the invention, further comprising: the task management module is used for creating a software development task, monitoring the progress of the software development task in real time and displaying the progress;
the task management module comprises:
a create task module to:
receiving a software development requirement sent by the configuration module, creating a plurality of software development tasks according to the software development requirement, and taking each software development task as a task node;
dividing each software development task into a plurality of subtasks, and setting a sub node for each subtask;
and the progress detection module is used for determining the progress information of the software development task according to the trigger responses of the task nodes and the child nodes and displaying the progress information in a data interface.
The working principle of the technical scheme is that a task module is created and used for: receiving a software development requirement sent by the configuration module, creating a plurality of software development tasks according to the software development requirement, taking each software development task as a task node, and dividing the software development tasks according to different functions in the software development requirement; dividing each software development task into a plurality of subtasks, and setting a child node for each subtask so as to improve the operation and management efficiency; and the progress detection module is used for determining progress information of the software development task according to the trigger responses of the task nodes and the child nodes and displaying the progress information in a data interface, wherein the progress information comprises the name of the task being executed, the content of the task and the like.
The beneficial effects of the above technical scheme are as follows: and the tasks are decomposed and refined, so that the operation and management are convenient. The task nodes and the sub-nodes are arranged, the current state of the software development task can be known more quickly through a trigger mechanism, and therefore the software development progress can be controlled on the whole.
According to some embodiments of the invention, the progress detection module comprises:
the second determining module is used for determining the process information of the software development task according to the trigger responses of the task nodes and the child nodes;
the second conversion module is used for converting the process information of the software development task into task state text data;
the third establishing module is used for establishing a progress display text;
the adding module is used for adding the task state text data to the progress display text based on time reverse order arrangement;
the fourth establishing module is used for establishing a progress bar;
the decomposition module is used for dividing the progress bar into a plurality of progress bar sections according to the child nodes;
a first computing module to:
acquiring the task quantity of each subtask;
acquiring parameters influencing the execution speed of the subtasks;
acquiring the execution time of the subtask corresponding to the current progress bar section;
inputting the task amount of the subtasks, parameters influencing the execution speed of the subtasks and the execution time of the subtasks corresponding to the current progress bar section into a preset time calculation model to calculate the predicted residual execution time of the corresponding subtasks;
calculating the task execution speed of the current progress bar section according to the predicted residual execution time of the subtasks;
summing the predicted residual execution time of the plurality of subtasks to obtain the predicted residual execution time of the corresponding software development task;
a fifth creating module, configured to create a timer on the data interface;
the refreshing module is used for utilizing the timer to call a preset method for refreshing the progress bar to refresh a plurality of progress bar sections corresponding to the task node when the task node is detected to be triggered;
a display module to:
displaying the progress display text, the progress bar, the task execution speed of the current progress bar section and the predicted residual execution time of the software development task in a data interface;
and displaying the plurality of the progress bar sections corresponding to the refreshed task nodes in a data interface.
The second determining module is used for determining the process information of the software development task according to the trigger responses of the task nodes and the child nodes; the program information includes the name of the task being executed, the task content, and the like; the second conversion module is used for converting the process information of the software development task into task state text data; the task state text data comprises task names and task contents so as to be displayed by characters; the third establishing module is used for establishing a progress display text; so as to store a plurality of task state text data and achieve the effect of ordered display; the adding module is used for adding the task state text data to the progress display text based on time reverse order arrangement; the task state text data are arranged according to the reverse time sequence, namely the newer task state text data are positioned at the position of the earlier row of the progress display text so as to achieve the effect of highlighting, and the user friendliness is improved; the fourth establishing module is used for establishing a progress bar; the progress bar is a blank rectangular frame with fixed length, smaller width and longer length, and is represented in a color filling mode when the progress changes so as to more intuitively discover the progress changes; the decomposition module is used for dividing the progress bar into a plurality of progress bar sections according to the child nodes; so as to more precisely control the variation of the progress bar; a first computing module to: acquiring the task quantity of each subtask; the task amount is the data amount needing to be processed; acquiring parameters influencing the execution speed of the task subunit; the parameters comprise processor speed, task type and memory speed; acquiring the execution time of the subtask corresponding to the current progress bar section; inputting the task amount of the subtasks, parameters influencing the execution speed of the subtasks and the execution time of the subtasks corresponding to the current progress bar section into a preset time calculation model to calculate the predicted residual execution time of the corresponding subtasks; calculating the task execution speed of the current progress bar section according to the predicted residual execution time of the subtasks; summing the predicted residual execution time of the plurality of subtasks to obtain the predicted residual execution time of the corresponding software development task; so as to reasonably manage the subsequent software development tasks on the whole; a fifth creating module, configured to create a timer on the data interface; the refreshing module is used for refreshing a plurality of progress bar sections corresponding to the task node by utilizing a method of calling a preset refreshing progress bar by the timer when the task node is detected to be triggered; so as to achieve the effect of dynamic refreshing; a display module to: displaying the progress display text, the progress bar, the task execution speed of the current progress bar section and the predicted residual execution time of the software development task in a data interface; displaying a plurality of progress bar sections corresponding to the refreshed task nodes in a data interface; so that the software developer and the user can know the software development progress in real time.
The beneficial effects of the above technical scheme are that: the real-time software development task progress is conveniently determined by using the trigger response of the task node. Progress bar display of the software development task progress facilitates software developers and users to know the execution condition of the software development task more intuitively, and user friendliness is improved. The software development task can be effectively managed conveniently, and the software development efficiency is improved.
According to some embodiments of the invention, further comprising:
a sixth creating module for:
when the development module carries out software development according to the software development model, acquiring a monitoring instruction issued by the development module, analyzing the monitoring instruction, and determining monitoring requirements respectively corresponding to a plurality of components;
setting monitoring component interfaces of different levels according to the monitoring requirements, and monitoring access interfaces on corresponding components based on the monitoring component interfaces;
the acquisition module is used for acquiring a plurality of monitoring component reports obtained by monitoring the access interfaces on the corresponding components by the monitoring component interfaces;
the second analysis module is used for respectively analyzing the monitoring component reports and counting the data in each monitoring component report to obtain a plurality of monitoring statistical results; a monitoring component report corresponding to a monitoring statistic result;
a determination module to:
comparing the monitoring statistical results with preset critical data respectively, and judging whether abnormal conditions exist or not;
when the abnormal condition is judged to exist, acquiring abnormal data;
determining an abnormal grade and an abnormal category according to the abnormal data and preset abnormal grade data;
a third determining module to:
determining a target error reporting mode according to the abnormal grade and a preset abnormal grade-error reporting mode data table, and sending an alarm prompt;
and determining a target processing strategy according to the exception category and a preset exception category-processing strategy data table, and performing exception processing according to the target processing strategy.
The sixth creating module is used for: when the development module carries out software development according to the software development model, acquiring a monitoring instruction issued by the development module, analyzing the monitoring instruction, and determining monitoring requirements respectively corresponding to a plurality of components; the monitoring instruction comprises interfaces to be monitored and monitoring requirements corresponding to different components; setting monitoring component interfaces of different levels according to the monitoring requirements, and monitoring access interfaces on corresponding components based on the monitoring component interfaces; so as to monitor the abnormity of the component interface at any time; the acquisition module is used for acquiring a plurality of monitoring component reports obtained by monitoring the access interfaces on the corresponding components by the monitoring component interfaces; monitoring the data including the total calling times and word calling time of the component; the second analysis module is used for respectively analyzing the monitoring component reports and counting the data in each monitoring component report to obtain a plurality of monitoring statistical results; a monitoring component report corresponding to a monitoring statistic result; the obtained monitoring statistical result is helpful for judging whether the component interface has abnormal calling condition; a determination module configured to: comparing the monitoring statistical results with preset critical data respectively, and judging whether abnormal conditions exist or not; when the abnormal condition is judged to exist, acquiring abnormal data; the abnormal data comprises the component name with abnormal condition and the abnormal condition so as to determine the abnormal component and the abnormal type according to the abnormal data; determining an abnormal grade and an abnormal category according to the abnormal data and preset abnormal grade data; the abnormal grade is divided into 1-5 grades, and the abnormal condition is more serious when the number is smaller; a third determination module to: determining a target error reporting mode according to the abnormal grade and a preset abnormal grade-error reporting mode data table, and sending an alarm prompt; the abnormal grade-error reporting mode data sheet comprises the corresponding relation between the abnormal grade and the error reporting mode so as to rapidly determine the corresponding error reporting mode; determining a target processing strategy according to the exception category and a preset exception category-processing strategy data table, and performing exception processing according to the target processing strategy; the exception category-processing strategy data table comprises the corresponding relation between the exception categories and the exception processing strategies, so that the corresponding processing strategies can be quickly determined according to the exception categories, and the software development efficiency is improved.
The technical scheme has the advantages that the monitoring component interface is created so as to monitor the calling condition of the component in the process of calling the component to realize software development, abnormal data is obtained in time when the component is abnormally called, the abnormal component is conveniently determined, the abnormal category is quickly judged, the strategy for processing the abnormality is determined, the software development time increased due to the abnormality is reduced, the software development efficiency is improved, and the software development cost is conveniently reduced.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A component-based software development system, comprising:
the component storage module is used for storing components for software development;
the configuration module is used for receiving the software development requirement of a user, analyzing the software development requirement and configuring the component package based on the component of the component storage module according to the analysis result;
a development module to:
determining a software development model according to the component package;
and developing software according to the software development model.
2. The component-based software development system of claim 1, wherein the component stores modules comprising:
the component classification module is used for classifying the components to be stored according to functions;
and the component information module is used for recording the components of each category and the storage positions corresponding to the components in the component classification module and generating a component information directory.
3. The component-based software development system of claim 2, wherein the component information module comprises:
the input module is used for creating a document and inputting the attribute information of each component in each category in the component classification module based on a first preset rule to obtain a component information text;
a traversal module to:
adjusting the input position of the attribute information of each component included in each category in the component information text based on a second preset rule to obtain an adjusted component information text;
determining a parent-child relationship between first input information corresponding to a first input position and second input information corresponding to a second input position of each component included in each category according to the adjustment component information text;
generating a tree-structured component information tree according to the parent-child relationship; the component information tree consists of a plurality of nodes, and each node corresponds to the attribute information of one component;
traversing the component information tree according to a preset traversal method based on the attribute information of the components corresponding to the nodes to obtain a plurality of first attribute nodes and a second attribute node taking the first attribute nodes as father nodes; the first attribute node corresponds to first input information of the component, and the second attribute node corresponds to second input information of the component;
a fill module to:
creating a two-dimensional table;
deploying the row and column information of the two-dimensional table by the first attribute node and the second attribute node according to a mapping relation;
filling the first input information and the second input information according to the row and column information of the two-dimensional table to obtain a plurality of function lists, wherein one row of data corresponds to one function list;
and converting the function lists into text information and splicing the text information to obtain a component information catalog.
4. The component-based software development system of claim 2, wherein the configuration module comprises:
the first receiving module is used for receiving software development requirements of users;
the first analysis module is used for analyzing the software development requirement;
the second receiving module is used for receiving the component information catalog generated by the component information module;
and the first determining module is used for determining the required component according to the analysis result and the component information directory and configuring the component package.
5. The component-based software development system of claim 4, wherein the first parsing module comprises:
the preprocessing module is used for identifying the types of characters included in the software development requirement, comparing the types of characters with the characters included in a blacklist, and removing the characters with consistent comparison to obtain a requirement correction text;
the extraction module is used for extracting keywords from the requirement correction text to obtain a target requirement;
and the first conversion module is used for converting the target requirements into development component requirements and generating a component requirement list.
6. The component-based software development system of claim 1, further comprising:
the monitoring module is used for monitoring a plurality of construction processes in the process that the development module determines the software development model according to the component package;
a first creation module to:
determining an abnormal construction process according to the monitoring result, and analyzing the abnormal reason of the abnormal construction process;
according to the abnormal reason, when the lack of key components is determined, generating a new component requirement; and creating a new component according to the requirement of the new component, and adding the new component to an exception construction process.
7. The component-based software development system of claim 5, further comprising:
the second receiving module is used for receiving the component requirement list generated by the first conversion module and the component information catalog generated by the component information module before the development module determines a software development model according to the component package;
a marking module to:
comparing each first component in the component requirement list with each second component in the component information directory respectively;
determining a first component which is not matched with all second components, taking the first component as a target component, and marking the first component on the component requirement list to obtain a marked list;
the second creating module is used for receiving the marking list determined by the marking module, generating a newly added component and sending the newly added component to the component storage module;
the component storage module is further used for storing the newly added component.
8. The component-based software development system of claim 1, further comprising: the task management module is used for creating a software development task, monitoring the progress of the software development task in real time and displaying the progress;
the task management module comprises:
a create task module to:
receiving a software development requirement sent by the configuration module, creating a plurality of software development tasks according to the software development requirement, and taking each software development task as a task node;
dividing each software development task into a plurality of subtasks, and setting sub nodes for the subtasks;
and the progress detection module is used for determining the progress information of the software development task according to the trigger responses of the task nodes and the child nodes and displaying the progress information in a data interface.
9. The component-based software development system of claim 8, wherein the progress detection module comprises:
the second determining module is used for determining the process information of the software development task according to the trigger responses of the task nodes and the child nodes;
the second conversion module is used for converting the process information of the software development task into task state text data;
the third establishing module is used for establishing a progress display text;
the adding module is used for adding the task state text data to the progress display text based on time reverse order arrangement;
the fourth establishing module is used for establishing a progress bar;
the decomposition module is used for dividing the progress bar into a plurality of progress bar sections according to the child nodes;
a first computing module to:
acquiring the task amount of each subtask;
acquiring parameters influencing the execution speed of the subtasks;
acquiring the execution time of the subtask corresponding to the current progress bar section;
inputting the task amount of the subtasks, parameters influencing the execution speed of the subtasks and the execution time of the subtasks corresponding to the current progress bar section into a preset time calculation model to calculate the predicted residual execution time of the corresponding subtasks;
calculating the task execution speed of the current progress bar section according to the predicted residual execution time of the subtasks;
summing the predicted residual execution time of the plurality of subtasks to obtain the predicted residual execution time of the corresponding software development task;
a fifth creating module, configured to create a timer on the data interface;
the refreshing module is used for refreshing a plurality of progress bar sections corresponding to the task node by utilizing a method of calling a preset refreshing progress bar by the timer when the task node is detected to be triggered;
a display module to:
displaying the progress display text, the progress bar, the task execution speed of the current progress bar section and the predicted residual execution time of the software development task in a data interface;
and displaying a plurality of progress bar sections corresponding to the refreshed task nodes in a data interface.
10. The component-based software development system of claim 1, further comprising:
a sixth creation module to:
when the development module carries out software development according to the software development model, acquiring a monitoring instruction issued by the development module, analyzing the monitoring instruction, and determining monitoring requirements respectively corresponding to a plurality of components;
setting monitoring component interfaces of different levels according to the monitoring requirements, and monitoring access interfaces on corresponding components based on the monitoring component interfaces;
the acquisition module is used for acquiring a plurality of monitoring component reports obtained by monitoring the access interfaces on the corresponding components by the monitoring component interfaces;
the second analysis module is used for respectively analyzing the monitoring component reports and counting the data in each monitoring component report to obtain a plurality of monitoring statistical results; a monitoring component report corresponding to a monitoring statistical result;
a determination module configured to:
comparing the monitoring statistical results with preset critical data respectively, and judging whether abnormal conditions exist or not;
when the abnormal condition is judged to exist, acquiring abnormal data;
determining an abnormal grade and an abnormal category according to the abnormal data and preset abnormal grade data;
a third determination module to:
determining a target error reporting mode according to the abnormal grade and a preset abnormal grade-error reporting mode data table, and sending an alarm prompt;
and determining a target processing strategy according to the exception category and a preset exception category-processing strategy data table, and performing exception processing according to the target processing strategy.
CN202210829473.7A 2022-07-14 2022-07-14 Software development system based on components Pending CN115202620A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210829473.7A CN115202620A (en) 2022-07-14 2022-07-14 Software development system based on components

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210829473.7A CN115202620A (en) 2022-07-14 2022-07-14 Software development system based on components

Publications (1)

Publication Number Publication Date
CN115202620A true CN115202620A (en) 2022-10-18

Family

ID=83582554

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210829473.7A Pending CN115202620A (en) 2022-07-14 2022-07-14 Software development system based on components

Country Status (1)

Country Link
CN (1) CN115202620A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116257220A (en) * 2023-05-16 2023-06-13 长春慧程科技有限公司 Cloud edge collaboration-based software development data management method and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116257220A (en) * 2023-05-16 2023-06-13 长春慧程科技有限公司 Cloud edge collaboration-based software development data management method and system
CN116257220B (en) * 2023-05-16 2023-08-08 长春慧程科技有限公司 Cloud edge collaboration-based software development data management method and system

Similar Documents

Publication Publication Date Title
US11657309B2 (en) Behavior analysis and visualization for a computer infrastructure
Meng et al. Localizing failure root causes in a microservice through causality inference
CN110399293B (en) System test method, device, computer equipment and storage medium
US7290048B1 (en) Method of semi-automatic data collection, data analysis, and model generation for the performance analysis of enterprise applications
CN111538731B (en) Automatic report generation system for industrial data
US8095514B2 (en) Treemap visualizations of database time
CN114548832B (en) Wind power equipment state evaluation method and system based on big data
CN107015901B (en) Log analysis method and device
CN108052020B (en) Chemical process simulator for intelligent manufacturing
CN115202620A (en) Software development system based on components
US20180307218A1 (en) System and method for allocating machine behavioral models
CN111581066A (en) Real-time report statistical analysis method and device
CN111444635B (en) System dynamics simulation modeling method and system based on XML language
CN113190426B (en) Stability monitoring method for big data scoring system
EP2348403B1 (en) Method and system for analyzing a legacy system based on trails through the legacy system
CN115168509A (en) Processing method and device of wind control data, storage medium and computer equipment
CN114385155A (en) vue project visualization tool generation method, device, equipment and storage medium
CN115225470A (en) Business abnormity monitoring method and device, electronic equipment and storage medium
CN111459984A (en) Log data processing system and method based on streaming processing
CN114996519B (en) Data processing method, device, electronic equipment, storage medium and product
Ebert et al. Metrics for quality analysis and improvement of object-oriented software
Soderborg Better Before Bigger Data
Kuruba et al. Real-time DevOps analytics in practice
US11940867B2 (en) Method for managing a plurality of events
CN115730283B (en) Account login wind control system, method, computer equipment and storage medium

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