CN109858812B - Human resource management method, device, medium and electronic equipment based on block chain - Google Patents

Human resource management method, device, medium and electronic equipment based on block chain Download PDF

Info

Publication number
CN109858812B
CN109858812B CN201910100648.9A CN201910100648A CN109858812B CN 109858812 B CN109858812 B CN 109858812B CN 201910100648 A CN201910100648 A CN 201910100648A CN 109858812 B CN109858812 B CN 109858812B
Authority
CN
China
Prior art keywords
vector
calculation result
similarity calculation
human resource
comment
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.)
Active
Application number
CN201910100648.9A
Other languages
Chinese (zh)
Other versions
CN109858812A (en
Inventor
李夫路
常谦
裴宏斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Taikang Insurance Group Co Ltd
Original Assignee
Taikang Insurance Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Taikang Insurance Group Co Ltd filed Critical Taikang Insurance Group Co Ltd
Priority to CN201910100648.9A priority Critical patent/CN109858812B/en
Publication of CN109858812A publication Critical patent/CN109858812A/en
Application granted granted Critical
Publication of CN109858812B publication Critical patent/CN109858812B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention provides a human resource management method, a human resource management device, a human resource management medium and electronic equipment based on a block chain, wherein the human resource management method based on the block chain comprises the following steps: acquiring human resource data in a block chain network; the human resource data comprise a reviewer, a reviewed and review content for the reviewer to review the reviewed; respectively generating a first vector, a second vector and a third vector according to the reviewer, the reviewed and the review content; calculating the similarity of two third vectors corresponding to the same first vector and/or the same second vector at two different moments to obtain a similarity calculation result; judging whether the comment content is effective or not according to the similarity calculation result; and storing the judgment result of the comment content in the block chain network. The technical scheme of the invention solves the problems that due to artificial factors, the fairness and the objectivity of the comment result are poor, and the accuracy of the comment result is low in the prior art.

Description

Human resource management method, device, medium and electronic equipment based on block chain
Technical Field
The invention relates to the technical field of block chains, in particular to a human resource management method, a human resource management device, a human resource management medium and electronic equipment based on block chains.
Background
At present, most of human resource management (for example, multiple comments on an employee and the like) is performed privately, and since most of the human resource management is performed anonymously, and a comment result is obtained through manual statistics, the comment result obtained in this way is inevitably poor in fairness and objectivity of the comment result due to human factors, and therefore the accuracy of the comment result is low.
It is to be noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the present invention and therefore may include information that does not constitute prior art known to a person of ordinary skill in the art.
Disclosure of Invention
Embodiments of the present invention provide a method, an apparatus, a medium, and an electronic device for managing human resources based on a block chain, so as to overcome the problem of low accuracy of a review result at least to a certain extent.
Additional features and advantages of the invention will be set forth in the detailed description which follows, or may be learned by practice of the invention.
According to a first aspect of the embodiments of the present invention, there is provided a method for human resource management based on a block chain, including:
acquiring human resource data in a block chain network; the human resource data comprise a commentator, a commented person and comment content for commenting the commented person by the commentator;
respectively generating a first vector, a second vector and a third vector according to the reviewer, the reviewed and the review content;
calculating the similarity of two third vectors corresponding to the same first vector and/or the same second vector at two different moments to obtain a similarity calculation result;
judging whether the comment content is effective or not according to the similarity calculation result; and storing the judgment result of the comment content in the block chain network.
In some embodiments of the present invention, based on the foregoing scheme, generating the first vector, the second vector, and the third vector from the reviewer, the reviewed, and the review content, respectively, comprises:
randomly extracting a plurality of commentators from the human resource data to generate the first vector, and extracting a plurality of commentators to generate the second vector;
and extracting a plurality of comment contents from the human resource data based on the time sequence to generate the third vector.
In some embodiments of the present invention, based on the foregoing solution, calculating the similarity of two third vectors corresponding to the same first vector and/or the same second vector at two different time instants to obtain a similarity calculation result includes:
calculating the similarity of two third vectors corresponding to the first vector at two different moments to obtain a first similarity calculation result based on the same first vector; and/or
And calculating the similarity of two third vectors corresponding to the second vector at two different moments based on the same second vector to obtain a second similarity calculation result.
In some embodiments of the present invention, based on the foregoing solution, the method for manpower resource management based on block chains further includes:
calculating the similarity of two third vectors at two different moments to obtain a third similarity calculation result;
and the time interval between the two different moments is not more than a first preset time.
In some embodiments of the present invention, based on the foregoing solution, determining whether the comment content is valid according to the similarity calculation result includes:
and judging whether the comment content is effective or not according to the first similarity calculation result and/or the second similarity calculation result.
In some embodiments of the present invention, based on the foregoing solution, determining whether the comment content is valid according to the first similarity calculation result and/or the second similarity calculation result includes:
judging whether the first similarity calculation result is larger than a first threshold value or not;
if the first similarity calculation result is greater than a first threshold; and/or judging whether the second similarity calculation result is larger than a second threshold value;
if the second similarity calculation result is greater than a second threshold; the comment content is valid.
In some embodiments of the present invention, based on the foregoing solution, after storing the judgment result of the comment content in the blockchain network, the method for managing human resources based on blockchain further includes:
obtaining a judgment result of the comment content in the block chain network;
and if the judgment result is invalid, marking the comment content, the comment person and the person to be commented corresponding to the invalid judgment result.
According to a second aspect of the embodiments of the present invention, there is provided a human resource management device based on a block chain, including:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring human resource data in a block chain network; the human resource data comprise a commentator, a commented person and comment content for commenting the commented person by the commentator;
the vector generation module is used for respectively generating a first vector, a second vector and a third vector according to the reviewer, the reviewed and the review content;
the similarity calculation module is used for calculating the similarity of two third vectors corresponding to the same first vector and/or the same second vector at two different moments to obtain a similarity calculation result;
the judging module is used for judging whether the comment content is effective or not according to the similarity calculation result; and storing the judgment result of the comment content in the block chain network.
In some embodiments of the present invention, based on the foregoing solution, the vector generation module is configured to:
randomly extracting a plurality of commentators from the human resource data to generate the first vector, and extracting a plurality of commentators to generate the second vector;
and extracting a plurality of comment contents from the human resource data based on the time sequence to generate the third vector.
In some embodiments of the present invention, based on the foregoing solution, the similarity calculation module is configured to:
calculating the similarity of two third vectors corresponding to the first vector at two different moments to obtain a first similarity calculation result based on the same first vector; and/or
And calculating the similarity of two third vectors corresponding to the second vector at two different moments based on the same second vector to obtain a second similarity calculation result.
In some embodiments of the present invention, based on the foregoing solution, the apparatus for manpower resource management based on block chain further includes:
the similarity operator module is used for calculating the similarity of two third vectors at two different moments to obtain a third similarity calculation result;
and the time interval between the two different moments is not more than a first preset time.
In some embodiments of the present invention, based on the foregoing solution, the determining module is configured to:
and judging whether the comment content is effective or not according to the first similarity calculation result and/or the second similarity calculation result.
In some embodiments of the present invention, based on the foregoing solution, the determining module is further configured to:
judging whether the first similarity calculation result is larger than a first threshold value or not;
if the first similarity calculation result is greater than a first threshold; and/or judging whether the second similarity calculation result is larger than a second threshold value;
if the second similarity calculation result is greater than a second threshold; the comment content is valid.
In some embodiments of the present invention, based on the foregoing solution, the apparatus for manpower resource management based on block chain further includes:
the second acquisition module is used for acquiring the judgment result of the comment content in the block chain network;
and the marking module is used for marking the comment content, the comment person and the person to be commented corresponding to the invalid judgment result if the judgment result is invalid.
According to a third aspect of embodiments of the present invention, there is provided a computer readable medium, on which a computer program is stored, which when executed by a processor, implements the method for human resources management based on blockchain as described in the first aspect of the embodiments above.
According to a fourth aspect of embodiments of the present invention, there is provided an electronic apparatus, including: one or more processors; a storage device for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the method for partition chain-based human resources management as described in the first aspect of the embodiments above.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
in the technical solutions provided in some embodiments of the present invention, on one hand, human resource data in a blockchain network is obtained; the human resource data comprise a reviewer, a reviewed and review content for the reviewer to review the reviewed; storing the judgment result of the comment content in the block chain network; the judgment results of the reviewer, the reviewed, the review content and the review content can be stored through the blockchain network, so that the judgment results of the reviewer, the reviewed, the review content and the review content can be prevented from being tampered, the traceability of the judgment results of the reviewer, the reviewed, the review content and the review content can be realized, and the problem that the accuracy of the review result is low due to poor fairness and objectivity of the review result caused by artificial factors in the prior art is solved; on the other hand, a first vector, a second vector and a third vector are respectively generated according to the commentator, the commentator to be commentator and the commentary content; calculating the similarity of two third vectors corresponding to the same first vector and/or the same second vector at two different moments to obtain a similarity calculation result; judging whether the comment content is effective or not according to the similarity calculation result; whether the comment content is effective or not can be automatically judged, the judgment efficiency of whether the comment content is effective or not is improved, and meanwhile, the labor cost is saved; on the other hand, the judgment result of the comment content can be stored in the blockchain network, so that other personnel can also inquire the judgment result of the comment content, and the user experience is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention. It is obvious that the drawings in the following description are only some embodiments of the invention, and that for a person skilled in the art, other drawings can be derived from them without inventive effort. In the drawings:
FIG. 1 schematically illustrates a flow diagram of a blockchain-based human resources management method according to an embodiment of the present invention;
fig. 2 is a flowchart schematically illustrating a method of determining whether the comment content is valid according to the first similarity calculation result and/or the second similarity calculation result, according to an embodiment of the present invention;
FIG. 3 is a flow chart that schematically illustrates another method for blockchain-based human resources management, in accordance with an embodiment of the present invention;
FIG. 4 is a flow chart that schematically illustrates another method for blockchain-based human resources management, in accordance with an embodiment of the present invention;
FIG. 5 schematically illustrates a block diagram of a system for implementing self-service management of human resources in a blockchain network, in accordance with an embodiment of the present invention;
FIG. 6 is a block diagram schematically illustrating a device for human resources management based on blockchains according to an embodiment of the present invention;
FIG. 7 illustrates a schematic structural diagram of a computer system suitable for use with the electronic device to implement an embodiment of the invention.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to provide a thorough understanding of embodiments of the invention. One skilled in the relevant art will recognize, however, that the invention may be practiced without one or more of the specific details, or with other methods, components, devices, steps, and so forth. In other instances, well-known methods, devices, implementations or operations have not been shown or described in detail to avoid obscuring aspects of the invention.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the contents and operations/steps, nor do they necessarily have to be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
Fig. 1 schematically shows a flowchart of a human resource management method based on a block chain according to a first embodiment of the present invention, and an execution subject of the management method may be a server or a terminal device.
Referring to fig. 1, the method for human resource management based on a block chain according to an embodiment of the present invention includes the following steps S110, S120, S130 and S140, which are described in detail as follows:
in step S110, acquiring human resource data in a blockchain network; the human resource data comprise a commentator, a commented person and the comment content of the commentator for commenting the commented person.
In the present example embodiment, the reviewer and the reviewed may be either businesses or individuals; in order to ensure fairness of the comments, the names of the comments can be encrypted (anonymous comments); the review content may include the required item, the selected item, the added item, the time of the review, the reason for the review, the location of the review submission or the IP address of the cell phone/computer, etc. For example: the human resources data may include: { encrypted reviewer name ═ ayh, reviewer name ═ B, reviewer role ═ xx engineer, review content ═ (item must be answered (technical ability, research and development ability, initiative, and innovation), option (leadership and responsibility), addition item (none)), review time ═ 20180901, review reason ═ employee position assessment, review submission IP address ═ 10.139.38.254, etc }, manual name ═ XYZ, update time information ═ 20180901, manual public key gwatcky 123YTU, manual signature, etc.
In step S120, a first vector, a second vector and a third vector are generated according to the reviewer, the reviewed and the review content, respectively.
In the present exemplary embodiment, first, a plurality of human evaluators are randomly extracted from the human resource data to generate the first vector, and a plurality of human evaluators are extracted to generate the second vector; then, based on the time series, a plurality of comment contents are extracted from the human resource data to generate the third vector. For example: random sampling inspection is respectively carried out on the history storage data from three dimensions of the reviewer A, the reviewed B and the review content C, for example, n reviewers are randomly extracted to generate a first vector: { a1, a 2.., An }; the m reviewers generate a second vector: { B1, B2.., Bm }; and randomly extracting k times of comment contents in a time sequence to generate a third vector: { C1, C2.., Ck }.
In step S130, the similarity of two third vectors corresponding to the same first vector and/or the same second vector at two different times is calculated to obtain a similarity calculation result.
In this exemplary embodiment, first, based on the same first vector, the similarity of two third vectors corresponding to the first vector at two different times is calculated to obtain a first similarity calculation result; further, the similarity of two third vectors corresponding to the second vector at two different moments can be calculated based on the same second vector, so as to obtain a second similarity calculation result. For example, for n randomly drawn commentators (same first vector: { A1, A2,. An }), the contents of the commentary of each person at the last time (time t) and the contents of the commentary at the last time (time t') can be found, and the contents of the commentary (including q indicators) are quantized to obtain a commentary content vector, such as the contents of the commentary of the nth commentator: { Cn1, Cn 2...., Cnq }, calculating the similarity of the review content of each reviewer at times t and t ', i.e., Q ═ Cn-Cn' |; for another example, it is also possible to find the content of the last evaluated person (time t) and the content of the previous evaluated person (time t ') for m evaluated persons (the same second vector: { B1, B2,. and Bm }), quantize the content of the evaluated person (including Q indicators) to obtain a evaluated content vector, for example, the evaluated content vector of the mth evaluated person is { Cm1, Cm2,. and. Cmq }, the value range of the element of the evaluated content vector is [0,100], and calculate the similarity of the content of the evaluated person at time t and t ', i.e., Q ═ Cm-Cm ' |.
In this exemplary embodiment, the similarity between the two third vectors at two different times may also be directly calculated to obtain a third similarity calculation result; and the time interval between the two different moments is not more than a first preset time. For example, for k times of review contents randomly extracted in the time sequence, the review time of the review contents is { t1, t2,. tk }, respectively, and corresponding to the previous review time is { t1 ', t2,. and tk' }, respectively, the similarity of the review contents at the time tk and tk ', i.e. Q ═ Ck-Ck' |, is calculated.
In step S140, determining whether the comment content is valid according to the similarity calculation result; and storing the judgment result of the comment content in the block chain network.
In the present exemplary embodiment, it may be determined whether the comment content is valid according to the first similarity calculation result and/or the second similarity calculation result (Q ═ Cm-Cm' |); whether the content of the comment is valid may also be determined from the above-described third similarity calculation result (Q ═ Ck-Ck' |), which is not particularly limited in this example. Furthermore, after the judgment result is obtained, the judgment result of the comment content can be stored in the block chain network, so that the comment content can be conveniently checked by a comment person and other users.
In the technical solution of the embodiment shown in fig. 1, on one hand, the judgment results of the reviewer, the reviewed, the review content and the review content can be stored through the blockchain network, so that the judgment results of the reviewer, the reviewed, the review content and the review content can be ensured not to be falsified, and the traceability of the judgment results of the reviewer, the reviewed, the review content and the review content can be realized, thereby solving the problem that the accuracy of the review result is low due to poor fairness and objectivity of the review result caused by artificial factors in the prior art; on the other hand, whether the comment content is effective or not can be automatically judged, so that the efficiency of judging whether the comment content is effective or not is improved, and meanwhile, the labor cost is saved; on the other hand, the judgment result of the comment content can be stored in the blockchain network, so that other personnel can also inquire the judgment result of the comment content, and the user experience is improved.
Fig. 2 is a flowchart schematically illustrating a method for determining whether the comment content is valid according to the first similarity calculation result and/or the second similarity calculation result, according to an embodiment of the present invention. Referring to fig. 2, determining whether the comment content is valid according to the first similarity calculation result and/or the second similarity calculation result may include step S210, step S220, and step S230, which will be described in detail below.
In step S210, it is determined whether the first similarity calculation result is greater than a first threshold.
In step S220, if the first similarity calculation result is greater than a first threshold; and/or determining whether the second similarity calculation result is greater than a second threshold.
In step S230, if the second similarity calculation result is greater than a second threshold; the comment content is valid.
Next, steps S210 to S220 are explained and explained. Firstly, judging whether a first similarity calculation result is larger than a first threshold value, namely calculating the similarity of the review content of each reviewer at time t and t ', namely Q ═ Cn-Cn' |; if the first similarity calculation result is larger than the first threshold, if the time of the first similarity calculation result is close to that of the second similarity calculation result, the difference of the contents of the comments is very small, and the same t-t '< Th _ t & & Q > Th _ Q & & Bn ═ Bn' of the person to be evaluated is obtained, and the comments are valid; further, if the time is close to the beginning and the end, the contents of the comments are greatly different, and the same subject t-t '< Th _ t & & Q > Th _ Q & & Bn ═ Bn' is selected, so that the comment is invalid. Further, whether the second similarity calculation result is larger than a second threshold value or not is judged, that is, the similarity of the review content of each reviewed person at the time t and t ', that is, Q ═ Cm-Cm' |, is calculated; if the second similarity calculation result is larger than the second threshold, namely if the time of the second similarity calculation result is close to that of the first similarity calculation result and the time of the second similarity calculation result is close to that of the second similarity calculation result, the difference of the contents of the comments is very small, and the same t-t '< Th _ t & & Q > Th _ Q & & Am ═ Am' of the comments is obtained by the comments persons; if the time is close to the beginning and the end, the contents of the comments are greatly different, and the reviewer is the same as t-t '< Th _ t & & Q > Th _ Q & & Am ═ Am', and the comment is invalid. It should be added that, in order to ensure the validity of the review content, the review content may be determined to be valid when the first difference settlement result is greater than the first threshold and the second difference calculation result is greater than the second threshold; or in the case that any calculation result is greater than the threshold, it is determined that the comment content is valid, which is not limited in this example.
Further, the content of the comment can be judged to be valid under the condition that the third difference settlement result is smaller than the third threshold value. For example, the similarity of the comment contents at the time tk and tk ' may be calculated, i.e., Q ═ Ck-Ck ' |, and if two times before and after are close and the comment contents are greatly different, i.e., tk-tk ' < Th _ t & & Q < Th _ Q0, the comment is valid; if the times are close and the contents of the comments are close, i.e., tk-tk' < Th _ t & & Q < Th _ Q0, the comment is invalid.
Further, in the present exemplary embodiment, the first threshold value and the second threshold value may be greater than a third threshold value; the first threshold value and the second threshold value may be the same value; for example, the first threshold may be 100% or 90%, etc.; the third threshold may be 10%, etc., and this example is not particularly limited thereto.
FIG. 3 is a schematic diagram illustrating another method for human resource management based on blockchains according to an embodiment of the present invention. Referring to fig. 3, the method for human resource management based on a blockchain may further include step S310 and step S320. The details will be described below.
In step S310, a judgment result of the comment content in the blockchain network is obtained.
In step S320, if the determination result is invalid, the comment content, the comment person, and the reviewed person corresponding to the invalid determination result are marked.
Next, step S310 and step S320 will be explained and explained. Firstly, a judgment result (effective comment content or ineffective comment content) of comment content in a blockchain network can be obtained; secondly, if the judgment result of a certain comment content is invalid comment content, marking the comment content, the comments and the person to be commented corresponding to the invalid judgment result; the marked review content, the reviewer and the reviewer are then notified, so that the reviewer can review the reviewer again.
Furthermore, the times of invalid comment contents generated by a certain comment person in a certain period of time can be counted; if the number of times the content of the comment is invalidated is too large, the reviewer may be warned, and so on. By the scheme, the fairness of the comment content can be further ensured, and the accuracy of the comment content can be further improved.
The implementation details of the embodiment of the present invention are described in detail below with reference to fig. 4 to 5:
as shown in fig. 4, the method for human resource management based on block chains according to the embodiment of the present invention includes the following steps:
step S410, building a blockchain node and a blockchain network.
In this example embodiment, after the blockchain node is selected, a blockchain network may be constructed based on the selected blockchain node. For example, a blockchain network may be constructed with insurance company base offices as the smallest nodes and based on the participation of one or more groups/companies.
Step S420, storing information related to human resources based on the data structure and storage method in the embodiment of the present invention.
In this example embodiment, the human resources related information may be stored in the blockchain network in the form of human resources employee review management transaction information. The input of the employee comment management transaction information may be comment related information (a company or an individual registered in the system uploads related anonymous (encrypted name of a comment person) comment content (a must answer item, a selection item, an addition item), information of a comment person, comment time, a comment reason, a comment submission place of the comment or an IP address of a mobile phone/a computer and the like to a block chain, and it can be proved that related materials such as audio, video, images and the like of the related materials can also be uploaded to the block chain), a person under charge, a public key and signature of the person under charge, and the like; the output of the employee comment management transaction information can be a storage link of other materials (history of the human resource employee comment management information and the like), a system automatically searches and identifies possible human resource employee comment problems (the same reviewer gives the same appraised person very different comment contents in the same or similar time, different reviewers give different appraised persons almost the same comment contents in the same or similar time, including adding the comment contents and the like), and sends out a prompt to relevant departments, a public key (account address) of a relevant information visitor and the like. Alternatively, employee review management transaction information may be stored by a data structure as shown in table 1 to ensure high efficiency of information storage and information processing:
TABLE 1
Figure BDA0001965580900000111
Figure BDA0001965580900000121
In the data structure shown in table 1, since the related information material and other materials usually include some information with a relatively large data size, such as images and documents, in order to improve storage efficiency and solve the problem of excessive tile information, in an embodiment of the present invention, the relatively large material, such as an image, may be stored in a tile in a linked form, where the linked value is a hash value obtained by encrypting the material through a hash function, such as SHA1, and the way of obtaining pointer links through the hash function can ensure that the content is not tampered. The actual materials can be stored in local storage equipment of the block chain nodes and can also be stored in a cloud storage mode. Meanwhile, in order to ensure high reliability of material storage, the material may be stored by using a redundant coding method, such as RS coding (Reed-Solomon codes, which is a forward error correction channel coding that is effective for a polynomial generated by correcting oversampled data) or LDPC (Low Density Parity Check Code) coding.
In this example embodiment, a business or person registered in the system may upload relevant anonymous (encrypted reviewer name) review content (must answer item, select item, add item), reviewed information, review time, review reason, review submission location or IP address of the cell phone/computer, etc. to the blockchain in the format of table 1 above, and may prove that relevant material such as audio, video, image, etc. of the relevant material may also be uploaded to the blockchain. For example, a registered human resource employee A would like to evaluate the employee B of the enterprise, and for this action, a new block would be generated in the block chain system, and the inputs for the block would be: basic information for review { encrypted reviewer name ═ ayh, reviewer name ═ B, reviewer role ═ xx engineer, review content ═ (indispensable item (technical capability, research and development capability, initiative, and innovativeness), selection item (leadership and responsibility), addition item (none)), review time ═ 20180901, review reason ═ employee position assessment, review submission IP address ═ 10.139.38.254, etc }, manual name ═ XYZ, update time information ═ 20180901, manual public key ═ ATCGWKY123YTU, manual signature, etc.; the output of a transaction may be a deposit link of other materials (history of human resource staff review management information, etc.) -ostfmmqjjwwttyuyt, the system automatically searches and identifies possible human resource staff review problems (the same reviewer gives very different review contents to the same appraised person in the same or similar time, different reviewers give almost the same review contents to different appraised persons in the same or similar time including adding the review contents, etc.) and sends out a reminder to the relevant department that the review succeeds/fails, a public key (account address) of the relevant information visitor is 1392929293346, etc.
Step S430, human resource management is carried out according to the information stored in the block chain network.
In the example embodiment, possible human resource employee review problems can be automatically searched and identified according to historical data of human resource employee review management information stored in the blockchain network (for example, the same reviewer can give very different review contents to the same evaluated person within the same or similar time, or different reviewers can give almost the same review contents to different evaluated persons within the same or similar time, including adding the review contents and the like), and a prompt is given to relevant departments, so that effective popularization of the blockchain technology application in human resource employee review management is strongly promoted.
For example, firstly, randomly sampling and checking the historical storage data from three dimensions of a human reviewer a, a human reviewer B and a human review content C, for example, randomly extracting n human reviewers { a1, a2,. multidot.an }, m human reviewers { B1, B2,. multidot.bm }, and randomly extracting k times of human review content { C1, C2,. multidot.ck } in time series; secondly, the randomly extracted n reviewers can find out the last review content (time t) of each person and the review content at the last time (time t '), quantize the review content (including Q indexes) to obtain a review content vector, for example, the review content vector of the nth reviewer is { Cn1, Cn2,. and Cnq }, the element value range of the review content vector is [0,100], calculate the similarity of the review content of each reviewer at time t and t ', i.e. Q | Cn-Cn ' |, if the times of the previous and subsequent times are close, the review content is greatly different, and the review content is the same as that of the reviewer t ' < Th _ t & & Q > Th _ Q & & Bn ═ Bn ', and the review is invalid; then, for m randomly extracted evaluators, finding the contents of the evaluators which are last evaluated (time t) and the contents of the evaluators which are last evaluated (time t '), quantizing the contents of the evaluators (including Q indexes) to obtain an evaluative content vector, for example, the contents of the evaluative content vector of the mth evaluative is { Cm1, Cm2,. and Cmq }, the element value range of the evaluative content vector is [0,100], calculating the similarity of the contents of the evaluative content of each evaluative person at time t and t ', i.e. Q | Cm-Cm ' |, if the contents of the evaluative persons are close to each other, the contents of the evaluative contents are greatly different, and the evaluative persons are the same t-t ' < Th _ t &q > Th _ Q & & Am ═ Am ', and the evaluative persons are invalid; finally, for k times of review contents randomly extracted from the time sequence, the review time of the review contents is { t1, t2,. tk }, respectively, and the time corresponding to the previous review time is { t1 ', t 2',. and tk '}, respectively, the similarity of the review contents at the time of tk and tk' is calculated, namely, Q ═ Ck-Ck '|, and if the times of the previous time and the next time are close and the review contents are close, namely, tk-tk' < Th _ t & & Q < Th _ Q0, the review is invalid.
Step S440, updating and optimizing system parameters based on the system performance.
In the exemplary embodiment, the timeliness, the effectiveness and the accuracy of the human resource staff review management system can be evaluated, the availability of the method for the dynamic random sampling correlation comprehensive analysis of the contents of the reviewer, the reviewed and the review based on the time sequence is continuously adjusted and optimized, so that the human resource staff review management is effectively realized in the blockchain network, and the effective popularization of the blockchain technology in the aspect of the human resource staff review management is powerfully promoted.
Embodiments of the apparatus of the present invention are described below with reference to the accompanying drawings.
FIG. 5 schematically illustrates a block diagram of a system for implementing self-service management of human resources in a blockchain network, according to an embodiment of the invention.
Referring to fig. 5, a system for implementing self-service human resource management in a blockchain network according to an embodiment of the present invention includes: a block chain network building subsystem 510, a data format definition subsystem 520, a human resources information storage subsystem 530, a human resources management subsystem 540, and a system performance evaluation subsystem 550.
The blockchain network building subsystem 510 is responsible for building, updating, and maintaining the blockchain nodes and the blockchain network. For example, a blockchain network may be constructed with insurance company base business as a minimum node and based on the participation of one or more insurance groups/companies.
Data format definition subsystem 520 may store employee review management transaction information according to the data structure shown in table 1 above to ensure high efficiency in information storage and information processing. The input of the employee comment management transaction information may be comment related information (a company or an individual registered in the system uploads related anonymous (encrypted name of a comment person) comment content (a must answer item, a selection item, an addition item), information of a comment person, comment time, a comment reason, a comment submission place of the comment or an IP address of a mobile phone/a computer and the like to a block chain, and it can be proved that related materials such as audio, video, images and the like of the related materials can also be uploaded to the block chain), a person under charge, a public key and signature of the person under charge, and the like; the output of the employee comment management transaction information can be a storage link of other materials (history of the human resource employee comment management information and the like), a system automatically searches and identifies possible human resource employee comment problems (the same reviewer gives the same appraised person very different comment contents in the same or similar time, different reviewers give different appraised persons almost the same comment contents in the same or similar time, including adding the comment contents and the like), and sends out a prompt to relevant departments, a public key (account address) of a relevant information visitor and the like.
The human resources information storage subsystem 530 is used for storing information related to human resources. Specifically, the enterprise or the individual registered in the system may upload information such as related anonymous (encrypted name of the reviewer) review content (necessary answer item, selected item, added item), information of the reviewer, review time, review reason, review submission place or IP address of the mobile phone/computer to the blockchain according to the format of table 1, and may prove that related materials such as audio, video, image and the like of the related materials may also be uploaded to the blockchain.
The human resource management subsystem 540 is used for managing whether the comment content is effective according to the information stored in the blockchain network.
In the example embodiment, possible human resource employee review problems can be automatically searched and identified according to historical data of human resource employee review management information stored in the blockchain network (for example, the same reviewer can give very different review contents to the same evaluated person within the same or similar time, or different reviewers can give almost the same review contents to different evaluated persons within the same or similar time, including adding the review contents and the like), and a prompt is given to relevant departments, so that effective popularization of the blockchain technology application in human resource employee review management is strongly promoted.
The system performance evaluation subsystem 550 can evaluate timeliness, effectiveness and accuracy of the human resource employee review management system, availability of a method for dynamic random sampling correlation comprehensive analysis of the contents of a reviewer, a reviewed and a review based on time series, and continuously adjust and optimize system parameters so as to effectively realize human resource employee review management in a blockchain network, thereby powerfully promoting effective popularization of blockchain technology in the aspect of human resource employee review management.
FIG. 6 is a block diagram schematically illustrating a human resources management device based on a blockchain according to an embodiment of the present invention.
Referring to fig. 6, the apparatus for human resources management based on block chains may include a first obtaining module 610, a vector generating module 620, a similarity calculating module 630, and a judging module 640. Wherein:
the first acquiring module 610 may be configured to acquire human resource data in a blockchain network; the human resource data comprise a commentator, a commented person and the comment content of the commentator for commenting the commented person.
Vector generation module 620 may be configured to generate a first vector, a second vector, and a third vector from the reviewer, the reviewed, and the review content, respectively.
The similarity calculation module 630 may be configured to calculate similarities of two third vectors corresponding to the same first vector and/or the same second vector at two different time instants to obtain a similarity calculation result.
The judging module 640 may be configured to judge whether the comment content is valid according to the similarity calculation result; and storing the judgment result of the comment content in the block chain network.
In one embodiment of the invention, the vector generation module 620 may be configured to: randomly extracting a plurality of commentators from the human resource data to generate the first vector, and extracting a plurality of commentators to generate the second vector; and extracting a plurality of comment contents from the human resource data based on the time sequence to generate the third vector.
In one embodiment of the invention, the similarity calculation module 630 may be configured to: calculating the similarity of two third vectors corresponding to the first vector at two different moments to obtain a first similarity calculation result based on the same first vector; and/or calculating the similarity of two third vectors corresponding to the second vector in two different moments to obtain a second similarity calculation result based on the same second vector.
In one embodiment of the present invention, the apparatus for manpower resource management based on block chain further comprises:
the similarity operator module can be used for calculating the similarity of two third vectors at two different moments to obtain a third similarity calculation result; and the time interval between the two different moments is not more than a first preset time.
In one embodiment of the invention, the determining module 640 may be configured to: and judging whether the comment content is effective or not according to the first similarity calculation result and/or the second similarity calculation result.
In one embodiment of the present invention, the determining module may be further configured to: judging whether the first similarity calculation result is larger than a first threshold value or not; if the first similarity calculation result is greater than a first threshold; and/or judging whether the second similarity calculation result is larger than a second threshold value; if the second similarity calculation result is greater than a second threshold; the comment content is valid.
In one embodiment of the present invention, the apparatus for manpower resource management based on block chain further comprises:
the second obtaining module may be configured to obtain a result of determining the content of the comment in the blockchain network;
and the marking module can be used for marking the comment content, the comment person and the commented person corresponding to the invalid judgment result if the judgment result is invalid.
Referring now to FIG. 7, shown is a block diagram of a computer system 700 suitable for use with the electronic device implementing an embodiment of the present invention. The computer system 700 of the electronic device shown in fig. 7 is only an example, and should not bring any limitation to the function and the scope of use of the embodiments of the present invention.
As shown in fig. 7, the computer system 700 includes a Central Processing Unit (CPU)701, which can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)702 or a program loaded from a storage section 708 into a Random Access Memory (RAM) 703. In the RAM 703, various programs and data necessary for system operation are also stored. The CPU 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
The following components are connected to the I/O interface 705: an input portion 706 including a keyboard, a mouse, and the like; an output section 707 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 708 including a hard disk and the like; and a communication section 709 including a network interface card such as a LAN card, a modem, or the like. The communication section 709 performs communication processing via a network such as the internet. A drive 710 is also connected to the I/O interface 705 as needed. A removable medium 711 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 710 as necessary, so that a computer program read out therefrom is mounted into the storage section 708 as necessary.
In particular, according to an embodiment of the present invention, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the invention include a computer program product comprising a computer program embodied on a computer-readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 709, and/or installed from the removable medium 711. The computer program executes the above-described functions defined in the system of the present application when executed by the Central Processing Unit (CPU) 701.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present invention may be implemented by software, or may be implemented by hardware, and the described units may also be disposed in a processor. Wherein the names of the elements do not in some way constitute a limitation on the elements themselves.
As another aspect, the present application also provides a computer-readable medium, which may be contained in the electronic device described in the above embodiments; or may exist separately without being assembled into the electronic device. The computer readable medium carries one or more programs which, when executed by an electronic device, cause the electronic device to implement the method for human resource management based on a block chain as described in the above embodiments.
For example, the electronic device may implement the following as shown in fig. 1: step S110, acquiring human resource data in a block chain network; the human resource data comprise a commentator, a commented person and comment content for commenting the commented person by the commentator; step S120, respectively generating a first vector, a second vector and a third vector according to the reviewer, the reviewed and the review content; step S130, calculating the similarity of two third vectors corresponding to the same first vector and/or the same second vector at two different moments to obtain a similarity calculation result; step S140, judging whether the comment content is effective or not according to the similarity calculation result; and storing the judgment result of the comment content in the block chain network.
As another example, the electronic device may implement the steps shown in fig. 2 to 4.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the invention. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiment of the present invention can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the embodiment of the present invention.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (8)

1. A human resource management method based on a block chain is characterized by comprising the following steps:
acquiring human resource data in a block chain network; the human resource data comprise a commentator, a commented person and comment content for commenting the commented person by the commentator;
randomly extracting a plurality of reviewers from the human resource data to generate a first vector, and extracting a plurality of reviewed to generate a second vector; extracting a plurality of comment contents from the human resource data based on the time sequence to generate a third vector;
calculating the similarity of two third vectors corresponding to the same first vector and/or the same second vector at two different moments to obtain a similarity calculation result;
judging whether the comment content is effective or not according to the similarity calculation result; storing the judgment result of the comment content in the block chain network;
calculating the similarity of two third vectors corresponding to the same first vector and/or the same second vector at two different moments to obtain a similarity calculation result, wherein the calculating comprises:
calculating the similarity of two third vectors corresponding to the first vector at two different moments to obtain a first similarity calculation result based on the same first vector; wherein the first similarity calculation result is an absolute value of a difference value of the review content of the same reviewer reviewing the reviewed person at two different moments; and/or
Calculating the similarity of two third vectors corresponding to the second vector at two different moments to obtain a second similarity calculation result based on the same second vector; wherein the second similarity calculation result is the difference of the absolute values of the contents of the comments of the same person to be commented on at two different moments.
2. The method of claim 1, further comprising:
calculating the similarity of two third vectors at two different moments to obtain a third similarity calculation result;
and the time interval between the two different moments is not more than a first preset time.
3. The method of claim 2, wherein the determining whether the review content is valid according to the similarity calculation result comprises:
and judging whether the comment content is effective or not according to the first similarity calculation result and/or the second similarity calculation result.
4. The blockchain-based human resource management method of claim 3, wherein the determining whether the comment content is valid according to the first similarity calculation result and/or the second similarity calculation result comprises:
judging whether the first similarity calculation result is larger than a first threshold value or not;
if the first similarity calculation result is greater than a first threshold; and/or judging whether the second similarity calculation result is greater than a second threshold value;
if the second similarity calculation result is greater than a second threshold; the comment content is valid.
5. The blockchain-based human resource management method of claim 1, wherein after the judgment result of the comment content is stored in the blockchain network, the blockchain-based human resource management method further comprises:
obtaining a judgment result of the comment content in the block chain network;
and if the judgment result is invalid, marking the comment content, the comment person and the person to be commented corresponding to the invalid judgment result.
6. A device for human resource management based on block chains, comprising:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring human resource data in a block chain network; the human resource data comprise a commentator, a commented person and comment content for commenting the commented person by the commentator;
the vector generation module is used for randomly extracting a plurality of reviewers from the human resource data to generate a first vector and extracting a plurality of reviewed to generate a second vector; extracting a plurality of comment contents from the human resource data based on the time sequence to generate a third vector;
the similarity calculation module is used for calculating the similarity of two third vectors corresponding to the same first vector and/or the same second vector at two different moments to obtain a similarity calculation result;
the judging module is used for judging whether the comment content is effective or not according to the similarity calculation result; storing the judgment result of the comment content in the block chain network;
calculating the similarity of two third vectors corresponding to the same first vector and/or the same second vector at two different moments to obtain a similarity calculation result, wherein the calculating comprises:
calculating the similarity of two third vectors corresponding to the first vector at two different moments to obtain a first similarity calculation result based on the same first vector; wherein the first similarity calculation result is an absolute value of a difference value of the review content of the same reviewer reviewing the reviewed person at two different moments; and/or
Calculating the similarity of two third vectors corresponding to the second vector at two different moments to obtain a second similarity calculation result based on the same second vector; wherein the second similarity calculation result is the difference of the absolute values of the contents of the comments of the same person to be commented on at two different moments.
7. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, implements the method for human resources management based on blockchains according to any one of claims 1 to 5.
8. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the blockchain based human resources management method of any one of claims 1 to 5.
CN201910100648.9A 2019-01-31 2019-01-31 Human resource management method, device, medium and electronic equipment based on block chain Active CN109858812B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910100648.9A CN109858812B (en) 2019-01-31 2019-01-31 Human resource management method, device, medium and electronic equipment based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910100648.9A CN109858812B (en) 2019-01-31 2019-01-31 Human resource management method, device, medium and electronic equipment based on block chain

Publications (2)

Publication Number Publication Date
CN109858812A CN109858812A (en) 2019-06-07
CN109858812B true CN109858812B (en) 2021-08-24

Family

ID=66897329

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910100648.9A Active CN109858812B (en) 2019-01-31 2019-01-31 Human resource management method, device, medium and electronic equipment based on block chain

Country Status (1)

Country Link
CN (1) CN109858812B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107845408A (en) * 2017-10-25 2018-03-27 医渡云(北京)技术有限公司 Data evaluation method and device, storage medium and electronic equipment
CN109118083A (en) * 2018-08-09 2019-01-01 广东工业大学 A kind of talent's assessment method, device, equipment and medium based on block chain

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040138944A1 (en) * 2002-07-22 2004-07-15 Cindy Whitacre Program performance management system
CN109145646A (en) * 2018-09-05 2019-01-04 精硕科技(北京)股份有限公司 Talents information treating method and apparatus based on block chain

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107845408A (en) * 2017-10-25 2018-03-27 医渡云(北京)技术有限公司 Data evaluation method and device, storage medium and electronic equipment
CN109118083A (en) * 2018-08-09 2019-01-01 广东工业大学 A kind of talent's assessment method, device, equipment and medium based on block chain

Also Published As

Publication number Publication date
CN109858812A (en) 2019-06-07

Similar Documents

Publication Publication Date Title
CN109344154B (en) Data processing method, device, electronic equipment and storage medium
CN109634941B (en) Medical data processing method and device, electronic equipment and storage medium
CN111198945A (en) Data processing method, device, medium and electronic equipment
Gunsilius Distributional synthetic controls
CN111160847A (en) Method and device for processing flow information
CN110162512A (en) A kind of log searching method, apparatus and storage medium
WO2012088457A2 (en) Internet based platform for acquisition, management, integration, collaboration, and dissemination of information
CN110866040A (en) User portrait generation method, device and system
Le et al. Analysis of the interdependent co-evolution of product structures and community structures using dependency modelling techniques
CN109859060B (en) Risk determination method, risk determination device, risk determination medium and electronic equipment
CN115936895A (en) Risk assessment method, device and equipment based on artificial intelligence and storage medium
CN114327493A (en) Data processing method and device, electronic equipment and computer readable medium
CN113159453A (en) Resource data prediction method, device, equipment and storage medium
CN107688978B (en) Method and device for detecting repeated order information
CN109858812B (en) Human resource management method, device, medium and electronic equipment based on block chain
CN109472518B (en) Block chain-based sales behavior evaluation method and device, medium and electronic equipment
CN107679096B (en) Method and device for sharing indexes among data marts
CN115982241A (en) Data processing method and device, electronic equipment and computer readable medium
CN113360672B (en) Method, apparatus, device, medium and product for generating knowledge graph
CN109669779B (en) Method and device for determining cleaning path of data and cleaning data
CN113053531A (en) Medical data processing method, device, computer-readable storage medium and equipment
CN112734962A (en) Attendance information generation method, device, equipment and computer readable medium
CN112131468A (en) Data processing method and device in recommendation system
CN113361701A (en) Quantification method and device of neural network model
CN116108132B (en) Method and device for auditing text of short message

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant