CN114529262A - Project development time calculation method, device, equipment and storage medium - Google Patents

Project development time calculation method, device, equipment and storage medium Download PDF

Info

Publication number
CN114529262A
CN114529262A CN202210158363.2A CN202210158363A CN114529262A CN 114529262 A CN114529262 A CN 114529262A CN 202210158363 A CN202210158363 A CN 202210158363A CN 114529262 A CN114529262 A CN 114529262A
Authority
CN
China
Prior art keywords
project
target
development
time
result
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
CN202210158363.2A
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.)
Ping An International Smart City Technology Co Ltd
Original Assignee
Ping An International Smart City 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 Ping An International Smart City Technology Co Ltd filed Critical Ping An International Smart City Technology Co Ltd
Priority to CN202210158363.2A priority Critical patent/CN114529262A/en
Publication of CN114529262A publication Critical patent/CN114529262A/en
Pending legal-status Critical Current

Links

Images

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
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Engineering & Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Operations Research (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Data Mining & Analysis (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (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 application relates to the technical field of artificial intelligence, and discloses a project development working hour calculation method, a device, equipment and a storage medium, wherein the method comprises the following steps: when a target project issuing instruction is received, acquiring target project starting time; when the starting time of the target project is reached, all initial project files of the developing project are obtained; periodically acquiring a working area picture, and adding a preset time length to the accumulated working time length when the working area picture comprises a picture element of a target user; when a target project completion instruction is received, acquiring a result project file of each in-development project, and comparing the initial project file with the result project file to obtain the information variation of each in-development project; accumulating the information variation of each developing project to obtain the total information variation; obtaining a change occupation ratio according to the ratio of the target information variation of the target item to the total information variation; and obtaining the project development working hours according to the product of the change occupation ratio and the accumulated working time.

Description

Project development time calculation method, device, equipment and storage medium
Technical Field
The present application relates to the field of artificial intelligence technologies, and in particular, to a method, an apparatus, a device, and a storage medium for calculating project development time.
Background
At present, the project development of enterprises has the condition of multi-project parallel development, and the multi-project parallel development can reasonably link and utilize the working time of developers. However, in the prior art, when multiple projects are developed in parallel, the man-hour spent on developing each project is counted by manually reporting the man-hour records, and the man-hour spent on developing the projects cannot be intelligently calculated.
Disclosure of Invention
The application mainly aims to provide a project development working hour calculation method, a project development working hour calculation device and a storage medium, and aims to realize intelligent project development working hours calculation.
In a first aspect, the present application provides a project development man-hour calculation method, including:
receiving a target project issuing instruction, and acquiring target project starting time according to the target project issuing instruction;
when the target project starting time is reached, respectively acquiring all initial project files of the development projects corresponding to the target project starting time;
periodically acquiring a working area picture according to a preset time length, judging whether the working area picture comprises picture elements of a target user or not through a preset image recognition model, and adding the preset time length to an accumulated working time length when the working area picture comprises the picture elements of the target user;
when a target project completion instruction is received, acquiring a result project file of each in-development project;
comparing the initial project file and the result project file corresponding to each in-process development project to obtain the information variation corresponding to each in-process development project;
accumulating the information variation of each in-development project to obtain total information variation;
acquiring the target information variation of the target item, and obtaining the change occupation ratio of the target item according to the ratio of the target information variation to the total information variation;
and obtaining the project development working hours of the target project according to the product of the change occupation ratio and the accumulated working time.
In a second aspect, the present application also provides a project development man-hour calculation device including:
the project instruction receiving module is used for receiving a target project issuing instruction and acquiring target project starting time according to the target project issuing instruction;
the starting file acquisition module is used for respectively acquiring all starting project files of the development project corresponding to the target project starting time when the target project starting time is reached;
the regional picture analysis module is used for periodically acquiring a working regional picture according to a preset time length, judging whether the working regional picture comprises a picture element of a target user or not through a preset image recognition model, and adding the preset time length to an accumulated working time length when the working regional picture comprises the picture element of the target user;
the completion instruction receiving module is used for acquiring the result project file of each in-development project when a target project completion instruction is received;
the variable quantity calculation module is used for comparing the initial project file and the result project file corresponding to each in-process development project to obtain the information variable quantity corresponding to each in-process development project;
the total variable quantity calculation module is used for accumulating the information variable quantity of each in-development project to obtain total information variable quantity;
the change ratio calculation module is used for acquiring the target information variation of the target item and obtaining the change ratio of the target item according to the ratio of the target information variation to the total information variation;
and the development working hour acquisition module is used for acquiring the project development working hours of the target project according to the product of the change occupation ratio and the accumulated working hours.
In a third aspect, the present application further provides a computer device, which includes a processor, a memory, and a computer program stored on the memory and executable by the processor, wherein the computer program, when executed by the processor, implements the steps of the project development man-hour calculation method as described above.
In a fourth aspect, the present application further provides a storage medium, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the steps of the project development man-hour calculation method as described above.
The application provides a project development working hour calculation method, a project development working hour calculation device and a storage medium, wherein a working area picture is periodically acquired according to a preset time length, and when the working area picture is judged to comprise picture elements of a target user, the preset time length is added into an accumulated working time length; and when a target project completion instruction is received, obtaining the information variation of each in-development project by comparing the initial project file and the result project file of each in-development project, and accumulating the information variation of each in-development project to obtain the total information variation. And obtaining the project development working hours of the target project according to the ratio of the target information variable quantity of the target project to the total information variable quantity and the product of the obtained ratio and the accumulated working time. Through the technical scheme provided by the application, the intelligent computing project development time is realized according to the information variation of the project.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart illustrating steps of a project development time calculation method according to an embodiment of the present application;
FIG. 2 is a schematic block diagram of a project development time calculation apparatus provided in an embodiment of the present application;
fig. 3 is a schematic block diagram of a structure of a computer device according to an embodiment of the present disclosure.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The flow diagrams depicted in the figures are merely illustrative and do not necessarily include all of the elements and operations/steps, nor do they necessarily have to be performed in the order depicted. For example, some operations/steps may be decomposed, combined or partially combined, so that the actual execution sequence may be changed according to the actual situation. In addition, although the division of the functional blocks is made in the device diagram, in some cases, it may be divided in blocks different from those in the device diagram.
The embodiment of the application provides a project development time calculation method, a project development time calculation device, project development time calculation equipment and a storage medium. The project development time calculation method is applied to terminal equipment, and the terminal equipment can be electronic equipment such as a mobile phone, a tablet computer, a notebook computer, a desktop computer, a personal digital assistant and wearable equipment.
Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating a method for computing project development man-hours according to an embodiment of the present application.
As shown in fig. 1, the project development man-hour calculation method includes steps S10 to S17.
And step S10, receiving a target project issuing instruction, and acquiring the starting time of the target project according to the target project issuing instruction.
In some embodiments, the target item issuing instruction may be a remote push notification sent by a server and received by the terminal device; or after the full-duplex communication connection is established between the terminal equipment and the server, the terminal equipment receives an item issuing message sent by the server; the instruction may also be an instruction sent to the terminal device by other means, which is not limited herein.
And receiving a target project issuing instruction, wherein the target project issuing instruction indicates that a project is distributed to a user using the terminal equipment and the user needs to follow up development. And the project needing to be developed by the user corresponding to the target project issuing instruction, namely the target project. In addition, the target project issuing instruction also includes a time node for starting development of the target project, that is, the starting time of the target project.
And step S11, when the target project starting time is reached, respectively acquiring all starting project files corresponding to the target project starting time in the development project.
It can be appreciated that when a development project is a project that reaches the target project start time at that time, the project state is in the development state, and the target project is one of the respective development projects.
It can be understood that project development in an enterprise is usually multi-project simultaneous development, for example, in the process of developing a project, a project group suddenly receives the project requirement of B project, and at this time, members of the project group need to develop the a project and the B project simultaneously. The project under development, i.e., the developing project. When the target project start time is reached, the target project is also one of the developing projects. Through step S11, each development project acquires a start project file corresponding to the start time of the target project.
For example, if two items under development are already provided before the target item issuing instruction is received, namely an item a and an item B, and the target item issuing instruction is received as a target item issuing instruction corresponding to an item C, the items under development include the item a, the item B and the item C when the target item starting time is reached. Then, in step S11, the start item file of the start time of the item a corresponding to the target item, the start item file of the start time of the item B corresponding to the target item, and the start item file of the start time of the item C corresponding to the target item are acquired.
Step S12, periodically collecting working area pictures according to a preset time length, judging whether the working area pictures comprise picture elements of a target user or not through a preset image recognition model, and adding the preset time length to an accumulated working time length when the working area pictures comprise the picture elements of the target user.
It can be understood that the work area picture is a picture of an office area where the terminal device is located. For example, if the terminal device is a portable computer, the portable computer has a built-in camera, and the terminal device can acquire the working area picture through the built-in camera; if the terminal equipment is a desktop computer, the desktop computer is connected with an external camera, and the terminal equipment can acquire the pictures of the working area according to the external camera. In addition, the terminal equipment can also acquire the pictures of the working area through the monitoring camera arranged in the office area, and the mode of acquiring the pictures of the working area is not limited here.
In some embodiments, the preset time period for periodically acquiring the working area pictures may be set to be acquired every 10 minutes, every 5 minutes, or may be set to other time periods as occasion demands, which is not limited herein.
After the target project starting time is reached, the terminal equipment triggers the acquisition of the working area picture every time when the preset duration time passes, and after the working area picture is obtained, the working area picture is analyzed through a preset picture identification model, whether the working area picture comprises picture elements of a target user or not can be identified, wherein the target user is a user who uses the terminal equipment to develop the project.
In some embodiments, the preset image recognition model may be a trained neural network model, or may be another model that can recognize image elements, which is not limited herein.
It can be understood that the accumulated working time length is used for recording the total working time length of the target user from the starting time of the target project, and if the working area picture is identified to include the picture element of the target user, it can be inferred that the target user is working within the preset time length, and at this time, the preset time length is added to the accumulated working time length.
In the prior art, a working hour calculation method is usually only calculated according to the working hours and the working hours of a user, and the working hours specified by a company are assumed to be 8:30am-12:00pm and 1:30 pm-6: 00pm every day, namely, 8 hours of working every day, and if the project development takes two days, the accumulated development working hours are 16 hours. When the traditional man-hour calculation method is used for calculating the man-hour, the non-development time such as the meeting time of a user is also calculated, and the real time spent by the user for developing the project in the working time cannot be identified.
In the embodiment, the working area picture is collected at intervals of the preset time length, when the working area picture is identified to include the picture element of the target user, the preset time length is counted in the accumulated working time length of the target user, and the finally obtained accumulated working time length is closer to the real working time length of the target user, so that the reference value is better.
And step S13, when the target project completion instruction is received, acquiring the result project file of each development project.
It can be understood that when the target user completes the development work of the target project, the terminal device receives the target project completion instruction by clicking the completion button on the display interface corresponding to the terminal device. At this time, the acquired project files of the respective under-development projects, that is, the result project files of the respective under-development projects. Through step S13, each development project acquires a corresponding result project file.
Step S14, comparing the initial project file and the result project file corresponding to each in-process development project to obtain the information variation corresponding to each in-process development project.
It can be understood that after the start project file and the result project file of each in-process development project are obtained, the start project file and the result project file of each in-process development project are compared, and the information variation of each in-process development project can be obtained according to the comparison difference.
In some embodiments, the information variation in the development project is a variation of characters in the file content of the project file of the development project, and may also be another variation that can be used to measure differences of the project file, which is not limited herein.
In some embodiments, step S14 includes steps S140 to S143.
Step S140, encoding the initial project file of the development project according to a preset encoding method to obtain a first encoding result;
step S141, coding the result project file of the development project according to the preset coding method to obtain a second coding result;
step S142, obtaining the longest public subsequence of the first coding result and the second coding result to obtain a third coding result;
and S143, subtracting the character length of the third encoding result from the character length of the second encoding result to obtain the information variation of the developing project.
It is to be understood that the process of obtaining the information variation of each development project in step S14 is a process of selecting the starting project files and the result project files of the development project one by one for comparison.
Illustratively, assume there are A, B two developing projects, where the B project is the target project. Comparing the initial project file and the result project file of the project A to obtain the information variation of the project A; and comparing the initial project file and the result project file of the project B to obtain the information variation of the project B.
It can be understood that the first encoding result and the second encoding result are obtained in the same encoding manner, and are encoded by a preset encoding method.
In some embodiments, the preset encoding method is to splice character contents of subfiles in the project file, and the spliced result character contents are encoding results. In addition, other encoding methods may be used, and are not limited herein.
The Longest Common Subsequence (LCS Longest Common Subsequence) refers to the Longest Subsequence of Common subsequences that are two or more known sequences that do not need to occupy contiguous positions in the original text, e.g. there are two texts q1 and q2, q1 is "ngeej", q2 is "n 1 gxefmej", then the Longest Common Subsequence of q1 and q2 is "ngej".
It can be understood that the third encoding result is the longest common subsequence of the first encoding result and the second encoding result, that is, the third encoding result is a portion between the first encoding result and the second encoding result that has not changed, and the character length of the second encoding result minus the character length of the third encoding result is the obtained character length, that is, the character length of the portion of the second encoding result that has changed relative to the first encoding result, that is, the information variation of the currently-compared development project.
In some embodiments, the method for obtaining the longest common subsequence of the first coding result and the second coding result may be obtained by using a dynamic programming method, or may be obtained by using another method, which is not limited herein.
In some embodiments, step S140 includes:
sequencing each subfile in the initial project file according to a preset sequencing rule to obtain a sequencing result;
splicing the subfiles according to the sequencing result to obtain a first splicing result;
and filtering the special characters of the first splicing result according to a preset special character filtering model to obtain a first coding result.
In some embodiments, the predetermined sorting rule is to sort the sub-files by letters in the file names of the sub-files and by numbers.
Illustratively, assume that the ordering of the characters is A-Z, a-Z, 0-9, with weight values from high to low. When the subfiles of the initial project file are sequenced, the subfiles are sequenced according to the weight of the first character of the filename of the subfile, if the first character is the same, the subfiles are sequenced according to the second character of the filename of the subfile, and the process is repeated until a sequencing result is obtained. It can be understood that this is only one sort rule, and this embodiment may also use other sort rules to sort sub-files according to the needs of the situation, and is not limited herein.
And after the sequencing result is obtained, splicing the file contents of the subfiles according to the sequencing result to obtain a first splicing result, and filtering out the special characters in the first splicing result by using a special character filtering model to obtain a first coding result.
By way of example, assume that the subfiles in the starting project file of the development project are as shown in the following table.
Watch I,
Subfile name Document content
cFile ccccc
aFile aaaaa
bFile bbbbb
After the sub-files are sorted according to the sorting rule, the sorting result of the corresponding sub-file is aFile, bFile and cFile. And splicing the subfiles according to the sequencing result to obtain a first splicing result, namely 'aaaaabbbbbbbbcccc'. If the space can be filtered by using the special character filtering model, the first coding result obtained after the special character filtering model is processed is aaaaabbbbbbcccc.
It can be understood that the process of generating the second encoding result is the same as the process of generating the first encoding result, and will not be described herein.
In some embodiments, the filtering, according to a preset special character filtering model, the special characters of the first splicing result to obtain a first encoding result includes:
and filtering line feed characters, space characters and annotation characters of the first splicing result according to a preset special character filtering model to obtain a first coding result.
It will be appreciated that the line feed character "\ n", the space character "nsp", and the annotation character in the project file are primarily for the convenience of a developer reviewing the file, and generally do not play a substantial role in the functional business of the project. The line feed characters, the space characters and the annotation characters of the first splicing result are filtered, so that the first coding result is shorter, the comparison efficiency of the subsequent first coding result and the second coding result can be improved, and the longest public subsequence of the first coding result and the second coding result can be obtained in a shorter time.
It will be appreciated that the annotation character is the character content in the project file that is used for content annotation. In some embodiments, the annotation character includes "///" and content that is in the same row as and located after "//"; the annotation character also includes "/", and content located between "/" and "/"; the comment characters also include "<! - "," - > ", and are located on" < | s! The contents between "- >". In addition, the annotation character may also be other character contents used for annotation, and is not limited herein.
For example, assume that the first splice result is:
"// if x > y, set i to 0, otherwise, set i to 1
if(x>y){
i=0;
}else{
i=1;
}”
Then, after filtering by the special character filtering model, the obtained first encoding result is "if (x > y) { i ═ 0; else { i ═ 1; }".
And step S15, accumulating the information variation of each development project to obtain the total information variation.
It can be understood that the sum of the information variation of each developing project is the total information variation.
Illustratively, assuming there are A, B under development projects, wherein the information change of the a project is 100, and the information change of the B project is 200, then the total information change of A, B under development projects is 300.
And step S16, acquiring the target information variation of the target item, and obtaining the variation occupation ratio of the target item according to the ratio of the target information variation to the total information variation.
It can be understood that the target item corresponds to a variation of information, i.e. a variation of target information. And dividing the target information variation quantity by the total information variation quantity to obtain a ratio, namely the variation occupation ratio of the target item.
It is understood that the higher the change percentage of the target item, the more time the target user spends on the target item from the start time of the target item until the target item completion instruction is received.
For example, assume that there are A, B under development projects, where the a project is the target project, the target information variation of the target project is 200, and the information variation of the B project is 100, in which case, the total information variation calculated is 300, and the variation occupation ratio of the target project is 2/3.
And step S17, obtaining the project development working hours of the target project according to the product of the change occupation ratio and the accumulated working time.
It can be understood that the working hours spent on the target project by the target user from the starting time to the time of receiving the target project completion instruction, that is, the project development working hours of the target project, are obtained by multiplying the change occupation ratio by the accumulated working hours.
For example, assuming that the accumulated working hours is 18 hours and the change occupation ratio of the target project is 2/3, the project development working hours spent by the target user on the target project is 12 hours.
In some embodiments, step S17 includes step S170 through step S173.
Step S170, acquiring project complexity coefficients corresponding to the development projects, and accumulating the project complexity coefficients to obtain a total complexity coefficient;
step S171, calculating the average project complexity coefficient of each developing project according to the total complexity coefficient;
step S172, obtaining the complexity occupation ratio of the target project according to the ratio of the target project complexity coefficient of the target project to the average project complexity coefficient;
and S173, obtaining the project development working hours of the target project according to the product of the change occupation ratio, the accumulated working hours and the complex occupation ratio.
It can be understood that when a project requirement is received, a project manager evaluates the implementation complexity of the corresponding project through the business logic and the implementation scheme of the project requirement. The project-spread complexity coefficient is a numerical value used for representing the implementation complexity of the corresponding project, and the higher the project complexity coefficient is, the more difficult the project is to be implemented, and the longer the time required for developing the project is.
In addition, each project has a corresponding project identifier, the project identifiers are used for representing the identity of the projects, and the terminal device can acquire the project complexity coefficients of the various developing projects according to the project identifiers corresponding to the developing projects. If the project complexity coefficients are stored in the server, the terminal device can acquire the project complexity coefficients of each developing project from the server by sending a network request to the server. Correspondingly, if the project complexity coefficients are stored in the local database of the terminal device, the terminal device can directly obtain the project complexity coefficients of each developing project from the local database.
It can be understood that the sum of the project complexity coefficients of the respective developing projects, i.e., the total complexity coefficient. And dividing the total complexity coefficient by the number of the developing projects to obtain an average project complexity coefficient. And the item complexity coefficient of the target item is the target item complexity coefficient.
In the embodiment, the project development time is calculated by combining the realization complexity of the project, and the finally obtained project development time has more reference significance.
In some embodiments, after obtaining all the start project files corresponding to the target project starting time in the development project respectively when the target project starting time is reached, the method further includes:
acquiring the expected development duration of the target project according to the target project issuing instruction;
calculating the predicted completion time of the target project according to the starting time of the target project and the predicted development duration;
when the predicted completion time is reached and the target project completion instruction is not received, periodically acquiring the consumed duration of the target project;
and when the time interval between the consumed duration and the expected development duration is smaller than a preset time interval, triggering an overdue risk reminder of the project.
It can be understood that the target project issuing instruction is also provided with a development estimated time of the target project, and the development estimated time is the time estimated by the project manager according to the required workload of the target project. And calculating the predicted completion time according to the starting time of the target project and the predicted development duration.
Illustratively, assuming that the target project start time is "XXXX YY month 12 day 08:30: 00", the day is friday, assuming that the development predicted time is 16 hours, and the business working time per day is 8 hours, the working time is eight o 'clock in the morning, the working time is six o' clock in the afternoon, and the weekend has two break-outs, the calculated predicted completion time is "XXXX YY month 15 day 18:00: 00".
It can be understood that when the expected time is reached and the target project completion instruction is not received, the target project is not completed, that is, the development of the target project is at overdue risk.
However, also because the target user may have developed multiple projects at the same time, the development time spent by the target user on the target project may not reach the development expected time by the time the expected completion time is reached. Therefore, it is necessary to periodically acquire the consumed duration of the target item, and the method for acquiring the consumed duration may refer to steps S11 to S17. When the time interval between the consumed time and the development predicted time is smaller than the preset time interval, the target project is about to be overdue, and at the moment, project overdue risk reminding is triggered.
In some embodiments, the preset time interval may be set to 8 hours or 4 hours, and may be set to other time intervals as occasion demands. In addition, the overdue risk reminding mode of the project comprises visual reminding, sound reminding and vibration reminding through the terminal equipment.
In some embodiments, before the obtaining of the result project file of each of the developing projects when the target project completion instruction is received, the method further comprises:
counting the continuous occurrence times of the working area pictures without the picture elements of the target user;
and when the continuous occurrence times are more than the preset times, triggering picture acquisition equipment to adjust and remind, wherein the picture acquisition equipment is used for acquiring the pictures of the working area.
It can be understood that the image capturing device is a photographic device for capturing the image of the working area, and if the image of the working area does not include the image element of the target user for a plurality of times, it may be that a problem occurs in the capturing direction of the image capturing device, and at this time, the target user is prompted to adjust the image capturing device.
In some embodiments, the preset number may be set to 10 or 15, or may be set to other numbers as needed, and is not limited herein.
For example, suppose that the terminal device is a desktop computer, the terminal device collects a picture of a working area through an external camera, and the external camera is a picture collecting device. In the project development process, the camera may be collided to cause the deviation of the acquisition direction, so that the pictures of the working area acquired by the camera do not include the picture elements of the target user for multiple times, and when the continuous occurrence times are greater than the preset times, the terminal equipment triggers the picture acquisition equipment to adjust and remind so as to remind the target user to adjust the picture acquisition equipment.
In some embodiments, when the target project completion instruction is received, determining that the current time is the target project completion time, and after the project development man-hours of the target project are obtained according to the product of the change occupation ratio and the accumulated working hours, the method further includes:
acquiring the working hour report records of the target user, and screening record information with the recording time between the starting time of the target project and the finishing time of the target project from the working hour report records to obtain target record information;
calculating the development duration of the target project according to the target record information to obtain project reference working hours of the target project;
and generating a man-hour report of the target project according to the project development man-hours and the project reference man-hours.
It can be understood that each of the time reporting records includes a recording time and a development duration corresponding to the recording time in the development project. And the recording time represents the working hour of which time node is recorded by the working hour reporting record.
Illustratively, assume that the target project start time is AAAA year 08, month 5, day 09: 00: 00. and assuming that the target project completion time is AAAA year 08, month 7, day 24: 00: 00.
assume that the working hour reporting record is as shown in table two below.
A second meter,
Figure BDA0003513168770000131
The reference time for the target project is 19 hours
It is understood that the project development man-hours of the target project calculated through steps S10 through S17 are calculated for the terminal device from the information variation amount of the target project. However, the amount of information change is not the only criterion for measuring the development man-hour of the project, because each demand difficulty of the development project is different, and there may be a case where the actual development man-hour occupied in the development project with a small amount of information change is more than the actual development man-hour occupied in the development project with a large amount of information change.
In the embodiment, the project reference working hours of the target project are obtained by combining the working hour report records uploaded by the target developers according to subjective judgment, and the working hour report is generated with the project development working hours objectively calculated by the terminal device according to the information variation of the target project so as to be consulted by project managers.
According to the method, a work area picture is periodically acquired according to a preset time length, and when the work area picture comprises picture elements of a target user, the preset time length is added to the accumulated work time length; and when a target project completion instruction is received, obtaining the information variation of each in-development project by comparing the initial project file and the result project file of each in-development project, and accumulating the information variation of each in-development project to obtain the total information variation. And obtaining the project development working hours of the target project according to the ratio of the target information variable quantity of the target project to the total information variable quantity and the product of the obtained ratio and the accumulated working time. Through the technical scheme provided by the application, the intelligent computing project development time is realized according to the information variation of the project.
Referring to fig. 2, fig. 2 is a schematic block diagram of a project development time calculation apparatus according to an embodiment of the present disclosure.
As shown in fig. 2, the project development man-hour calculation device 201 includes:
the project instruction receiving module 2011 is configured to receive a target project issuing instruction, and obtain start time of a target project according to the target project issuing instruction;
a start file acquiring module 2012, configured to acquire, when the target project starting time is reached, all start project files corresponding to the target project starting time in the development project, respectively;
the region picture analysis module 2013 is used for periodically acquiring a work region picture according to a preset time length, judging whether the work region picture comprises a picture element of a target user or not through a preset image recognition model, and adding the preset time length to an accumulated work time length when the work region picture comprises the picture element of the target user;
a completion instruction receiving module 2014, configured to, when a target project completion instruction is received, obtain a result project file of each in-development project;
a variation calculating module 2015, configured to compare the start project file and the result project file corresponding to each in-development project to obtain information variations corresponding to each in-development project;
a total variation calculating module 2016 configured to accumulate the information variations of the developing projects to obtain a total information variation;
the change ratio calculation module 2017 is configured to obtain a target information variation of the target item, and obtain a change ratio of the target item according to a ratio of the target information variation to the total information variation;
and the development working hour obtaining module 2018 is used for obtaining the project development working hours of the target project according to the product of the change occupation ratio and the accumulated working hours.
In some embodiments, when comparing the starting item file and the result item file corresponding to each of the developing projects to obtain the information variation corresponding to each of the developing projects, the variation calculating module 2015 includes:
coding the initial project file of the development project according to a preset coding method to obtain a first coding result;
coding the result project file of the development project according to the preset coding method to obtain a second coding result;
obtaining the longest public subsequence of the first coding result and the second coding result to obtain a third coding result;
and subtracting the character length of the third encoding result from the character length of the second encoding result to obtain the information variation of the developing project.
In some embodiments, the variation calculating module 2015, when encoding the starting item file of the development item according to a preset encoding method to obtain a first encoding result, includes:
sequencing each subfile in the initial project file according to a preset sequencing rule to obtain a sequencing result;
splicing the subfiles according to the sequencing result to obtain a first splicing result;
and filtering the special characters of the first splicing result according to a preset special character filtering model to obtain a first coding result.
In some embodiments, the development work hour obtaining module 2018, when obtaining the project development work hour of the target project according to the product of the change occupation ratio and the accumulated work hour, includes:
acquiring a project complexity coefficient corresponding to each development project, and accumulating each project complexity coefficient to obtain a total complexity coefficient;
calculating the average project complexity coefficient of each developing project according to the total complexity coefficient;
obtaining the complexity occupation ratio of the target project according to the ratio of the target project complexity coefficient of the target project to the average project complexity coefficient;
and obtaining the project development working hours of the target project according to the product of the change occupation ratio, the accumulated working time and the complex occupation ratio.
In some embodiments, the project development man-hour computing device 201 further includes an expected risk identification module 2019, the start file acquiring module 2012 acquires all start project files corresponding to the target project starting time of a development project when the target project starting time is reached, and the expected risk identification module 2019 is configured to acquire an expected development duration of the target project according to the target project issuing instruction;
calculating the predicted completion time of the target project according to the starting time of the target project and the predicted development duration;
when the predicted completion time is reached and the target project completion instruction is not received, periodically acquiring the consumed duration of the target project;
and when the time interval between the consumed duration and the expected development duration is smaller than a preset time interval, triggering an overdue risk reminder of the project.
In some embodiments, the project development man-hour calculation apparatus 201 further includes a device adjustment reminding module 2020, wherein the completion instruction receiving module 2014 is configured to, before acquiring each of the result project files of the development project when receiving a target project completion instruction, count the number of consecutive occurrences that the work area picture does not include the picture element of the target user;
and when the continuous occurrence times are more than the preset times, triggering picture acquisition equipment to adjust and remind, wherein the picture acquisition equipment is used for acquiring the pictures of the working area.
In some embodiments, the project development man-hour calculation apparatus 201 further includes a man-hour report generation module 2021, when the target project completion instruction is received, determining a current time as a target project completion time, and after the development man-hour obtaining module 2018 obtains the project development man-hour of the target project according to a product of the change occupation ratio and the accumulated working time, the man-hour report generation module 2021 is configured to obtain a man-hour report record of the target user, and screen record information from the man-hour report record, the record information having a record time between the target project start time and the target project completion time, to obtain target record information;
calculating the development duration of the target project according to the target record information to obtain project reference working hours of the target project;
and generating a man-hour report of the target project according to the project development man-hours and the project reference man-hours.
It should be noted that, for convenience and simplicity of description, it may be clearly understood by those skilled in the art that the specific working processes of the above-described apparatus and each module and unit may refer to the corresponding processes in the foregoing embodiment of the project development time calculation method, and details are not described herein again.
The apparatus provided by the above embodiments may be implemented in the form of a computer program, which can be run on a computer device as shown in fig. 3.
Referring to fig. 3, fig. 3 is a schematic block diagram of a structure of a computer device according to an embodiment of the present disclosure. The computer device includes, but is not limited to, a terminal device.
As shown in fig. 3, the computer device 301 includes a processor 3011, a memory and a network interface connected through a system bus, where the memory may include a storage medium 3012 and an internal memory 3015, and the storage medium 3012 may be non-volatile or volatile.
The storage medium 3012 may store an operating system and computer programs. The computer program includes program instructions that, when executed, cause the processor 3011 to perform any one of the project development man-hour calculation methods.
Processor 3011 is used to provide computing and control capabilities, supporting the operation of the overall computer device.
The internal memory 3015 provides an environment for running a computer program on the storage medium 3012, and the computer program, when executed by the processor 3011, causes the processor 3011 to execute any one of the project development man-hour calculation methods.
The network interface is used for network communication, such as sending assigned tasks and the like. It will be appreciated by those skilled in the art that the configuration shown in fig. 3 is a block diagram of only a portion of the configuration associated with the present application, and is not intended to limit the computing device to which the present application may be applied, and that a particular computing device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
It should be understood that Processor 3011 may be a Central Processing Unit (CPU), and that Processor 3011 may also be other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
In some embodiments, the processor 3011 is configured to run a computer program stored in the memory to implement the following steps:
receiving a target project issuing instruction, and acquiring target project starting time according to the target project issuing instruction;
when the target project starting time is reached, respectively acquiring all initial project files of the development projects corresponding to the target project starting time;
periodically acquiring a working area picture according to a preset time length, judging whether the working area picture comprises picture elements of a target user or not through a preset image recognition model, and adding the preset time length to an accumulated working time length when the working area picture comprises the picture elements of the target user;
when a target project completion instruction is received, acquiring a result project file of each in-development project;
comparing the initial project file and the result project file corresponding to each in-process development project to obtain the information variation corresponding to each in-process development project;
accumulating the information variation of each in-development project to obtain total information variation;
acquiring the target information variation of the target item, and obtaining the change occupation ratio of the target item according to the ratio of the target information variation to the total information variation;
and obtaining the project development working hours of the target project according to the product of the change occupation ratio and the accumulated working time.
In some embodiments, the processor 3011, when comparing the starting project file and the result project file corresponding to each of the developing projects to obtain an information variation corresponding to each of the developing projects, is configured to:
coding the initial project file of the development project according to a preset coding method to obtain a first coding result;
coding the result project file of the development project according to the preset coding method to obtain a second coding result;
obtaining the longest public subsequence of the first coding result and the second coding result to obtain a third coding result;
and subtracting the character length of the third encoding result from the character length of the second encoding result to obtain the information variation of the developing project.
In some embodiments, the processor 3011, when encoding the starting project file of the development project according to a preset encoding method to obtain a first encoding result, is configured to implement:
sequencing each subfile in the initial project file according to a preset sequencing rule to obtain a sequencing result;
splicing the subfiles according to the sequencing result to obtain a first splicing result;
and filtering the special characters of the first splicing result according to a preset special character filtering model to obtain a first coding result.
In some embodiments, the processor 3011, when obtaining the project development time of the target project according to the product of the change occupation ratio and the accumulated working time, is configured to implement:
acquiring project complex coefficients corresponding to the development projects, and accumulating the project complex coefficients to obtain a total complex coefficient;
calculating the average project complexity coefficient of each developing project according to the total complexity coefficient;
obtaining the complexity occupation ratio of the target project according to the ratio of the target project complexity coefficient of the target project to the average project complexity coefficient;
and obtaining the project development working hours of the target project according to the product of the change occupation ratio, the accumulated working time and the complex occupation ratio.
In some embodiments, the processor 3011, after obtaining all the start project files corresponding to the target project start time in the development project when the target project start time is reached, is further configured to:
acquiring the expected development duration of the target project according to the target project issuing instruction;
calculating the predicted completion time of the target project according to the starting time of the target project and the predicted development duration;
when the predicted completion time is reached and the target project completion instruction is not received, periodically acquiring the consumed duration of the target project;
and when the time interval between the consumed duration and the expected development duration is smaller than a preset time interval, triggering an overdue risk reminder of the project.
In some embodiments, the processor 3011, before obtaining the result project file of each of the developing projects when receiving the target project completion instruction, is further configured to:
counting the continuous occurrence times of the working area pictures without the picture elements of the target user;
and when the continuous occurrence times are more than the preset times, triggering picture acquisition equipment to adjust and remind, wherein the picture acquisition equipment is used for acquiring the pictures of the working area.
In some embodiments, when the target project completion instruction is received, determining that the current time is a target project completion time, and after the processor 3011 obtains the project development man-hours of the target project according to a product of the change occupation ratio and the accumulated working time, further implementing:
acquiring the working hour report records of the target user, and screening record information with the recording time between the starting time of the target project and the finishing time of the target project from the working hour report records to obtain target record information;
calculating the development duration of the target project according to the target record information to obtain project reference working hours of the target project;
and generating a man-hour report of the target project according to the project development man-hours and the project reference man-hours.
It should be noted that, as will be clear to those skilled in the art, for convenience and brevity of description, the specific working process of the computer device described above may refer to the corresponding process in the foregoing embodiment of the method for calculating development man-hour, and details are not described here again.
The embodiment of the present application also provides a storage medium, which is a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, where the computer program includes program instructions, and a method implemented when the program instructions are executed may refer to various embodiments of the method for computing development time of the project of the present application.
The computer-readable storage medium may be an internal storage unit of the computer device described in the foregoing embodiment, for example, a hard disk or a memory of the computer device. The computer readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the computer device.
It is to be understood that the terminology used in the description of the present application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items. It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present application are merely for description, and do not represent the advantages and disadvantages of the embodiments. While the invention has been described with reference to specific embodiments, the scope of the invention is not limited thereto, and those skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the invention. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A project development time calculation method is applied to terminal equipment and is characterized by comprising the following steps:
receiving a target project issuing instruction, and acquiring target project starting time according to the target project issuing instruction;
when the target project starting time is reached, respectively acquiring all initial project files of the development projects corresponding to the target project starting time;
periodically acquiring a working area picture according to a preset time length, judging whether the working area picture comprises picture elements of a target user or not through a preset image recognition model, and adding the preset time length to an accumulated working time length when the working area picture comprises the picture elements of the target user;
when a target project completion instruction is received, acquiring a result project file of each in-development project;
comparing the initial project file and the result project file corresponding to each in-process development project to obtain the information variation corresponding to each in-process development project;
accumulating the information variation of each in-development project to obtain total information variation;
acquiring the target information variation of the target item, and obtaining the change occupation ratio of the target item according to the ratio of the target information variation to the total information variation;
and obtaining the project development working hours of the target project according to the product of the change occupation ratio and the accumulated working time.
2. The method of claim 1, wherein the comparing the initial project file and the result project file corresponding to each of the developing projects to obtain a variation of information corresponding to each of the developing projects comprises:
coding the initial project file of the development project according to a preset coding method to obtain a first coding result;
coding the result project file of the development project according to the preset coding method to obtain a second coding result;
obtaining the longest public subsequence of the first coding result and the second coding result to obtain a third coding result;
and subtracting the character length of the third encoding result from the character length of the second encoding result to obtain the information variation of the developing project.
3. The method according to claim 2, wherein the encoding the initial project file of the development project according to a preset encoding method to obtain a first encoding result comprises:
sequencing each subfile in the initial project file according to a preset sequencing rule to obtain a sequencing result;
splicing the subfiles according to the sequencing result to obtain a first splicing result;
and filtering the special characters of the first splicing result according to a preset special character filtering model to obtain a first coding result.
4. The method according to claim 3, wherein the obtaining of the project development man-hours of the target project according to the product of the change occupation ratio and the accumulated work time period comprises:
acquiring a project complexity coefficient corresponding to each development project, and accumulating each project complexity coefficient to obtain a total complexity coefficient;
calculating the average project complexity coefficient of each developing project according to the total complexity coefficient;
obtaining the complexity occupation ratio of the target project according to the ratio of the target project complexity coefficient of the target project to the average project complexity coefficient;
and obtaining the project development working hours of the target project according to the product of the change occupation ratio, the accumulated working time and the complex occupation ratio.
5. The method according to claim 1, wherein when the target project starting time is reached, after all starting project files corresponding to the target project starting time in the development project are respectively obtained, the method further comprises:
acquiring the expected development duration of the target project according to the target project issuing instruction;
calculating the predicted completion time of the target project according to the starting time of the target project and the predicted development duration;
when the predicted completion time is reached and the target project completion instruction is not received, periodically acquiring the consumed duration of the target project;
and when the time interval between the consumed duration and the expected development duration is smaller than a preset time interval, triggering an overdue risk reminder of the project.
6. The method of claim 1, wherein obtaining the result project file of each of the prior development projects when the target project completion instruction is received further comprises:
counting the continuous occurrence times of the working area pictures without the picture elements of the target user;
and when the continuous occurrence times are more than the preset times, triggering picture acquisition equipment to adjust and remind, wherein the picture acquisition equipment is used for acquiring the pictures of the working area.
7. The method according to any one of claims 1 to 6, wherein when the target project completion instruction is received, determining that the current time is a target project completion time, and after the project development man-hours of the target project are obtained according to a product of the change occupation ratio and the accumulated work time, further comprising:
acquiring the working hour reporting records of the target user, and screening the recording information with the recording time between the starting time of the target project and the finishing time of the target project from the working hour reporting records to obtain target recording information;
calculating the development duration of the target project according to the target record information to obtain project reference working hours of the target project;
and generating a man-hour report of the target project according to the project development man-hours and the project reference man-hours.
8. A project development time calculation apparatus, comprising:
the project instruction receiving module is used for receiving a target project issuing instruction and acquiring target project starting time according to the target project issuing instruction;
the starting file acquisition module is used for respectively acquiring all starting project files of the development project corresponding to the target project starting time when the target project starting time is reached;
the regional picture analysis module is used for periodically acquiring a working regional picture according to a preset time length, judging whether the working regional picture comprises a picture element of a target user or not through a preset image recognition model, and adding the preset time length to an accumulated working time length when the working regional picture comprises the picture element of the target user;
the completion instruction receiving module is used for acquiring the result project file of each in-development project when a target project completion instruction is received;
the variable quantity calculation module is used for comparing the initial project file and the result project file corresponding to each in-process development project to obtain the information variable quantity corresponding to each in-process development project;
the total variable quantity calculation module is used for accumulating the information variable quantity of each in-development project to obtain total information variable quantity;
the change ratio calculation module is used for acquiring the target information variation of the target item and obtaining the change ratio of the target item according to the ratio of the target information variation to the total information variation;
and the development working hour acquisition module is used for acquiring the project development working hours of the target project according to the product of the change occupation ratio and the accumulated working hours.
9. A computer device comprising a processor, a memory, and a computer program stored on the memory and executable by the processor, wherein the computer program when executed by the processor implements the steps of the project development man-hour calculating method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that a computer program is stored thereon, wherein the computer program, when executed by a processor, implements the steps of the project development man-hour calculating method according to any one of claims 1 to 7.
CN202210158363.2A 2022-02-21 2022-02-21 Project development time calculation method, device, equipment and storage medium Pending CN114529262A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210158363.2A CN114529262A (en) 2022-02-21 2022-02-21 Project development time calculation method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210158363.2A CN114529262A (en) 2022-02-21 2022-02-21 Project development time calculation method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114529262A true CN114529262A (en) 2022-05-24

Family

ID=81623937

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210158363.2A Pending CN114529262A (en) 2022-02-21 2022-02-21 Project development time calculation method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114529262A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116629774A (en) * 2023-04-19 2023-08-22 合芯科技有限公司 Chip process data processing method, device and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116629774A (en) * 2023-04-19 2023-08-22 合芯科技有限公司 Chip process data processing method, device and storage medium

Similar Documents

Publication Publication Date Title
Verenich et al. Survey and cross-benchmark comparison of remaining time prediction methods in business process monitoring
US10491490B2 (en) Systems and methods of specifying service level criteria
CN110059657A (en) Records handling method, apparatus, electronic equipment and computer readable storage medium
CN101740086A (en) Apparatus and method of albuming content
CN110502545B (en) Data storage method, device, equipment and computer readable storage medium
CN111666298A (en) Method and device for detecting user service class based on flink, and computer equipment
CN114529262A (en) Project development time calculation method, device, equipment and storage medium
CN113837584B (en) Service processing system and abnormal data processing method based on service processing system
CN111191046A (en) Method, device, computer storage medium and terminal for realizing information search
CN113312529A (en) Data visualization method and device, computer equipment and storage medium
CN112561636A (en) Recommendation method, recommendation device, terminal equipment and medium
CN114706862B (en) Hotel room state prediction method, device, equipment and storage medium
CN114491116A (en) Temporal thermodynamic diagram generation method and device, electronic equipment and storage medium
CN113254335B (en) Test data processing method and device, server and storage medium
CN111427936B (en) Report generation method and device, computer equipment and storage medium
CN114742521A (en) Reminding method and device, computer equipment and computer readable storage medium
CN112860722A (en) Data checking method and device, electronic equipment and readable storage medium
CN111652597A (en) Archive management method, device, computer equipment and storage medium
JP2010039620A (en) Work management system
US9892382B2 (en) Recurrence definition identification
CN116796076B (en) Service recommendation method, device, equipment and storage medium
WO2023218682A1 (en) Process plan preparation assistance apparatus, process plan preparation assistance system, process plan preparation assistance method, and program
CN117635086A (en) Attendance data management method, device, equipment and storage medium
CN117875613A (en) Automatic scheduling method and device for cases, electronic equipment and storage medium
CN114818968A (en) Buried point data detection method and device, electronic 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