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

Blockchain matching exchange

An exchange and blockchain technology, applied in the Internet field, can solve the problems of data fraud hazards, databases are easily tampered with, and functions are not perfect, and achieve the effects of optimizing data comparison technology, speeding up data synchronization speed, and reducing data omissions

Active Publication Date: 2021-06-01
HANGZHOU FUZAMEI TECH CO LTD
View PDF5 Cites 0 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
  • Blockchain matching exchange
  • Blockchain matching exchange
  • Blockchain 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-digit integer (binary) of each transaction hash value (32 bytes, 256 bits), put it into bitmap A, and ensure that the position of each transaction corresponding to the bitmap 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...

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 all be selected as regional matching center servers. Since 8 is already the entire network matching center server, 4 and 6 will be selected as regional ma...

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

Blockchain matching exchanges, blockchain exchange orders are all signed by users, and the quantity generally cannot be completely matched. Here, it needs to be stipulated that when the signed price meets the transaction requirements, as long as the accumulated transaction quantity is not greater than the signed quantity That is, the order of matching at the same price on the same server is sorted according to the time order of entering the server. If the users to be matched are located in multiple areas with a certain network delay, in addition to the only one network-wide matching center, multiple regional matching centers can also be added. Users can designate to the regional matching center for pairing. Each user You can only specify (signature is required) to match the deal on one of the servers in a certain area. If you want to change the matching server, you need to cancel the order and re-open the order to achieve. The transaction records of the regional matching center will be sent to the whole network matching center, which can be directly written into the new block of the blockchain without the matching of 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 performance ...

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 Patents(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