CN113497823B - Labor service subcontracting personnel management system based on block chain - Google Patents

Labor service subcontracting personnel management system based on block chain Download PDF

Info

Publication number
CN113497823B
CN113497823B CN202010640809.6A CN202010640809A CN113497823B CN 113497823 B CN113497823 B CN 113497823B CN 202010640809 A CN202010640809 A CN 202010640809A CN 113497823 B CN113497823 B CN 113497823B
Authority
CN
China
Prior art keywords
labor
personnel
node
data
subcontracting
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
CN202010640809.6A
Other languages
Chinese (zh)
Other versions
CN113497823A (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.)
Beijing North Star Technology Development Co ltd
State Grid Qinghai Electric Power Co Ltd
Original Assignee
Beijing North Star Technology Development Co ltd
State Grid Qinghai Electric Power 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 Beijing North Star Technology Development Co ltd, State Grid Qinghai Electric Power Co Ltd filed Critical Beijing North Star Technology Development Co ltd
Priority to CN202010640809.6A priority Critical patent/CN113497823B/en
Publication of CN113497823A publication Critical patent/CN113497823A/en
Application granted granted Critical
Publication of CN113497823B publication Critical patent/CN113497823B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0639Performance analysis of employees; Performance analysis of enterprise or organisation operations
    • G06Q10/06393Score-carding, benchmarking or key performance indicator [KPI] analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0639Performance analysis of employees; Performance analysis of enterprise or organisation operations
    • G06Q10/06398Performance of employee with respect to a job function
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • H04L63/0442Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload wherein the sending and receiving network entities apply asymmetric encryption, i.e. different keys for encryption and decryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S10/00Systems supporting electrical power generation, transmission or distribution
    • Y04S10/50Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Development Economics (AREA)
  • Educational Administration (AREA)
  • Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Strategic Management (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Marketing (AREA)
  • Game Theory and Decision Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses labor subcontracting personnel management system based on block chains. The system comprises a alliance chain consisting of an alliance node management platform, a service application system and an alliance chain platform; the alliance node platform is used for maintaining basic information of each alliance node, and the basic information comprises a unit name, a network address and a port number which are set for each alliance node; the alliance node comprises a construction unit, a sub-packaging unit, a supervision unit, a design unit and a human unit; the business application system is used for managing basic information and approach information of labor staff; the alliance chain platform is used for establishing alliances of all people and units, and jointly witnessing, recording and sharing the entering and credit investigation information of the labor service personnel. The block chain technology is applied to the management of labor subcontracting personnel, the reliability of personnel information data is guaranteed, the alliance chain is utilized to improve the information public credibility of the labor personnel, meanwhile, a labor personnel information base can be further improved, and powerful data support is provided for the image drawing of the labor personnel.

Description

Labor service subcontracting personnel management system based on block chain
Technical Field
The application relates to the technical field of video processing, in particular to a labor subcontracting personnel management system based on a block chain.
Background
In the construction process of the power grid engineering, besides fixed managers and core labor workers, a large number of labor division workers (commonly called farmer workers) are required to participate, which becomes a pain point and a difficulty point of process safety management and mainly lies in that: (1) Personnel mobility is high, the same person can work back and forth in different projects, even different standard sections of a project, and managers are difficult to master historical work records of the person; (2) Personnel working hours are unstable and are likely to pay by day; (3) The credit investigation management is difficult, a uniform credit investigation evaluation is difficult to form, and a plurality of engineering and labor companies participate in the evaluation, so that the selection of labor personnel is optimized.
At present, the existing personnel information is not managed in a unified and centralized manner, and is generally managed by each construction unit or sub-package unit, and the owner units cannot inquire the historical entry management information of the labor personnel one by one; in addition, in the existing information management system related to the labor personnel, credit management for the labor personnel is lacked, after the labor personnel violate or violate rules, the existing practice is usually written to report, and then the report is reported to an owner unit layer by a construction unit or a sub-package unit, so that the information is not processed in time, and the condition of missing and losing may exist; the existing assessment data after the labor service personnel perform on-duty assessment is usually stored by each unit, and because a complete data collection service system is not provided, an information island is easy to form, and all personnel units cannot share the data.
With the rapid development of internet technology, many big data credit investigation enterprises build up their own credit investigation query platforms after accumulating user information data to a certain extent, but the collected data mainly come from financial institutions such as various P2P platforms, money-consuming enterprises, goods-supporting companies and commercial banks, and the data difference between the data and the demand of on-site employment companies is large, so that the evaluation of labor staff by the employment companies cannot be satisfied. Usually, block chains are not introduced into the credit investigation platforms at present, most of the credit investigation platforms are maintained based on public chains even if block chain technologies are introduced, the information amount is huge and tedious, and the credit investigation platforms cannot be used accurately.
Disclosure of Invention
The application provides a labor subcontracting personnel management system based on block chain includes: the alliance chain consists of an alliance node management platform, a service application system and an alliance chain platform;
the alliance node platform is used for maintaining basic information of each alliance node, and the basic information comprises a unit name, a network address and a port number which are set for each alliance node; the alliance node comprises a construction unit, a sub-packaging unit, a supervision unit, a design unit and a human unit;
the business application system is used for managing basic information and approach information of labor staff;
the alliance chain platform is used for establishing alliances of all personnel units and specifically comprises a storage module, a block chain network, an consensus module, an encryption module, an identity authentication module and a scoring contract module;
the storage module is used for storing all labor subcontracting personnel data on the alliance chain in a block of the block chain, wherein the labor subcontracting personnel data comprise basic information, work and seed certification data, approach data, departure data, assessment data and punishment data of the labor subcontracting personnel;
the block chain network provides the network communication service of the bottom layer for the communication among all nodes of the alliance chain, and labor service subcontracting personnel data are transmitted among all nodes of the block chain network;
the consensus module provides a consensus algorithm for joint compliance for each node of the alliance chain, and each node uses the same consensus algorithm to process the data of the labor service packet-dividing personnel;
the encryption module is used for encrypting and decrypting the labor subcontracting personnel data transmitted by each node of the alliance chain;
the identity authentication module is connected with the service application system and used for authenticating the identity of each node of the alliance chain;
and the scoring contract module is used for calculating the credit score of the labor subcontracting personnel and providing the credit score of the labor subcontracting personnel to each node of the alliance chain through the blockchain network.
The labor subcontracting personnel management system based on the blockchain is characterized in that the blockchain network adopts a P2P form, each node of the alliance chain is a server or a client, when a certain network node is used as the server, the rest network nodes are used as the clients and connected with the server, and when a certain network node is used as the client, the rest network nodes are connected with the servers of the rest network nodes.
The labor subcontracting personnel management system based on the block chain comprises the following communication methods of each node of the alliance chain: receiving a message sent by a network node, checking the validity and integrity of the message according to a pre-negotiated communication protocol, if the message is an invalid message, directly discarding the invalid message without processing, if the message is valid data, acquiring a message header, performing classification processing according to message header information, and calling a remote interface to broadcast the message to other nodes.
The labor subcontracting personnel management system based on the block chain is characterized in that the communication protocol comprises a protocol version, a request header, a server network address, a local node network address, a data packaging timestamp, a block hash value, extension information and a message length.
The labor subcontracting personnel management system based on the block chain, wherein the consensus module processes the labor subcontracting personnel data by adopting a Byzantine fault-tolerant algorithm, and specifically comprises the following steps:
the method comprises the steps that a main node is designated as a provincial company node during initialization, when the provincial company node is disconnected, one main node is selected from the nodes of the whole network, and a new block is generated by the main node;
each unit node broadcasts the labor subcontracting personnel data sent by the client to the whole network, and the main node sorts and stores a plurality of labor subcontracting personnel data which are collected from the network and need to be placed in a new block into a list and broadcasts the list to the whole network;
after receiving the labor subcontracting personnel data list, each unit node executes the data processing of the labor subcontracting personnel according to sequencing simulation, calculates the hash abstract of the new block based on the data processing result and broadcasts the hash abstract to the whole network;
if the abstracts sent by the nodes with the number of Byzantine nodes received by one node are equal to that of the node, a confirmation message is broadcasted to the whole network;
if a node receives a confirmation message sent by a node with the number of Byzantine nodes being +1, submitting a new block to a local block chain and a state database;
and the client receives the returns with the number of Byzantine nodes being +1, and the writing request is successful.
The labor subcontractor management system based on the block chains as described above, wherein the performing of the labor subcontractor data processing comprises modifying or entering the labor subcontractor approach data or assessment scores.
The labor subcontracting personnel management system based on the block chain, wherein the performing of the labor subcontracting personnel data processing comprises modifying or entering the labor personnel approach data or assessment results.
The labor subcontracting personnel management system based on the block chain comprises an encryption module, a data processing module and a data processing module, wherein the encryption module is specifically used for:
generating a pair of public and private keys;
signing the transmitted labor subcontracting personnel data by using a private key;
and acquiring the input labor subpackage personnel data, and verifying the signature result according to the public key and the labor subpackage personnel data.
The labor subcontracting personnel management system based on the block chain is characterized in that in the scoring contract module, the formula for calculating the credit score of the labor subcontracting personnel is as follows: service score = basic score + good score plus score-negative deduction score; and recalculating the credit score of the user every time the data is updated, and calculating the project participation score by adopting a rolling accumulation mode.
The labor subcontracting personnel management system based on the block chain is characterized in that the calculation formula of the basic score is as follows: basic score = age + N specialties 10+ exam, N representing the number of valid specialties certificates.
The labor subcontracting personnel management system based on the block chain is characterized in that the calculation formula of the negative deduction is as follows: deduction =0.1 × Na +0.5 × Nb +2 × Nc +10 × Nd, na, nb, nc, nd represent times.
The beneficial effect that this application realized is as follows: the block chain technology is applied to the management of labor subcontracting personnel, the reliability of personnel information data is guaranteed, the alliance chain is utilized to improve the public credibility of labor personnel information, meanwhile, a labor personnel information base can be further improved, and powerful data support is provided for the portrayal of labor personnel.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present invention, and other drawings can be obtained by those skilled in the art according to the drawings.
FIG. 1 is a schematic diagram of a labor subcontracting personnel management system based on a block chain according to an embodiment of the present disclosure;
FIG. 2 is a flow chart of the detailed operation of the consensus module;
fig. 3 is a flowchart of the detailed operation of the encryption module.
Detailed Description
The technical solutions in the embodiments of the present invention are clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
The embodiment of the application provides a labor subcontracting personnel management system based on a block chain, which is used for managing the entrance and credit investigation of labor subcontracting personnel, managing the historical information of participation operation of all the labor subcontracting personnel, recording the entrance evaluation and the exit evaluation, calculating the credit score of the personnel through a personnel credit algorithm, assisting the optimized selection of each personnel in the field of power grid on the labor subcontracting personnel, and only units such as construction, design, supervision, subcontracting and the like authorized and authenticated can be added into a alliance chain through an admission mechanism, so that the authenticity of the labor subcontracting personnel information can be ensured by depending on the characteristics of decentralization, irreparability, irreversibility and the like of the block chain.
As shown in fig. 1, the labor subcontracting personnel management system based on the block chain comprises: the system comprises a alliance node management platform, a service application system and an alliance chain platform; the alliance node management platform is used for maintaining basic information of each alliance node, and comprises a unit name, a network address and a port number which are set for each alliance node; the business application system is used for managing basic information and approach information of labor staff; the alliance chain platform is used for establishing alliances of all people and units, and jointly witnessing, recording and sharing the entering and credit investigation information of the labor service personnel.
Specifically, the alliance chain platform comprises a storage module, a block chain network, a consensus module, an encryption module, an identity authentication module and a scoring contract module, and the specific functions of the modules are described in detail as follows:
(1) Memory module
The storage module is used for storing all block data on the alliance chain in the blocks of the block chain; wherein the tile data (tile data structure is shown in table 1 below) includes, but is not limited to, tile chain data, index data, and status data; the authority of the block data is that only insertion and query operations can be executed, preferably, a relational database sqlite is adopted for storage, an index column can be well defined by the relational database, and index data are directly stored in the sqlite; the state data needs to be stored in the kek-value database because of the need for efficient reading.
Table 1 block data structure
Name of field Types of Length of Remarks to note
version string 8 Version of client
block_hash string 128 Block hash
previous_block_hash string 128 Last block hash
timestamp number 16 Data packing time stamp
nonce number 16 Data packing random number
data_hash string 128 Hash value of service data
The block chain data comprises basic information data of labor subcontractors (a basic information data structure is shown in the following table 2), work type certification data (a work type certification data structure is shown in the following table 3), approach data (an approach data structure is shown in the following table 4), approach data (an approach data structure is shown in the following table 5), assessment data (an assessment data structure is shown in the following table 6), punishment data (a punishment data structure is shown in the following table 7) and a behavior classification deduction table (a behavior classification deduction data structure is shown in the following table 8):
table 2 staff member basic information data structure
Figure GDA0003858892270000081
Figure GDA0003858892270000091
Table 3 work certificate data structure
Name of field Type (B) Length of Remarks for note
data_hash string 128 Hash value of service data
idcard string 64 Identity card number
special_type string 128 Type of special work
cert_ca string 512 Special work kind certificate issuing unit
cert_code string 128 Special work and breed certificate number
cert_expired string 16 Expiration time of special work category certificate
cert_level number 4 Certificate level
remarks string 1024 Other remark information
Table 4 approach data structure
Figure GDA0003858892270000092
Figure GDA0003858892270000101
Table 5 fallback data structure
data_hash string 128 Hash value of service data
idcard string 64 Identity card number
exit_time date 16 Time of departure
project string 512 Engineering of
score number 4 Fall back scoring
evaluation string 512 Evaluation of field Return
unit string 512 Evaluation Unit
remarks string 1024 Other remark information
Form 6 training exam data structure
Figure GDA0003858892270000102
Figure GDA0003858892270000111
Table 7 penalty data structure
Name of field Type (B) Length of Remarks for note
data_hash string 128 Hash value of service data
idcard string 512 Identity card number
punish_name string 512 Name of punishment
punish_time date 16 Punishment time
punish_score number 4 Punishment of points
punish_type string 3 Punishment class
rater string 512 Name + identity card number
Process_code string 64 Process encoding
process string 512 Process information (json)
remarks string 1024 Other remark information
Table 8 behavior category deduction table
Figure GDA0003858892270000112
Figure GDA0003858892270000121
A database table structure meeting the requirement of a service scene and operation authority (CRUD) of each node pair are preset among all alliances of an alliance chain platform, data operated by each node are packaged into a Block, then the whole network broadcasting is carried out, the legality of information such as a signature and authority is checked in the whole network is waited, if a Block is legal, a PBFT consensus algorithm mechanism is entered, all nodes start to execute in sequence according to PBFT, and after 2f +1 commit, a new Block starts to be generated locally. And after the new block is generated, each node analyzes the content of the block and performs the operation of landing and warehousing.
(2) Block chain network
The blockchain network provides services such as network communication, node discovery and the like at the bottom layer for communication among nodes of the alliance chain, and is used for managing the nodes, connection and connection states among the nodes and sending and receiving data.
The blockchain network is in a P2P form, each network participant can be a server or a client, if the blockchain network is used as the server, the blockchain network is connected with other N-1 nodes, and if the blockchain network is used as the client, the blockchain network can be connected with the servers of other N-1 nodes. Preferably, webSocket + NIO is adopted for communication among nodes, long connection and disconnection reconnection of all nodes are achieved, and then heartbeat detection is maintained.
Specifically, the communication method between nodes in the block chain network is as follows: receiving a message sent by a network node, checking the validity and integrity of the message according to a pre-negotiated communication protocol, if the message is an invalid message, directly discarding the invalid message without processing, if the message is valid data, acquiring a message header, performing classification processing according to message header information, and calling a remote interface to broadcast to other nodes. The communication protocol is shown in the following table 9:
table 9 communication protocol
Name of field Types of Length of Remarks for note
version string 8 Protocol version
header string 8 Request head
server_addr string 128 Server network address (IP: PORT 01)
client_addr string 128 Local node network address (IP: PORT 01)
timestamp number 16 Data packing time stamp
block_hash string 32 Block hash
data string 1024 Extension information
length number 8 Message length
(3) Consensus module
The consensus module provides a consensus algorithm for all nodes of the alliance chain, all nodes use the same consensus algorithm to process labor service packet personnel data, the consistency of data of all nodes in the block chain is guaranteed, and all nodes in the block chain are equivalent and decentralized;
the Byzantine fault-tolerant algorithm (PBFT algorithm) is preferably adopted, multiple verification is not needed in the PBFT algorithm, the whole network consensus can be achieved without a large amount of calculation, the time for waiting for confirmation of transaction is saved, and the network operation speed is increased; the PBFT algorithm requires 4 minimum nodes, the nodes can be added at any time according to actual use conditions, only four minimum nodes are required to be ensured, and the change of the number of the nodes does not affect the system. The PBFT needs to maintain a state together and actions taken by all nodes are consistent, and for this reason, three basic protocols need to be run, including a consistency protocol, a checkpoint protocol, and a view change protocol. The main focus here is on the consistency protocol that supports the daily operation of the system; the coherence protocol includes at least several phases: the write request (request), sequence number assignment (pre-prepare) and response (reply) may include mutual interaction (prepare), sequence number confirmation (commit) stages depending on the protocol design.
Each node uses the same consensus algorithm to process the data of the labor service packet personnel, as shown in fig. 2, specifically:
step210, during initialization, the main node is designated as a province company node, when the province company node is disconnected, a main node (Leader) is selected from the whole network nodes, and the main node is responsible for generating a new block.
Step220, each unit node broadcasts the labor subcontracting personnel data sent by the client to the whole network, and the main node sorts and stores a plurality of labor subcontracting personnel data collected from the network and required to be placed in a new block into a list and broadcasts the list to the whole network.
And Step230, after receiving the labor subcontracting personnel data list, each unit node performs data processing according to the sequencing simulation, calculates the hash abstract of the new block based on the data processing result and broadcasts the hash abstract to the whole network.
Step240, if the digests received by one node from 2f (f is tolerable number of Byzantine nodes) other nodes are all equal to the one node, then a commit message is broadcasted to the whole network.
Step250, if a node receives 2f +1 (including self) commit message, a new block can be submitted to the local block chain and state database.
Step260, the client receives f +1 successful returns (even if f failures exist and f malicious returned error messages exist, f +1 correct returns are also most dispatches), and the write request is considered to be successful;
the labor subcontractor data comprise labor personnel entrance data or assessment scores and the like, and the labor subcontractor data are processed by modifying or inputting the labor personnel entrance data or assessment scores.
(4) Encryption module
The encryption module is used for encrypting and decrypting labor subpackage personnel data transmitted by each node of the alliance chain;
since the blockchain provides a brand-new scheme for solving the trust problem between the participating nodes through a machine algorithm, the core of the blockchain is that the data cannot be tampered by deeply using a cryptographic algorithm due to the fact that the key point of the blockchain is that the data are not completely trusted. An asymmetric encryption algorithm is mainly applied in the block chain (two asymmetric passwords are used in the encryption and decryption processes and are respectively called a public key and a private key), the public key and the private key are a pair, and if the public key is used for encrypting data, only the corresponding private key can be used for decrypting the data. As shown in fig. 3, the specific implementation is as follows:
step310, generate a pair of public private keys (PK, SK), where PK is the public key and SK is the private key.
Step320, signing the transmitted labor subcontracting personnel data by using a private key: sig = sign (sk, message), i.e. a message is processed by a private key, which is hashed to obtain a digest, which is then encrypted using the private key.
Step330, acquiring the input labor subpackage personnel data, and verifying the signature result according to the public key and the labor subpackage personnel data: verify (PK, message, sig); specifically, an input message, a signature result sig and a public key are obtained, the public key is used for decrypting the signature result sig, the message is subjected to the same hashing to obtain a digest, the decrypted result and the digest result are compared, if the two are the same, the verification is passed, and otherwise, the verification fails.
Preferably, the SM2 elliptic curve public key cryptographic algorithm is adopted in the application, and the SM2 is a public key algorithm published by the State cryptology administration, and the encryption strength is 256 bits. The method is different from international standards such as ECDSA, ECDH and the like in signature and key exchange, and adopts a more secure mechanism. The SM2 algorithm uses an elliptic curve equation as follows: y2= x3+ ax + b, and by specifying the a, b coefficients, a unique standard curve is determined. Meanwhile, in order to map the curve to the encryption algorithm, other parameters are also determined in the SM2 standard for use by the algorithm program.
(5) Identity authentication module
The identity authentication module is connected with the business application system and used for authenticating the identity of each node of the alliance chain, so that the business application system is communicated with the alliance chain platform, and the functions of authentication of alliance node joining and identity certificate management are achieved.
(6) Grading contract module
And the scoring contract module is used for calculating the credit score of the labor subcontracting personnel and providing the credit score of the labor subcontracting personnel to each node of the alliance chain through the blockchain network.
In the embodiment of the application, the credit scoring score of the labor subcontractor is calculated by three parts of basic score, good scoring plus score and negative deduction, and the calculation formula is as follows: the service score = basic score + good score plus score-negative deduction, the credit score of the user is recalculated every time data is updated, and the score is calculated by adopting a rolling accumulation mode to calculate the latest 10 (settable) engineering participation scores.
Specifically, the basic score is: the examination of S foundation = S age + N specialty worker +10 + S is calculated through age, specialty worker and training examination, and N represents the number of effective specialty worker certificates;
wherein, the age score correspondence table is shown in table 10, and the special labor score is: the number of the effective special worker certificates is 10, and the entrance training assessment scores are counted according to the actual examination scores:
TABLE 10 age points TABLE
Figure GDA0003858892270000161
Figure GDA0003858892270000171
Further, the good scores were scored by the personnel unit when the labor subcontractor returned from the field, as shown in table 11: table 11 good score adding table
Figure GDA0003858892270000172
Negative deduction: s is deducted =0.1 + Na +0.5 + Nb +2 + Nc +10 + Nd, na, nb, nc, nd represent times;
alternatively, the negative-going scoring categories may be added in an expanded fashion with reference to the behavior category scoring table of table 8, such as:
A. the safe civilized dressing is lighter when people do not arrive at post in time according to the requirement and do not meet the requirement, and the dressing is deducted for 0.1 minute each time.
B. General dangerous behaviors of the forbidden region intrusion and smoking in the forbidden region are deducted for 0.5 minutes each time.
C. The system is used for carrying out illegal climbing, illegal live working and important dangerous behaviors conflicting with local residents, and each time is deducted for 2 points.
D. The malicious bargaining and civil disputes are seriously dangerous behaviors, and 10 points are deducted each time.
The total credit score of the available personnel is thus: the total score of S = S basis + S good score-S deduction.
This application uses block chain technique in labor subcontracting personnel's management, build the alliance chain based on capital construction management and control system and wisdom building site management system, supply the construction, subcontract, labor personnel data are uploaded to units such as supervision, through the business owner's endorsement such as province's company, the authenticity of uploading personnel information has been guaranteed, the more safe encryption algorithm of state secret SM2 has been adopted, all cochain personnel information are all encrypted and processed, make personnel information service falsify, the credibility of personnel information data has been guaranteed, when utilizing the alliance chain to improve the public credibility of labor personnel information, the labor personnel information bank that can also be perfect, draw the strong data support for labor personnel.
And moreover, a block chain alliance mode is adopted, the province company or the owner unit carries out endorsement, all units such as construction, design, supervision, subpackaging and the like jointly establish an alliance, all organizations form alliances relevant to interests, and the healthy operation of the block chain is maintained jointly, so that data can be shared, the information of labor personnel can be well protected, and information leakage is prevented.
The above-mentioned embodiments are only specific embodiments of the present application, and are used for illustrating the technical solutions of the present application, but not limiting the same, and the scope of the present application is not limited thereto, and although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope disclosed in the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the present disclosure, which should be construed in light of the above teachings. Are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (12)

1. A labor subcontracting personnel management system based on a block chain is characterized by comprising: the alliance chain consists of an alliance node management platform, a service application system and an alliance chain platform;
the alliance node platform is used for maintaining basic information of each alliance node, and the basic information comprises a unit name, a network address and a port number which are set for each alliance node; the alliance node comprises a construction unit, a sub-packaging unit, a supervision unit, a design unit and a person using unit;
the business application system is used for managing basic information and approach information of labor staff;
the alliance chain platform is used for establishing alliances of all personnel units and specifically comprises a storage module, a block chain network, an consensus module, an encryption module, an identity authentication module and a scoring contract module;
the storage module is used for storing all labor subcontracting personnel data on the alliance chain in a block of the block chain, wherein the labor subcontracting personnel data comprise basic information, work type certification data, approach data, departure data, examination data and punishment data of the labor subcontracting personnel;
the block chain network provides the network communication service of the bottom layer for the communication among all nodes of the alliance chain, and labor service subcontracting personnel data are transmitted among all nodes of the block chain network;
the consensus module provides a consensus algorithm for joint compliance for each node of the alliance chain, and each node uses the same consensus algorithm to process the data of the labor service packet-dividing personnel;
the encryption module is used for encrypting and decrypting labor subpackage personnel data transmitted by each node of the alliance chain;
the identity authentication module is connected with the service application system and is used for authenticating the identity of each node of the alliance chain;
and the scoring contract module is used for calculating the credit score of the labor subcontracting personnel and providing the credit score of the labor subcontracting personnel to each node of the alliance chain through the blockchain network.
2. The system according to claim 1, wherein the blockchain-based labor subcontractor personnel management system is characterized in that the blockchain network is in a P2P form, each node of the federation chain is a server or a client, when a certain network node is used as a server, the rest of the network nodes are used as clients and connected with the server of the rest of the network nodes, when a certain network node is used as a client.
3. The blockchain-based labor subcontracting personnel management system of claim 2, wherein the communication method of each node of the alliance chain is as follows: receiving a message sent by a network node, checking the validity and integrity of the message according to a pre-negotiated communication protocol, if the message is an invalid message, directly discarding the invalid message without processing, if the message is valid data, acquiring a message header, performing classification processing according to message header information, and calling a remote interface to broadcast the message to other nodes.
4. The blockchain-based labor subcontractor management system of claim 3, wherein the communication protocol includes a protocol version, a request header, a server network address, a local node network address, a data packing time stamp, a block hash value, extension information, and a message length.
5. The blockchain-based labor subcontract personnel management system of claim 1, wherein the consensus algorithm employs a Byzantine fault tolerant algorithm (PBFT algorithm) that requires a minimum of 4 nodes, and changes in the number of nodes do not affect the system.
6. The blockchain based labor subcontractor personnel management system of claim 5 wherein the PBFT requires a common maintenance of a state and consistent actions taken by all nodes, for which three basic protocols are run, including consistency protocols, checkpoint protocols, and view change protocols;
the coherence protocol includes at least several phases: the write request (request), sequence number assignment (pre-prepare) and response (reply) may include mutual interaction (prepare), sequence number confirmation (commit) stages depending on the protocol design.
7. The labor subcontracting personnel management system based on the block chain of claim 6, wherein each node processes the labor subcontracting personnel data by using the same consensus algorithm, specifically comprising:
the method comprises the steps that a main node is designated as a province company node during initialization, when the province company node is disconnected, one main node is selected from the whole network node, and a new block is generated by the main node;
each unit node broadcasts the labor subcontracting personnel data sent by the client to the whole network, and the main node sorts and stores a plurality of labor subcontracting personnel data which are collected from the network and need to be placed in a new block into a list and broadcasts the list to the whole network;
after receiving the labor subcontracting personnel data list, each unit node executes labor subcontracting personnel data processing according to sequencing simulation, calculates the Hash abstract of the new block based on the data processing result and broadcasts the Hash abstract to the whole network;
if the abstracts sent by the nodes with the number of Byzantine nodes received by one node are equal to that of the node, a confirmation message is broadcasted to the whole network;
if a node receives a confirmation message sent by a node with the number of Byzantine nodes being +1, submitting a new block to a local block chain and a state database;
and the client receives the returns with the number of Byzantine nodes being +1, and the writing request is successful.
8. The blockchain-based labor subcontractor management system of claim 5, wherein performing labor subcontractor data processing comprises modifying or entering labor personnel approach data or assessment achievements.
9. The block chain-based labor subcontracting personnel management system of claim 1, wherein the encryption module is specifically configured to:
generating a pair of public and private keys;
signing the transmitted labor subcontracting personnel data by using a private key;
and acquiring the input labor subcontracting personnel data, and verifying the signature result according to the public key and the labor subcontracting personnel data.
10. The block chain based labor subcontracting personnel management system of claim 1, wherein in the scoring contract module, the formula for calculating the credit score of the labor subcontracting personnel is as follows: service score = basic score + good score plus score-negative deduction score; and recalculating the credit score of the user every time the data is updated, and calculating the project participation score by adopting a rolling accumulation mode.
11. The block chain based labor subcontract personnel management system of claim 8, wherein the calculation formula of the base score is: basic score = age + N specialties 10+ exam, N representing the number of valid specialties certificates.
12. The block chain-based labor subcontractor personnel management system of claim 8, wherein the negative deduction is calculated by the formula: deduction =0.1 × Na +0.5 × Nb +2 × Nc +10 × Nd, na, nb, nc, nd respectively represent the times of the following four negative deduction categories:
A. the safe civilized dressing is lighter without timely arriving at post according to the requirement and being safely and civilized according to the requirement, and the dressing is deducted for 0.1 minute each time;
B. general dangerous behaviors of the forbidden region intrusion and smoking in the forbidden region are deducted for 0.5 min each time;
C. the method comprises the following steps of (1) carrying out illegal ascending, illegal live working and major dangerous behaviors conflicted with local residents, and deducting 2 points each time;
D. the malicious bargaining and civil disputes are seriously dangerous behaviors, and 10 points are deducted each time.
CN202010640809.6A 2020-07-06 2020-07-06 Labor service subcontracting personnel management system based on block chain Active CN113497823B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010640809.6A CN113497823B (en) 2020-07-06 2020-07-06 Labor service subcontracting personnel management system based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010640809.6A CN113497823B (en) 2020-07-06 2020-07-06 Labor service subcontracting personnel management system based on block chain

Publications (2)

Publication Number Publication Date
CN113497823A CN113497823A (en) 2021-10-12
CN113497823B true CN113497823B (en) 2023-01-10

Family

ID=77994924

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010640809.6A Active CN113497823B (en) 2020-07-06 2020-07-06 Labor service subcontracting personnel management system based on block chain

Country Status (1)

Country Link
CN (1) CN113497823B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114928558B (en) * 2022-06-14 2023-12-12 上海万向区块链股份公司 Operation and maintenance method and system based on block chain
CN115293568A (en) * 2022-08-03 2022-11-04 国网江苏省电力有限公司南通供电分公司 Electric power capital construction worker management and control system and method based on block chain technology
CN117172729B (en) * 2023-11-03 2024-04-05 南通进宝机械制造有限公司 Labor affair subcontracting personnel management system based on big data

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107395403A (en) * 2017-07-07 2017-11-24 北京区块链云科技有限公司 A kind of fiduciary block chain common recognition method suitable for extensive ecommerce
AU2018100149A4 (en) * 2018-02-02 2018-03-08 Keith Stewart Alistair Redenbach Abcde
CN108171068A (en) * 2017-12-31 2018-06-15 天津大学 A kind of student status certification alliance catenary system and its operation method
CN108848080A (en) * 2018-06-01 2018-11-20 深圳崀途科技有限公司 Data-sharing systems based on the storage verification of alliance's chain
CN108880863A (en) * 2018-05-26 2018-11-23 江西理工大学 A kind of smart grid equipment safety diagnostic service system based on block chain technology

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107395403A (en) * 2017-07-07 2017-11-24 北京区块链云科技有限公司 A kind of fiduciary block chain common recognition method suitable for extensive ecommerce
CN108171068A (en) * 2017-12-31 2018-06-15 天津大学 A kind of student status certification alliance catenary system and its operation method
AU2018100149A4 (en) * 2018-02-02 2018-03-08 Keith Stewart Alistair Redenbach Abcde
CN108880863A (en) * 2018-05-26 2018-11-23 江西理工大学 A kind of smart grid equipment safety diagnostic service system based on block chain technology
CN108848080A (en) * 2018-06-01 2018-11-20 深圳崀途科技有限公司 Data-sharing systems based on the storage verification of alliance's chain

Also Published As

Publication number Publication date
CN113497823A (en) 2021-10-12

Similar Documents

Publication Publication Date Title
CN113497823B (en) Labor service subcontracting personnel management system based on block chain
Lu et al. Zebralancer: Private and anonymous crowdsourcing system atop open blockchain
CN109889382B (en) Domain name information maintenance system based on block chain hybrid consensus
CN106789090B (en) Public key infrastructure system based on block chain and semi-random combined certificate signature method
CN111914027B (en) Block chain transaction keyword searchable encryption method and system
CN109842606B (en) Block chain consensus algorithm and system based on consistent Hash algorithm
CN112311735B (en) Credible authentication method, network equipment, system and storage medium
Sun et al. Voting-based decentralized consensus design for improving the efficiency and security of consortium blockchain
GB2592785A (en) Traceable anonymous electronic voting method employing blockchain
CN106972931A (en) A kind of method of certificate transparence in PKI
Chen et al. XAuth: Efficient privacy-preserving cross-domain authentication
CN110912705B (en) Distributed electronic voting method and system based on block chain
CN111818056B (en) Industrial Internet identity authentication method based on block chain
CN111369730B (en) Voting processing method and device based on block chain
CN103259650A (en) Fair and rational multi-secret sharing method for honest participants
WO2023082690A1 (en) Matrix consortium blockchain based sponsoring method capable of concealing real name
CN110445795B (en) Block chain authentication uniqueness confirmation method
CN111489143A (en) Auditable encrypted digital currency supervision method based on alliance side chain
Zhu et al. Anonymous voting scheme for boardroom with blockchain
Kaudare et al. Implementing electronic voting system with blockchain technology
CN113037827B (en) Voting method based on block chain, self-organization management method and computer equipment
CN114693241A (en) Block chain-based electronic resume system and implementation method thereof
CN116527684B (en) Multi-chain information interaction method based on 1+1+N relay consensus committee
Yu et al. Blockchain-based pki system and its application in internet of things
CN110945833B (en) Method and system for multi-mode identification network privacy protection and identity management

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