Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Block link matching exchange

A blockchain and exchange technology, applied in the Internet field, can solve problems such as databases are easy to be tampered with, data fraud hazards, and functions are not perfect, and achieve the effects of speeding up data synchronization, optimizing data comparison technology, and reducing data omissions

Active Publication Date: 2016-07-13
HANGZHOU FUZAMEI TECH CO LTD
View PDF5 Cites 50 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] 1. At present, most exchanges store data in master-slave backup mode. There is no effective encryption and verification mechanism, and the database is easily tampered with. Many security monitoring solutions are needed to prevent data tampering, which increases the cost of manpower and material resources. If it is internal Falsification of personnel data is even more harmful
[0003] 2. Funds are generally not liquidated until the market closes on the same day. In view of security issues, they cannot be traded 24 hours a day
[0004] 3. There is generally no encryption and verification during data transmission, and transaction instructions are easily tampered with
[0005] 4. At present, there is no mature blockchain exchange case, the function is not perfect, and the performance needs to be improved

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
  • Block link matching exchange
  • Block link matching exchange
  • Block link matching exchange

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0020] Embodiment 1, with reference to specification sheet figure 1 ,

[0021] This example illustrates how to realize the matching transaction of signed multiple orders on the blockchain:

[0022] When each server receives a transaction request, due to time differences, the order price is the same, and the ordering position of different servers is uncertain. In order to ensure transaction efficiency, one of the servers can be selected according to certain rules or randomly as the only one of the entire network Matching center, after this server completes the matching of each new block, it packs the matching result and broadcasts it to other servers. After the other servers pass the verification, they add new blocks locally.

[0023] Step S1: User A orders to buy 300 shares at a price of 15 yuan,

[0024] User B orders to sell 200 shares at a price of 15 yuan,

[0025] User C orders to buy 500 shares at a price of 15 yuan,

[0026] User D orders to sell 200 shares at a pri...

Embodiment 2

[0044] Embodiment 2, with reference to specification sheet figure 2 ,

[0045] Describe the process of using bitmaps to compare and synchronize transaction data. Scenario: 100,000 (1e5) transactions with non-repeated numbers are selected by the front node A, and the node server B synchronizes the transaction orders of the front server node A. Step S1: Node A uses 18-bit (2^18>2^17>1e5, but 18-bit bitmap is more time-efficient) bitmap A, and can use https: / / github.com / willf / bitset to calculate the bitmap .

[0046] bitNum:=uint(18)

[0047] A:=bitset.New(2^bitNum)

[0048] Take the first 18 integers (binary) of each transaction hash value (32 bytes, 256 bits) and put it into bitmap A to ensure that the position of the bitmap corresponding to each transaction is unique. If the position has been set, the transaction will be changed randomly number to regenerate the hash value. Step S2: Node A sends 100,000 transactions to Node B one after another, and finally sends bitmap ...

Embodiment 3

[0050] Embodiment 3, with reference to specification sheet image 3 , with Figure 4 ,

[0051]Each server scores the surrounding servers according to the communication status with the surrounding servers (considering bandwidth and network delay), such as 5, 4, 3, 2, 1 points, and the server with the highest score will be selected as the network matching center server , here server No. 8 has a total score of 46 points, which is the server with the highest total score among all servers, and can easily be selected as the matchmaking center server of the entire network.

[0052] The server with the highest score statistics (such as the top 30%) and the server with the highest average value will be selected as the regional matching center server. Here, if the top 3 servers with the highest scores are obtained, 4, 6, and 8 will be selected as the regional matching center server, because 8 is already the whole network matching center server, so 4 and 6 will be selected as the regi...

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

Orders of the block link exchange are signed by users, the quantities are generally not totally matched, and according to regulations, when prices with signatures meet transaction requirements, the transacted quantity is cumulatively no more than the signature quantity, the matching order for the same price on the same server is ordered according to a time order of entering the server. If to-be-matched users are respectively located in multiple areas with certain network time delay, apart from a unique whole network matching center, multiple area matching centers can also be added, the users can assign an area matching center for being matched, each user can only assign (requiring a signature) a certain server in a certain area for matching the transaction, and if a matching server needs to be replaced, the order needs to be canceled and then the order is posted again. The transaction records transacted in the area matching centers are sent to the whole network matching center, and the transaction records can be directly written to a new block in the block chain without matching by the whole network matching center.

Description

technical field [0001] The present invention relates to the field of Internet technologies, especially technologies such as block chains and exchanges. Background technique [0002] 1. At present, most exchanges store data in a master-slave backup mode. There is no effective encryption and verification mechanism, and the database is easily tampered with. Many security monitoring solutions are needed to prevent data tampering, which increases the cost of manpower and material resources. If it is internal The danger of falsification of personnel data is even greater. [0003] 2. Funds are generally not liquidated until the market closes on the same day. In view of security issues, they cannot be traded 24 hours a day. [0004] 3. There is generally no encryption and verification during data transmission, and transaction instructions are easily tampered with. [0005] 4. At present, there is no mature blockchain exchange case, the function is not perfect, and the performanc...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06Q40/04
CPCG06F21/64G06Q40/04
Inventor 吴思进
Owner HANGZHOU FUZAMEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products