Unlock instant, AI-driven research and patent intelligence for your innovation.

Timestamp processing method and apparatus

A technology of a processing device and a processing method, applied in the field of communication, can solve problems such as unfairness of the blockchain network, and achieve the effect of improving security and avoiding attacks

Active Publication Date: 2017-09-08
CHINA UNITED NETWORK COMM GRP CO LTD
View PDF7 Cites 31 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, some nodes may arbitrarily modify the time stamp carried in the message in order to let other nodes process the message sent by themselves first, for example, modify the time corresponding to the time stamp to be less than the time when the message was actually sent, so that other nodes can Prioritize the message, causing unfairness in the blockchain network

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Timestamp processing method and apparatus
  • Timestamp processing method and apparatus
  • Timestamp processing method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] figure 1 It is a flowchart of a time stamp processing method provided by an embodiment of the present invention. In the embodiment of the present invention, some nodes may arbitrarily modify the time stamp carried in the message in order to let other nodes process the message sent by themselves first, for example, modify the time corresponding to the time stamp to be less than the time when the message is actually sent, so that Other nodes can process the message first, which leads to unfairness in the blockchain network. A timestamp processing method is provided. The specific steps of this method are as follows:

[0023] Step S101, the sending node performs a hash operation on the name of the sending node and a public key to obtain a first hash value.

[0024] In this embodiment, the node that sends a certain business information to the blockchain network is recorded as a sending node. When a sending node in the blockchain network wants to send a certain business info...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention provides a timestamp processing method and apparatus. The method comprises the following steps: performing hash operation by a sending node on a name and a public key of the sending node to obtain a first hash value; sending the first hash value to a time confirmer; performing hash operation on a to-be-sent service message and the first hash value to obtain a second hash value; and sending the to-be-sent service message, the first hash value and the second hash value to the time confirmer. According to the timestamp processing method and apparatus provided by the embodiment of the invention, the to-be-sent service message is sent to the time confirmer by the sending node, and the time confirmer adds a timestamp to the service message, thereby avoiding the phenomenon that the node randomly modifies the timestamp, in addition, the sending node performs the hash operation on its own name and the public key to obtain the hash value, and the sending node is marked by the hash value, so that other nodes in a block chain network knows nothing about the name and the public key of the sending node, thereby avoiding the attack of the sending node and improving the security of the sending node.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of communication, and in particular, to a method and device for processing a time stamp. Background technique [0002] Blockchain is a transaction database in which blocks are combined in chains for sharing by nodes in the system. Specifically, the information (including data or code) generated within a period of time is packaged into a block, stamped with a time stamp, and connected with the previous block, and the page capital of each next block contains the previous block index data, and then write new information in this page, thus forming a new block, connected end to end, and finally forming a blockchain. [0003] In the current blockchain network, when a node sends a message to the blockchain network, it can carry a time stamp in the message to indicate the moment when the node sends the message, so that multiple nodes send the block The messages sent by the chain network w...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H04L9/32H04L9/06
CPCH04L9/0643H04L9/3236H04L9/3249H04L9/3297
Inventor 田新雪马书惠
Owner CHINA UNITED NETWORK COMM GRP CO LTD