CN110689346A - Digital asset off-site transaction method, device and system - Google Patents

Digital asset off-site transaction method, device and system Download PDF

Info

Publication number
CN110689346A
CN110689346A CN201910891309.7A CN201910891309A CN110689346A CN 110689346 A CN110689346 A CN 110689346A CN 201910891309 A CN201910891309 A CN 201910891309A CN 110689346 A CN110689346 A CN 110689346A
Authority
CN
China
Prior art keywords
transaction
user
amount
price
pair
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.)
Pending
Application number
CN201910891309.7A
Other languages
Chinese (zh)
Inventor
张芳英
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
HAINAN XINRUAN SOFTWARE Co Ltd
Original Assignee
HAINAN XINRUAN SOFTWARE Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by HAINAN XINRUAN SOFTWARE Co Ltd filed Critical HAINAN XINRUAN SOFTWARE Co Ltd
Priority to CN201910891309.7A priority Critical patent/CN110689346A/en
Publication of CN110689346A publication Critical patent/CN110689346A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0611Request for offers or quotes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing

Abstract

The application discloses a method, a device and a system for off-site transaction of digital assets. According to the technical scheme, whether the transaction quotation and the transaction amount of a transaction pair requested to be transacted by a user at the current moment meet requirements is judged, if the transaction quotation and the transaction amount meet the requirements, the transaction information is returned to the user for re-confirmation, and when the confirmation information of the user is received and a transaction order is not overtime, whether the transaction quotation and the transaction amount of the transaction pair meet the requirements at the current moment is judged, and if the transaction quotation and the transaction amount of the transaction pair meet the requirements at the current moment, the transaction requested by the user is allowed. Therefore, the method and the device can inquire the price of the transaction order requested to be traded by the user for multiple times, judge whether the transaction quotation and the transaction amount are in the safe interval or not at different moments for multiple times, and avoid the problem that the actual transaction price and the expected transaction of the user are inconsistent due to transaction time difference, so that the digital assets of the user are lost.

Description

