CN114238351A - Data updating method and device, electronic equipment and computer readable storage medium - Google Patents
Data updating method and device, electronic equipment and computer readable storage medium Download PDFInfo
- Publication number
- CN114238351A CN114238351A CN202111539865.1A CN202111539865A CN114238351A CN 114238351 A CN114238351 A CN 114238351A CN 202111539865 A CN202111539865 A CN 202111539865A CN 114238351 A CN114238351 A CN 114238351A
- Authority
- CN
- China
- Prior art keywords
- change information
- personnel
- personnel change
- information
- personal
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/23—Updating
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/21—Design, administration or maintenance of databases
- G06F16/215—Improving data quality; Data cleansing, e.g. de-duplication, removing invalid entries or correcting typographical errors
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
- G06F16/2282—Tablespace storage structures; Management thereof
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Quality & Reliability (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The embodiment of the application provides a data updating method, a data updating device, electronic equipment and a computer readable storage medium, and relates to the technical field of data processing. The method comprises the following steps: acquiring at least one piece of first personnel change information to be imported of a target object and a stored personnel change information set of the target object; determining and deleting at least one piece of redundant personnel change information in the personnel change information set to obtain the deleted personnel change information set; updating the deleted personnel change information set to obtain an updated personnel change information set; and updating the change details in the first personal change information, and storing the updated first personal change information into the updated personal change information set. The embodiment of the application avoids data abnormity caused by business hysteresis, improves data processing efficiency, improves fault tolerance, ensures data accuracy and has the capability of batch processing of a large amount of personnel transaction information.
Description
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a data updating method, an apparatus, an electronic device, and a computer-readable storage medium.
Background
The management of human resources in enterprises is generally realized by a personnel management system, and the personnel management system is used for liberating human resource workers from heavy daily trivial matters, applying more energy to human resource function management and management decisions of the enterprises and keeping continuous and efficient operation of the enterprises; the skills and qualification of all the labor forces are recorded, monitored and analyzed in a centralized manner, and decision analysis is provided; the overall scientific and technological content and the management efficiency of the enterprise are improved, and the informatization construction of the enterprise is accelerated.
In the prior art, the information of the change of related employees, namely, the personnel change information, is generally arranged in a mode of meeting communication and the like under an online state, and after the personnel change information is generally examined and approved by mails, the personnel change information is handed to a human resource department to update data to a personnel management system.
In practical situations, the business changes frequently, the offline communication mechanism may not update data in time due to various reasons, the data volume of personnel change information may be large, the offline arrangement efficiency is low, errors are easy to occur, it is difficult to recover and adjust quickly after errors occur, and much manpower and material resources are consumed.
Disclosure of Invention
The embodiment of the application provides a data updating method, a data updating device, electronic equipment and a computer readable storage medium, and can solve the problems that personnel change information updating speed is low, errors are easy to occur, and more resources need to be consumed for adjustment after the errors occur. The technical scheme is as follows:
according to an aspect of an embodiment of the present application, there is provided a data updating method, including:
acquiring at least one piece of first personnel change information to be imported of a target object and a stored personnel change information set of the target object, wherein the personnel change information set comprises at least one piece of second personnel change information, and the personnel change information comprises effective time, event type, personnel information and change details;
determining and deleting at least one piece of redundant personnel change information in the personnel change information set according to the event types in the first personnel change information and the second personnel change information to obtain a deleted personnel change information set;
updating the deleted personnel change information set according to the personnel information in the first personnel change information and the personnel information and the change details in the deleted personnel change information set to obtain an updated personnel change information set;
updating the change details in the first personal change information according to the updated personal change information set and the personal information in the first personal change information, and storing the updated first personal change information in the updated personal change information set.
In one possible implementation, determining and deleting at least one piece of redundant personnel variation information in the personnel variation information set according to the event types in the first personnel variation information and the second personnel variation information includes:
if it is determined that second personnel change information with the same target event type as any one piece of first personnel change information exists in the personnel change information set, marking the second personnel change information as redundant personnel change information;
deleting all second personnel change information marked as redundant personnel change information in the personnel change information set;
wherein the target event type comprises one or more of an entry, a transfer and a departure.
In another possible implementation manner, updating the deleted personnel change information set according to the personnel information in the first personnel change information and the personnel information and the change details in the deleted personnel change information set includes:
regarding any second personnel change information marked as redundant personnel change information in the personnel change information set, and taking the next piece of personnel change information behind the second personnel change information marked as the redundant personnel change information as first target personnel change information according to the sequence of effective time;
if the first target personnel change information is determined to be the second personnel change information which is not marked as the redundant personnel change information, after the second personnel change information marked as the redundant personnel change information is deleted, the personnel information in the first target personnel change information is updated according to the personnel information of the second personnel change information before the first target personnel change information.
In yet another possible implementation, the updating the deleted personnel change information set based on the personnel information in the first personnel change information and the personnel information and the change details in the deleted personnel change information set further includes:
for any piece of first personnel change information, taking the next piece of personnel change information after the first personnel change information as second target personnel change information according to the sequence of effective time;
and if the second target personnel change information is determined to be the second personnel change information, updating the second target personnel change information according to the personnel information of the first personnel change information and the personnel information and the change details in the second target personnel change information.
In yet another possible implementation, the updating the deleted personnel change information set based on the personnel information in the first personnel change information and the personnel information and the change details in the deleted personnel change information set further includes:
regarding any second personnel change information in the personnel change information set, taking the next piece of personnel change information after the second personnel change information as third target personnel change information according to the sequence of effective time;
if the third target personnel change information is determined to be the second personnel change information, the personnel information and the change details of the third personnel change information are updated according to the personnel information of the second personnel change information and the personnel information and the change details in the third target personnel change information.
In yet another possible implementation, updating the change details in the first personal change information based on the updated personal change information set and the personal information in the first personal change information includes:
for any piece of first personnel change information, according to the sequence of effective time, taking the last piece of personnel change information before the first personnel change information as fourth target personnel change information;
if the fourth target personnel change information is determined to be any second personnel change information in the personnel change information set, updating the change details in the fourth target personnel change information according to the personnel information in the second personnel change information and the personnel information in the fourth target personnel change information.
In yet another possible implementation, the last step, thereafter, further includes:
and sequencing the personnel change information in the personnel change information set according to the sequence of the effective time.
According to another aspect of embodiments of the present application, there is provided a data update apparatus including:
the system comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring at least one piece of first personnel change information to be imported of a target object and a stored personnel change information set of the target object, the personnel change information set comprises at least one piece of second personnel change information, and the personnel change information comprises effective time, an event type, personnel information and change details;
the deleting module is used for determining and deleting at least one piece of redundant personnel change information in the personnel change information set according to the event types in the first personnel change information and the second personnel change information to obtain a deleted personnel change information set;
the first updating module is used for updating the deleted personnel change information set according to the personnel information in the first personnel change information and the personnel information and the change details in the deleted personnel change information set to obtain an updated personnel change information set;
and the second updating module is used for updating the change details in the first personnel change information according to the updated personnel change information set and the personnel information in the first personnel change information, and storing the updated first personnel change information into the updated personnel change information set.
According to another aspect of the embodiments of the present application, there is provided an electronic device, which includes a memory, a processor and a computer program stored in the memory, wherein the processor executes the computer program to implement the steps of the data updating method described above.
According to still another aspect of embodiments of the present application, there is provided a computer-readable storage medium, and a computer program, when executed by a processor, implements the steps of the data update method described above.
The technical scheme provided by the embodiment of the application has the following beneficial effects:
according to the embodiment of the application, the first personnel change information to be imported and the second personnel change information in the stored personnel change information set are obtained, and the redundant personnel change information in the personnel change information set is determined and deleted, so that data abnormity caused by service hysteresis is avoided, and the data processing efficiency is improved; the deleted personnel change information set is updated, the first personnel change information is updated based on the updated personnel change information set, the updated first personnel change information is stored in the updated personnel change information set, the personnel change information is edited and data calibration is carried out on a field level, the fault tolerance is improved, the accuracy of data is guaranteed, and the capability of batch processing of a large amount of personnel change information is achieved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments of the present application will be briefly described below.
Fig. 1 is a schematic flow chart of a data updating method provided in an embodiment of the present application;
fig. 2 is a schematic view of a service flow provided in an embodiment of the present application;
FIG. 3 is a functional point diagram according to an embodiment of the present disclosure;
FIG. 4 is a schematic structural diagram of a data updating apparatus according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device of a data updating method according to an embodiment of the present application.
Detailed Description
Embodiments of the present application are described below in conjunction with the drawings in the present application. It should be understood that the embodiments set forth below in connection with the drawings are exemplary descriptions for explaining technical solutions of the embodiments of the present application, and do not limit the technical solutions of the embodiments of the present application.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should be further understood that the terms "comprises" and/or "comprising," when used in this specification in connection with embodiments of the present application, specify the presence of stated features, information, data, steps, operations, elements, and/or components, but do not preclude the presence or addition of other features, information, data, steps, operations, elements, components, and/or groups thereof, as embodied in the art. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. The term "and/or" as used herein indicates at least one of the items defined by the term, e.g., "a and/or B" may be implemented as "a", or as "B", or as "a and B".
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Business adjustment and organization architecture change frequently occur in an enterprise, adjustment of information of a large number of staff departments, posts, reporting lines and the like is involved each time, adjustment needs to coordinate personnel time of different departments each time, offline meeting communication is achieved, personnel change information is arranged offline, transaction content confirmation is completed through mail approval, finally transaction is conducted by a human resource department, transaction content which can be identified by a manual conversion system is changed, and data are updated to a personnel system through a lead-in template.
There may be problems as follows:
(1) the service changes frequently, the offline communication mechanism has hysteresis, and data cannot be updated in time.
(2) And the personnel change information is arranged offline, so that the data quality risk exists, and the communication cost is increased after problems are found.
(3) And e, mail approval is carried out, the process is opaque, and the audit progress needs to be followed frequently.
(4) The human conversion system can identify data, the efficiency is low, and certain misoperation risk exists.
(5) A quick fault-tolerant mechanism cannot be provided, so that the cross-breeding is influenced after a problem occurs, and the repair cost is high.
(6) The human resource part is busy with data import, so that the real reason record of each transaction can be ignored, and the follow-up data cannot be traced.
The application provides a data updating method, a data updating device, an electronic device and a computer-readable storage medium, which aim to solve the above technical problems in the prior art.
The technical solutions of the embodiments of the present application and the technical effects produced by the technical solutions of the present application will be described below through descriptions of several exemplary embodiments. It should be noted that the following embodiments may be referred to, referred to or combined with each other, and the description of the same terms, similar features, similar implementation steps and the like in different embodiments is not repeated.
An embodiment of the present application provides a data updating method, as shown in fig. 1, the method includes:
s101, at least one piece of first personnel change information to be imported of a target object and a stored personnel change information set of the target object are obtained, wherein the personnel change information set comprises at least one piece of second personnel change information, and the personnel change information comprises effective time, event type, personnel information and change details.
The personnel change information refers to information of changes of the staff in the position, the position and the level of the staff and the like in the career of the enterprise due to active performance of the staff or business adjustment in the enterprise, each change is personnel change information, and is specific to each object, for example, when the personnel change information of the target object needs to be updated for the selected target object, the personnel change information of the target object is obtained in the embodiment of the application.
It should be understood that, for the target object, in the embodiment of the present application, at least one piece of personnel change information of the target object to be imported into the personnel system for storage is taken as the first personnel change information, and at least one piece of personnel change information in the personnel system in which the stored personnel change information is concentrated is taken as the second personnel change information.
The personnel change information mainly comprises effective time, event type, personnel information and change details. For any piece of personnel change information, the effective time refers to the time when the personnel change information is effective, and is generally the date; the event type refers to the type of events occurring in the personnel change information, and comprises enrollment, correction, mobilization, promotion, data adjustment, departure and the like; the personnel information record refers to a specific personnel information field related to the target object, such as a department, a job and a report manager where the target object is located, included in the personnel change information; the change detail record is the personnel information that has changed in the piece of personnel change information, and may be specified based on the ID of each field of the personnel information, and the embodiment of the present application is not particularly limited.
S102, determining and deleting at least one piece of redundant personnel change information in the personnel change information set according to the event types in the first personnel change information and the second personnel change information, and obtaining the deleted personnel change information set.
It should be understood that the second personnel change information in the personnel change information set is stored in advance, however, in an actual situation, due to various reasons, a business delay may occur, that is, some second personnel change information does not actually take effect at the recorded effective time, and at least one piece of first personnel change information to be imported currently is already taken effect in an actual situation, for example, an enterprise opens a meeting to determine to change three pages to a department manager in 2 months and 1 st in 2 months and 5 st in the actual situation, or to change three pages to the department manager in 1 month and 25 st in advance.
Therefore, there may be some redundant personnel change information in the personnel change information set, where the redundant personnel change information is that there are some event types in at least one first personnel change information and at least one second personnel change information that are the same, but have different effective time, and the redundant personnel change information in the personnel change information set needs to be deleted to obtain the deleted personnel change information set, and the specific process is described in the following embodiments.
And S103, updating the deleted personnel change information set according to the personnel information in the first personnel change information and the personnel information and the change details in the deleted personnel change information set to obtain an updated personnel change information set.
It should be understood that after deleting the redundant personnel change information in the personnel change information set, if at least one piece of first personnel change information to be imported is imported into the deleted personnel change information set, the imported first personnel change information affects the second personnel change information in the personnel change information set, and the personnel information of the second personnel change information in the personnel change information needs to be updated.
Specifically, the personnel information in the first personnel change information is compared with the personnel information of the second personnel change information in the deleted personnel change information set, and whether the personnel information has changed or not is determined by combining the change details of the second personnel change information, and a specific implementation process is described in the following embodiments.
And S104, updating the change details in the first personal change information according to the updated personal change information set and the personal information in the first personal change information, and storing the updated first personal change information into the updated personal change information set.
It should be understood that, if at least one piece of first personal change information to be imported is imported into the updated personnel change information set, the updated second personnel change information in the personnel change information set also affects the imported first personal change information, and the first personal change information change details need to be updated.
Specifically, the personnel information in the first personnel change information is compared with the updated second personnel change information, different fields in the personnel information in the first personnel change information and the second personnel change information are determined, and the change details in the first personnel change information are generated, and the specific process is described in the subsequent embodiments.
According to the embodiment of the application, the first personnel change information to be imported and the second personnel change information in the stored personnel change information set are obtained, and the redundant personnel change information in the personnel change information set is determined and deleted, so that data abnormity caused by service hysteresis is avoided, and the data processing efficiency is improved; the deleted personnel change information set is updated, the first personnel change information is updated based on the updated personnel change information set, the updated first personnel change information is stored in the updated personnel change information set, the personnel change information is edited and data calibration is carried out on a field level, the fault tolerance is improved, the accuracy of data is guaranteed, and the capability of batch processing of a large amount of personnel change information is achieved.
The embodiment of the present application provides a possible implementation manner, where determining and deleting at least one piece of redundant personnel change information in a personnel change information set according to event types in first personnel change information and second personnel change information, includes:
if it is determined that second personnel change information with the same target event type as any one piece of first personnel change information exists in the personnel change information set, marking the second personnel change information as redundant personnel change information;
deleting all second personnel change information marked as redundant personnel change information in the personnel change information set;
wherein the target event type comprises one or more of an entry, a transfer and a departure.
It should be understood that events such as entry, correction, and departure are unique in each person's career, such as entry/re-entry, correction, active/passive departure/practice termination, and therefore there cannot be personnel variation information of the respective repeated event types in the personnel variation information set.
Based on the above, in the present embodiment, the event types of the job entry, the transfer and the leave are used as the target event types, and according to the event type of at least one piece of first personal change information to be imported, if it is determined that there is second personal change information in the personal change information set, which has the same target event type as that of recognizing one piece of first personal change information, the second personal change information is marked as redundant personal change information, so as to facilitate subsequent deletion of the redundant personal change information.
The second personnel change information needing to be deleted is marked as redundant personnel change information because the second personnel change information in the personnel change information set may be more, the second personnel change information needing to be deleted is more, and the redundant personnel change information deleted may affect other second personnel change information in the personnel change information set.
TABLE 1 first person change information table
TABLE 2 second personnel change information Table with the personnel change information set
For example, for the first personal change information in table 1 and the second personal change information in the personal change information set shown in table 2, the target objects are all employee three, and if the first personal change information in table 1 is merged into the personal change information set in table 2, the first personal change information and the second personal change information, the event types of which are in-duty, and out-of-duty, in table 1 and table 2 can be compared, the redundant personal change information in table 1 can be deleted, and the second personal change information shown in the first, second, third, and sixth rows in table 2 can be determined to be redundant personal change information, as shown in table 3 below, wherein the behavior of the horizontal line is marked as the second personal change information of the redundant personal change information:
table 3, second personnel change information table with the deleted personnel change information sets
It can be seen that, in table 3, compared to table 2, the second personnel variation information whose event types are entry, forwarding and departure in table 3 and table 2 are all marked as redundant variation personnel information, and it should be understood that, for an entry event, there is no personnel variation before entry, and therefore the second personnel variation information shown in the second row in table 1 should also be deleted, and similarly, for a departure event, there is no personnel variation information after departure.
The embodiment of the present application provides a possible implementation manner, in which the deleted personnel change information set is updated according to the personnel information in the first personnel change information and the personnel information and the change details in the deleted personnel change information set, including:
regarding any second personnel change information marked as redundant personnel change information in the personnel change information set, and taking the next piece of personnel change information behind the second personnel change information marked as the redundant personnel change information as first target personnel change information according to the sequence of effective time;
if the first target personnel change information is determined to be the second personnel change information which is not marked as the redundant personnel change information, after the second personnel change information marked as the redundant personnel change information is deleted, the personnel information in the first target personnel change information is updated according to the personnel information of the second personnel change information before the first target personnel change information.
It should be appreciated that deleting the second personnel change information marked as redundant personnel change information in the personnel change information set may have an effect on the remaining second personnel change information, which may not be the same as the remaining two adjacent pieces of second personnel change information.
Based on the above, in this embodiment, the next piece of personnel variation information after the second personnel variation information marked as redundant personnel variation information can be used as the first target personnel variation information, and if the first target personnel variation information is determined to be the second personnel variation information not marked as redundant personnel variation information, the personnel information in the first target personnel variation information can be updated according to the personnel information of the second personnel variation information before the first target personnel variation information after the second personnel variation information marked as redundant personnel variation information is deleted.
TABLE 4 first person change information table
TABLE 5 second personnel change information table with centralized personnel change information
As shown in table 4 and table 5 above, when the first human change information in table 4 is imported into the human change information set in table 5, the second human change information shown in the third row in table 5 can be identified as redundant human change information, the second human change information shown in the fourth row can be identified as first target human change information, and the crosslined information is marked as redundant human change information as shown in table 6 below:
TABLE 6 second personnel change information table with centralized personnel change information
As shown in table 6, the second personnel change information shown in the fourth row of table 6 is the first target personnel change information, and as compared with table 5, when the second personnel change information shown in the third row is deleted, it can be seen that the job in the personnel information of the personnel change information shown in the fourth row of table 5 is different from the job in the personnel information of the second personnel change information shown in the third row, and therefore the job in the second personnel change information shown in the fourth row of table 5 is updated to "salary", and the change specification to "job, report and master" results in the personnel change information set shown in table 6.
The embodiment of the present application provides a possible implementation manner, in which the deleted personnel change information set is updated according to the personnel information in the first personnel change information and the personnel information and the change details in the deleted personnel change information set, and the implementation manner further includes:
for any piece of first personnel change information, taking the next piece of personnel change information after the first personnel change information as second target personnel change information according to the sequence of effective time;
and if the second target personnel change information is determined to be the second personnel change information, updating the second target personnel change information according to the personnel information of the first personnel change information and the personnel information and the change details in the second target personnel change information.
It should be understood that, after the second personnel change information marked as redundant change personnel information is deleted, if the first personnel change information is imported into the personnel change information set, the personnel information of the imported first personnel change information may be different from the personnel information in the next second personnel change information after the first personnel change information according to the sequence of the validation time, and the second personnel change information in the personnel change information set needs to be updated.
Based on the above, in the present embodiment, the next personal variation information after the first personal variation information is used as the second target personal variation information, and if the second target personal variation information is determined to be the second personal variation information, the second target personal variation information may be updated based on the personal information of the first personal variation information and the personal information and the change details in the second target personal variation information.
TABLE 7, first personnel variation information and second personnel variation information comprehensive table
As shown in table 7 above, in order to facilitate viewing, in the embodiment of the present application, according to the order of effective time, the first personnel change information and the second personnel change information shown in tables 1 and 2 in the above embodiments are merged together to obtain table 7.
Wherein the second personnel variation information shown in the first, second, fourth and ninth rows of the horizontal lines in Table 7 are all redundant personnel variation information, when the first personal change information shown on the third row is imported into the personal change information set after the second personal change information marked as redundant personal change information shown on the fourth row in table 7 is deleted, the second personnel change information shown in the fifth row can be determined as the second target personnel change information, the first personnel change information shown in the third row can be compared with the second personnel change information shown, it can be determined that the department, the job, and the report administrator are all different, the change detail of the fifth row records the plant and the report supervisor, which indicate that the job and the report supervisor have changed, since the division of the fifth row is not changed, the division of the fifth row is updated to the "human resources department/SSC group" in the third row.
The embodiment of the present application provides a possible implementation manner, in which the deleted personnel change information set is updated according to the personnel information in the first personnel change information and the personnel information and the change details in the deleted personnel change information set, and the implementation manner further includes:
regarding any second personnel change information in the personnel change information set, taking the next piece of personnel change information after the second personnel change information as third target personnel change information according to the sequence of effective time;
if the third target personnel change information is determined to be the second personnel change information, the personnel information and the change details of the third personnel change information are updated according to the personnel information of the second personnel change information and the personnel information and the change details in the third target personnel change information.
It should be understood that, if the first personal change information is imported into the deleted personal change information set, some second personal change information in the personal change set will be affected, and if the part of the second personal change information is updated, the rest of the second personal change information will be further affected.
Based on the above, in the present embodiment, the next piece of personnel variation information after the second personnel variation information is used as the third target personnel variation information, and if it is determined that the third target personnel variation information is the second personnel variation information, the personnel information and the change details of the third personnel variation information are updated according to the personnel information of the second personnel variation information and the personnel information and the change details in the third target personnel variation information.
TABLE 8 second personnel change information Table with the personnel change information set
TABLE 9, first personnel change information and second personnel change information comprehensive table
As shown in tables 8 and 9, the first personal behavior information in table 1 in the above embodiment is imported into table 8, and the first personal behavior information and the second personal behavior information are displayed in a combined manner to obtain table 9.
It should be noted that the second personnel change information shown in the fifth row of table 9 is the third target personnel change information, and the job in the second personnel change information shown in the fourth row of table 9 is updated to the "human resources department/SSC group" compared with table 8, and the job in the personnel information of the second personnel change information shown in the fifth row can be updated to the "human resources department/SSC group" according to the job in the personnel information of the second personnel change information shown in the fourth row.
In an embodiment of the present application, a possible implementation manner is provided for updating a change detail in first personal change information according to an updated personal change information set and personal information in the first personal change information, including:
for any piece of first personnel change information, according to the sequence of effective time, taking the last piece of personnel change information before the first personnel change information as fourth target personnel change information;
if the fourth target personnel change information is determined to be any second personnel change information in the personnel change information set, updating the change details in the fourth target personnel change information according to the personnel information in the second personnel change information and the personnel information in the fourth target personnel change information.
It should be understood that if the first personal change information is imported into the personnel change information set, the personnel information of the second personal change information that is not deleted in the personnel change information set before the imported first personal change information may be different from the personnel information of the imported first personal change information.
Based on the above, in the present embodiment, the previous personal variation information before the first personal variation information may be used as the fourth target personal variation information, and if it is determined that the fourth target personal variation information is any piece of second personal variation information in the collection of personal variation information, the change details in the fourth target personal variation information may be updated according to the personal information in the second personal variation information and the personal information in the fourth target personal variation information.
Table 10, first personnel change information and second personnel change information integrated table
As shown in table 10, table 10 is obtained by importing the first personal variation information in table 4 into the personal variation information set in table 5 and integrating the first personal variation information and the second personal variation information based on tables 4 and 5 in the above embodiment.
As can be seen, the second personal variation information shown in the third bar of table 10 is marked as redundant personal variation information, the first personal variation information shown in the fifth bar is imported first personal variation information, the first personal variation information shown in the fifth bar can be regarded as fourth target personal variation information, and the personal information of the second personal variation information shown in the fourth bar can be compared with the fourth target personal variation information to determine that the job in the personal information of the second personal variation information shown in the fourth bar is different from the job in the personal information of the fourth target personal variation information, so the change details in the fourth target personal variation information are updated to "job".
The embodiment of the present application provides a possible implementation manner, and in the last step, the method further includes:
and sequencing the personnel change information in the personnel change information set according to the sequence of the effective time.
It should be understood that the effective time is very important information in the personnel change information, and each piece of personnel change information takes effect at the effective time, so that after being sorted based on the effective time, whether the personnel change information set is deleted, updated or stored, the personnel change information in the personnel change information set can be sorted according to the sequence of the effective time.
A possible implementation manner is provided in the embodiment of the present application, fig. 2 is a schematic view of a service flow provided in the embodiment of the present application, and fig. 3 is a schematic view of a function point provided in the embodiment of the present application.
As shown in fig. 2, in the embodiment of the present application, batch transaction may be initiated, that is, batch personnel change information is processed, and batch processing personnel are selected, that is, personnel change information of a plurality of objects is selected for processing;
maintaining batch transaction contents, namely deleting, updating, storing and the like the human event change information;
batch data verification, namely verifying the personnel change information after maintenance, and continuing to maintain until the verification is passed if the verification is not passed;
submitting and checking, namely submitting the verified personnel change information to relevant personnel or a system for automatic approval, selecting an approval process to be used, initiating batch transaction approval, if special conditions are met, updating data by an auditor, controlling which nodes are allowed to be edited through the editing authority of the approval nodes, generating traceable content after each node is edited, and ensuring complete traceable data.
Modifying in the process, namely, if the examination and approval is not passed, continuing the modification, or maintaining again after updating the system version;
auditing, namely auditing the modified data again, and if the modified data do not pass, rejecting the data to a draft for storage;
batch processing of data landing means that data landing is realized after re-examination is passed, namely personnel change information is stored;
after-event fault tolerance means that after personnel change information is stored, problems still exist, batch processing data can be rolled back, and the memorability of the personnel change information is verified again; if there is no problem, the process is terminated.
In order to enable an approver to conveniently and quickly see specific changed contents, the product can mark the changed contents in color by means of PDF rendering capacity, meanwhile, the form of PDF is convenient for an auditor to complete content lookup through any equipment (without limitation of a PC or mobile equipment), and an additional plug-in is not required to be installed.
After approval, the data can be published into staff transaction records through approval processing, complete career data is generated according to transaction effective dates, and meanwhile, operation records are generated.
If the data are found to be abnormal after the approval, the batch data can be withdrawn through the approval withdrawing function, and the fault tolerance of the function is ensured.
As shown in fig. 3, in order to implement the above service flow in the embodiment of the present application, a management model such as a batch transaction processing function, an online form, a PDF rendering, a data draft, an authority system, a traffic engine, a batch processing program, and a transaction record event tube is constructed.
Specifically, the process engine may build a batch transaction approval process with the help of a standard process engine, and the customized characteristics of the process form and the approval search rule may satisfy multiple scenarios of batch transaction of the user, such as approval to CEO required for batch promotion, split and merge of one-level services, and one-level department responsible persons required for approval to multiple services, all of which may be defined by the process.
A batch processing program, that is, a data updating method implemented in the foregoing embodiments of the present application.
And the online form finishes online preview and editing of data by virtue of the online form, the online preview has the EXCEL standard capability, supports the conventional EXCEL operations of data message verification, copying, pasting, dragging, copying and the like, and simultaneously provides comparison of data before transaction for a product, so that a maintainer can conveniently and quickly check the data.
PDF rendering, namely large batches of form data can be displayed at a mobile terminal by virtue of the characteristic that PDF can be rendered through a browser (for example, a picture at a mobile terminal can be opened), so that services can still be processed when an auditor is separated from a PC environment conveniently, and meanwhile, the color of the data can be marked and changed to help the auditor to read the changed content quickly.
The data draft is edited on line, the draft is saved, and the scenes of multi-section editing and changing contents can be met due to the fact that batch change contents are more and HR work rhythm is easy to break.
And the authority system is controlled to a field level through a standard role authority, so that an enterprise can complete the maximum authorization by means of products.
The transaction record time axis management model comprises addition, modification and deletion of transaction records, wherein the transaction records are personnel change information recorded and stored in the embodiment of the application.
Specifically, the newly adding of the transaction record comprises reading a latest change value of a modification field before modification effective time, judging whether a current value is consistent with a final change value, if so, indicating that no change exists, namely inheritance exists, and if not, indicating that a change exists, and inserting a change corresponding to an event type into a change detail; if the two fields are inconsistent, it is still necessary to determine whether the changed value of the corresponding field last time after the effective time is consistent with the current value, and if so, modify the corresponding effective time.
Modifying the transaction record, namely reading a latest change value of a modification field before the modification effective time, judging whether the current value is consistent with the final change value, if so, indicating that no change exists, namely inheritance exists, and if not, indicating that a change exists, and inserting a change corresponding to the effective time into the change detail; . If the two fields are inconsistent, it is still necessary to determine whether the changed value of the corresponding field last time after the effective event is consistent with the current value, and if so, modify the corresponding effective time.
And deleting the transaction records, wherein if the effective event for deleting the transaction records has corresponding change details, all the transaction records after the effective event are recalculated based on the change details, and if the effective time for deleting the transaction records does not have the change details, no processing is performed.
The embodiment of the application can realize the following beneficial effects through the content:
(1) the method provides a solution of batch transaction, and improves the data processing efficiency and the data accuracy of the rapid change of the HR response service.
(2) Batch maintenance of a large amount of data is achieved through interaction of online forms, the interaction mode is close to EXCEL, and the use habit of HR is better met.
(3) Through field level authority control, authority transfer of data processing can be achieved.
(4) By means of PDF rendering of the online form, an auditor can complete examination and approval through any end, and experience and efficiency are improved.
(5) Through the batch processing capability, the automatic data falling can be realized, the backward covering of the data is realized, and the history change is not difficult any more.
(6) And the availability of the system is ensured to the maximum extent through a fault tolerance mechanism.
An embodiment of the present application provides a data updating apparatus, and as shown in fig. 4, the data updating apparatus may include: an acquisition module 110, a pruning module 210, a first update module 310, and a second update module 410, wherein,
an obtaining module 110, configured to obtain at least one piece of first personnel change information to be imported of a target object and a stored personnel change information set of the target object, where the personnel change information set includes at least one piece of second personnel change information, and the personnel change information includes effective time, an event type, personnel information, and change details;
a deletion module 210, configured to determine and delete at least one piece of redundant personnel variation information in the personnel variation information set according to event types in the first personnel variation information and the second personnel variation information, and obtain a deleted personnel variation information set;
a first updating module 310, configured to update the deleted personnel change information set according to the personnel information in the first personnel change information and the personnel information and the change details in the deleted personnel change information set, so as to obtain an updated personnel change information set;
the second updating module 410 is configured to update the change details in the first personal change information according to the updated personal change information set and the personal information in the first personal change information, and store the updated first personal change information in the updated personal change information set.
According to the embodiment of the application, the first personnel change information to be imported and the second personnel change information in the stored personnel change information set are obtained, and the redundant personnel change information in the personnel change information set is determined and deleted, so that data abnormity caused by service hysteresis is avoided, and the data processing efficiency is improved; the deleted personnel change information set is updated, the first personnel change information is updated based on the updated personnel change information set, the updated first personnel change information is stored in the updated personnel change information set, the personnel change information is edited and data calibration is carried out on a field level, the fault tolerance is improved, the accuracy of data is guaranteed, and the capability of batch processing of a large amount of personnel change information is achieved.
In one possible implementation, the pruning module 210 includes:
the determining and deleting module is used for marking the second personnel change information as redundant personnel change information if determining that the second personnel change information with the same target event type as any one piece of first personnel change information exists in the personnel change information set;
deleting all second personnel change information marked as redundant personnel change information in the personnel change information set;
wherein the target event type comprises one or more of an entry, a transfer and a departure.
In another possible implementation, the first updating module 310 includes:
the first information updating module is used for taking the next personnel change information behind any second personnel change information marked as redundant personnel change information in the personnel change information set as first target personnel change information according to the sequence of effective time;
if the first target personnel change information is determined to be the second personnel change information which is not marked as the redundant personnel change information, after the second personnel change information marked as the redundant personnel change information is deleted, the personnel information in the first target personnel change information is updated according to the personnel information of the second personnel change information before the first target personnel change information.
In yet another possible implementation manner, the first updating module 310 further includes:
the second information updating module is used for taking the next personnel change information after the first personnel change information as second target personnel change information according to the sequence of the effective time for any first personnel change information;
and if the second target personnel change information is determined to be the second personnel change information, updating the second target personnel change information according to the personnel information of the first personnel change information and the personnel information and the change details in the second target personnel change information.
In yet another possible implementation manner, the first updating module 310 further includes:
the third information updating module is used for taking any second personnel change information in the personnel change information set as third target personnel change information according to the sequence of the effective time and taking the next piece of personnel change information after the second personnel change information;
if the third target personnel change information is determined to be the second personnel change information, the personnel information and the change details of the third personnel change information are updated according to the personnel information of the second personnel change information and the personnel information and the change details in the third target personnel change information.
In yet another possible implementation, the second updating module 410 includes:
the fourth information updating module is used for taking the previous personnel change information before the first personnel change information as fourth target personnel change information according to the sequence of the effective time for any first personnel change information;
if the fourth target personnel change information is determined to be any second personnel change information in the personnel change information set, updating the change details in the fourth target personnel change information according to the personnel information in the second personnel change information and the personnel information in the fourth target personnel change information.
In yet another possible implementation manner, the second updating module 410 further includes:
and the sequencing module is used for sequencing the personnel change information in the personnel change information set according to the sequence of the effective time.
The embodiment of the application provides an electronic device, which comprises a memory, a processor and a computer program stored on the memory, wherein the processor executes the computer program to realize the steps of the data updating method, and compared with the related art, the method can realize the following steps: according to the embodiment of the application, the first personnel change information to be imported and the second personnel change information in the stored personnel change information set are obtained, and the redundant personnel change information in the personnel change information set is determined and deleted, so that data abnormity caused by service hysteresis is avoided, and the data processing efficiency is improved; the deleted personnel change information set is updated, the first personnel change information is updated based on the updated personnel change information set, the updated first personnel change information is stored in the updated personnel change information set, the personnel change information is edited and data calibration is carried out on a field level, the fault tolerance is improved, the accuracy of data is guaranteed, and the capability of batch processing of a large amount of personnel change information is achieved.
In an alternative embodiment, an electronic device is provided, as shown in fig. 5, the electronic device 4000 shown in fig. 5 comprising: a processor 4001 and a memory 4003. Processor 4001 is coupled to memory 4003, such as via bus 4002. Optionally, the electronic device 4000 may further include a transceiver 4004, and the transceiver 4004 may be used for data interaction between the electronic device and other electronic devices, such as transmission of data and/or reception of data. In addition, the transceiver 4004 is not limited to one in practical applications, and the structure of the electronic device 4000 is not limited to the embodiment of the present application.
The Processor 4001 may be a CPU (Central Processing Unit), a general-purpose Processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other Programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor 4001 may also be a combination that performs a computational function, including, for example, a combination of one or more microprocessors, a combination of a DSP and a microprocessor, or the like.
The Memory 4003 may be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical Disc storage, optical Disc storage (including Compact Disc, laser Disc, optical Disc, digital versatile Disc, blu-ray Disc, etc.), a magnetic Disc storage medium, other magnetic storage devices, or any other medium that can be used to carry or store a computer program and that can be Read by a computer, without limitation.
The memory 4003 is used for storing computer programs for executing the embodiments of the present application, and is controlled by the processor 4001 to execute. The processor 4001 is used to execute computer programs stored in the memory 4003 to implement the steps shown in the foregoing method embodiments.
Embodiments of the present application provide a computer-readable storage medium, on which a computer program is stored, and when being executed by a processor, the computer program may implement the steps and corresponding contents of the foregoing method embodiments.
The terms "first," "second," "third," "fourth," "1," "2," and the like in the description and in the claims of the present application and in the above-described drawings (if any) are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in other sequences than illustrated or otherwise described herein.
It should be understood that, although each operation step is indicated by an arrow in the flowchart of the embodiment of the present application, the implementation order of the steps is not limited to the order indicated by the arrow. In some implementation scenarios of the embodiments of the present application, the implementation steps in the flowcharts may be performed in other sequences as desired, unless explicitly stated otherwise herein. In addition, some or all of the steps in each flowchart may include multiple sub-steps or multiple stages based on an actual implementation scenario. Some or all of these sub-steps or stages may be performed at the same time, or each of these sub-steps or stages may be performed at different times, respectively. In a scenario where execution times are different, an execution sequence of the sub-steps or the phases may be flexibly configured according to requirements, which is not limited in the embodiment of the present application.
The foregoing is only an optional implementation manner of a part of implementation scenarios in this application, and it should be noted that, for those skilled in the art, other similar implementation means based on the technical idea of this application are also within the protection scope of the embodiments of this application without departing from the technical idea of this application.
Claims (10)
1. A method for updating data, the method comprising:
acquiring at least one piece of first personnel change information to be imported of a target object and a stored personnel change information set of the target object, wherein the personnel change information set comprises at least one piece of second personnel change information, and the personnel change information comprises effective time, event type, personnel information and change details;
determining and deleting at least one piece of redundant personnel change information in the personnel change information set according to the event types in the first personnel change information and the second personnel change information to obtain a deleted personnel change information set;
updating the deleted personnel change information set according to personnel information in the first personnel change information and personnel information and change details in the deleted personnel change information set to obtain an updated personnel change information set;
updating the change details in the first personal change information according to the updated personal change information set and the personal information in the first personal change information, and storing the updated first personal change information in the updated personal change information set.
2. The data updating method of claim 1, wherein the determining and deleting at least one piece of redundant personnel change information in the personnel change information set according to the event type in the first personnel change information and the second personnel change information comprises:
if it is determined that second personnel change information with the same target event type as any one piece of first personnel change information exists in the personnel change information set, marking the second personnel change information as redundant personnel change information;
deleting all second personnel change information marked as redundant personnel change information in the personnel change information set;
wherein the target event type comprises one or more of an enrollment, a conversion, and a departure.
3. The data updating method according to claim 2, wherein the updating the deleted personnel change information set based on the personnel information in the first personnel change information and the personnel information and the change details in the deleted personnel change information set comprises:
regarding any second personnel change information marked as redundant personnel change information in the personnel change information set, and taking the next piece of personnel change information behind the second personnel change information marked as the redundant personnel change information as first target personnel change information according to the sequence of effective time;
if the first target personnel change information is determined to be the second personnel change information which is not marked as the redundant personnel change information, after the second personnel change information marked as the redundant personnel change information is deleted, the personnel information in the first target personnel change information is updated according to the personnel information of the second personnel change information before the first target personnel change information.
4. The data updating method according to claim 3, wherein the updating the deleted personnel change information set based on personnel information in the first personnel change information and personnel information and change details in the deleted personnel change information set further comprises:
for any piece of first personnel change information, taking the next piece of personnel change information after the first personnel change information as second target personnel change information according to the sequence of effective time;
and if the second target personnel change information is determined to be second personnel change information, updating the second target personnel change information according to personnel information of the first personnel change information and personnel information and change details in the second target personnel change information.
5. The data updating method according to claim 4, wherein the updating the deleted personnel change information set based on personnel information in the first personnel change information and personnel information and change details in the deleted personnel change information set further comprises:
regarding any second personnel change information in the personnel change information set, and taking the next piece of personnel change information after the second personnel change information as third target personnel change information according to the sequence of effective time;
and if the third target personnel change information is determined to be second personnel change information, updating the personnel information and the change details of the third personnel change information according to the personnel information of the second personnel change information and the personnel information and the change details in the third target personnel change information.
6. The data updating method according to claim 5, wherein the updating the change details in the first personal change information based on the updated personal change information set and the personal information in the first personal change information includes:
for any piece of first personnel change information, according to the sequence of effective time, taking the last piece of personnel change information before the first personnel change information as fourth target personnel change information;
and if the fourth target personnel change information is determined to be any second personnel change information in the personnel change information set, updating the change details in the fourth target personnel change information according to the personnel information in the second personnel change information and the personnel information in the fourth target personnel change information.
7. The data updating method of claim 1, wherein the last step is followed by further comprising:
and sequencing the personnel change information in the personnel change information set according to the sequence of the effective time.
8. A data update apparatus, comprising:
the system comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring at least one piece of first personnel change information to be imported of a target object and a stored personnel change information set of the target object, the personnel change information set comprises at least one piece of second personnel change information, and the personnel change information comprises effective time, an event type, personnel information and change details;
the deleting module is used for determining and deleting at least one piece of redundant personnel change information in the personnel change information set according to the event types in the first personnel change information and the second personnel change information to obtain a deleted personnel change information set;
a first updating module, configured to update the deleted personnel change information set according to the personnel information in the first personnel change information and the personnel information and the change details in the deleted personnel change information set, so as to obtain an updated personnel change information set;
and the second updating module is used for updating the change details in the first personal change information according to the updated personal change information set and the personal information in the first personal change information, and storing the updated first personal change information into the updated personal change information set.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory, characterized in that the processor executes the computer program to implement the steps of the data update method of any of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the data updating method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111539865.1A CN114238351A (en) | 2021-12-15 | 2021-12-15 | Data updating method and device, electronic equipment and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111539865.1A CN114238351A (en) | 2021-12-15 | 2021-12-15 | Data updating method and device, electronic equipment and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114238351A true CN114238351A (en) | 2022-03-25 |
Family
ID=80756795
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111539865.1A Pending CN114238351A (en) | 2021-12-15 | 2021-12-15 | Data updating method and device, electronic equipment and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114238351A (en) |
-
2021
- 2021-12-15 CN CN202111539865.1A patent/CN114238351A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20110129806A1 (en) | System for training | |
US20100161374A1 (en) | Real-Time Quality Data and Feedback for Field Inspection Systems and Methods | |
CN110879939A (en) | Method and device for generating response document | |
CN112801777A (en) | Bank letter automatic processing method, system, electronic equipment and storage medium | |
US10891294B1 (en) | Automatically migrating computer content | |
CN113919761A (en) | Litigation case management method, system and device | |
CN115099791A (en) | Intelligent contract delivery platform based on block chain and operation method thereof | |
CN104899799A (en) | Project management system | |
CN117556796A (en) | Project document processing method, device, computer equipment and storage medium | |
CN117036062A (en) | Accounting resource calculation method and device | |
CN111858236A (en) | Knowledge graph monitoring method and device, computer equipment and storage medium | |
CN114238351A (en) | Data updating method and device, electronic equipment and computer readable storage medium | |
CN108364162B (en) | Task interface management method, system and terminal equipment | |
CN115829305A (en) | Data processing method and device, electronic equipment and storage medium | |
CN112258324B (en) | Contract approval method, contract approval server, device and medium | |
CN112862264A (en) | Enterprise operation condition analysis method, computer device and computer storage medium | |
CN113743791A (en) | Business evaluation method and device for business work order, electronic equipment and medium | |
CN112734389A (en) | Human resource management method, system, storage medium and electronic device | |
Alqodri et al. | Helpdesk ticket support system based on fuzzy Tahani algorithm | |
CN118673893B (en) | Method, device and equipment for generating document and computer readable storage medium | |
CN109767276A (en) | It makes out an invoice data creation method, device, computer equipment and storage medium | |
CN111582754B (en) | Risk investigation method, apparatus, device and computer readable storage medium | |
CN115510827A (en) | Data processing method, device, equipment and medium based on line data type label | |
Singh et al. | Enhancing organizational performance through Balance scorecard with strategic management activities | |
CN114741577B (en) | Service data management method, system, electronic equipment and readable 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 |