CN116523544A - Software price measuring and calculating method, system, storage medium and equipment - Google Patents

Software price measuring and calculating method, system, storage medium and equipment Download PDF

Info

Publication number
CN116523544A
CN116523544A CN202310748475.8A CN202310748475A CN116523544A CN 116523544 A CN116523544 A CN 116523544A CN 202310748475 A CN202310748475 A CN 202310748475A CN 116523544 A CN116523544 A CN 116523544A
Authority
CN
China
Prior art keywords
target
text
software
price
calculating
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
CN202310748475.8A
Other languages
Chinese (zh)
Other versions
CN116523544B (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.)
Jiangxi Electromechanical Equipment Tendering Co ltd
Original Assignee
Jiangxi Electromechanical Equipment Tendering 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 Jiangxi Electromechanical Equipment Tendering Co ltd filed Critical Jiangxi Electromechanical Equipment Tendering Co ltd
Priority to CN202310748475.8A priority Critical patent/CN116523544B/en
Publication of CN116523544A publication Critical patent/CN116523544A/en
Application granted granted Critical
Publication of CN116523544B publication Critical patent/CN116523544B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0201Market modelling; Market analysis; Collecting market data
    • G06Q30/0206Price or cost determination based on market factors
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Finance (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Game Theory and Decision Science (AREA)
  • Data Mining & Analysis (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a software price measuring and calculating method, a system, a storage medium and equipment, functional demands in a software price measuring and calculating demand text are marked by acquiring the software price measuring and calculating demand text, after a marking result is obtained, the functional points can be calculated, and then the software development measuring and calculating price result is directly output according to the functional points, an adjustment factor, a human month conversion coefficient and the labor cost, so that the invalid working time of project personnel is saved, and meanwhile, the working efficiency is improved.

Description

Software price measuring and calculating method, system, storage medium and equipment
Technical Field
The invention belongs to the technical field of software price measurement and calculation, and particularly relates to a software price measurement and calculation method, a system, a storage medium and equipment.
Background
Currently, the wide application of office automation systems in various industries generates a large number of customized software development systems, and the development systems are customized according to the internal organization architecture and requirements of the actual company of a customer and in combination with projects.
In order to calculate the price of the software to be developed, the calculation is usually performed in a manual mode by combining the local personnel rate standard calculation cost according to the software scale, the estimated workload of each stage and the number of personnel to be input, and the calculation is more time-consuming and is easier to cause errors.
Disclosure of Invention
Based on the above, the embodiment of the invention provides a method, a system, a storage medium and equipment for measuring and calculating the price of software, which aim to solve the problems that in the prior art, the price of software is measured and calculated manually, so that time is wasted and errors are easy to occur.
A first aspect of an embodiment of the present invention provides a method for measuring and calculating a software price, the method including:
acquiring a software price measurement demand text, and marking functional demands in the software price measurement demand text, wherein the functional demands at least comprise internal logic functional demands and external interface functional demands;
according to the labeling result, respectively counting the function requirement quantity of the internal logic function requirement and the external interface function requirement, and calculating the function point according to the function requirement quantity of the internal logic function requirement and the function requirement quantity of the external interface function requirement;
and acquiring an adjustment factor, a human month conversion coefficient and labor cost, and calculating a software development and calculation price according to the function points, the adjustment factor, the human month conversion coefficient and the labor cost.
Further, the step of obtaining a software price measurement demand text and marking the function demand in the software price measurement demand text, wherein the function demand at least comprises an internal logic function demand and an external interface function demand comprises the following steps:
Acquiring the software price measurement demand text, and judging whether the format of the software price measurement demand text is a preset format or not;
if yes, judging whether the format of the software price measurement demand text is a text editable format or not;
if the format of the software price measurement demand text is judged to be a text editable format, adjusting the corresponding text in the software price measurement demand text according to preset parameters to obtain a first target text;
converting the first target text into a first target picture group according to a preset rule, and marking functional requirements on each first target picture in the first target picture group;
if the format of the software price measurement demand text is judged not to be the text editable format, performing size scaling on the corresponding software price measurement demand text according to the preset requirement to obtain a second target text;
and converting the second target text into a second target picture group according to the preset rule, and marking functional requirements on each second target picture in the second target picture group.
Further, the step of converting the first target text into a first target picture group according to a preset rule and labeling the functional requirements on each first target picture in the first target picture group includes:
Acquiring the first target text, adjusting a scroll bar in the first target text to an initial position, carrying out picture interception on the first target text according to a preset size to obtain a reference picture, and determining a first abscissa of a last row of pixels in the reference picture and pixel values of all pixels;
judging whether the characters at the bottom of the reference picture are complete or not according to the pixel values of all the pixels in the last row of pixels;
if the characters at the bottom of the reference picture are judged to be complete, determining a second abscissa of the last row of pixels with the first preset pixel value in the reference picture, and determining a target abscissa according to the first abscissa and the second abscissa;
if the characters at the bottom of the reference picture are not complete, searching in a direction away from the first abscissa by taking the first abscissa as a reference, determining a third abscissa in which a second preset pixel value appears, and determining a target abscissa according to the third abscissa;
and determining a first target picture of the first target picture group according to the target abscissa, and repeating the steps according to the first target picture to determine the rest first target pictures.
Further, the step of scaling the corresponding software price measurement demand text according to a preset requirement to obtain a second target text includes:
acquiring a first target character size of historical characters in a historical software price calculation demand text after adjustment according to preset parameters;
acquiring a second target character size of characters in a current software price calculation demand text, and determining a scaling ratio according to the first target character size and the second target character size;
and scaling the software price measurement demand text in an equal proportion according to the scaling ratio to obtain the second target text.
Further, in the step of counting the number of functional requirements of the internal logic function requirement and the external interface function requirement according to the labeling result, color labeling is performed on the internal logic function requirement and the external interface function requirement to obtain labeling diagrams with corresponding colors, wherein the number of times of occurrence of the first labeling diagram corresponding to the first preset color is counted as the number of functional requirements of the internal logic function requirement, and the number of times of occurrence of the second labeling diagram corresponding to the second preset color is counted as the number of functional requirements of the external interface function requirement.
Further, the step of counting the number of the internal logic function requirements and the number of the external interface function requirements according to the labeling result includes:
respectively acquiring all the label pictures corresponding to the same color, and respectively determining the occurrence times of the target pixel value on the target position in each label picture;
judging whether the times of occurrence of the target pixel value on the target position are the same in each label graph;
if yes, screening out target label graphs with the same occurrence times of the target pixel values on the target positions, and determining the coordinate positions of the occurrence times of the target pixel values on the target positions in each target label graph;
judging whether the coordinate positions of the target pixel values at the target positions are consistent in each target label graph;
if the coordinate positions of the target pixel values in the target positions are consistent in the target label drawings, determining the corresponding target label drawings as the same label drawing;
if the coordinate positions of the target pixel values in the target positions are inconsistent in the target label drawings, determining the corresponding target label drawings as different label drawings;
and respectively counting the function requirement quantity of the internal logic function requirement and the external interface function requirement according to the occurrence times of different color standard diagrams.
Further, the calculation formula of the software development and calculation price is expressed as follows:
M=AE/HM×F1;
wherein M is expressed as the software development measuring and calculating price, AE is expressed as the adjusted workload, HM is expressed as a human month conversion coefficient, and F1 is expressed as the labor cost.
A second aspect of an embodiment of the present invention provides a software price calculating system, the system comprising:
the labeling module is used for acquiring a software price measurement demand text and labeling functional demands in the software price measurement demand text, wherein the functional demands at least comprise internal logic functional demands and external interface functional demands;
the function point calculation module is used for respectively counting the function requirement quantity of the internal logic function requirement and the external interface function requirement according to the labeling result, and calculating the function point according to the function requirement quantity of the internal logic function requirement and the function requirement quantity of the external interface function requirement;
the software development measuring and calculating price calculating module is used for acquiring the adjustment factors, the human month conversion coefficients and the labor cost and calculating the software development measuring and calculating price according to the function points, the adjustment factors, the human month conversion coefficients and the labor cost.
A third aspect of an embodiment of the present invention provides a computer-readable storage medium comprising:
the readable storage medium stores one or more programs which when executed by a processor implement the software price measuring method of the first aspect.
A fourth aspect of an embodiment of the present invention provides an electronic device, including a memory and a processor, wherein:
the memory is used for storing a computer program;
the processor is configured to implement the software price calculating method of the first aspect when executing the computer program stored on the memory.
According to the software price measuring and calculating method, the system, the storage medium and the equipment, the functional requirements in the software price measuring and calculating requirement text are marked by acquiring the software price measuring and calculating requirement text, after the marking result is obtained, the functional points can be calculated, and then the software development measuring and calculating price result is directly output according to the functional points, the adjustment factors, the human month conversion coefficient and the labor cost, so that the invalid working time of project personnel is saved, and meanwhile, the working efficiency is improved.
Drawings
FIG. 1 is a flowchart of a software price calculating method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a target location in a label;
fig. 3 is a schematic structural diagram of a software price calculating system according to a third embodiment of the present invention;
fig. 4 is a block diagram of an electronic device according to a fourth embodiment of the present invention.
The following detailed description will be further described with reference to the above-described drawings.
Detailed Description
In order that the invention may be readily understood, a more complete description of the invention will be rendered by reference to the appended drawings. Several embodiments of the invention are presented in the figures. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
It will be understood that when an element is referred to as being "mounted" on another element, it can be directly on the other element or intervening elements may also be present. When an element is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may also be present. The terms "vertical," "horizontal," "left," "right," and the like are used herein for illustrative purposes only.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. The term "and/or" as used herein includes any and all combinations of one or more of the associated listed items.
Example 1
Referring to fig. 1, fig. 1 shows a software price calculating method according to an embodiment of the present invention, and the method specifically includes steps S01 to S03.
Step S01, a software price measurement demand text is obtained, and functional demands in the software price measurement demand text are marked, wherein the functional demands at least comprise internal logic functional demands and external interface functional demands.
Specifically, a software price measurement demand text is obtained, whether the format of the software price measurement demand text is a preset format is judged, in this embodiment, the preset format may be a word format, a pdf format and a txt format, that is, an accepted text format should be a currently mainstream text format, when it is judged that the format of the software price measurement demand text is one of the word format, the pdf format and the txt format, it is further judged whether the format of the software price measurement demand text is a word editable format, that is, whether the format of the software price measurement demand text is one of the word format and the txt format, and if it is judged that the format of the software price measurement demand text is one of the word format and the txt format, the corresponding text in the software price measurement demand text is adjusted according to preset parameters, so as to obtain a first target text.
In this embodiment, parameters such as fonts, shapes, sizes and the like of characters in a software price measurement and calculation requirement text can be unified, for example, fonts are unified to Song Ti, shapes are unified to conventional shapes, sizes are unified to four numbers, so that a first target text with unified characters is obtained, a user can conveniently view the first target text, then the first target text is converted into a first target picture group according to a preset rule, labeling of function requirements is performed on each first target picture in the first target picture group, specifically, the first target text is obtained, a scroll bar in the first target text is adjusted to an initial position, namely, the scroll bar is adjusted to the top, picture interception is performed on the first target text according to a preset size, namely, a preset length and width size, so as to obtain a reference picture, a first abscissa of a last row of pixels in the reference picture and pixel values of pixels are determined, after the reference picture is obtained, each pixel point in the reference picture is determined, a rectangular coordinate system can be established by taking a corner of the reference picture as an origin, and the coordinate position of each pixel point and the pixel value of the pixel point corresponding to the pixel point can be determined.
Further, according to the pixel value of each pixel in the last row of pixels, judging whether the characters at the bottom of the reference picture are complete, specifically, because the font of the text is black and the background is white, it can be understood that if the pixel value of each pixel in the last row of pixels appears to belong to a non-white pixel value, the characters at the bottom of the reference picture are incomplete, namely, the reference picture divides the characters up and down; if the pixel value of each pixel in the last row of pixels does not appear to be a non-white pixel value, the text at the bottom of the reference picture is complete.
If the characters at the bottom of the reference picture are judged to be complete, determining a second abscissa of the last row of pixels with a first preset pixel value in the reference picture, wherein the first preset pixel value is a non-white pixel value and can be a range value, the last row of pixels have the same second abscissa, determining a target abscissa according to the first abscissa and the second abscissa, and specifically, taking the intermediate value of the first abscissa and the second abscissa as the target abscissa, for example, the first abscissa is 1, the second abscissa is 3, and the target abscissa is 2; if the first abscissa is 1 and the second abscissa is 4, the target abscissa may be either 2 or 3.
If the characters at the bottom of the reference picture are incomplete, searching is carried out in a direction away from the first abscissa by taking the first abscissa as a reference, a third abscissa where a second preset pixel value appears is determined, and a target abscissa is determined according to the third abscissa, wherein the second preset pixel value is a pixel value corresponding to white, namely, the upper boundary of the current incomplete characters is searched, and specifically, the target abscissa is located above the third abscissa, and the pixel value corresponding to the pixel point on the target abscissa is a pixel value corresponding to white.
According to the target abscissa, a first target picture of the first target picture group is determined, and the steps are repeated according to the first target picture to determine the rest of the first target pictures, and it can be understood that, as the target abscissa is determined, the size of the first target picture is changed from the preset size to the current adjusted size, that is, the width of the picture is unchanged, the length is changed, meanwhile, the rest of the first target pictures are continuously determined downwards based on the target abscissa, the picture is intercepted with the preset size, and then the adjustment is performed according to the text integrity.
In addition, if the format of the software price measurement demand text is judged to be not in a text editable format, namely, a pdf format, the corresponding software price measurement demand text is scaled according to a preset requirement to obtain a second target text, specifically, first, a first target text size, in which historical text in the historical software price measurement demand text is adjusted according to a preset parameter, is obtained, namely, the first target text size is taken as a reference, the second target text size is adjusted, further, the second target text size of the text in the current software price measurement demand text is obtained, a scaling ratio is determined according to the first target text size and the second target text size, and the software price measurement demand text is scaled in an equal proportion according to the scaling ratio to obtain the second target text, so that the text size in the second target text is consistent with the text size in the first target text, and the user can conveniently check.
Finally, converting the second target text into a second target picture group according to a preset rule, and marking functional requirements on each second target picture in the second target picture group, wherein the second target text and the first target text adopt the same rule to acquire the second target picture group, namely firstly intercepting pictures with a preset size, then adjusting according to the text integrity, and sequentially determining all second target pictures.
Step S02, respectively counting the function requirement quantity of the internal logic function requirement and the external interface function requirement according to the labeling result, and calculating the function point number according to the function requirement quantity of the internal logic function requirement and the function requirement quantity of the external interface function requirement.
In this embodiment, the user needs to perform color labeling on the internal logic function requirement and the external interface function requirement to obtain labeling charts of corresponding colors respectively, where the number of times of occurrence of the first labeling chart corresponding to the first preset color is counted as the number of functional requirements of the internal logic function requirement, and the number of times of occurrence of the second labeling chart corresponding to the second preset color is counted as the number of functional requirements of the external interface function requirement.
Specifically, the calculation formula of the function point number is:
UFP=35×ILF+15×EIF;
The UFP is expressed as a function point number, also called an unregulated function point number, the ILF is expressed as a function requirement number of internal logic function requirements, and the EIF is expressed as a function requirement number of external interface function requirements.
And S03, acquiring an adjustment factor, a human month conversion coefficient and labor cost, and calculating a software development and calculation price according to the function points, the adjustment factor, the human month conversion coefficient and the labor cost.
Specifically, the calculation formula of the software development and calculation price is expressed as:
M=AE/HM×F1;
wherein M is expressed as the software development measuring and calculating price, AE is expressed as the adjusted workload, HM is expressed as a human month conversion coefficient, and F1 is expressed as the labor cost.
It should be noted that, according to practical situations, the price of software development and measurement can be calculated specifically by selecting national standard "software engineering software development cost measurement Specification" (GB/T36964-2018) or line standard "software development cost measurement Specification" (SJ/T11463-2013).
Wherein ae=ue×a×il×l×t according to national standard "software engineering software development cost metric Specification" (GB/T36964-2018), specifically AE is expressed as adjusted workload in terms of hours; the UE represents unadjusted workload, and the unit is man-hour; ue=s×c, S being the adjusted software scale in function points; s=ufp×cf, UFP represents an unadjusted number of function points, unit is a function point, CF represents a scale change adjustment factor, and the value range is 1.0 to 2.0, in this embodiment, the budget phase takes 2.0, the bid phase takes 1.5, the bid phase takes 1.26, and the plan phase takes 1.0; c represents the time consumption rate of the function points, and the unit is each function point in the time of people; a is an application field adjustment factor, and the value range is 0.8-1.2; IL is expressed as a software integrity level, and the value range is 1.0-1.8 (assuming that the reference value range of each level of the software integrity calculated according to industry history data is that the level A is 1.6-1.8, the level B is 1.3-1.5, the level C is 1.1-1.2, and the level D is 1.0, the determination method is GB/T18492-2001); l represents a development language adjustment factor, and the value range is 0.8-1.2; t is the maximum team scale adjustment factor, and the value range is 0.8-1.2.
In addition, ae=ue×swf×rdf according to the line standard "software development cost metrics Specification" (Sj/T11463-2013), specifically AE is expressed as adjusted workload in hours; the UE represents unadjusted workload, and the unit is man-hour; ue=s×pdr, S being expressed as adjusted software scale in function points; s=ufp×cf, where UFP represents an unadjusted function point number in units of function points; CF is denoted as a scale change adjustment factor, and in this embodiment, the budget phase takes 1.39, the bid phase takes 1.22, and the plan phase takes 1.0; PDR is expressed as the time consumption rate of the function points, and the unit is each function point in the time of people; SWF is expressed as a software factor adjustment factor, typically comprising a quality requirement adjustment factor and an application type adjustment factor:
SWF=SF×BD×AT×QR;
wherein SF is expressed as a scale adjustment factor, and the value is shown in Table 1; BD is expressed as a business field adjustment factor, and the value is shown in Table 2; AT is expressed as an application type adjustment factor, and the value is shown in Table 3; QR is expressed as a quality characteristic adjustment factor and values are shown in table 4.
Further, RDF is expressed as a development factor adjustment factor, typically comprising a development language, a development team background, etc., wherein:
RDF=SL×DT;
specifically, SL is expressed as a development language adjustment factor, and the value is shown in Table 5; DT is expressed as a development team background adjustment factor and the values are shown in Table 6.
TABLE 1
TABLE 2
TABLE 3 Table 3
TABLE 4 Table 4
TABLE 5
TABLE 6
From the above, the function points, the adjustment factors, the human month conversion coefficients and the human cost are input into the corresponding calculation formulas, and finally the software development and calculation prices can be automatically output, wherein the adjustment factors, the human month conversion coefficients and the human cost can be adjusted according to the actual situation.
In summary, according to the software price measuring and calculating method in the embodiment of the invention, the functional requirements in the software price measuring and calculating requirement text are marked by acquiring the software price measuring and calculating requirement text, after the marking result is obtained, the functional points can be calculated, and then the software development measuring and calculating price result is directly output according to the functional points, the adjustment factors, the human month conversion coefficient and the labor cost, so that the invalid working time of project personnel is saved, and meanwhile, the working efficiency is improved.
Example two
The second embodiment of the present invention also provides a software price calculating method, which is different from the first embodiment in that according to the labeling result, the steps of respectively counting the function requirement number of the internal logic function requirement and the external interface function requirement specifically include:
Firstly, all the labeling diagrams corresponding to the same color are respectively obtained, and the occurrence times of the target pixel value on the target position in each labeling diagram are respectively determined, for example, when the internal logic function requirement is labeled through yellow, the external interface function requirement is labeled through green, and then the occurrence times of the yellow and the green in the text are respectively counted.
Further, whether the number of times of occurrence of the target pixel value in the target position is the same in each label graph is judged, wherein the target position represents a position corresponding to each pixel point in a certain horizontal axis and can be a middle position of the label graph, and specifically refer to fig. 2, which is a schematic diagram of the target position in the certain label graph.
Specifically, judging whether the coordinate positions of the target pixel values in the target positions are consistent in each target label graph, if the coordinate positions of the target pixel values in the target positions are consistent in each target label graph, determining the corresponding target label graph as the same label graph, namely, the condition that the same repeated label is required exists; and if the coordinate positions of the target pixel values in the target positions are inconsistent in the target annotation pictures, determining the corresponding target annotation pictures as different annotation pictures. And finally, respectively counting the function requirement quantity of the internal logic function requirement and the external interface function requirement according to the occurrence times of different color standard diagrams.
In summary, the software price calculating method in the embodiment of the invention obtains the occurrence times and the occurrence coordinate positions of the target pixel values of the target positions in each label graph, thereby achieving the purpose of automatically identifying repeated labels and improving the accuracy of software price calculation.
Example III
Referring to fig. 3, fig. 3 is a schematic structural diagram of a software price calculating system according to a third embodiment of the present invention, where the software price calculating system 200 includes: the labeling module 21, the function point calculation module 22 and the software development measuring and calculating price calculation module 23, wherein:
The labeling module 21 is configured to obtain a software price measurement requirement text, and label functional requirements in the software price measurement requirement text, where the functional requirements at least include an internal logic functional requirement and an external interface functional requirement;
the function point calculation module 22 is configured to count the number of functional requirements of the internal logic function requirement and the number of functional requirements of the external interface function requirement according to the labeling result, and calculate the number of function points according to the number of functional requirements of the internal logic function requirement and the number of functional requirements of the external interface function requirement, where the internal logic function requirement and the external interface function requirement are color-labeled to obtain labeling diagrams with corresponding colors, where the number of times of occurrence of the first labeling diagram corresponding to a first preset color is counted as the number of functional requirements of the internal logic function requirement, and the number of times of occurrence of the second labeling diagram corresponding to a second preset color is counted as the number of functional requirements of the external interface function requirement;
the software development and calculation price calculating module 23 is configured to obtain an adjustment factor, a human month conversion coefficient, and a human cost, and calculate a software development and calculation price according to the function point number, the adjustment factor, the human month conversion coefficient, and the human cost, where a calculation formula of the software development and calculation price is expressed as:
M=AE/HM×F1;
Wherein M is expressed as the software development measuring and calculating price, AE is expressed as the adjusted workload, HM is expressed as a human month conversion coefficient, and F1 is expressed as the labor cost.
Further, in other embodiments of the present invention, the labeling module 21 includes:
the first judging unit is used for acquiring the software price measuring and calculating requirement text and judging whether the format of the software price measuring and calculating requirement text is a preset format or not;
the second judging unit is used for judging whether the format of the software price measurement demand text is a text editable format or not when judging that the format of the software price measurement demand text is a preset format;
the adjusting unit is used for adjusting the corresponding characters in the software price measurement demand text according to preset parameters to obtain a first target text if the format of the software price measurement demand text is judged to be a character editable format;
the first conversion unit is used for converting the first target text into a first target picture group according to a preset rule and labeling the functional requirements on each first target picture in the first target picture group;
the size scaling unit is used for performing size scaling on the corresponding software price measurement demand text according to the preset requirement to obtain a second target text if the format of the software price measurement demand text is judged not to be the text editable format;
The second conversion unit is used for converting the second target text into a second target picture group according to the preset rule, and marking the functional requirements on each second target picture in the second target picture group.
Further, in other embodiments of the present invention, the first converting unit includes:
the picture intercepting sub-unit is used for acquiring the first target text, adjusting a scroll bar in the first target text to an initial position, intercepting the picture of the first target text according to a preset size to obtain a reference picture, and determining a first abscissa of a last row of pixels in the reference picture and pixel values of all pixels;
a first judging subunit, configured to judge whether the text at the bottom of the reference picture is complete according to the pixel value of each pixel in the last row of pixels;
a first target abscissa determining subunit, configured to determine, if it is determined that the text at the bottom of the reference picture is complete, a second abscissa of a last row of pixels in which a first preset pixel value appears in the reference picture, and determine a target abscissa according to the first abscissa and the second abscissa;
A second target abscissa determining subunit, configured to, if it is determined that the text at the bottom of the reference picture is incomplete, search in a direction away from the first abscissa with the first abscissa as a reference, determine a third abscissa in which a second preset pixel value appears, and determine a target abscissa according to the third abscissa;
and the first target picture group determining subunit is used for determining a first target picture of the first target picture group according to the target abscissa, and repeating the steps according to the first target picture so as to determine the rest first target pictures.
Further, in other embodiments of the present invention, the size scaling unit includes:
the adjusting subunit is used for acquiring a first target character size of the historical characters in the historical software price calculating demand text after adjustment according to preset parameters;
the scaling proportion determining subunit is used for obtaining a second target character size of characters in the current software price measuring and calculating demand text, and determining scaling proportion according to the first target character size and the second target character size;
and the scaling subunit is used for scaling the software price measuring and calculating requirement text in equal proportion according to the scaling proportion so as to obtain the second target text.
Further, in other embodiments of the present invention, the function point calculation module 22 includes:
the acquisition unit is used for respectively acquiring all the label pictures corresponding to the same color and respectively determining the occurrence times of the target pixel value on the target position in each label picture;
the third judging unit is used for judging whether the times of the occurrence of the target pixel value on the target position in each label graph are the same or not;
the coordinate position determining unit is used for screening out target labeling graphs with the same occurrence frequency of the target pixel value on the target position when judging that the occurrence frequency of the target pixel value on the target position is the same in all the labeling graphs, and determining the coordinate position of the occurrence frequency of the target pixel value on the target position in all the target labeling graphs;
a fourth judging unit, configured to judge whether coordinate positions of the target pixel values at the target positions in each of the target label graphs are consistent;
the first determining unit is used for determining each corresponding target annotation graph as the same annotation graph if the coordinate positions of the target pixel values at the target positions are consistent in each target annotation graph;
the second determining unit is used for determining each corresponding target annotation graph as a different annotation graph if the coordinate positions of the target pixel values at the target positions are inconsistent in each target annotation graph;
And the statistics unit is used for respectively counting the function requirement quantity of the internal logic function requirement and the external interface function requirement according to the occurrence times of different color standard diagrams.
Example IV
In another aspect, referring to fig. 4, a block diagram of an electronic device according to a fourth embodiment of the present invention is provided, including a memory 20, a processor 10, and a computer program 30 stored in the memory and capable of running on the processor, where the processor 10 implements the software price measuring method described above when executing the computer program 30.
The processor 10 may be, among other things, a central processing unit (Central Processing Unit, CPU), a controller, a microcontroller, a microprocessor or other data processing chip for running program code or processing data stored in the memory 20, e.g. executing an access restriction program or the like, in some embodiments.
The memory 20 includes at least one type of readable storage medium including flash memory, a hard disk, a multimedia card, a card memory (e.g., SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, etc. The memory 20 may in some embodiments be an internal storage unit of the electronic device, such as a hard disk of the electronic device. The memory 20 may also be an external storage device of the electronic device in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash Card (Flash Card) or the like. Further, the memory 20 may also include both internal storage units and external storage devices of the electronic device. The memory 20 may be used not only for storing application software of an electronic device and various types of data, but also for temporarily storing data that has been output or is to be output.
It should be noted that the structure shown in fig. 4 does not constitute a limitation of the electronic device, and in other embodiments the electronic device may comprise fewer or more components than shown, or may combine certain components, or may have a different arrangement of components.
The embodiment of the invention also provides a computer readable storage medium, on which a computer program is stored, which when being executed by a processor, implements the software price measuring method as described above.
Those of skill in the art will appreciate that the logic and/or steps represented in the flow diagrams or otherwise described herein, e.g., a ordered listing of executable instructions for implementing logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electrical device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium may even be paper or other suitable medium upon which the program is printed, as the program may be electronically captured, via, for instance, optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner, if necessary, and then stored in a computer memory.
It is to be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, may be implemented using any one or combination of the following techniques, as is well known in the art: discrete logic circuits having logic gates for implementing logic functions on data states, application specific integrated circuits having suitable combinational logic gates, programmable Gate Arrays (PGAs), field Programmable Gate Arrays (FPGAs), and the like.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The foregoing examples illustrate only a few embodiments of the invention, which are described in detail and are not to be construed as limiting the scope of the invention. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the invention, which are all within the scope of the invention. Accordingly, the scope of protection of the present invention is to be determined by the appended claims.

Claims (10)

1. A method for measuring and calculating a price of software, the method comprising:
Acquiring a software price measurement demand text, and marking functional demands in the software price measurement demand text, wherein the functional demands at least comprise internal logic functional demands and external interface functional demands;
according to the labeling result, respectively counting the function requirement quantity of the internal logic function requirement and the external interface function requirement, and calculating the function point according to the function requirement quantity of the internal logic function requirement and the function requirement quantity of the external interface function requirement;
and acquiring an adjustment factor, a human month conversion coefficient and labor cost, and calculating a software development and calculation price according to the function points, the adjustment factor, the human month conversion coefficient and the labor cost.
2. The method for measuring and calculating software price according to claim 1, wherein the step of obtaining a software price measuring and calculating requirement text and marking functional requirements in the software price measuring and calculating requirement text, wherein the functional requirements at least include an internal logic functional requirement and an external interface functional requirement includes:
acquiring the software price measurement demand text, and judging whether the format of the software price measurement demand text is a preset format or not;
If yes, judging whether the format of the software price measurement demand text is a text editable format or not;
if the format of the software price measurement demand text is judged to be a text editable format, adjusting the corresponding text in the software price measurement demand text according to preset parameters to obtain a first target text;
converting the first target text into a first target picture group according to a preset rule, and marking functional requirements on each first target picture in the first target picture group;
if the format of the software price measurement demand text is judged not to be the text editable format, performing size scaling on the corresponding software price measurement demand text according to the preset requirement to obtain a second target text;
and converting the second target text into a second target picture group according to the preset rule, and marking functional requirements on each second target picture in the second target picture group.
3. The method for measuring and calculating software price according to claim 2, wherein the step of converting the first target text into a first target picture group according to a preset rule and labeling the functional requirement on each first target picture in the first target picture group comprises the steps of:
Acquiring the first target text, adjusting a scroll bar in the first target text to an initial position, carrying out picture interception on the first target text according to a preset size to obtain a reference picture, and determining a first abscissa of a last row of pixels in the reference picture and pixel values of all pixels;
judging whether the characters at the bottom of the reference picture are complete or not according to the pixel values of all the pixels in the last row of pixels;
if the characters at the bottom of the reference picture are judged to be complete, determining a second abscissa of the last row of pixels with the first preset pixel value in the reference picture, and determining a target abscissa according to the first abscissa and the second abscissa;
if the characters at the bottom of the reference picture are not complete, searching in a direction away from the first abscissa by taking the first abscissa as a reference, determining a third abscissa in which a second preset pixel value appears, and determining a target abscissa according to the third abscissa;
and determining a first target picture of the first target picture group according to the target abscissa, and repeating the steps according to the first target picture to determine the rest first target pictures.
4. A software price calculating method according to claim 3, wherein said step of scaling the corresponding software price calculating demand text by a preset requirement to obtain a second target text comprises:
acquiring a first target character size of historical characters in a historical software price calculation demand text after adjustment according to preset parameters;
acquiring a second target character size of characters in a current software price calculation demand text, and determining a scaling ratio according to the first target character size and the second target character size;
and scaling the software price measurement demand text in an equal proportion according to the scaling ratio to obtain the second target text.
5. The method for measuring and calculating software price according to claim 4, wherein in the step of counting the number of functional requirements of the internal logic functional requirement and the external interface functional requirement according to the marking result, color marking is performed on the internal logic functional requirement and the external interface functional requirement to obtain marking diagrams with corresponding colors, wherein the number of times of occurrence of the first marking diagram corresponding to the first preset color is counted as the number of functional requirements of the internal logic functional requirement, and the number of times of occurrence of the second marking diagram corresponding to the second preset color is counted as the number of functional requirements of the external interface functional requirement.
6. The software price calculating method according to claim 5, wherein the step of counting the function requirement numbers of the internal logic function requirement and the external interface function requirement, respectively, based on the labeling result includes:
respectively acquiring all the label pictures corresponding to the same color, and respectively determining the occurrence times of the target pixel value on the target position in each label picture;
judging whether the times of occurrence of the target pixel value on the target position are the same in each label graph;
if yes, screening out target label graphs with the same occurrence times of the target pixel values on the target positions, and determining the coordinate positions of the occurrence times of the target pixel values on the target positions in each target label graph;
judging whether the coordinate positions of the target pixel values at the target positions are consistent in each target label graph;
if the coordinate positions of the target pixel values in the target positions are consistent in the target label drawings, determining the corresponding target label drawings as the same label drawing;
if the coordinate positions of the target pixel values in the target positions are inconsistent in the target label drawings, determining the corresponding target label drawings as different label drawings;
And respectively counting the function requirement quantity of the internal logic function requirement and the external interface function requirement according to the occurrence times of different color standard diagrams.
7. The software price calculating method according to claim 6, wherein the calculation formula of the software development calculating price is expressed as:
M=AE/HM×F1;
wherein M is expressed as the software development measuring and calculating price, AE is expressed as the adjusted workload, HM is expressed as a human month conversion coefficient, and F1 is expressed as the labor cost.
8. A software price measuring system, the system comprising:
the labeling module is used for acquiring a software price measurement demand text and labeling functional demands in the software price measurement demand text, wherein the functional demands at least comprise internal logic functional demands and external interface functional demands;
the function point calculation module is used for respectively counting the function requirement quantity of the internal logic function requirement and the external interface function requirement according to the labeling result, and calculating the function point according to the function requirement quantity of the internal logic function requirement and the function requirement quantity of the external interface function requirement;
the software development measuring and calculating price calculating module is used for acquiring the adjustment factors, the human month conversion coefficients and the labor cost and calculating the software development measuring and calculating price according to the function points, the adjustment factors, the human month conversion coefficients and the labor cost.
9. A computer-readable storage medium, comprising:
the readable storage medium stores one or more programs which when executed by a processor implement the software price measuring method of any of claims 1-7.
10. An electronic device comprising a memory and a processor, wherein:
the memory is used for storing a computer program;
the processor is configured to implement the software price calculating method according to any of claims 1-7 when executing the computer program stored on the memory.
CN202310748475.8A 2023-06-25 2023-06-25 Software price measuring and calculating method, system, storage medium and equipment Active CN116523544B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310748475.8A CN116523544B (en) 2023-06-25 2023-06-25 Software price measuring and calculating method, system, storage medium and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310748475.8A CN116523544B (en) 2023-06-25 2023-06-25 Software price measuring and calculating method, system, storage medium and equipment

Publications (2)

Publication Number Publication Date
CN116523544A true CN116523544A (en) 2023-08-01
CN116523544B CN116523544B (en) 2023-11-14

Family

ID=87396209

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310748475.8A Active CN116523544B (en) 2023-06-25 2023-06-25 Software price measuring and calculating method, system, storage medium and equipment

Country Status (1)

Country Link
CN (1) CN116523544B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050157930A1 (en) * 2004-01-20 2005-07-21 Robert Cichielo Method and system for performing image mark recognition
US20100272361A1 (en) * 2009-04-27 2010-10-28 Khorsheed Mohammad S System and methods for arabic text recognition based on effective arabic text feature extraction
CN109271201A (en) * 2018-09-27 2019-01-25 华东师范大学 A kind of software pricing system of intelligent function point identification
CN109375948A (en) * 2018-09-27 2019-02-22 华东师范大学 A kind of software pricing method of intelligent function point identification
CN109460908A (en) * 2018-10-29 2019-03-12 成都安美勤信息技术股份有限公司 Software engineering cost evaluation method
CN109522898A (en) * 2018-09-18 2019-03-26 平安科技(深圳)有限公司 Handwriting samples picture mask method, device, computer equipment and storage medium
CN110363102A (en) * 2019-06-24 2019-10-22 北京融汇金信信息技术有限公司 A kind of identification of objects process method and device of pdf document
CN111274817A (en) * 2020-01-16 2020-06-12 北京航空航天大学 Intelligent software cost measurement method based on natural language processing technology
CN112258234A (en) * 2020-10-27 2021-01-22 重庆菲迪克信息系统工程项目管理有限公司 Software system cost evaluation model based on function points and human cost
CN115457565A (en) * 2022-09-13 2022-12-09 北京中电汇智科技有限公司 OCR character recognition method, electronic equipment and storage medium
CN115758451A (en) * 2022-11-18 2023-03-07 中国平安财产保险股份有限公司 Data labeling method, device, equipment and storage medium based on artificial intelligence

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050157930A1 (en) * 2004-01-20 2005-07-21 Robert Cichielo Method and system for performing image mark recognition
US20100272361A1 (en) * 2009-04-27 2010-10-28 Khorsheed Mohammad S System and methods for arabic text recognition based on effective arabic text feature extraction
CN109522898A (en) * 2018-09-18 2019-03-26 平安科技(深圳)有限公司 Handwriting samples picture mask method, device, computer equipment and storage medium
CN109271201A (en) * 2018-09-27 2019-01-25 华东师范大学 A kind of software pricing system of intelligent function point identification
CN109375948A (en) * 2018-09-27 2019-02-22 华东师范大学 A kind of software pricing method of intelligent function point identification
CN109460908A (en) * 2018-10-29 2019-03-12 成都安美勤信息技术股份有限公司 Software engineering cost evaluation method
CN110363102A (en) * 2019-06-24 2019-10-22 北京融汇金信信息技术有限公司 A kind of identification of objects process method and device of pdf document
CN111274817A (en) * 2020-01-16 2020-06-12 北京航空航天大学 Intelligent software cost measurement method based on natural language processing technology
CN112258234A (en) * 2020-10-27 2021-01-22 重庆菲迪克信息系统工程项目管理有限公司 Software system cost evaluation model based on function points and human cost
CN115457565A (en) * 2022-09-13 2022-12-09 北京中电汇智科技有限公司 OCR character recognition method, electronic equipment and storage medium
CN115758451A (en) * 2022-11-18 2023-03-07 中国平安财产保险股份有限公司 Data labeling method, device, equipment and storage medium based on artificial intelligence

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
CHARLES R. SYMONS: "Function Point Analysis: Difficulties and Improvements", IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, no. 14, pages 2 - 10 *
俞建松;曹冬林;李绍滋;林达真;: "基于互联网搜索与反馈验证的图像自动标注", 计算机工程, no. 24, pages 211 - 215 *
张垒: "LH公司软件项目成本管理", CNKI优秀硕士学位论文全文库, pages 1 - 73 *
游京翰: "基于深度学习的文字序列识别系统", 《CNKI优秀硕士学位论文全文库》, pages 1 - 51 *

Also Published As

Publication number Publication date
CN116523544B (en) 2023-11-14

Similar Documents

Publication Publication Date Title
WO2021115490A1 (en) Seal character detection and recognition method, device, and medium for complex environments
CN111355941B (en) Image color real-time correction method, device and system
CN109886928B (en) Target cell marking method, device, storage medium and terminal equipment
US20210150725A1 (en) Automatic sizing and placement of text within a digital image
CN111144493B (en) Method for automatically identifying algorithm index test, storage medium and electronic terminal
CN109840278A (en) Histogram data switching control method, device, computer equipment and storage medium
CN109656652B (en) Webpage chart drawing method, device, computer equipment and storage medium
CN111061933A (en) Picture sample library construction method and device, readable storage medium and terminal equipment
CN115730605A (en) Data analysis method based on multi-dimensional information
CN116523544B (en) Software price measuring and calculating method, system, storage medium and equipment
CN116956838A (en) Project determining method and device for engineering quantity list
CN114724158A (en) Engineering quantity auditing method and system, electronic equipment and storage medium
US20090027395A1 (en) Machine-implemented method and electronic device for presenting a normalized graph for a plurality of data sets
CN113947730A (en) Remote sensing data identification method and device, electronic equipment and readable storage medium
CN112417826A (en) PDF online editing method and device, electronic equipment and readable storage medium
CN105512595A (en) Barcode correcting method and device
CN117197479A (en) Image analysis method, device, computer equipment and storage medium applying corn ear outer surface
CN116776436A (en) Building plan-oriented area data analysis method and device
CN113158632B (en) Table reconstruction method for CAD drawing and computer readable storage medium
CN112149402B (en) Document matching method, device, electronic equipment and computer readable storage medium
CN116956837A (en) Project determining method and device for engineering quantity list
CN113961672A (en) Information labeling method and device, electronic equipment and storage medium
CN110263785A (en) A kind of automatic meter reading method, device and computer readable storage medium
CN112698877A (en) Data processing method and system
CN113656486B (en) Method, device, terminal equipment and storage medium for generating visualized object

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