Digital asset off-site transaction method, device and system
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method, an apparatus, and a system for off-site transaction of digital assets.
Background
The digital asset field transaction refers to transaction behaviors performed outside a trading exchange, the transaction behaviors have no fixed place, no requirements on member resources, no strictly controllable transaction rule system and no limit on transaction products. The transaction mode is mainly one-to-one transaction performed by a counterparty through private negotiation.
The existing off-site transaction mode of the digital assets is similar to the online shopping mode, a merchant issues selling information on line, a user can directly perform transaction by paying corresponding amount of digital assets, and the transaction is convenient and quick. However, there are limitations to this off-site trading method, for example, there is a trade time difference between the price quoted by the merchant and the order placed by the user, and the price of the trade is likely to change during the trade time difference, so that the price when the user places the order may be different from the latest price, and the trade price does not match the expectation of the user.
Therefore, how to avoid the discrepancy between the actual transaction price and the expected transaction price of the user caused by the transaction time difference of the off-site transaction becomes a problem to be solved by those skilled in the art.
Disclosure of Invention
The application provides a digital asset off-site transaction method, device and system, which are used for solving the problem that the actual transaction price of a user is inconsistent with the expected transaction due to the difference of transaction time of the current off-site transaction.
In a first aspect, an embodiment of the present application provides an off-site transaction method for a digital asset, including:
judging whether the transaction quote of a transaction pair in a user transaction order is in a current first price safety interval or not and whether the transaction amount of the transaction pair is in the current first amount safety interval or not according to an inquiry request of a user, wherein the inquiry request is used for indicating the type, the transaction mode and the transaction amount of the transaction pair requesting the transaction in the user transaction order;
if the transaction quotation of the transaction pair requested by the user to be transacted is in the current first price safety interval and the transaction amount of the transaction pair is in the current first amount safety interval, returning the transaction quotation and the transaction amount to the user for confirmation;
if the confirmation information of the user on the transaction quotation and the transaction limit is obtained, whether the current transaction order is overtime is judged;
if the transaction order is not overtime, judging whether the transaction quote of the transaction pair is in the current second price safety interval or not and whether the transaction amount of the transaction pair is in the current second amount safety interval or not;
and if the transaction quotation of the transaction pair is in the current second price safety interval and the transaction amount of the transaction pair is in the current second price safety interval, performing the transaction of the digital asset according to the transaction quotation and the transaction amount of the transaction pair.
With reference to the first aspect, in an implementation manner of the first aspect, before the step of determining, according to the inquiry request of the user, whether a transaction offer of a transaction pair in the user transaction order is in a current first price safety interval, and whether a transaction amount of the transaction pair is in the current first amount safety interval, the method includes:
judging a user type, wherein the user type is used for indicating that a user belongs to a white list user or a non-white list user;
acquiring a transaction price data table corresponding to the user type according to the user type, wherein the transaction price data table is used for representing different transaction pairs and different transaction quotations;
and acquiring a transaction price corresponding to the transaction pair requested by the user from the transaction price data table according to the price inquiry request.
With reference to the first aspect, in an implementation manner of the first aspect, the step of determining whether the current trade order is overtime if the confirmation information of the user on the trade offer and the trade amount is obtained includes:
if the confirmation information of the user on the transaction quotation and the transaction amount is obtained, the transaction price validity period is obtained;
judging whether the time between the transaction quotation and the transaction amount returned to the user to be confirmed and the confirmation information of the user is obtained exceeds the transaction price validity period or not;
and if the time between the confirmation of returning the transaction quotation and the transaction amount to the user and the confirmation of obtaining the confirmation information of the user does not exceed the transaction price validity period, judging that the transaction order is not overtime.
With reference to the first aspect, in an implementation manner of the first aspect, the method further includes: and if the transaction order is overtime, rejecting the transaction request of the user.
With reference to the first aspect, in an implementation manner of the first aspect, the method further includes: and if the transaction quotation of the transaction pair requested by the user to be transacted is not in the current first price safety interval, or the transaction amount of the transaction pair is not in the current first amount safety interval, rejecting the transaction request of the user.
With reference to the first aspect, in an implementation manner of the first aspect, the method further includes: and if the transaction quoted price of the transaction pair is not in the current second price safety interval or the transaction amount of the transaction pair is not in the current second price safety interval, rejecting the transaction request of the user.
In a second aspect, an embodiment of the present application provides an off-site transaction apparatus for digital assets, including:
the first safety interval judging module is used for judging whether the transaction quote of a transaction pair in a user transaction order is in a current first price safety interval and whether the transaction amount of the transaction pair is in a current first amount safety interval according to an inquiry request of a user, wherein the inquiry request is used for indicating the type, the transaction mode and the transaction amount of the transaction pair requesting the transaction in the user transaction order;
the transaction confirmation module is used for returning the transaction quotation and the transaction amount to the user for confirmation if the transaction quotation of the transaction pair requested by the user to be transacted is in the current first price safety interval and the transaction amount of the transaction pair is in the current first amount safety interval;
the overtime judging module is used for judging whether the current trading order is overtime or not if the confirmation information of the user on the trading quotation and the trading limit is acquired;
the second safety interval judging module is used for judging whether the transaction quotation of the transaction pair is in the current second price safety interval and whether the transaction amount of the transaction pair is in the current second amount safety interval if the transaction order is not overtime;
and the transaction module is used for performing the transaction of the digital assets according to the transaction quotation and the transaction amount of the transaction pair if the transaction quotation of the transaction pair is in the current second price safety interval and the transaction amount of the transaction pair is in the current second price safety interval.
With reference to the second aspect, in an implementation manner of the second aspect, the apparatus further includes:
the user type judging module is used for judging the user type, and the user type is used for indicating that the user belongs to a white list user or a non-white list user;
the transaction price data table acquisition module is used for acquiring a transaction price data table corresponding to the user type according to the user type, and the transaction price data table is used for representing different transaction quotations corresponding to different types of transaction pairs;
and the transaction quotation acquisition module is used for acquiring the transaction quotation corresponding to the transaction of the user request transaction from the transaction price data table according to the price inquiry request.
With reference to the second aspect, in an implementation manner of the second aspect, the timeout determining module includes:
the valid period obtaining unit is used for obtaining the valid period of the transaction price if the confirmation information of the user on the transaction quotation and the transaction amount is obtained;
the overtime judging unit is used for judging whether the time between the transaction quotation and the transaction amount returned to the user to be confirmed and the confirmation information of the user is acquired exceeds the transaction price validity period or not; and if the time between the confirmation of returning the transaction quotation and the transaction amount to the user and the confirmation of obtaining the confirmation information of the user does not exceed the transaction price validity period, judging that the transaction order is not overtime.
With reference to the second aspect, in an implementation manner of the second aspect, the timeout determining module is further configured to reject the transaction request of the user if the transaction order is timeout.
With reference to the second aspect, in an implementation manner of the second aspect, the first safety interval determining module is further configured to reject the transaction request of the user if the transaction offer of the transaction pair requested by the user for transaction is not in the current first price safety interval, or the transaction amount of the transaction pair is not in the current first amount safety interval.
With reference to the second aspect, in an implementation manner of the second aspect, the second safety interval determination module is further configured to reject the transaction request of the user if the transaction offer of the transaction pair is not in the current second price safety interval, or the transaction amount of the transaction pair is not in the current second amount safety interval.
In a third aspect, an embodiment of the present application further provides an off-board transaction system for digital assets, including a processor and a memory;
the memory is used for storing an executable program of the processor;
the processor is used for judging whether the transaction quote of a transaction pair in a user transaction order is in a current first price safety interval or not and whether the transaction amount of the transaction pair is in a current first amount safety interval or not according to an inquiry request of a user, wherein the inquiry request is used for indicating the type, the transaction mode and the transaction amount of the transaction pair requesting the transaction in the user transaction order; if the transaction quotation of the transaction pair requested by the user to be transacted is in the current first price safety interval and the transaction amount of the transaction pair is in the current first amount safety interval, returning the transaction quotation and the transaction amount to the user for confirmation; if the confirmation information of the user on the transaction quotation and the transaction limit is obtained, whether the current transaction order is overtime is judged; if the transaction order is not overtime, judging whether the transaction quote of the transaction pair is in the current second price safety interval or not and whether the transaction amount of the transaction pair is in the current second amount safety interval or not; and if the transaction quotation of the transaction pair is in the current second price safety interval and the transaction amount of the transaction pair is in the current second price safety interval, performing the transaction of the digital asset according to the transaction quotation and the transaction amount of the transaction pair.
According to the technical scheme, the embodiment of the application provides a method, a device and a system for off-site transaction of digital assets. According to the technical scheme, whether the transaction quotation and the transaction amount of a transaction pair requested to be transacted by a user at the current moment meet requirements is judged, if the transaction quotation and the transaction amount meet the requirements, the transaction information is returned to the user for re-confirmation, and when the confirmation information of the user is received and a transaction order is not overtime, whether the transaction quotation and the transaction amount of the transaction pair meet the requirements at the current moment is judged, and if the transaction quotation and the transaction amount of the transaction pair meet the requirements at the current moment, the transaction requested by the user is allowed. Therefore, the method and the device can inquire the price of the transaction order requested to be traded by the user for multiple times, judge whether the transaction quotation and the transaction amount are in the safe interval or not at different moments for multiple times, and avoid the problem that the actual transaction price and the expected transaction of the user are inconsistent due to transaction time difference, so that the digital assets of the user are lost.
Drawings
In order to more clearly illustrate the technical solution of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious to those skilled in the art that other drawings can be obtained according to the drawings without any creative effort.
FIG. 1 is a flow chart of a method for off-site trading of digital assets provided by an embodiment of the present application;
FIG. 2 is a flow chart of matching transaction offers to corresponding transaction offers provided by an embodiment of the present application;
FIG. 3 is a flowchart of determining whether a current trade order is time-out according to an embodiment of the present application;
FIG. 4 is a block diagram of a digital asset off-site transaction device according to an embodiment of the present disclosure;
fig. 5 is a schematic diagram of an off-site digital asset transaction system according to an embodiment of the present application.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings.
Fig. 1 is a flowchart of an off-site transaction method for a digital asset according to an embodiment of the present application. As shown in fig. 1, the method for off-site transaction of digital assets provided by the embodiment of the present application includes:
s101, judging whether the transaction quote of a transaction pair in a user transaction order is in a current first price safety interval or not and whether the transaction amount of the transaction pair is in the current first amount safety interval or not according to an inquiry request of a user, wherein the inquiry request is used for indicating the type, the transaction mode and the transaction amount of the transaction pair requesting the transaction in the user transaction order.
In the embodiment of the application, when a user needs to trade, an inquiry request is usually sent out firstly, a digital asset off-site trading device matches a trading offer corresponding to a trading pair according to a trading pair type in the inquiry request, the trading offer comprises a purchase offer and a sell offer of the trading pair, and then matches one purchase offer or one sell offer for the trading pair according to a trading mode in the inquiry request.
Fig. 2 is a flow chart of matching transaction offers to corresponding transaction offers according to an embodiment of the present application. As shown in fig. 2, the step of matching the transaction price to the corresponding transaction price includes:
s201, judging a user type, wherein the user type is used for indicating that the user belongs to a white list user or a non-white list user.
The technical scheme in the embodiment of the application also classifies the user types, and adopts different transaction quotations for different types of users, so that customized transaction services for different users can be realized.
S202, acquiring a transaction price data table corresponding to the user type according to the user type, wherein the transaction price data table is used for representing different types of transaction pairs and corresponding different transaction quotations.
In the embodiment of the application, each type of user corresponds to one transaction price data table, and the transaction price data table comprises all transaction pairs of transaction merchants outside a trading place and transaction offers corresponding to the transaction pairs.
Other user classification mechanisms can be further arranged in the embodiment of the application, multi-level user type classification can be further carried out according to the requirements of users or the usual transaction habits of the users, and each type of user corresponds to one transaction price data table.
And S203, acquiring a transaction price corresponding to the transaction pair requested by the user from the transaction price data table according to the price inquiry request.
In the embodiment of the application, before judging whether the transaction limit of the transaction pair is in the current first limit safety interval, whether the transaction limit of the user exceeds the supply limit of the transaction merchant and whether the transaction limit reaches the limit threshold required by the transaction merchant is also required to be judged, and if the transaction limit of the user exceeds the supply limit of the transaction merchant or the transaction limit does not reach the limit threshold required by the transaction merchant, the current transaction request of the user is rejected.
S102, if the transaction quotation of the transaction pair requested by the user to be transacted is in the current first price safety interval and the transaction amount of the transaction pair is in the current first amount safety interval, returning the transaction quotation and the transaction amount to the user for confirmation.
Of course, if the transaction price of the transaction pair requested by the user to be transacted is not in the current first price safety interval, or the transaction amount of the transaction pair is not in the current first price safety interval, the transaction request of the user at this time is rejected.
In the embodiment of the present application, the first price safety interval and the first limit safety interval are both generated at the time when the current determination step occurs, and the first price safety interval is calculated according to the market price N of the transaction pair requested to be traded by the user at the current time, for example, [ N + 10%, N-10% ], where 10% is a price interval threshold, and in the embodiment of the present application, the price interval threshold is not specifically limited, and needs to be set according to the actual trading situation of the trading market. The first limit safety interval is also set according to the actual trading situation of the trading market, the usual trading habit of the user and the credit situation of the user.
S103, if the confirmation information of the user on the transaction quotation and the transaction amount is obtained, whether the current transaction order is overtime is judged.
In the embodiment of the present application, the user needs to confirm whether to trade with the trading offer and the trading amount in step 102 again, so as to avoid the user from placing a wrong order or losing a wrong trading amount.
Fig. 3 is a flowchart for determining whether a current trade order is time-out according to an embodiment of the present application. As shown in fig. 3, the step of determining whether the current trade order is time-out includes:
s301, if the confirmation information of the user on the transaction quotation and the transaction amount is obtained, the transaction price validity period is obtained.
The valid period of price in the embodiment of the application refers to a time threshold, the digital asset off-site trading device sets the time threshold for all trading orders, the time threshold limits the trading time, and if the trading time is too long, the trading orders are not processed. Further, in the embodiment of the application, the time for determining the transaction information by the user is limited by the transaction price expiry date, and if the user is confirmed for a long time, the time for determining the transaction information by the user is overtime.
S302, judging whether the time between the transaction quotation and the transaction amount returned to the user to be confirmed and the confirmation information of the user is acquired exceeds the transaction price validity period or not. The time for the user to determine the transaction information refers to the time between the time when the transaction quotation and the transaction amount are returned to the user to be confirmed and the confirmation information of the user is obtained.
S303, if the time between the transaction quotation and the transaction amount returned to the user and the confirmation of the obtained confirmation information of the user does not exceed the transaction price validity period, the transaction order is judged not to be overtime.
S104, if the transaction order is not overtime, judging whether the transaction quote of the transaction pair is in the current second price safety interval or not and whether the transaction amount of the transaction pair is in the current second amount safety interval or not.
In the embodiment of the present application, the second price safety interval and the second limit safety interval are both generated at the time when the current determination step occurs, and the second price safety interval, for example, [ M + 10%, M-10% ], is calculated according to the market price M of the transaction pair for which the user requests to trade at the current time, where 10% is a price interval threshold, and the price interval threshold is not specifically limited in the embodiment of the present application, and needs to be set according to the actual trading situation of the trading market. The second limit safety interval is also set according to the actual trading situation of the trading market, the usual trading habit of the user and the credit situation of the user.
The first price safety interval and the second price safety interval in the embodiment of the present application are most likely to be different because the trading price of the digital asset fluctuates from moment to moment, and the secondary check in step S104 is also performed to avoid that the trading price fluctuates too much in the middle time market, and thus the difference is too large.
Of course, if the transaction order is overtime, the user's request for the transaction is denied.
S105, if the transaction quotation of the transaction pair is in the current second price safety interval and the transaction amount of the transaction pair is in the current second amount safety interval, performing the transaction of the digital asset according to the transaction quotation and the transaction amount of the transaction pair. But if the transaction price of the transaction pair is not in the current second price interval or the transaction amount of the transaction pair is not in the current second price interval, rejecting the transaction request of the user.
For the case of rejecting the request of the transaction of the user in the above embodiment, a prompt message may be sent to the user to prompt the user that the transaction cannot be performed for any reason, and then the user may select to re-transact or end the transaction according to the prompt message.
Therefore, the digital asset off-site trading method provided by the embodiment of the application can inquire the trading order requested by the user for trading for multiple times, judge whether the trading quotation and the trading limit are in the safety interval for multiple times at different moments, and avoid the problem that the actual trading price of the user is inconsistent with the expected trading price due to the trading time difference, so that the digital asset of the user is lost.
Fig. 4 is a block diagram of a digital asset off-site transaction device according to an embodiment of the present disclosure. As shown in fig. 4, the digital asset off-site transaction apparatus provided in the embodiment of the present application includes: a first safety interval judgment module 41, configured to judge, according to an inquiry request of a user, whether a transaction offer of a transaction pair in a user transaction order is in a current first price safety interval and whether a transaction amount of the transaction pair is in a current first amount safety interval, where the inquiry request is used to indicate a type, a transaction manner, and a transaction amount of a transaction pair requested in the user transaction order; the transaction confirmation module 42 is used for returning the transaction quotation and the transaction amount to the user confirmation if the transaction quotation of the transaction pair requested by the user to be transacted is in the current first price safety interval and the transaction amount of the transaction pair is in the current first amount safety interval; an overtime judgment module 43, configured to judge whether the current trade order is overtime if the confirmation information of the user on the trade offer and the trade quota is obtained; a second safety interval judgment module 44, configured to judge whether the transaction price of the transaction pair is in the current second price safety interval and whether the transaction amount of the transaction pair is in the current second amount safety interval if the transaction order is not overtime; and the transaction module 45 is used for performing the transaction of the digital asset according to the transaction quotation and the transaction amount of the transaction pair if the transaction quotation of the transaction pair is in the current second price safety interval and the transaction amount of the transaction pair is in the current second amount safety interval.
The device further comprises: the user type judging module is used for judging the user type, and the user type is used for indicating that the user belongs to a white list user or a non-white list user; the transaction price data table acquisition module is used for acquiring a transaction price data table corresponding to the user type according to the user type, and the transaction price data table is used for representing different transaction quotations corresponding to different types of transaction pairs; and the transaction quotation acquisition module is used for acquiring the transaction quotation corresponding to the transaction of the user request transaction from the transaction price data table according to the price inquiry request.
The overtime judging module comprises: the valid period obtaining unit is used for obtaining the valid period of the transaction price if the confirmation information of the user on the transaction quotation and the transaction amount is obtained; the overtime judging unit is used for judging whether the time between the transaction quotation and the transaction amount returned to the user to be confirmed and the confirmation information of the user is acquired exceeds the transaction price validity period or not; and if the time between the confirmation of returning the transaction quotation and the transaction amount to the user and the confirmation of obtaining the confirmation information of the user does not exceed the transaction price validity period, judging that the transaction order is not overtime.
The overtime judging module is further used for rejecting the transaction request of the user if the transaction order is overtime.
The first safety interval judging module is further configured to reject the transaction request of the user if the transaction offer of the transaction pair requested by the user to be transacted is not in the current first price safety interval, or the transaction amount of the transaction pair is not in the current first amount safety interval.
The second safety interval judging module is also used for refusing the transaction request of the user if the transaction quotation of the transaction pair is not in the current second price safety interval or the transaction amount of the transaction pair is not in the current second amount safety interval.
Fig. 5 is a schematic diagram of an off-site digital asset transaction system according to an embodiment of the present application. As shown in fig. 5, the digital asset off-board transaction system provided by the embodiment of the present application includes a processor 51 and a memory 52;
the memory is used for storing an executable program of the processor; the processor is used for judging whether the transaction quote of a transaction pair in a user transaction order is in a current first price safety interval or not and whether the transaction amount of the transaction pair is in a current first amount safety interval or not according to an inquiry request of a user, wherein the inquiry request is used for indicating the type, the transaction mode and the transaction amount of the transaction pair requesting the transaction in the user transaction order; if the transaction quotation of the transaction pair requested by the user to be transacted is in the current first price safety interval and the transaction amount of the transaction pair is in the current first amount safety interval, returning the transaction quotation and the transaction amount to the user for confirmation; if the confirmation information of the user on the transaction quotation and the transaction limit is obtained, whether the current transaction order is overtime is judged; if the transaction order is not overtime, judging whether the transaction quote of the transaction pair is in the current second price safety interval or not and whether the transaction amount of the transaction pair is in the current second amount safety interval or not; and if the transaction quotation of the transaction pair is in the current second price safety interval and the transaction amount of the transaction pair is in the current second price safety interval, performing the transaction of the digital asset according to the transaction quotation and the transaction amount of the transaction pair.
According to the technical scheme, the embodiment of the application provides a method, a device and a system for off-site transaction of digital assets. According to the technical scheme, whether the transaction quotation and the transaction amount of a transaction pair requested to be transacted by a user at the current moment meet requirements is judged, if the transaction quotation and the transaction amount meet the requirements, the transaction information is returned to the user for re-confirmation, and when the confirmation information of the user is received and a transaction order is not overtime, whether the transaction quotation and the transaction amount of the transaction pair meet the requirements at the current moment is judged, and if the transaction quotation and the transaction amount of the transaction pair meet the requirements at the current moment, the transaction requested by the user is allowed. Therefore, the method and the device can inquire the price of the transaction order requested to be traded by the user for multiple times, judge whether the transaction quotation and the transaction amount are in the safe interval or not at different moments for multiple times, and avoid the problem that the actual transaction price and the expected transaction of the user are inconsistent due to transaction time difference, so that the digital assets of the user are lost.
The application is operational with numerous general purpose or special purpose computing system environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet-type devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like.
The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (13)

