Block chain-based employee demission early warning method and system, medium, product and equipment
By using blockchain technology to encrypt employee information and calculate the resignation warning index in the employee resignation warning system, the data security problem of the centralized system is solved, the reliability and information security of the resignation warning are improved, and human resources management is optimized.
Patent Information
- Application Number
- CN202410630204.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-21
- Publication Date
- 2024-10-22
AI Technical Summary
The existing centralized employee resignation warning management system has risks of data loss, data falsification, malicious tampering and privacy leakage, resulting in low reliability of resignation warning and insufficient information supervision.
Adopt a blockchain-based employee resignation early warning method, collect and encrypt employee information and upload it to the blockchain platform, calculate employee index scores based on employees' basic information, value tendencies, psychological and physiological information, and combine the distributed and It cannot be tampered with, determines the resignation warning index and status, reduces data risks, and ensures information security.
It improves the reliability and information security of resignation warning, reduces the risk of data loss and privacy leakage, and optimizes the efficiency of human resources management.
Smart Images

Figure CN118821986A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of blockchain technology, and in particular to a blockchain-based employee resignation warning method, system, medium, product and equipment. Background Art
[0002] In the prior art, the management system used for employee resignation warning is usually a centralized system, which has high requirements for system stability and network stability. Once the system is attacked, there will be a risk of data loss. In addition, the centralized system also has the risk of data falsification and malicious tampering, resulting in low reliability of resignation warning. In addition, since employee information usually involves personal privacy, the centralized system also has the problem of high risk of privacy leakage and insufficient information supervision. Summary of the invention
[0003] In order to solve the above technical problems, the embodiments of the present application propose a blockchain-based employee resignation warning method, system, medium, product and equipment.
[0004] The present application embodiment provides a blockchain-based employee resignation warning method, including:
[0005] Collect employees’ personal information and upload the encrypted personal information to the blockchain platform;
[0006] When it is necessary to predict the resignation intention of the target employee, request the blockchain platform to call the target personal information of the target employee;
[0007] In the case where the target personal information is allowed to be accessed, determining a corresponding employee index score based on the target personal information;
[0008] Calculating a resignation warning index based on the employee index score;
[0009] Based on the comparison result between the resignation warning index and the preset resignation warning threshold, the resignation warning status of the target employee is determined.
[0010] Furthermore, the target personal information includes at least one of the target employee's basic information, employee value orientation information, employee psychological information, and employee physiological information, and the employee index score includes at least one of the basic information index value, employee value index value, employee psychological index value, and employee physiological index value;
[0011] Among them, the basic information index value is determined by the employee basic information, the employee value index value is determined by the employee value orientation information, the employee psychological index value is determined by the employee psychological information, and the employee physiological index value is determined by the employee physiological information.
[0012] Furthermore, the calculation of the resignation warning index based on the employee index score includes:
[0013] A resignation warning index is obtained by performing weighted calculation based on the basic information index value, the employee value index value, the employee psychological index value and / or the employee physiological index value.
[0014] Furthermore, the blockchain platform includes a first blockchain platform based on a public chain, or a second blockchain platform based on a self-built alliance chain.
[0015] Furthermore, the blockchain platform includes blockchain nodes and an off-blockchain database, and the encrypted personal information includes ciphertext certificates, personal information identifiers, and a decryption whitelist, wherein:
[0016] The encrypted certificate is obtained by symmetric encryption of the collected personal information based on a symmetric encryption key, wherein the symmetric encryption key is a pre-generated random number, and the encrypted certificate is stored in the database outside the blockchain;
[0017] The decryption whitelist is obtained by asymmetric encryption of the symmetric encryption key using the public key of at least one verification party authorized to access;
[0018] The hash value of the encrypted certificate, the personal information identifier and the decryption whitelist are all stored in the blockchain node.
[0019] Furthermore, the requesting the blockchain platform to retrieve the target personal information of the target employee includes:
[0020] Obtaining a target encrypted certificate corresponding to the target employee from the encrypted certificates stored in the database outside the blockchain;
[0021] Obtaining a verifier private key corresponding to the target employee, and obtaining a target decryption whitelist corresponding to the target employee from the decryption whitelist stored in the blockchain node, wherein the verifier private key is a private key of one of the at least one verifier;
[0022] In case the target symmetric encryption key corresponding to the target employee is successfully decrypted from the target decryption whitelist using the verification party private key, it is determined that the target personal information is allowed to be called, wherein the target personal information is obtained by decrypting the target ciphertext certificate using the target symmetric encryption key.
[0023] Furthermore, the blockchain node runs a smart contract, and the hash value of the ciphertext certificate is used as a file index of the smart contract.
[0024] Furthermore, before obtaining the verifier private key corresponding to the target employee and obtaining the target decryption whitelist corresponding to the target employee from the decryption whitelist stored in the blockchain node, the method further includes:
[0025] Calculate the hash value of the target encrypted certificate;
[0026] The hash value of the ciphertext certificate corresponding to the personal information collected from the target employee obtained from the blockchain node is compared with the calculated hash value of the target ciphertext certificate to determine whether the target ciphertext certificate is credible.
[0027] Furthermore, the method further comprises:
[0028] When the resignation warning status meets the preset intervention conditions, a countermeasure plan and / or employee focus points corresponding to the target employee are determined based on the target personal information.
[0029] The embodiment of the present application also provides a blockchain-based employee resignation warning system, including a blockchain platform, and the system further includes:
[0030] The personal information module is configured as follows:
[0031] Collecting employees’ personal information and uploading the encrypted personal information to the blockchain platform;
[0032] When it is necessary to predict the resignation intention of the target employee, request the blockchain platform to call the target personal information of the target employee;
[0033] The resignation warning and prevention module is configured as follows:
[0034] In the case where the target personal information is allowed to be accessed, determining a corresponding employee index score based on the target personal information;
[0035] Calculating a resignation warning index based on the employee index score;
[0036] Based on the comparison result between the resignation warning index and the preset resignation warning threshold, the resignation warning status of the target employee is determined.
[0037] An embodiment of the present application also provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of any of the above-mentioned blockchain-based employee resignation warning methods are implemented.
[0038] An embodiment of the present application also provides a computer program product, including computer instructions, which, when executed by a processor, implement the steps of any of the above-mentioned blockchain-based employee resignation warning methods.
[0039] An embodiment of the present application also provides a computer device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the steps of any of the above-mentioned blockchain-based employee resignation warning methods when executing the computer program.
[0040] In summary, the embodiments of the present application have at least the following beneficial effects:
[0041] By adopting the embodiment of the present application, the personal information of employees is collected and the encrypted personal information is uploaded to the blockchain platform; when it is necessary to predict the resignation intention of the target employee, the target personal information of the target employee is requested to be called from the blockchain platform; when the call of the target personal information is allowed, the corresponding employee index score is determined based on the target personal information; based on the employee index score, the resignation warning index is calculated; based on the comparison result between the resignation warning index and the preset resignation warning threshold, the resignation warning status of the target employee is determined, so that the encrypted personal information can be stored in the blockchain platform to reduce the risks of data loss, data falsification, and malicious tampering to improve the reliability of resignation warning, and effectively protect the information security and personal privacy of the collected personal information of the employees, and can also effectively optimize the efficiency of human resource management. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 This is a flowchart of an employee resignation warning method based on blockchain provided in an embodiment of the present application;
[0043] Figure 2 It is a schematic diagram of uploading data to a blockchain platform provided in an embodiment of the present application;
[0044] Figure 3 This is a schematic diagram of the structure of the employee resignation warning system based on blockchain provided in an embodiment of the present application;
[0045] Figure 4 This is a schematic diagram of an employee resignation warning system based on blockchain provided in an embodiment of the present application;
[0046] Figure 5 This is a schematic diagram of an employee resignation warning system based on blockchain provided in an embodiment of the present application;
[0047] Figure 6 It is a schematic diagram of the structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0048] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0049] In the description of the present application, the terms "first", "second", "third", etc. are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, features defined as "first", "second", "third", etc. may explicitly or implicitly include one or more of the features. In the description of the present application, unless otherwise specified, the meaning of "multiple" is two or more. In the description of the present application, the term "including" and its variations are open inclusions, i.e., "including but not limited to". The term "based on" means "at least partially based on". The term "according to" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one other embodiment"; the term "some embodiments" means "at least some embodiments".
[0050] In the description of this application, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0051] In the description of this application, it should be noted that, unless otherwise defined, all technical and scientific terms used in this application have the same meaning as those commonly understood by those skilled in the art. The terms used in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood by specific circumstances.
[0052] See also Figure 1 , shows a flowchart of a blockchain-based employee resignation warning method provided in an embodiment of the present application, the method includes steps S1-S5, which are as follows:
[0053] S1, collect employees’ personal information and upload the encrypted personal information to the blockchain platform;
[0054] Specifically, in this embodiment, a general encryption algorithm may be used to encrypt the collected personal information to form encrypted personal information, wherein the encryption algorithm may include a symmetric encryption algorithm or an asymmetric encryption algorithm.
[0055] It is understandable that although the encrypted personal information in this embodiment is uploaded to the blockchain platform, only users with the corresponding decryption method can know the content of the encrypted personal information, so the security of the information can still be guaranteed. In addition, due to the distributed and tamper-proof characteristics of blockchain technology, important data information, data operation information, review personnel and process information associated with the encrypted personal information will all be recorded on the chain to facilitate the whole process of data management and prevent data tampering or loss.
[0056] S2, when it is necessary to predict the resignation intention of the target employee, request the blockchain platform to call the target personal information of the target employee, wherein the target employee is any one of the employees, and the target personal information is the encrypted personal information of the target employee;
[0057] Specifically, this embodiment can request to call the target personal information of the target employee by sending a call request corresponding to the target employee to the blockchain platform, wherein the call request can carry the identity of the target employee.
[0058] S3, in the case where the target personal information is allowed to be accessed, determining a corresponding employee index score based on the target personal information;
[0059] It should be noted that, since the personal information stored in the blockchain platform is encrypted before being uploaded, it is not difficult to understand that when the target personal information is allowed to be called, it means that the called target personal information has been decrypted and can be used by the user. Optionally, the employee index score can be obtained by inputting the target personal information into a pre-trained employee index score generation model, wherein the employee index score generation model can be obtained by training an artificial intelligence model using pre-collected sample data.
[0060] S4, calculating a resignation warning index based on the employee index score;
[0061] Specifically, in this embodiment, there may be multiple employee index scores, each of which is used to represent a score of a set indicator. In this case, the resignation warning index may be obtained by adding up the index scores of each employee.
[0062] S5: Determine the resignation warning status of the target employee based on a comparison result between the resignation warning index and a preset resignation warning threshold.
[0063] Specifically, the number of preset resignation warning thresholds in the present embodiment may be at least one. In this case, the comparison result between the calculated resignation warning index and different resignation warning thresholds may represent different resignation warning states. For example, when the preset resignation warning thresholds include a first resignation warning threshold and a second resignation warning threshold that is greater than the first resignation warning threshold, if the resignation warning index is less than the first resignation warning threshold, then the resignation warning state of the target employee may be determined to be "dangerous"; if the resignation warning index is greater than the first resignation warning threshold and less than the second resignation warning threshold, then the resignation warning state of the target employee may be determined to be "normal"; if the resignation warning index is greater than the second resignation warning threshold, then the resignation warning state of the target employee may be determined to be "satisfactory". It should be understood that the size relationship in the present embodiment is merely exemplary and needs to be adjusted accordingly according to the actual calculation method of the resignation warning index. For example, the resignation warning state of the target employee may also be determined to be "satisfactory" when the resignation warning index is less than the first resignation warning threshold.
[0064] In an optional implementation, the target personal information includes at least one of the target employee's basic information, employee value orientation information, employee psychological information, and employee physiological information, and the employee index score includes at least one of the basic information index value, employee value index value, employee psychological index value, and employee physiological index value;
[0065] Among them, the basic information index value is determined by the employee basic information, the employee value index value is determined by the employee value orientation information, the employee psychological index value is determined by the employee psychological information, and the employee physiological index value is determined by the employee physiological information.
[0066] It should be noted that the following are some exemplary explanations of some terminology concepts involved in this embodiment:
[0067] Basic employee information: can be obtained by integrating basic employee data. For example, by connecting to the human resources system to extract personal information such as age, gender, ethnicity, place of origin, education experience, work experience, as well as information such as family members' work experience and address. Information that is not available in the human resources system can be filled in online by employees when they join the company, and the information should be updated regularly.
[0068] Employee value orientation information: This can be obtained by employees filling in their knowledge system, career intentions, salary expectations, work goals and other information online when they join the company, and updated every year. It can also be connected to the project and human resources system to automatically update project experience, R&D topics, salary data, performance information, 360° evaluation and other data every year to update employee value orientation information.
[0069] Employee psychological information: Employees can be asked to regularly complete mental health questionnaires to obtain their psychological states in terms of emotions, values, interpersonal relationships, personality and life, thereby forming employee psychological information. The questionnaires and their answer information will be recorded and preserved.
[0070] Employee physiological information: may include information on pre-employment physical examinations and regular physical examinations.
[0071] Optionally, the basic information index value can be obtained by inputting the basic information of the employee into a pre-trained basic information index value generation model, wherein the basic information index value generation model can be obtained by training an artificial intelligence model using pre-collected basic information sample data. Alternatively, corresponding scoring criteria can be configured for each factor in the basic information of the employee, and then the scores of each factor in the basic information of the employee are weighted and calculated to obtain the basic information index value.
[0072] Optionally, the employee value index value can be obtained by inputting the employee value tendency information into a pre-trained employee value index value generation model, wherein the employee value index value generation model can be obtained by training an artificial intelligence model using pre-collected employee value tendency sample data. Alternatively, corresponding scoring criteria can be configured for each factor in the employee value tendency information, and then the scores of each factor in the employee value tendency information can be weighted and calculated to obtain the employee value index value.
[0073] Optionally, the employee psychological index value can be obtained by inputting the employee psychological information into a pre-trained employee psychological index value generation model, wherein the employee psychological index value generation model can be obtained by training an artificial intelligence model using pre-collected employee psychological sample data. Alternatively, a psychological questionnaire can be completed based on the employee psychological information to obtain a corresponding score, and the total score is used as the employee psychological index value.
[0074] Optionally, the employee physiological index value can be obtained by inputting the employee physiological information into a pre-trained employee physiological index value generation model, wherein the employee physiological index value generation model can be obtained by training an artificial intelligence model using pre-collected employee physiological sample data. Alternatively, corresponding scoring criteria can be configured for each factor in the employee physiological information, and then the scores of each factor in the employee physiological information are weighted and calculated to obtain the employee value index value.
[0075] In this embodiment, the index value of the corresponding information type can be calculated according to the user's needs and the types contained in the collected target personal information, so as to improve the accuracy of the subsequent resignation warning for the target employee.
[0076] In an optional implementation, the calculating of the resignation warning index based on the employee index score includes:
[0077] A resignation warning index is obtained by performing weighted calculation based on the basic information index value, the employee value index value, the employee psychological index value and / or the employee physiological index value.
[0078] It should be noted that in this embodiment, at least one index value among the basic information index value, employee value index value, employee psychological index value, and employee physiological index value can be used for weighted calculation, and the weight corresponding to each item can be set and updated by the user. It is not difficult to understand that when there is only one index value, the index value is equal to the resignation warning index.
[0079] In an optional implementation, the blockchain platform includes a first blockchain platform based on a public chain, or a second blockchain platform based on a self-built alliance chain.
[0080] In this embodiment, the second blockchain platform is suitable for large multinational organizations, large state-owned enterprises and other enterprises with multiple branches. By building a blockchain alliance chain, each branch provides the same cloud resources to deploy a blockchain node, and each node joins the network through a licensing mechanism, thereby further ensuring the security of the blockchain platform. The first blockchain platform is suitable for small and medium-sized enterprises, which can use the blockchain public chain to deploy the system to reduce costs.
[0081] In an optional implementation, the blockchain platform includes a blockchain node and an off-blockchain database, and the encrypted personal information includes a ciphertext certificate, a personal information identifier, and a decryption whitelist, wherein:
[0082] The encrypted certificate is obtained by symmetric encryption of the collected personal information based on a symmetric encryption key, wherein the symmetric encryption key is a pre-generated random number, and the encrypted certificate is stored in the database outside the blockchain;
[0083] The decryption whitelist is obtained by asymmetric encryption of the symmetric encryption key using the public key of at least one verification party authorized to access;
[0084] The hash value of the encrypted certificate, the personal information identifier and the decryption whitelist are all stored in the blockchain node.
[0085] The hash value of the encrypted certificate is obtained by hashing the encrypted certificate. The personal information identifier is used to indicate the identity information of the encrypted personal information, such as an ID (Identity document). The at least one verification party refers to all verification parties that are pre-authorized to access the encrypted certificate.
[0086] It should be noted that the information uploaded to the blockchain node may include key information such as information primary key, information content hash, education background, major, salary and / or performance. This embodiment can utilize the characteristics of blockchain equal rights and node data can only be written but not modified or deleted to ensure the non-modifiability of information data in the block node. In addition, after the information uploaded to the blockchain node takes effect, it may be changed, abolished, and other operations may be performed on it. In the blockchain node, key information such as information change, abolition, and other key operations, auditors and audit results, and timestamps will be recorded on the chain to facilitate the whole process management of encrypted certificates.
[0087] It should be noted that see Figure 2 In this embodiment, the number of authenticators is multiple (such as Figure 2 In the case of the verification parties A and B in the example, after the symmetric encryption key is asymmetrically encrypted by each verification party, an authorized decryption whitelist corresponding to the verification party can be obtained. At this time, the authorized decryption whitelists corresponding to all verification parties can be arranged to form a decryption whitelist. The verification party can be set by the employee himself. For example, the extraction key (the verification party private key) of the employee's personal information can be sent to the employee himself and the verification party designated by him in the form of email or text message.
[0088] In an optional implementation, the requesting the blockchain platform to call the target personal information of the target employee includes:
[0089] Obtaining a target encrypted certificate corresponding to the target employee from the encrypted certificates stored in the database outside the blockchain;
[0090] Obtaining a verifier private key corresponding to the target employee, and obtaining a target decryption whitelist corresponding to the target employee from the decryption whitelist stored in the blockchain node, wherein the verifier private key is a private key of one of the at least one verifier;
[0091] In case the target symmetric encryption key corresponding to the target employee is successfully decrypted from the target decryption whitelist using the verification party private key, it is determined that the target personal information is allowed to be called, wherein the target personal information is obtained by decrypting the target ciphertext certificate using the target symmetric encryption key.
[0092] It can be understood that since the collected personal information of each employee has been uploaded to the blockchain platform, the required information (i.e., the information corresponding to the target employee) can be obtained from the data stored in the blockchain node and / or the database outside the blockchain. In particular, it can be determined whether the user is allowed to call the target personal information by whether the verification party private key obtained by the user can decrypt the target decryption whitelist. If allowed, the information successfully decrypted from the target ciphertext certificate will be used as the target personal information required to be called.
[0093] In an optional implementation, the blockchain node runs a smart contract, and the hash value of the encrypted certificate is used as a file index of the smart contract.
[0094] It should be noted that in this embodiment, according to the blockchain smart contract technology, conditionally automatically updated information and conditionally automatically executed rules can be solidified into smart contracts. For example, it can be set to automatically update the certificate to an invalid state when it expires, automatically send a reminder when the resignation warning state is in a "dangerous" state, and automatically analyze countermeasures and / or employee concerns. In addition, the hash value of the ciphertext certificate corresponding to each employee is used as the file index of the corresponding employee's personal information in the smart contract to improve the accuracy of data association.
[0095] In an optional implementation, before obtaining the verifier private key corresponding to the target employee and obtaining the target decryption whitelist corresponding to the target employee from the decryption whitelist stored in the blockchain node, the method further includes:
[0096] Calculate the hash value of the target encrypted certificate;
[0097] The hash value of the ciphertext certificate corresponding to the personal information collected from the target employee obtained from the blockchain node is compared with the calculated hash value of the target ciphertext certificate to determine whether the target ciphertext certificate is credible.
[0098] It can be understood that each time the data in the blockchain node is accessed and called, the hash value uploaded to the blockchain node corresponding to the employee who needs to access the call can be compared with the calculated hash value of the target encrypted certificate. When the comparison result indicates that they are the same, the target encrypted certificate is determined to be credible, otherwise it is determined to be untrustworthy. When the target encrypted certificate is untrustworthy, there is no need to perform the subsequent steps of obtaining the verification party private key corresponding to the target employee and its subsequent steps.
[0099] In an optional embodiment, the method further includes:
[0100] When the resignation warning status meets the preset intervention conditions, a countermeasure plan and / or employee focus points corresponding to the target employee are determined based on the target personal information.
[0101] Specifically, this embodiment can be illustrated with reference to the above-mentioned situation where the resignation warning status is divided into "satisfactory", "general", and "dangerous". When the resignation warning status is characterized as "general" or "dangerous", it means that the intervention conditions are met. The countermeasure plan can be obtained by matching the target personal information from a countermeasure plan database that pre-stores several countermeasure plans, or it can be generated by processing the target personal information through a pre-trained countermeasure plan generation model to adjust the resignation warning status of the target employee. In addition, after the corresponding employee index score is determined through the target personal information, the employee focus point can be the type corresponding to the employee index score that does not meet the conditions as the employee focus point. Exemplarily, the employee focus point can also be used to adjust the countermeasure plan.
[0102] Accordingly, the embodiment of the present application also provides a blockchain-based employee resignation warning system, which can implement all the processes of the blockchain-based employee resignation warning method provided in the above embodiment.
[0103] See also Figure 3 , showing a schematic diagram of the structure of the employee resignation warning system based on blockchain provided in an embodiment of the present application, including a blockchain platform 301, the system also includes:
[0104] The personal information module 302 is configured to:
[0105] Collecting employees’ personal information and uploading the encrypted personal information to the blockchain platform;
[0106] When it is necessary to predict the resignation intention of the target employee, request the blockchain platform to call the target personal information of the target employee;
[0107] The resignation warning prevention and control module 303 is configured as follows:
[0108] In the case where the target personal information is allowed to be accessed, determining a corresponding employee index score based on the target personal information;
[0109] Calculating a resignation warning index based on the employee index score;
[0110] Based on the comparison result between the resignation warning index and the preset resignation warning threshold, the resignation warning status of the target employee is determined.
[0111] For example, see Figure 4The system may also include a cloud resource pool, which may include servers, storage devices, and network devices. The cloud resource pool refers to a collection of computing, storage, network and other infrastructure resources that are centrally managed and dynamically allocated by a cloud service provider in a cloud computing environment (for providing to the blockchain platform). These resources can be accessed and used through the network on a pay-as-you-go basis according to customer needs. The resource pool improves the flexibility, scalability, and utilization of resources while reducing maintenance costs and complexity. The cloud resource pool typically includes multiple levels of architecture, such as regions and availability zones, to ensure high availability and fault tolerance of services.
[0112] In an optional implementation, the target personal information includes at least one of the target employee's basic information, employee value orientation information, employee psychological information, and employee physiological information, and the employee index score includes at least one of the basic information index value, employee value index value, employee psychological index value, and employee physiological index value;
[0113] Among them, the basic information index value is determined by the employee basic information, the employee value index value is determined by the employee value orientation information, the employee psychological index value is determined by the employee psychological information, and the employee physiological index value is determined by the employee physiological information.
[0114] For example, see Figure 5 The personal information module 302 may include a basic information module, a value orientation module, a psychological evaluation module, and a physiological monitoring module, wherein:
[0115] The basic information module is used to store basic information of employees and also to determine the basic information index value;
[0116] The value orientation module is used to store employee value orientation information and also to determine employee value index values;
[0117] The psychological evaluation module is used to store employee psychological information and also to determine employee psychological index values;
[0118] The physiological monitoring module is used to store the physiological information of the employee and also to determine the physiological index value of the employee.
[0119] In an optional implementation, the calculating of the resignation warning index based on the employee index score includes:
[0120] A resignation warning index is obtained by performing weighted calculation based on the basic information index value, the employee value index value, the employee psychological index value and / or the employee physiological index value.
[0121] In an optional implementation, the blockchain platform includes a first blockchain platform based on a public chain, or a second blockchain platform based on a self-built alliance chain.
[0122] In an optional implementation, the blockchain platform includes a blockchain node and an off-blockchain database, and the encrypted personal information includes a ciphertext certificate, a personal information identifier, and a decryption whitelist, wherein:
[0123] The encrypted certificate is obtained by symmetric encryption of the collected personal information based on a symmetric encryption key, wherein the symmetric encryption key is a pre-generated random number, and the encrypted certificate is stored in the database outside the blockchain;
[0124] The decryption whitelist is obtained by asymmetric encryption of the symmetric encryption key using the public key of at least one verification party authorized to access;
[0125] The hash value of the encrypted certificate, the personal information identifier and the decryption whitelist are all stored in the blockchain node.
[0126] In an optional implementation, the requesting the blockchain platform to call the target personal information of the target employee includes:
[0127] Obtaining a target encrypted certificate corresponding to the target employee from the encrypted certificates stored in the database outside the blockchain;
[0128] Obtaining a verifier private key corresponding to the target employee, and obtaining a target decryption whitelist corresponding to the target employee from the decryption whitelist stored in the blockchain node, wherein the verifier private key is a private key of one of the at least one verifier;
[0129] In case the target symmetric encryption key corresponding to the target employee is successfully decrypted from the target decryption whitelist using the verification party private key, it is determined that the target personal information is allowed to be called, wherein the target personal information is obtained by decrypting the target ciphertext certificate using the target symmetric encryption key.
[0130] In an optional implementation, the blockchain node runs a smart contract, and the hash value of the encrypted certificate is used as a file index of the smart contract.
[0131] In an optional implementation, the resignation warning prevention and control module 303 is further configured to:
[0132] Before obtaining the verifier private key corresponding to the target employee and obtaining the target decryption whitelist corresponding to the target employee from the decryption whitelist stored in the blockchain node, calculating the hash value of the target ciphertext certificate;
[0133] The hash value of the ciphertext certificate corresponding to the personal information collected from the target employee obtained from the blockchain node is compared with the calculated hash value of the target ciphertext certificate to determine whether the target ciphertext certificate is credible.
[0134] In an optional implementation, the resignation warning prevention and control module 303 is further configured to:
[0135] When the resignation warning status meets the preset intervention conditions, a countermeasure plan and / or employee focus points corresponding to the target employee are determined based on the target personal information.
[0136] An embodiment of the present application also provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of any of the above-mentioned blockchain-based employee resignation warning methods are implemented.
[0137] An embodiment of the present application also provides a computer program product, including computer instructions, which, when executed by a processor, implement the steps of any of the above-mentioned blockchain-based employee resignation warning methods.
[0138] An embodiment of the present application also provides a computer device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the steps of any of the above-mentioned blockchain-based employee resignation warning methods when executing the computer program.
[0139] See also Figure 6 The computer device of this embodiment includes: a processor 601, a memory 602, and a computer program stored in the memory 602 and executable on the processor 601, such as a blockchain-based employee resignation warning program. When the processor 601 executes the computer program, the steps in the above-mentioned embodiments of the employee resignation warning method based on blockchain are implemented, such as Figure 1 Steps S1-S5 are shown.
[0140] Exemplarily, the computer program may be divided into one or more modules / units, which are stored in the memory 602 and executed by the processor 601 to complete the present application. The one or more modules / units may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program in the computer device.
[0141] The computer device may be a computing device such as a desktop computer, a notebook, a PDA, a cloud server, etc. The computer device may include, but not limited to, a processor 601 and a memory 602. Those skilled in the art may understand that the schematic diagram is only an example of a computer device and does not constitute a limitation on the computer device. The computer device may include more or fewer components than shown in the figure, or may combine certain components, or different components. For example, the computer device may also include input and output devices, network access devices, buses, etc.
[0142] The processor 601 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor 601 may also be any conventional processor, etc. The processor 601 is the control center of the computer device, and uses various interfaces and lines to connect various parts of the entire computer device.
[0143] The memory 602 can be used to store the computer program and / or module, and the processor 601 realizes various functions of the computer device by running or executing the computer program and / or module stored in the memory 602, and calling the data stored in the memory 602. The memory 602 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 602 can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0144] Wherein, if the module / unit integrated in the computer device is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor 601. Wherein, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium, etc.
[0145] In summary, the embodiments of the present application have at least the following beneficial effects:
[0146] By adopting the embodiment of the present application, the personal information of employees is collected and the encrypted personal information is uploaded to the blockchain platform; when it is necessary to predict the resignation intention of the target employee, the target personal information of the target employee is requested to be called from the blockchain platform; when the call of the target personal information is allowed, the corresponding employee index score is determined based on the target personal information; based on the employee index score, the resignation warning index is calculated; based on the comparison result between the resignation warning index and the preset resignation warning threshold, the resignation warning status of the target employee is determined, so that the encrypted personal information can be stored in the blockchain platform to reduce the risks of data loss, data falsification, and malicious tampering to improve the reliability of resignation warning, and effectively protect the information security and personal privacy of the collected personal information of the employees, and can also effectively optimize the efficiency of human resource management.
[0147] Through the description of the above implementation methods, those skilled in the art can clearly understand that the present application can be implemented by means of software plus the necessary hardware platform, and of course, it can also be implemented entirely by hardware. Based on such an understanding, all or part of the contribution of the technical solution of the present application to the background technology can be embodied in the form of a software product, and the computer software product can be stored in a storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application or some parts of the embodiments.
[0148] The above is a preferred embodiment of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications are also considered to be within the scope of protection of the present application.
Claims
1. A blockchain-based employee resignation warning method, characterized in that: include: Collect employees’ personal information and upload the encrypted personal information to the blockchain platform; When it is necessary to predict the resignation intention of the target employee, request the blockchain platform to call the target personal information of the target employee; In the case where the target personal information is allowed to be accessed, determining a corresponding employee index score based on the target personal information; Calculating a resignation warning index based on the employee index score; Based on the comparison result between the resignation warning index and the preset resignation warning threshold, the resignation warning status of the target employee is determined.
2. The employee resignation warning method based on blockchain as claimed in claim 1, characterized in that: The target personal information includes at least one of the target employee's basic information, employee value orientation information, employee psychological information, and employee physiological information; the employee index score includes at least one of the basic information index value, employee value index value, employee psychological index value, and employee physiological index value; Among them, the basic information index value is determined by the employee basic information, the employee value index value is determined by the employee value orientation information, the employee psychological index value is determined by the employee psychological information, and the employee physiological index value is determined by the employee physiological information.
3. The employee resignation warning method based on blockchain as claimed in claim 2, characterized in that: The calculating of the resignation warning index based on the employee index score includes: A resignation warning index is obtained by performing weighted calculation based on the basic information index value, the employee value index value, the employee psychological index value and / or the employee physiological index value.
4. The employee resignation warning method based on blockchain as claimed in claim 1, characterized in that: The blockchain platform includes a first blockchain platform based on a public chain, or a second blockchain platform based on a self-built alliance chain.
5. The employee resignation warning method based on blockchain as claimed in claim 1, characterized in that: The blockchain platform includes blockchain nodes and an off-blockchain database, and the encrypted personal information includes ciphertext certificates, personal information identifiers, and a decryption whitelist, wherein: The encrypted certificate is obtained by symmetric encryption of the collected personal information based on a symmetric encryption key, wherein the symmetric encryption key is a pre-generated random number, and the encrypted certificate is stored in the database outside the blockchain; The decryption whitelist is obtained by asymmetric encryption of the symmetric encryption key using the public key of at least one verification party authorized to access; The hash value of the encrypted certificate, the personal information identifier and the decryption whitelist are all stored in the blockchain node.
6. The employee resignation warning method based on blockchain as claimed in claim 5, characterized in that: The requesting the blockchain platform to retrieve the target personal information of the target employee includes: Obtaining a target encrypted certificate corresponding to the target employee from the encrypted certificates stored in the database outside the blockchain; Obtaining a verifier private key corresponding to the target employee, and obtaining a target decryption whitelist corresponding to the target employee from the decryption whitelist stored in the blockchain node, wherein the verifier private key is a private key of one of the at least one verifier; In case the target symmetric encryption key corresponding to the target employee is successfully decrypted from the target decryption whitelist using the verification party private key, it is determined that the target personal information is allowed to be called, wherein the target personal information is obtained by decrypting the target ciphertext certificate using the target symmetric encryption key.
7. The employee resignation warning method based on blockchain as claimed in claim 5, characterized in that: The blockchain node runs a smart contract, and the hash value of the ciphertext certificate is used as a file index of the smart contract.
8. The blockchain-based employee resignation warning method according to claim 6, characterized in that: Before obtaining the verifier private key corresponding to the target employee and obtaining the target decryption whitelist corresponding to the target employee from the decryption whitelist stored in the blockchain node, the method further includes: Calculate the hash value of the target encrypted certificate; The hash value of the ciphertext certificate corresponding to the personal information collected from the target employee obtained from the blockchain node is compared with the calculated hash value of the target ciphertext certificate to determine whether the target ciphertext certificate is credible.
9. The blockchain-based employee resignation warning method according to any one of claims 1 to 8, characterized in that: The method further comprises: When the resignation warning status meets the preset intervention conditions, a countermeasure plan and / or employee focus points corresponding to the target employee are determined based on the target personal information.
10. A blockchain-based employee resignation warning system, comprising a blockchain platform, characterized in that: The system further comprises: The personal information module is configured as follows: Collecting employees’ personal information and uploading the encrypted personal information to the blockchain platform; When it is necessary to predict the resignation intention of the target employee, request the blockchain platform to call the target personal information of the target employee; The resignation warning and prevention module is configured as follows: In the case where the target personal information is allowed to be accessed, determining a corresponding employee index score based on the target personal information; Calculating a resignation warning index based on the employee index score; Based on the comparison result between the resignation warning index and the preset resignation warning threshold, the resignation warning status of the target employee is determined.
11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the blockchain-based employee resignation warning method according to any one of claims 1 to 9 is implemented.
12. A computer program product comprising computer instructions, characterized in that: When the computer instructions are executed by the processor, the blockchain-based employee resignation warning method described in any one of claims 1 to 9 is implemented.
13. A computer device, characterized in that: It includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and when the processor executes the computer program, the blockchain-based employee resignation warning method according to any one of claims 1 to 9 is implemented.
