Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The method for processing resource data provided by the invention can be applied to an application environment as shown in fig. 1, wherein a client communicates with a server through a network. The clients may be, but are not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices. The server may be an independent server, or may be a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), and basic cloud computing services such as big data and artificial intelligence platforms.
The problems in the prior art are caused by the fact that the original management mode manpower field is used for compiling people according to an organization architecture, the financial field is used for compiling fees according to fee items, the project field is used for applying budget according to project targets and ranges, the enterprise field is accepted through key works according to company technological strategy targets, the four fields are managed, the respective fields have respective management requirements, no unified standard is adopted, data islands are caused in the process, if people see data, only data can be seen from team and grouped dimensions, and if the key works see data and projects have overlapping parts, no direct relevance exists between the people, the finances, the projects and the key works see data, management granularity is thick, and fine management cannot be achieved. Therefore, the invention proposes a CODE system in the processing method for establishing the resource data, and the resource data in people, wealth and things of IT work are comprehensively pulled through.
In one embodiment, as shown in fig. 2, a method for processing resource data is provided, and the method is applied to the server in fig. 1 for illustration, and includes the following steps S10-S30:
s10, acquiring resource request data newly established by a user.
It is understood that the resource request data may be classified into request data on human resources and non-human resources, non-human resources means financial or goods, more specifically, human resources means internal and external services according to types of personnel in enterprises, and non-human resources means technical service fees, short message fees, purchase fee classes, purchase capitalization, associated transaction fee classes, associated transaction capitalization, daily fees, depreciation and amortization fees and office support fees according to the condition of fee items, and in addition, in the corresponding system, the resource request data originates from sub-items established by a sub-item management module of a user in the system, wherein the sub-items manage the resource request data corresponding to the sub-items.
S20, generating a unique code corresponding to the resource request data according to a predefined code table.
IT is understood that the predefined coding table corresponds to a predefined coding rule, wherein the coding table can be understood as a dictionary table, the coding rule is that when the element participating in the coding changes under the condition of ensuring uniqueness, a new piece of data needs to be recreated to generate a new code (the system automatically generates the code according to the coding rule, when the mapping table does not have the code, the code continues to be coded on the original code in an ascending order), more specifically, in the table, the unique code refers to a cost item code, and the cost item code = sub item code + cost type code + service item code + year, wherein the sub item code is specifically expressed as the code + requirement department code + subsystem/product/other code + IT team code corresponding to the sub item code = sub item name, the unique code is corresponding to the sub item, and the resource request data is derived from the sub item, and the unique code is corresponding to the resource request data;
IT should be noted that, the unique code is related to the selection information corresponding to the resource request data newly established by the user, for example, when the selection information is an A platform (IT management platform), the generated unique code can be C001, when the selection information is a B subsystem, the generated unique code can be S002, etc., after the selection information is obtained by the user, a string of unique codes is generated by combining according to the mapping relation stored in the coding table and corresponding to the resource request data, for example, C0354-T056-S0180-I07, each code represents different data, which can be work item + service department + subsystem + IT team respectively;
In this embodiment, the rule is automatically unified for the resource request data, so as to ensure that the resource investment has a clear advantage.
S30, acquiring an execution flow according to the unique code, and acquiring resource data corresponding to the resource request data after executing the execution flow.
The execution flow is a workflow corresponding to various resource request data, wherein various workflows related to manpower, budget, cost components and the like are predefined, and the corresponding relation with the execution flow is set in the cost type code in the unique code, so that after the unique code is obtained, the execution flow corresponding to the preset code can be obtained after the cost type code in the unique code is matched with the preset code;
it should be noted that, an execution flow needs to be established in advance, where the execution flow may be divided into a budgeting flow, a budgeting execution flow, and a cost splitting flow; in the budget planning flow, after sub-matters corresponding to the resource request data are newly established, judging whether the sub-matters are history sub-matters or not based on the history record in the database, if the sub-matters are not history sub-matters, adding a cost item, submitting a budget scheme, determining whether other history sub-matters need to be combined based on the corresponding relation of the budget scheme prestored in the database, if the sub-matters do not need to be combined, directly transmitting the sub-matters to corresponding personnel, and executing a budget workflow; in the cost splitting flow, the method can be divided into human resource cost and non-human resource cost, in the human resource cost, after sub matters are newly established, whether budget exists is judged based on budget records prestored in a system, if budget exists, man-month data are filled, actual cost is calculated, in the non-human resource cost, preset bills are obtained, whether the bills need to be split or not is determined based on the relation between the amount of the bills and the preset amount, and splitting cost is calculated;
In this embodiment, the budget and cost of each field are controlled by executing the flow, so that the actually desired resource data is obtained, the resource gap and the planning deviation can be identified, and the identification risk managed by each field can be determined.
In the embodiment of the steps S10 to S30, standardized data can be generated based on coding rules corresponding to unique codes, the problems that the number of data versions is large, sources of resource changes cannot be traced to remove pulses, and the problem of data islands can be solved, budget planning and execution of people, property and things can be carried out through unique codes corresponding to the IT and the business, readability is achieved when the business looks at the budget and the execution data, resource process management can be conducted, resource gaps and planning deviation can be identified, management identification risks of all fields are promoted, IT resource investment is clear, transparent and controllable, execution processes of the labor and financial fields can be conducted, budget planning of different fields can be guaranteed, an organization framework is formed for managing resource data based on the same unique codes, a framework of a complete resource data request is formed based on the summary, and after resource request data is sent out by a user, the resource data can be effectively generated for the user, and high data management efficiency and data processing efficiency are achieved.
Further, before the obtaining the resource request data newly established by the user, the method further includes:
and predefining a flow event of an execution flow corresponding to the resource request data.
The process event is a functional event for completing data management and data processing in the system, and each executing process is based on the process event, wherein the process event comprises defining a unique code (what is done) which belongs to a work item commonly confirmed and agreed by a service and IT, having the properties of continuity, resource investment requirement, target making requirement and the like, defining a service party (who needs) not to be limited by the service department but also an IT department, and defining a receiver (who does) as long as resource provision can be the service party, wherein the resource use party is an IT technology and limited to the IT department, and defining a work carrier (how to do) a subsystem mode, a product mode, a non-subsystem and a service are all other modes;
The process event defined in this embodiment will be used as the execution base of the execution process, and has the execution targeting.
Further, the generating a unique code corresponding to the resource request data according to a predefined code table includes:
obtaining a sub item name corresponding to the resource request data;
Coding on the sub item names according to a first coding rule to obtain sub item codes;
And coding the sub item codes according to a second coding rule to obtain the unique codes.
IT will be appreciated that the first encoding rule is a sub-item encoding formed after the sub-item name encoding, and the second encoding rule is a fee entry encoding formed after the sub-item encoding, and the attribute in the specific encoding refers to the above, for example, the CODE corresponding to the sub-item name may be C0354=it management platform, the sub-item encoding may be C0354-T056-S0180-I08, and the fee entry encoding may be C0354-T056-S0180-I08-E08-F0016-2023.
Further, before the obtaining the resource request data newly established by the user, the method further includes:
acquiring a predefined budget state and a service event;
combining the budget state with the business event to obtain the execution flow;
and mapping the execution flow and the unique code to obtain the execution flow corresponding to the unique code.
The business event refers to an event corresponding to an execution flow, such as a budgeting event corresponding to the budgeting flow, a budgeting execution event corresponding to the budgeting execution flow and a cost splitting event corresponding to the cost splitting flow;
Specifically, combining the various budget states with each node in the business event to obtain flows corresponding to the various nodes, and finally obtaining a complete execution flow; binding the execution flow with the expense type code in the unique code and then corresponding to the execution flow so as to obtain the execution flow corresponding to the expense type code when the execution flow is matched with the expense type code in the unique code;
in this embodiment, budgeting is performed according to the granularity of the sub-item expense entries, which breaks through the traditional budgeting according to departments, projects and single dimensions of the system, and the execution flow corresponding to budgeting is implemented according to the data compiled, when the budgeting is finished, the execution flow is implemented, and when the sub-item is filled with the sub-item (the input manpower information of the sub-item is acquired), the sub-item can be separated by non-manpower (because the non-manpower has multiple expense types, different expense types generate different granularity of cost, such as technical expense is calculated by the subsystem/service item bill, and after the execution flow is implemented, the work item and the service department associated with the subsystem can be acquired.
Further, the acquiring the execution flow according to the unique code, and acquiring the resource data corresponding to the resource request data after executing the execution flow includes:
Acquiring preset coding bits in the unique codes, and determining the execution flow according to the preset coding bits;
and executing the execution flow based on the resource request data, and calculating to obtain a resource gap, a planning deviation and a budget adjustment in the resource data corresponding to the resource request data after rolling prediction.
The method comprises the steps of executing an execution flow, wherein the execution flow comprises the steps of acquiring a resource gap = annual forecast value-annual budget value, wherein the annual forecast value = historical occurring cost + future month possible occurring cost, the future month possible occurring cost is estimated by a development team in combination with future demand content, and reporting the future demand content to data submitted after the system;
in the prediction process, a predicted target is obtained, a budget adjustment mode (including a budget adjustment mode, a budget adjustment mode and a budget addition mode) is obtained, actual resources are dynamically adjusted according to the budget adjustment mode and the predicted target, the actual resource usage is determined after the resources are allocated, the resource deviation is determined based on the actual resource usage and the predicted target, and a prediction gap of the current resource is determined based on the predicted target.
Further, the executing the execution flow based on the resource request data includes:
Determining whether the resource request data belongs to a first data type;
when the first data type is included, a first field and a second field corresponding to the resource request data are acquired, and calculation is respectively executed according to an execution flow corresponding to the first field and the second field;
And when the resource request data does not belong to the first data type, determining that the resource request data belongs to a second data type, splitting the resource request data according to a preset splitting rule, and respectively executing calculation according to the split corresponding execution flow.
The first data type is understandably human resource cost, and the second data type is non-human resource cost;
Specifically, in human resource cost, corresponding execution flows are respectively executed according to the first field and the second field of the resource request data, namely, in different execution flows, the calculation flow of execution man-hour is realized by a formula corresponding to a person day and a person month, specifically, the method comprises the following steps:
A. The current daily data is one UM, one thing, one day, record one, please add one field in each, describe as the people's day, the specific calculation mode is as follows:
1. if the day is not on holiday, recording 1 day of plum work, wherein each item of the day is converted into 'day' according to the duty ratio of corresponding working hours in the whole day of work hours (retaining decimal two digits), and the total of all items of the day is 1, if the working hours of the plum are filled, item A3H, item B2.5H and item C5H are converted into item A3/(3+2.5+5) =0.28 day, item B2.5/(3+2.5+5) =0.24 day, and item C5/(3+2.5+5) =0.48 day;
2. if there is a part of holidays on the day, the formula of holiday calculation is holiday man hour/7.58, li Gongzuo (1-holiday man hour/7.58) is recorded, each item on the day is distributed on the people days according to the proportion of all item man hours (two decimal places are reserved), the sum of all items on the day and holiday days is 1, the time of filling in the plums, item A3H holiday 2.5H and item C5H are carried out, and the conversion is carried out, namely item A3/(3+5) 0.67=0.25 people day holiday 2.5/7.58=0.5 people day, and item C5/(3+5) 0.67=0.42 people day;
B. generating a report according to month, wherein the report is required to be a UM, a thing, a month, and a month report is recorded, and the month report is added with a 'people month' field, and the specific calculation mode is as follows:
1. The time of entering and leaving the job is automatically calculated by the month of each person. The calculation method is based on the calculation method of the original manual heat map system. If the person does not have the job-in and job-out in the month, the month of the person is 1, and if the person has the job-in or job-out, the conversion is carried out according to the time of the job-in. The conversion mode is that legal days of the current month are firstly recorded, for example, 21 days are 6 months, 22 days are 7 months, the legal days can be modified according to the requirement, and then the current day of the personnel is divided by the legal days, namely, the current month is the current month;
2. adding all matters in the month and the holiday to obtain s;
3. The sum of all days of a certain item (or holiday) in the month is marked as a, and the value of the 'month' field of the item is b (a/s) (two decimal places are reserved).
More specifically, in the non-human resource cost, the automatic splitting is only applicable to one subsystem/product which is only hung on one working item and one requirement department, or is not hung on any item (the scene of which business department the subsystem/product belongs to is not clear), at the moment, the subsystem/product is automatically hung on a to-be-resolved item, and the cost is subsequently determined and then transferred;
according to the embodiment, the splitting is performed in different types and different fields, the data division is more obvious, the data definition and the transparency are improved, the execution efficiency of the execution flow in different scenes is improved, and the data processing efficiency is also improved.
Further, after the executing process, obtaining the resource data corresponding to the resource request data, the method further includes:
after the execution flow is executed, generating corresponding work items;
After acquiring the request information of the user applying for joining the work items, judging whether the request information accords with the preset budget requirement corresponding to the work items;
if the preset budget requirement corresponding to the work item is not met, after prompt information is sent to the user, the work item is not added, and other execution flows are not executed.
It can be understood that the work is a project which is a summary of the work content generated after the execution is completed, the preset budget request is a budget which is generated by the system in advance according to the team where the user is located and is used for programming the manpower, and when the preset budget request corresponding to the work item is not met, the user is prompted to contact the budgeter of the work item, and the purpose that no budget is not executed and other execution flows (such as manpower arrangement and the like) are controlled and realized.
In summary, the method for processing resource data can generate standardized data based on coding rules corresponding to unique codes, solve the problems that the number of data versions is large, sources of resource change cannot be traced, and data islands are solved, budget planning and execution of people, properties and things can be carried out through unique codes corresponding to IT and business, readability is achieved when the business looks at the budget and executes the data, resource gap and planning deviation can be identified in terms of resource process management, management identification risks in all fields are promoted, IT resource investment is clear, transparent and controllable, execution flows in the manpower and financial fields can be opened, budget planning in different fields is guaranteed to be used for managing the resource data based on the same unique codes, an organization framework is formed, and a framework of a complete resource data request is formed through the unique codes and the execution flows corresponding to the unique codes based on the summary.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic, and should not limit the implementation process of the embodiment of the present invention.
In an embodiment, the present invention further provides a device for processing resource data, where the device for processing resource data corresponds to the method for processing resource data in the above embodiment one by one. As shown in fig. 3, the processing device for resource data includes an acquisition module 11, a generation module 12, and an execution module 13. The functional modules are described in detail as follows:
an obtaining module 11, configured to obtain resource request data newly established by a user;
a generation module 12, configured to generate a unique code corresponding to the resource request data according to a predefined code table;
And the execution module 13 is configured to obtain an execution flow according to the unique code, and obtain resource data corresponding to the resource request data after executing the execution flow.
Further, the processing device of resource data further includes:
and the predefining module is used for predefining a flow event of the execution flow corresponding to the resource request data.
Further, the generating module includes:
The first acquisition sub-module is used for acquiring sub-item names corresponding to the resource request data;
The first coding sub-module is used for coding on the sub-item names according to a first coding rule to obtain sub-item codes;
and the second coding submodule is used for coding the sub item codes according to a second coding rule to obtain the unique codes.
Further, the processing device of resource data further includes:
the budget state and business event acquisition module is used for acquiring a predefined budget state and business event;
The combination module is used for combining the budget state with the business event to obtain the execution flow;
And the mapping module is used for mapping the execution flow and the unique code to obtain the execution flow corresponding to the unique code.
Further, the execution module includes:
The second acquisition sub-module is used for acquiring preset coding bits in the unique codes and determining the execution flow according to the preset coding bits;
and the calculation sub-module is used for executing the execution flow based on the resource request data, and calculating to obtain a resource gap, a planning deviation and a budget adjustment in the resource data corresponding to the resource request data after rolling prediction.
Further, the processing device of resource data further includes:
A determining module, configured to determine whether the resource request data belongs to a first data type;
The first execution calculation module is used for acquiring a first field and a second field corresponding to the resource request data when the first data type belongs to, and respectively executing calculation according to the execution flow corresponding to the first field and the second field;
and the second execution calculation module is used for determining that the resource request data belongs to a second data type when the resource request data does not belong to the first data type, splitting the resource request data according to a preset splitting rule, and respectively executing calculation according to the split corresponding execution flow.
Further, the processing device of resource data further includes:
The generating module is used for generating corresponding work items after executing the execution flow;
the judging module is used for judging whether the request information accords with the preset budget requirement corresponding to the work item after acquiring the request information of the user for adding the work item;
And the prompting module is used for not adding the work item and executing other execution flows after sending prompting information to the user if the preset budget requirement corresponding to the work item is not met.
For a specific limitation of the processing apparatus for the resource data, reference may be made to the limitation of the processing method for the resource data hereinabove, and the description thereof will not be repeated here. Each module in the above-mentioned processing device for resource data may be implemented in whole or in part by software, hardware, and a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 4. The computer device includes a processor, memory, interface, and database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device is used for storing data involved in a method of processing resource data. The interface of the computer device is used for connection communication with an external terminal. The computer program, when executed by a processor, implements a method of processing resource data.
In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the computer program to implement steps of a method for processing resource data in the foregoing embodiment, such as steps S10 to S40 shown in fig. 2. Or the processor, when executing the computer program, implements the functions of the modules/units of the processing device for resource data in the above embodiment, such as the functions of the modules 11 to 14 shown in fig. 3. In order to avoid repetition, a description thereof is omitted.
In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, which when executed by a processor implements the steps of a method for processing resource data in the above embodiment, for example, steps S10 to S40 shown in fig. 2. Or the computer program when executed by a processor, implements the functions of the modules/units of the processing apparatus for resource data in the above embodiment, such as the functions of the modules 11 to 14 shown in fig. 3. In order to avoid repetition, a description thereof is omitted.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (SYNCHLINK) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions.
The foregoing embodiments are merely illustrative of the technical solutions of the present invention, and not restrictive, and although the present invention has been described in detail with reference to the foregoing embodiments, it should be understood by those skilled in the art that modifications may still be made to the technical solutions described in the foregoing embodiments or equivalent substitutions of some technical features thereof, and that such modifications or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.