1. A method for off-site trading of digital assets, comprising:
judging whether the transaction quote of a transaction pair in a user transaction order is in a current first price safety interval or not and whether the transaction amount of the transaction pair is in the current first amount safety interval or not according to an inquiry request of a user, wherein the inquiry request is used for indicating the type, the transaction mode and the transaction amount of the transaction pair requesting the transaction in the user transaction order;
if the transaction quotation of the transaction pair requested by the user to be transacted is in the current first price safety interval and the transaction amount of the transaction pair is in the current first amount safety interval, returning the transaction quotation and the transaction amount to the user for confirmation;
if the confirmation information of the user on the transaction quotation and the transaction limit is obtained, whether the current transaction order is overtime is judged;
if the transaction order is not overtime, judging whether the transaction quote of the transaction pair is in the current second price safety interval or not and whether the transaction amount of the transaction pair is in the current second amount safety interval or not;
and if the transaction quotation of the transaction pair is in the current second price safety interval and the transaction amount of the transaction pair is in the current second price safety interval, performing the transaction of the digital asset according to the transaction quotation and the transaction amount of the transaction pair.
2. The method of claim 1, wherein the step of determining whether the trading offer of the trading pair in the user's trading order is in the current first price safety interval and whether the trading limit of the trading pair is in the current first limit safety interval according to the user's inquiry request comprises:
judging a user type, wherein the user type is used for indicating that a user belongs to a white list user or a non-white list user;
acquiring a transaction price data table corresponding to the user type according to the user type, wherein the transaction price data table is used for representing different transaction pairs and different transaction quotations;
and acquiring a transaction price corresponding to the transaction pair requested by the user from the transaction price data table according to the price inquiry request.
3. The method of claim 1, wherein the step of determining whether the current trade order is timed out if the confirmation information of the user about the trade quote and the trade amount is obtained comprises:
if the confirmation information of the user on the transaction quotation and the transaction amount is obtained, the transaction price validity period is obtained;
judging whether the time between the transaction quotation and the transaction amount returned to the user to be confirmed and the confirmation information of the user is obtained exceeds the transaction price validity period or not;
and if the time between the confirmation of returning the transaction quotation and the transaction amount to the user and the confirmation of obtaining the confirmation information of the user does not exceed the transaction price validity period, judging that the transaction order is not overtime.
4. The method of claim 1, further comprising: and if the transaction order is overtime, rejecting the transaction request of the user.
5. The method of claim 1, further comprising: and if the transaction quotation of the transaction pair requested by the user to be transacted is not in the current first price safety interval, or the transaction amount of the transaction pair is not in the current first amount safety interval, rejecting the transaction request of the user.
6. The method of claim 1, further comprising: and if the transaction quoted price of the transaction pair is not in the current second price safety interval or the transaction amount of the transaction pair is not in the current second price safety interval, rejecting the transaction request of the user.
7. An off-site transaction arrangement for digital assets, comprising:
the first safety interval judging module is used for judging whether the transaction quote of a transaction pair in a user transaction order is in a current first price safety interval and whether the transaction amount of the transaction pair is in a current first amount safety interval according to an inquiry request of a user, wherein the inquiry request is used for indicating the type, the transaction mode and the transaction amount of the transaction pair requesting the transaction in the user transaction order;
the transaction confirmation module is used for returning the transaction quotation and the transaction amount to the user for confirmation if the transaction quotation of the transaction pair requested by the user to be transacted is in the current first price safety interval and the transaction amount of the transaction pair is in the current first amount safety interval;
the overtime judging module is used for judging whether the current trading order is overtime or not if the confirmation information of the user on the trading quotation and the trading limit is acquired;
the second safety interval judging module is used for judging whether the transaction quotation of the transaction pair is in the current second price safety interval and whether the transaction amount of the transaction pair is in the current second amount safety interval if the transaction order is not overtime;
and the transaction module is used for performing the transaction of the digital assets according to the transaction quotation and the transaction amount of the transaction pair if the transaction quotation of the transaction pair is in the current second price safety interval and the transaction amount of the transaction pair is in the current second price safety interval.
8. The apparatus of claim 7, further comprising:
the user type judging module is used for judging the user type, and the user type is used for indicating that the user belongs to a white list user or a non-white list user;
the transaction price data table acquisition module is used for acquiring a transaction price data table corresponding to the user type according to the user type, and the transaction price data table is used for representing different transaction quotations corresponding to different types of transaction pairs;
and the transaction quotation acquisition module is used for acquiring the transaction quotation corresponding to the transaction of the user request transaction from the transaction price data table according to the price inquiry request.
9. The apparatus of claim 7, wherein the timeout determining module comprises:
the valid period obtaining unit is used for obtaining the valid period of the transaction price if the confirmation information of the user on the transaction quotation and the transaction amount is obtained;
the overtime judging unit is used for judging whether the time between the transaction quotation and the transaction amount returned to the user to be confirmed and the confirmation information of the user is acquired exceeds the transaction price validity period or not; and if the time between the confirmation of returning the transaction quotation and the transaction amount to the user and the confirmation of obtaining the confirmation information of the user does not exceed the transaction price validity period, judging that the transaction order is not overtime.
10. The apparatus of claim 7, wherein the timeout determining module is further configured to reject the transaction request of the user if the transaction order times out.
11. The apparatus of claim 7, wherein the first safety interval determining module is further configured to reject the transaction request of the user if the transaction price of the transaction pair requested by the user for transaction is not in the current first price safety interval, or the transaction amount of the transaction pair is not in the current first amount safety interval.
12. The apparatus of claim 7, wherein the second safety interval determination module is further configured to reject the transaction request of the user if the transaction price of the transaction pair is not in the current second price safety interval or the transaction amount of the transaction pair is not in the current second amount safety interval.
13. A digital asset off-site transaction system comprising a processor and a memory;
the memory is used for storing an executable program of the processor;
the processor is used for judging whether the transaction quote of a transaction pair in a user transaction order is in a current first price safety interval or not and whether the transaction amount of the transaction pair is in a current first amount safety interval or not according to an inquiry request of a user, wherein the inquiry request is used for indicating the type, the transaction mode and the transaction amount of the transaction pair requesting the transaction in the user transaction order; if the transaction quotation of the transaction pair requested by the user to be transacted is in the current first price safety interval and the transaction amount of the transaction pair is in the current first amount safety interval, returning the transaction quotation and the transaction amount to the user for confirmation; if the confirmation information of the user on the transaction quotation and the transaction limit is obtained, whether the current transaction order is overtime is judged; if the transaction order is not overtime, judging whether the transaction quote of the transaction pair is in the current second price safety interval or not and whether the transaction amount of the transaction pair is in the current second amount safety interval or not; and if the transaction quotation of the transaction pair is in the current second price safety interval and the transaction amount of the transaction pair is in the current second price safety interval, performing the transaction of the digital asset according to the transaction quotation and the transaction amount of the transaction pair.
CN201910891309.7A 2019-09-20 2019-09-20 Digital asset off-site transaction method, device and system Pending CN110689346A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910891309.7A CN110689346A (en) 2019-09-20 2019-09-20 Digital asset off-site transaction method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910891309.7A CN110689346A (en) 2019-09-20 2019-09-20 Digital asset off-site transaction method, device and system

