A method for electing a representative node device, performed by a first node device, the first node device being any node device in a blockchain system, the method comprising: obtaining voting transaction data, the voting transaction data being used for voting for at least one node device in the blockchain system; storing the voting transaction data into a target blockchain of the blockchain system when a plurality of node devices in the blockchain system verify the voting transaction data by consensus, the plurality of node devices being representative node devices; and determining an election result according to quantities of votes for the node devices determined from the voting transaction data in a case that a quantity of generated blocks in the target blockchain reaches a preset quantity, the election result comprising a plurality of representative node devices in the blockchain system, the representative node devices being configured to generate blocks and performing verification on the blocks by consensus, characterized by updating, when the plurality of node devices in the blockchain system verify the voting transaction data by consensus, a vote list stored on the node devices according to the voting transaction data, the vote list being used for storing the quantities of votes for the node devices, wherein the vote list is updated according to different voting manners of the blockchain system, wherein when the voting manner in the blockchain system is full voting, the updating the vote list stored on the node devices comprises: determining transaction data of the last voting of users from the transaction data stored in first blocks, and updating the vote list stored on the node devices based on the transaction data of the last voting of the users, and when the voting manner in the blockchain system is incremental voting, the updating the vote list stored on the node devices comprises: updating the vote list stored on the node devices according to all pieces of voting transaction data of users stored in first blocks. obtaining voting transaction data, the voting transaction data being used for voting for at least one node device in the blockchain system; storing the voting transaction data into a target blockchain of the blockchain system when a plurality of node devices in the blockchain system verify the voting transaction data by consensus, the plurality of node devices being representative node devices; and determining an election result according to quantities of votes for the node devices determined from the voting transaction data in a case that a quantity of generated blocks in the target blockchain reaches a preset quantity, the election result comprising a plurality of representative node devices in the blockchain system, the representative node devices being configured to generate blocks and performing verification on the blocks by consensus, characterized by updating, when the plurality of node devices in the blockchain system verify the voting transaction data by consensus, a vote list stored on the node devices according to the voting transaction data, the vote list being used for storing the quantities of votes for the node devices, wherein the vote list is updated according to different voting manners of the blockchain system, wherein when the voting manner in the blockchain system is full voting, the updating the vote list stored on the node devices comprises: determining transaction data of the last voting of users from the transaction data stored in first blocks, and updating the vote list stored on the node devices based on the transaction data of the last voting of the users, and when the voting manner in the blockchain system is incremental voting, the updating the vote list stored on the node devices comprises: updating the vote list stored on the node devices according to all pieces of voting transaction data of users stored in first blocks. determining transaction data of the last voting of users from the transaction data stored in first blocks, and updating the vote list stored on the node devices based on the transaction data of the last voting of the users, and when the voting manner in the blockchain system is incremental voting, the updating the vote list stored on the node devices comprises: updating the vote list stored on the node devices according to all pieces of voting transaction data of users stored in first blocks.