CN110365533A - Digital asset method of commerce, system and computer readable storage medium - Google Patents
Digital asset method of commerce, system and computer readable storage medium Download PDFInfo
- Publication number
- CN110365533A CN110365533A CN201910634456.6A CN201910634456A CN110365533A CN 110365533 A CN110365533 A CN 110365533A CN 201910634456 A CN201910634456 A CN 201910634456A CN 110365533 A CN110365533 A CN 110365533A
- Authority
- CN
- China
- Prior art keywords
- module
- transaction
- request
- sent
- service request
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/25—Integrating or interfacing systems involving database management systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/04—Network management architectures or arrangements
- H04L41/044—Network management architectures or arrangements comprising hierarchical management structures
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Business, Economics & Management (AREA)
- General Engineering & Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Economics (AREA)
- General Business, Economics & Management (AREA)
- Technology Law (AREA)
- Strategic Management (AREA)
- Computing Systems (AREA)
- Marketing (AREA)
- Development Economics (AREA)
- Computational Linguistics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The invention discloses a kind of digital asset method of commerce.This method comprises: interface layer receives the service request for the digital asset transaction that website end is sent, and the service request is sent to operation layer;Operation layer receives the service request, and is distributed to corresponding module according to the service request and carries out alignment processing.The invention also discloses a kind of digital asset transaction system and computer readable storage mediums.The present invention can be realized the digital asset method of commerce for providing that a kind of concurrent capacity based on block chain technology is big, transactions velocity is fast.
Description
Technical field
The present invention relates to digital asset field more particularly to a kind of digital asset method of commerce, system and computer-readable
Storage medium.
Background technique
Block chain technology is originated in ideal money, and since two thousand nine, ideal money rises in the world, block chain
Receive the visual field for gradually coming into people.Currently, countries in the world government, industrial circle and academia all pay high attention to the application of block chain
Development, relevant technological innovation and model innovation continue to bring out.Block chain is attract increasingly as an emerging technology
More personnel's investments are come in.
Block chain technology has many unique advantages, and such as decentralization is strengthened and trusts, distributed book keeping operation, can not distort
Deng, but block chain technology, as a kind of chain structure, with increasing for the number of addition, block node is continuously increased, data
Increase, the problems such as block chain will appear slack-off response speed and lack of memory capacity, causes existing based on block chain technology
The concurrent capacity of digital asset transaction platform is small, transactions velocity is slow.
Summary of the invention
The main purpose of the present invention is to provide a kind of digital asset method of commerce, system and computer-readable storage mediums
Matter, it is intended to which realization provides the digital asset method of commerce that a kind of concurrent capacity based on block chain technology is big, transactions velocity is fast.
To achieve the above object, the present invention provides a kind of digital asset method of commerce, the digital asset method of commerce packet
Include following steps:
Interface layer receives the service request for the digital asset transaction that website end is sent, and the service request is sent to industry
Business layer;
Operation layer receives the service request, and is distributed to corresponding module according to the service request and carries out corresponding position
Reason.
Optionally, the service request includes transaction request, and the interface layer receives the service request that website end is sent, and
The step of service request is sent to operation layer, comprising:
The interface layer receives the transaction request that website end is sent, and the transaction request is sent to the friendship in operation layer
Easily bring module together;
Wherein, the operation layer receives the service request, and according to the service request be distributed to corresponding module into
The step of row alignment processing, comprising:
Transaction in the operation layer brings module together and receives the transaction request, and is distributed to pair according to the transaction request
The module answered carries out corresponding trading processing.
Optionally, the transaction in the operation layer brings module together and receives the transaction request, and according to the transaction request
Being distributed to the step of corresponding module carries out corresponding trading processing includes:
Transaction in the operation layer brings module together and receives the transaction request that the interface layer is sent, and according to the transaction
Request is brought together, generates corresponding trade order, and the trade order is sent to the transaction computing module in operation layer
With the data recordin module in data Layer;
The data recordin module records the trade order;
Transaction computing module in the operation layer receives the trade order, and is counted according to the trade order
It calculates, and the calculated result is sent to the data memory module in data Layer;
Data memory module in data Layer carries out data update according to the calculated result.
Optionally, the service request includes inquiry request, and the interface layer receives the service request that website end is sent, and
The step of service request is sent to operation layer, comprising:
The interface layer receives the inquiry request that website end is sent, and the inquiry request is sent to the number in operation layer
According to enquiry module;
Wherein, the operation layer receives the service request, and according to the service request be distributed to corresponding module into
The step of row alignment processing, comprising:
Data inquiry module in the operation layer receives the inquiry request, and is distributed to pair according to the inquiry request
The module answered carries out corresponding query processing.
Optionally, the data inquiry module in the operation layer receives the inquiry request, and according to the inquiry request
Being distributed to the step of corresponding module carries out corresponding query processing includes:
Data inquiry module in the operation layer receives the inquiry request that the interface layer is sent, and the inquiry is asked
Seek the data memory module being sent in data Layer;
Data memory module in the data Layer receives the inquiry request, and is inquired according to the inquiry request
As a result, and the query result to be returned to the data inquiry module in operation layer;
Data inquiry module in the operation layer receives the query result, and the query result is passed through interface layer
Feed back to corresponding website end.
Optionally, the interface layer receives the service request for the digital asset transaction that website end is sent, and by the service
Before the step of request is sent to operation layer further include:
Supervisory layers carry out security verification to the service request that the website end is sent;
After the service request is by security verification, execute step: interface layer receives the number money that website end is sent
The service request of transaction is produced, and the service request is sent to operation layer.
In addition, to achieve the above object, the present invention also provides a kind of digital asset transaction system, the digital asset transaction
System includes:
Interface layer, the service request of the digital asset transaction for receiving the transmission of website end, and the service request is sent out
Give operation layer;
Operation layer is distributed to correspondence for the service request that receiving interface layer sends over, and according to the service request
Module carry out alignment processing.
Optionally, the service request includes transaction request, and the operation layer includes that module is brought in transaction together,
Module is brought in the transaction together, for receiving the transaction request, and is distributed to according to the transaction request corresponding
Module carries out corresponding trading processing.
Optionally, the operation layer includes data inquiry module, and the service request includes inquiry request,
The data inquiry module for receiving the inquiry request, and is distributed to according to the inquiry request corresponding
Module carries out corresponding query processing.
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer readable storage medium
Digital asset transaction program is stored on storage medium, the digital asset transaction program is realized above-mentioned when being executed by processor
The step of digital asset method of commerce.
The present invention provides a kind of digital asset method of commerce, system and computer storage medium.In the method, interface layer
The service request for the digital asset transaction that website end is sent is received, and the service request is sent to operation layer;Operation layer connects
The service request is received, and corresponding module is distributed to according to the service request and carries out alignment processing.By the above-mentioned means, this
Invention can to the framework of transaction platform using layering, sub-module micro servicesization dispose form, by service request by layering,
Sub-module handle, and the service request that digital asset is traded is handled faster, is based on area to increase
It the concurrent capacity of the digital transaction platform of block chain technology and accelerates the operation speed.
Detailed description of the invention
Fig. 1 is the system structure diagram for the hardware running environment that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram of digital asset method of commerce first embodiment of the present invention;
Fig. 3 is the flow diagram of digital asset method of commerce second embodiment of the present invention;
Fig. 4 is the flow diagram of digital asset method of commerce 3rd embodiment of the present invention;
Fig. 5 is the flow diagram of digital asset method of commerce fourth embodiment of the present invention;
Fig. 6 is the flow diagram of the 5th embodiment of digital asset method of commerce of the present invention;
Fig. 7 is the flow diagram of digital asset method of commerce sixth embodiment of the present invention;
Fig. 8 is the transaction platform frame diagram of digital asset method of commerce first embodiment of the present invention;
Fig. 9 is the transaction platform deployment diagram of digital asset method of commerce first embodiment of the present invention;
Figure 10 is the main business workflow figure of digital asset method of commerce first embodiment of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
As shown in Figure 1, Fig. 1 is the system structure diagram for the hardware running environment that the embodiment of the present invention is related to.
Network-side in digital asset transaction system of the embodiment of the present invention can be PC, be also possible to smart phone, plate
The terminal device having data processing function such as computer, portable computer.
As shown in Figure 1, the network-side may include: processor 1001, such as CPU, network interface 1004, user interface
1003, memory 1005, communication bus 1002.Wherein, communication bus 1002 is for realizing the connection communication between these components.
User interface 1003 may include display screen (Display), input unit such as keyboard (Keyboard), optional user interface
1003 can also include standard wireline interface and wireless interface.Network interface 1004 optionally may include that the wired of standard connects
Mouth, wireless interface (such as WI-FI interface).Memory 1005 can be high speed RAM memory, be also possible to stable memory
(non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processor
1001 storage device.
It, can be with it will be understood by those skilled in the art that the restriction of the not structure paired terminal of network end structure shown in Fig. 1
Including perhaps combining certain components or different component layouts than illustrating more or fewer components.
In addition to this, digital asset transaction system of the present invention can also include following part: proxy machine, divides transaction platform
Cloth data storage server, monitoring alarm server.
Interface layer includes accesshttp module and accessws module;
Operation layer includes matchengine module, marketprice module and readhistory module;
Data Layer includes Kafka module, Redis module and Mysql module
Supervisory layers include alertcenter module.
As shown in Figure 1, as may include that operating system, network are logical in a kind of memory 1005 of computer storage medium
Believe module, Subscriber Interface Module SIM and digital asset transaction program.
In terminal shown in Fig. 1, network interface 1004 is mainly used for connecting background server, carries out with background server
Data communication;User interface 1003 is mainly used for connecting client (user terminal), carries out data communication with client;
In business procession, when digital asset transaction program is executed by equipment in each layer, following steps are executed:
Interface layer receives the service request for the digital asset transaction that website end is sent, and the service request is sent to industry
Business layer;
Operation layer receives the service request, and is distributed to corresponding module according to the service request and carries out corresponding position
Reason.
Further, processor 1001 can call the digital asset transaction program stored in memory 1005, also execute
It operates below:
The interface layer receives the transaction request that website end is sent, and the transaction request is sent to the friendship in operation layer
Easily bring module together;
Wherein, the operation layer receives the service request, and according to the service request be distributed to corresponding module into
The step of row alignment processing, comprising:
Transaction in the operation layer brings module together and receives the transaction request, and is distributed to pair according to the transaction request
The module answered carries out corresponding trading processing.
Further, processor 1001 can call the digital asset transaction program stored in memory 1005, also execute
It operates below:
Transaction in the operation layer brings module together and receives the transaction request that the interface layer is sent, and according to the transaction
Request is brought together, generates corresponding trade order, and the trade order is sent to the transaction computing module in operation layer
With the data recordin module in data Layer;
The data recordin module records the trade order;
Transaction computing module in the operation layer receives the trade order, and is counted according to the trade order
It calculates, and the calculated result is sent to the data memory module in data Layer;
Data memory module in data Layer carries out data update according to the calculated result.
Further, processor 1001 can call the digital asset transaction program stored in memory 1005, also execute
It operates below:
The interface layer receives the inquiry request that website end is sent, and the inquiry request is sent to the number in operation layer
According to enquiry module;
Wherein, the operation layer receives the service request, and according to the service request be distributed to corresponding module into
The step of row alignment processing, comprising:
Data inquiry module in the operation layer receives the inquiry request, and is distributed to pair according to the inquiry request
The module answered carries out corresponding query processing.
Further, processor 1001 can call the digital asset transaction program stored in memory 1005, also execute
It operates below:
Data inquiry module in the operation layer receives the inquiry request that the interface layer is sent, and the inquiry is asked
Seek the data memory module being sent in data Layer;
Data memory module in the data Layer receives the inquiry request, and is inquired according to the inquiry request
As a result, and the query result to be returned to the data inquiry module in operation layer;
Data inquiry module in the operation layer receives the query result, and the query result is passed through interface layer
Feed back to corresponding website end.
Further, processor 1001 can call the digital asset transaction program stored in memory 1005, also execute
It operates below:
Supervisory layers carry out security verification to the service request that the website end is sent;
After the service request is by security verification, execute step: interface layer receives the number money that website end is sent
The service request of transaction is produced, and the service request is sent to operation layer.
The specific embodiment of digital asset transaction system of the present invention and following each embodiments of digital asset method of commerce are basic
Identical, therefore not to repeat here.
It is the flow diagram of digital asset method of commerce first embodiment of the present invention referring to Fig. 2, Fig. 2, the number money
Producing method of commerce includes:
Step S100, interface layer receive the service request for the digital asset transaction that website end is sent, and the service is asked
It asks and is sent to operation layer;
In the present embodiment, website end can be PC, or the tool such as smart phone, tablet computer, portable computer
There is the terminal device of data processing function.User can by the user interface of the transaction platform on these terminal devices into
Row correlation interactive operation, interactive interface have computerized version and mobile phone version web interface, and user can use transaction platform by Web site
All external service functions.
Interface layer includes the accesshttp interface module and/or accessws interface module of at least more than one.
Accesshttp interface module can provide the http protocol interface based on JSON RPC, for WebSite server-side to server-side
Call asset search/being transferred to/to produce, inquire the price/bid place an order, the interface functions such as order/transaction data inquiry.Accessws interface
Module can provide the WebSocket protocol interface of standard, can inquire and subscribe to the data such as K line, quotations, transaction journal
Interface function.It is shaken hands connection and transfer sending and receiving data by Nginx as HTTP.
Operation layer include at least more than one matchengine module, marketprice module and/or
Readhistory module.Matchengine module can carry out account asset search/being transferred to/produce, inquire the price/bid place an order,
Transaction such as brings together at the business calculation process.Marketprice module can carry out the calculating of K line number evidence and quotations data, delay
It deposits and the functions such as inquiry.Readhistory module can carry out the note such as History Order, transaction journal, assets flowing water of various dimensions
Record data query function.
The service request of digital asset transaction include the supplementing with money, withdraw deposit of virtual coin, the inquiry of remaining sum, market buy in, market
It sells, K line, sheet, place an order, removing the service requests such as single, inquiry.
In the present embodiment, interface layer receives the service request for the digital asset transaction that website end is sent, such as order, inquiry
Deng, and the service request is sent to operation layer and is handled.
Step S200, operation layer receive the service request, and according to the service request be distributed to corresponding module into
Row alignment processing.
Operation layer receives the service request, such as order, inquiry etc., and is distributed to corresponding mould according to the service request
Block carries out alignment processing, such as generates order, inquiry order operation.
It further, can also include data Layer, data Layer includes at least more than one in the embodiment of the present invention
Kafka module, Redis module and/or Mysql module.Kafka module, Redis module and Mysql module provide data storage
With the effect of preservation.
As shown in figure 8, Fig. 8 is the transaction platform frame diagram of digital asset method of commerce.In fig. 8, user is at website end
Service request is sent to the accesshttp interface module and accessws interface mould of interface layer by internet and proxy machine
Block.Service request is sent in operation layer by accesshttp interface module and/or accessws interface module
Matchengine module, marketprice module and/or readhistory module are handled.Supervisory layers
Alertcenter module provides monitoring service, while Kafka module, Redis module and/or the Mysql module in data Layer mention
For service data store function.
As shown in figure 9, Fig. 9 is the transaction platform deployment diagram of digital asset method of commerce.In Fig. 9, website end and interface
Layer such as accesshttp interface module is connected with accessws interface module, and interface layer connects operation layer such as matchengine mould
Block, marketprice module and readhistory module, while interface layer connects supervisory layers such as alertcenter module, and
And interface layer is also connect with data Layer such as Kafka module, Redis module and Mysql module.
As shown in Figure 10, Figure 10 is the main business workflow figure of digital asset method of commerce.In Figure 10, user passes through net
End initiation service request of standing such as places an order or inquires, and the service request is sent to interface layer, such as accesshttp interface mould
Block and accessws interface module.Service request is sent business end by interface layer, such as matchengine module and
Marketprice module.Operation layer passable order or inquiry order during, inquiry data Layer for example Kafka module and
Data information in Redis module.After operation layer obtains result, result is returned into user by interface layer.
The present invention provides a kind of digital asset method of commerce, system and computer storage medium.In the method, interface layer
The service request for the digital asset transaction that website end is sent is received, and the service request is sent to operation layer;Operation layer connects
The service request is received, and corresponding module is distributed to according to the service request and carries out alignment processing.By the above-mentioned means, this
Invention can to the framework of transaction platform using layering, sub-module micro servicesization dispose form, by service request by layering,
Sub-module handle, and the service request that digital asset is traded is handled faster, is based on area to increase
It the concurrent capacity of the digital transaction platform of block chain technology and accelerates the operation speed.
Referring to Fig. 3, Fig. 3 is the flow diagram of digital asset method of commerce second embodiment of the present invention.
Based on the above embodiment, in the present embodiment, step S100 includes:
Step S110, the interface layer receives the transaction request that website end is sent, and the transaction request is sent to industry
Module is brought in transaction in business layer together;
In embodiments of the present invention, the service request includes transaction request.Interface layer receives the transaction that website end is sent
Request, and the transaction request is sent to the transaction in operation layer and brings module together.In embodiments of the present invention, transaction transaction pinch
Molding block can be the matchengine module in Fig. 8, can carry out account asset search/be transferred to/produce, inquire the price/and bid down
Single, transaction such as brings together at the business calculation process.
Wherein, step S200 includes:
Step S210, the transaction in the operation layer brings module together and receives the transaction request, and is asked according to the transaction
It asks and is distributed to corresponding module and carries out corresponding trading processing.
Transaction in operation layer brings module together and receives the transaction request, and is distributed to according to the transaction request corresponding
Module carries out corresponding trading processing.Transaction in operation layer brings module i.e. matchengine module together and is receiving the transaction
After request, order is produced according to transaction request, and carries out the order processing work of background system, especially by the friendship in operation layer
Easy computing module, that is, marketprice module carries out order processing work.
Referring to Fig. 4, Fig. 4 is the flow diagram of digital asset method of commerce 3rd embodiment of the present invention.
Based on the above embodiment, in the present embodiment, step S210 includes:
Step S211, the transaction in the operation layer bring module together and receive the transaction request that the interface layer is sent, and root
It is brought together according to the transaction request, generates corresponding trade order, and the trade order is sent to the friendship in operation layer
Data recordin module in easy computing module and data Layer;
In the present embodiment, if the transaction in operation layer brings module together and receives the transaction request that the interface layer is sent,
It is then brought together according to the transaction request, generates corresponding trade order, and the trade order is sent in operation layer
Transaction computing module and data Layer in data recordin module.
Transaction computing module in operation layer can be the marketprice module in Fig. 8, can be closed according to trade order
And calculate sheet data and statistics calculating transaction data.
Data recordin module in operation layer can be the Kafka module in Fig. 8, can consume lower single message and consumption is handed over
Easy success message.
Step S212, the data recordin module record the trade order;
After data recordin module, that is, Kafka module receives trade order, trade order is subjected to consumer record.
Step S213, the transaction computing module in the operation layer receives the trade order, and is ordered according to the transaction
It is singly calculated, and the calculated result is sent to the data memory module in data Layer;
Transaction computing module, that is, marketprice module in operation layer receives the trade order, and according to the friendship
Easy order is calculated, and the calculated result is sent to the data memory module in data Layer i.e. Redis module.
Step S214, the data memory module in data Layer carry out data update according to the calculated result.
Data memory module, that is, Redis module in data Layer carries out data update according to the calculated result, such as caches
Sheet depth data, caching K line market data.
Referring to Fig. 5, Fig. 5 is the flow diagram of digital asset method of commerce fourth embodiment of the present invention.
Based on the above embodiment, in the present embodiment, step S100 includes:
Step S120, the interface layer receives the inquiry request that website end is sent, and the inquiry request is sent to industry
The data inquiry module being engaged in layer;
In embodiments of the present invention, the service request includes inquiry request.Interface layer receives the inquiry that website end is sent
It easily requests, and the inquiry request is sent to the data inquiry module in operation layer.In embodiments of the present invention, data query
Module can be the marketprice module in Fig. 8, can carry out account asset search/be transferred to/produce, inquire the price/and bid down
Single, transaction such as brings together at the business calculation process.
Wherein, step S200 includes:
Step S220, the data inquiry module in the operation layer receives the inquiry request, and is asked according to the inquiry
It asks and is distributed to corresponding module and carries out corresponding query processing.
Data inquiry module in operation layer receives the inquiry request, and is distributed to according to the inquiry request corresponding
Module carries out corresponding query processing.Data inquiry module, that is, marketprice module in operation layer is receiving the inquiry
After request, inquired according to inquiry request.
Referring to Fig. 6, Fig. 6 is the flow diagram of the 5th embodiment of digital asset method of commerce of the present invention.
Based on the above embodiment, in the present embodiment, step 220 includes:
Step S221, the data inquiry module in the operation layer receive the inquiry request that the interface layer is sent, and will
The inquiry request is sent to the data memory module in data Layer;
In the present embodiment, the data inquiry module in operation layer receives the inquiry request that the interface layer is sent, and will
The inquiry request is sent to the data memory module in data Layer.
Data inquiry module in operation layer can be the marketprice module in Fig. 8, can pull caching list.
Data memory module in data Layer can be the Redis module in Fig. 8, can be with return cache list.
Step S222, the data memory module in the data Layer receives the inquiry request, and is asked according to the inquiry
Acquisition query result is sought, and the query result is returned to the data inquiry module in operation layer;
Data memory module, that is, Redis module in data Layer receives the inquiry request, and according to the inquiry request
Query result is obtained, and the query result is returned into the data inquiry module in operation layer i.e. marketprice module.Number
It is stored with a large amount of back-end data according to memory module, that is, Redis module, needs to call in Redis module in query process
Data are inquired.
Step S223, the data inquiry module in the operation layer receive the query result, and by the query result
Corresponding website end is fed back to by interface layer.
Data inquiry module in operation layer, that is, marketprice module receives the query result, and by the inquiry
As a result corresponding website end is fed back to by interface layer, i.e., user is returned to by interface layer.
Referring to Fig. 7, Fig. 7 is the flow diagram of digital asset method of commerce sixth embodiment of the present invention.
Based on the above embodiment, in the present embodiment, include: before step S100
Step S010, supervisory layers carry out security verification to the service request that the website end is sent;
In embodiments of the present invention, supervisory layers can be the alertcenter module in Fig. 8, and alertcenter module can
To carry out unified log collection/analysis/inquiry, process monitoring, send the functions such as early warning/alarm message.Supervisory layers can be right
The service request that the website end is sent carries out security verification.The identity of user is such as verified, such as passes through private key, the mould of public key
Formula, if user is capable of providing corresponding proof, it was demonstrated that the identity of user is legal, that is, meets and pass through security verification.
After the service request is by security verification, execute step S100: interface layer receives the number that website end is sent
The service request of word transaction in assets, and the service request is sent to operation layer.
If the service for allowing interface layer to receive the digital asset transaction that website end is sent is asked by after security verification
It asks, and the service request is sent to operation layer.User is allowed to carry out corresponding operation by system platform.
In addition, the embodiment of the present invention also proposes a kind of computer readable storage medium.
Digital asset transaction program, the digital asset transaction program are stored on computer readable storage medium of the present invention
The step of digital asset method of commerce as described above is realized when being executed by processor.
Wherein, the digital asset transaction program run on the processor, which is performed realized method, can refer to this
The each embodiment of invention digital asset method of commerce, details are not described herein again.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in one as described above
In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that terminal device (it can be mobile phone,
Computer, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of digital asset method of commerce, which is characterized in that the digital asset method of commerce the following steps are included:
Interface layer receives the service request for the digital asset transaction that website end is sent, and the service request is sent to business
Layer;
Operation layer receives the service request, and is distributed to corresponding module according to the service request and carries out alignment processing.
2. digital asset method of commerce as described in claim 1, which is characterized in that the service request includes transaction request,
The interface layer receives the service request that website end is sent, and the step of service request is sent to operation layer, comprising:
The interface layer receives the transaction request that website end is sent, and the transaction request is sent to the transaction in operation layer pinch
Mold block;
Wherein, the operation layer receives the service request, and is distributed to corresponding module according to the service request and carries out pair
The step of should handling, comprising:
Transaction in the operation layer brings module together and receives the transaction request, and is distributed to according to the transaction request corresponding
Module carries out corresponding trading processing.
3. digital asset method of commerce as claimed in claim 2, which is characterized in that module is brought in the transaction in the operation layer together
The transaction request is received, and the step of corresponding module carries out corresponding trading processing packet is distributed to according to the transaction request
It includes:
Transaction in the operation layer brings module together and receives the transaction request that the interface layer is sent, and according to the transaction request
It is brought together, generates corresponding trade order, and the trade order is sent to the transaction computing module sum number in operation layer
According to the data recordin module in layer;
The data recordin module records the trade order;
Transaction computing module in the operation layer receives the trade order, and is calculated according to the trade order, and
The data memory module calculated result being sent in data Layer;
Data memory module in data Layer carries out data update according to the calculated result.
4. digital asset method of commerce as described in claim 1, which is characterized in that the service request includes inquiry request,
The interface layer receives the service request that website end is sent, and the step of service request is sent to operation layer, comprising:
The interface layer receives the inquiry request that website end is sent, and the inquiry request is sent to the data in operation layer and is looked into
Ask module;
Wherein, the operation layer receives the service request, and is distributed to corresponding module according to the service request and carries out pair
The step of should handling, comprising:
Data inquiry module in the operation layer receives the inquiry request, and is distributed to according to the inquiry request corresponding
Module carries out corresponding query processing.
5. digital asset method of commerce as claimed in claim 4, which is characterized in that the data inquiry module in the operation layer
The inquiry request is received, and the step of corresponding module carries out corresponding query processing packet is distributed to according to the inquiry request
It includes:
Data inquiry module in the operation layer receives the inquiry request that the interface layer is sent, and the inquiry request is sent out
Give the data memory module in data Layer;
Data memory module in the data Layer receives the inquiry request, and obtains inquiry knot according to the inquiry request
Fruit, and the query result is returned to the data inquiry module in operation layer;
Data inquiry module in the operation layer receives the query result, and the query result is fed back by interface layer
To corresponding website end.
6. digital asset method of commerce as described in claim 1, which is characterized in that the interface layer receives what website end was sent
The service request of digital asset transaction, and before the step of service request is sent to operation layer further include:
Supervisory layers carry out security verification to the service request that the website end is sent;
After the service request is by security verification, execute step: interface layer receives the digital asset that website end is sent and hands over
Easy service request, and the service request is sent to operation layer.
7. a kind of digital asset transaction system, which is characterized in that the digital asset transaction system includes:
Interface layer, the service request of the digital asset transaction for receiving the transmission of website end, and the service request is sent to
Operation layer;
Operation layer is distributed to corresponding mould for the service request that receiving interface layer sends over, and according to the service request
Block carries out alignment processing.
8. digital asset transaction system as claimed in claim 7, which is characterized in that the service request includes transaction request,
The operation layer includes that module is brought in transaction together,
Module is brought in the transaction together, is distributed to corresponding module for receiving the transaction request, and according to the transaction request
Carry out corresponding trading processing.
9. digital asset transaction system as claimed in claim 7, which is characterized in that the operation layer includes data query mould
Block, the service request include inquiry request,
The data inquiry module is distributed to corresponding module for receiving the inquiry request, and according to the inquiry request
Carry out corresponding query processing.
10. a kind of computer readable storage medium, which is characterized in that be stored with digital money on the computer readable storage medium
Transaction program is produced, the number as described in any one of claims 1 to 6 is realized when the digital asset transaction program is executed by processor
The step of word transaction in assets method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910634456.6A CN110365533B (en) | 2019-07-12 | 2019-07-12 | Digital asset transaction method, system and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910634456.6A CN110365533B (en) | 2019-07-12 | 2019-07-12 | Digital asset transaction method, system and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110365533A true CN110365533A (en) | 2019-10-22 |
CN110365533B CN110365533B (en) | 2022-04-12 |
Family
ID=68219072
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910634456.6A Active CN110365533B (en) | 2019-07-12 | 2019-07-12 | Digital asset transaction method, system and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110365533B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111240647A (en) * | 2020-01-15 | 2020-06-05 | 海南新软软件有限公司 | Digital asset transaction middling product architecture |
CN113014666A (en) * | 2021-03-17 | 2021-06-22 | 深圳壹账通智能科技有限公司 | Block chain protocol stack architecture method, system, equipment and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106780027A (en) * | 2016-12-08 | 2017-05-31 | 北京金融资产交易所有限公司 | A kind of data handling system and method |
CN107358428A (en) * | 2017-07-25 | 2017-11-17 | 广东软秀科技有限公司 | A kind of multiple terminals trade matching system |
CN108764877A (en) * | 2018-06-05 | 2018-11-06 | 广州裕如优信息科技有限公司 | Digital asset based on block chain technology really weighs method of commerce |
CN108830709A (en) * | 2018-04-17 | 2018-11-16 | 中车工业研究院有限公司 | A kind of crowdsourcing transaction system based on block chain |
CN108846752A (en) * | 2018-06-06 | 2018-11-20 | 北京京东金融科技控股有限公司 | Data processing method, system, block platform chain and readable storage medium storing program for executing |
EP3435310A1 (en) * | 2017-07-26 | 2019-01-30 | Financial Transactions Control Systems Sweden AB (publ) | System and method of a decentralized payment network |
CN109447647A (en) * | 2018-11-19 | 2019-03-08 | 上海趣链信息科技有限公司 | A kind of safety payment system based on block chain |
CN109949057A (en) * | 2019-03-28 | 2019-06-28 | 西南石油大学 | Anti-fake transaction system and the method for commerce of tracing to the source of digital art works based on block chain |
-
2019
- 2019-07-12 CN CN201910634456.6A patent/CN110365533B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106780027A (en) * | 2016-12-08 | 2017-05-31 | 北京金融资产交易所有限公司 | A kind of data handling system and method |
CN107358428A (en) * | 2017-07-25 | 2017-11-17 | 广东软秀科技有限公司 | A kind of multiple terminals trade matching system |
EP3435310A1 (en) * | 2017-07-26 | 2019-01-30 | Financial Transactions Control Systems Sweden AB (publ) | System and method of a decentralized payment network |
CN108830709A (en) * | 2018-04-17 | 2018-11-16 | 中车工业研究院有限公司 | A kind of crowdsourcing transaction system based on block chain |
CN108764877A (en) * | 2018-06-05 | 2018-11-06 | 广州裕如优信息科技有限公司 | Digital asset based on block chain technology really weighs method of commerce |
CN108846752A (en) * | 2018-06-06 | 2018-11-20 | 北京京东金融科技控股有限公司 | Data processing method, system, block platform chain and readable storage medium storing program for executing |
CN109447647A (en) * | 2018-11-19 | 2019-03-08 | 上海趣链信息科技有限公司 | A kind of safety payment system based on block chain |
CN109949057A (en) * | 2019-03-28 | 2019-06-28 | 西南石油大学 | Anti-fake transaction system and the method for commerce of tracing to the source of digital art works based on block chain |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111240647A (en) * | 2020-01-15 | 2020-06-05 | 海南新软软件有限公司 | Digital asset transaction middling product architecture |
CN113014666A (en) * | 2021-03-17 | 2021-06-22 | 深圳壹账通智能科技有限公司 | Block chain protocol stack architecture method, system, equipment and storage medium |
CN113014666B (en) * | 2021-03-17 | 2023-02-28 | 深圳壹账通智能科技有限公司 | Block chain protocol stack architecture method, system, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110365533B (en) | 2022-04-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107657501A (en) | The method and relevant apparatus and server of a kind of data real-time update | |
CN109615487A (en) | Products Show method, apparatus, equipment and storage medium based on user behavior | |
CN108369433A (en) | Micro- moment analysis | |
CN107430618A (en) | Realize the system and method interacted with host computer device progress user speech | |
CN109074384A (en) | To context metadata ranking to generate related data opinion | |
US20180114156A1 (en) | Computer-based automatic tagging of user multimedia data to generate commercial sales lead | |
CN110990486A (en) | Block link evidence issuing and storing method and device based on network data interaction | |
CN110365533A (en) | Digital asset method of commerce, system and computer readable storage medium | |
CN112017059A (en) | Hierarchical optimization risk control method and device and electronic equipment | |
CN113095853A (en) | E-commerce information management platform based on big data | |
CN116304007A (en) | Information recommendation method and device, storage medium and electronic equipment | |
CN115759433A (en) | Method and device for determining waiting duration of business handling and server | |
CN111967900A (en) | Network advertisement propagation method, server, equipment and readable storage medium | |
CN106097192A (en) | A kind of platform about intellectual property | |
US20100082359A1 (en) | Multi-Granular Age Range Products For Use in Online Marketing | |
KR100432365B1 (en) | A marketing method by the recommendation | |
CN107291826A (en) | File search processing method and processing device | |
US20160019573A1 (en) | Discount deals for positive social media communications | |
US20230196399A1 (en) | Computer-based systems and/or computing devices configured for implementing browser extensions that provide contextually relevant information to a user via a graphical user interface | |
US20230054880A1 (en) | System and method for vehicle loan lead generation | |
CN107209897A (en) | User data is handled and analyzes to determine keyword quality | |
CN116090913A (en) | Staff service data processing method and related device based on digital twin technology | |
US11107139B1 (en) | Computing system learning of a merchant category code | |
US20130212029A1 (en) | Product Packaging Profiler | |
CN110930103A (en) | Service ticket checking method and system, medium and computer system |
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 |