Publications (1)

Publication Number Publication Date
CN110689346A true CN110689346A (en) 2020-01-14

Family

ID=69109751

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910891309.7A Pending CN110689346A (en) 2019-09-20 2019-09-20 Digital asset off-site transaction method, device and system

Country Status (1)

Country Link
CN (1) CN110689346A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1229492A (en) * 1996-05-15 1999-09-22 克劳斯麻尔股份有限公司 Method and system for performing automated financial transaetions involving foreign currencies
KR100640191B1 (en) * 2006-03-14 2006-11-01 주식회사티엘정보통신 System of price restriction renewal using virtual asset trading system and method thereof
CN1894708A (en) * 2003-10-10 2007-01-10 塞贝尔·塞特勒·可穆公司 Computerized transaction bargaining system and method
US20070174173A1 (en) * 2006-01-21 2007-07-26 Brucato Steven J Method for displaying market data and entering trading orders
CN101447057A (en) * 2008-12-11 2009-06-03 上海宝钢钢材贸易有限公司 Automatic bargaining device and method for steel trading
US20120116942A1 (en) * 2010-11-05 2012-05-10 Deutsche Boerse Ag Computer system and method for generating and executing orders within a price range
CN103136698A (en) * 2011-11-29 2013-06-05 艺龙网信息技术(北京)有限公司 Processing system and processing method of hotel order
CN106204233A (en) * 2016-07-18 2016-12-07 上海七彩云电子商务有限公司 The inquiry system of a kind of supply and demand service platform and price inquiry method
CN107239966A (en) * 2017-05-02 2017-10-10 西安凯登伦信息技术有限公司 A kind of dynamic discounting method, apparatus and system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1229492A (en) * 1996-05-15 1999-09-22 克劳斯麻尔股份有限公司 Method and system for performing automated financial transaetions involving foreign currencies
CN1894708A (en) * 2003-10-10 2007-01-10 塞贝尔·塞特勒·可穆公司 Computerized transaction bargaining system and method
US20070174173A1 (en) * 2006-01-21 2007-07-26 Brucato Steven J Method for displaying market data and entering trading orders
KR100640191B1 (en) * 2006-03-14 2006-11-01 주식회사티엘정보통신 System of price restriction renewal using virtual asset trading system and method thereof
CN101447057A (en) * 2008-12-11 2009-06-03 上海宝钢钢材贸易有限公司 Automatic bargaining device and method for steel trading
US20120116942A1 (en) * 2010-11-05 2012-05-10 Deutsche Boerse Ag Computer system and method for generating and executing orders within a price range
CN103136698A (en) * 2011-11-29 2013-06-05 艺龙网信息技术(北京)有限公司 Processing system and processing method of hotel order
CN106204233A (en) * 2016-07-18 2016-12-07 上海七彩云电子商务有限公司 The inquiry system of a kind of supply and demand service platform and price inquiry method
CN107239966A (en) * 2017-05-02 2017-10-10 西安凯登伦信息技术有限公司 A kind of dynamic discounting method, apparatus and system

Similar Documents

Publication Publication Date Title
US10546335B2 (en) Systems and methods for presenting vehicular transaction information in a data communication network
US8700519B2 (en) System and method for correlating a seller's insurance claim with a buyer's complaint
RU2008117186A (en) REAL ESTATE TRANSACTION SYSTEM USING REAL ESTATE SECURITIES AND ITS METHOD
CN105447741A (en) Electronic transaction online service platform
CN104318472A (en) Online transaction monitoring method and system
US20140279353A1 (en) C2EX Compute Commodities Exchange
US10346914B2 (en) Automated electronic trade matching systems and methods
US20030069837A1 (en) Method and apparatus for clearing automobile contracts
US20160005115A1 (en) Method and system for supporting loan transaction by using address book, and non-temporary computer-readable recording medium
CN111882358A (en) Data management and control method, device, storage medium and device based on live broadcast platform
CN109300055B (en) Continuous insurance profit and loss query method, device, equipment and readable storage medium
CN110689346A (en) Digital asset off-site transaction method, device and system
US11182765B2 (en) Method for processing a recurring transaction, corresponding device and program
CN103886496A (en) Online lending transaction method
KR101681889B1 (en) Operating method of sharing and dealing system for trading information between companies
US20180075471A1 (en) Point exchange system and point exchange method
KR101927065B1 (en) Apparatus to share transaction data
KR102397935B1 (en) Apparatus and method for supporting negotiated transaction
CN104318451A (en) Online transaction tracking method
US10102578B2 (en) Techniques for automated call cross trade imbalance execution
KR101328463B1 (en) Method and apparatus for providing safe transaction service in electronic commerce
US20200342532A1 (en) Systems and methods for bunched order processing
CN106097168A (en) Service platform based on wechat
CA2987458C (en) Method, terminal and system for obtaining electronic loan licence
CN110910196A (en) Method, device, equipment and storage medium for processing and settling transaction objection

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200114

RJ01 Rejection of invention patent application after publication