CN109801167A - A kind of fund flow method, equipment and storage medium - Google Patents

A kind of fund flow method, equipment and storage medium Download PDF

Info

Publication number
CN109801167A
CN109801167A CN201910077655.1A CN201910077655A CN109801167A CN 109801167 A CN109801167 A CN 109801167A CN 201910077655 A CN201910077655 A CN 201910077655A CN 109801167 A CN109801167 A CN 109801167A
Authority
CN
China
Prior art keywords
contract
assets
account
user
transaction
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
CN201910077655.1A
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.)
Hangzhou Fuzamei Technology Co Ltd
Original Assignee
Hangzhou Fuzamei Technology 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 Hangzhou Fuzamei Technology Co Ltd filed Critical Hangzhou Fuzamei Technology Co Ltd
Priority to CN201910077655.1A priority Critical patent/CN109801167A/en
Publication of CN109801167A publication Critical patent/CN109801167A/en
Priority to PCT/CN2020/073982 priority patent/WO2020156481A1/en
Pending legal-status Critical Current

Links

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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Engineering & Computer Science (AREA)
  • Finance (AREA)
  • Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Technology Law (AREA)
  • Development Economics (AREA)
  • Computer Security & Cryptography (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The present invention provides a kind of fund flow method, equipment and storage medium, and the above method includes: to receive the first transaction, and according to the first transaction, the first contract executes following operation: the first assets of the first number are deducted in the first user account of the first contract;Increase the first assets of the first number in the second contract account of the first contract;Increase the first assets of the first number in the first user account of the second contract;Wherein, the first contract is the hair coin contract for issuing currency type, and the first transaction is generated and sent by the first user terminal when the second contract needs several assets using the first user.The present invention is by adding contract account in hair coin contract, the record by hair coin contract to the transfer procedure of contract account, it is ensured that hair coin contract executes error or contract cheating and can be found in time, guarantees the interests of user.

Description

A kind of fund flow method, equipment and storage medium
Technical field
This application involves block chain technical fields, and in particular to a kind of fund flow method, equipment and storage medium.
Background technique
When there are when the contract of a variety of properties, i.e., when primary contract and being based on dynamic release contract platform in block catenary system When collectively residing in a system, system token difficult to realize easily and safely circulates between different contracts, and closes Operation is individually controlled by hair coin contract when about carrying out turning coin, proposing the circulation of the assets such as coin, if may when assets circulate between contract Cause to find to cause economic loss in time since contract executes error or cheating situation.
Summary of the invention
In view of drawbacks described above in the prior art or deficiency, it is intended to provide the convenient and safe fund flow method of one kind, sets Standby and storage medium.
In a first aspect, the present invention provides a kind of fund flow method, comprising:
The first transaction is received, according to the first transaction, the first contract executes following operation:
The first assets of the first number are deducted in the first user account of the first contract;
Increase the first assets of the first number in the second contract account of the first contract;
Increase the first assets of the first number in the first user account of the second contract;
Wherein, the first contract is the hair coin contract for issuing currency type, and the first transaction is needed by the first user terminal in the second contract Using the first user several assets when generate and send.
Further, the first assets of the second contract are for executing at least one of following operation:
Freeze in the second contract;
It is activated after freezing in the second contract;
It is transferred accounts in the second contract to the second account of second user;
Freeze after being transferred accounts after freezing in the second contract to the second account;
It is activated after being transferred accounts after freezing in the second contract to the second account;
Second aspect, the present invention provide a kind of fund flow method, comprising:
The second transaction is received, according to the second transaction, the first contract executes following operation:
The second assets of the second number are deducted in the first user account of the second contract;
The second assets of the second number are deducted in the second contract account of the first contract;
Increase the second assets of the second number in the first user account in the first contract;
Wherein, the first contract is the hair coin contract for issuing currency type, and the second transaction needs to produce several assets by the first user It is generated and sent when to the first contract.
The third aspect, the present invention also provides a kind of equipment, including one or more processors and memory, wherein memory Comprising can by instruction that the one or more processors execute so that the one or more processors execute it is each according to the present invention The fund flow method that embodiment provides.
Fourth aspect, the present invention also provides a kind of storage medium for being stored with computer program, which makes to count Calculation machine executes the fund flow method that each embodiment provides according to the present invention.
Beneficial effects of the present invention
The present invention is by adding contract account in hair coin contract, in assets circulation, first by the assets of user account It goes in contract account, then the assets is transferred to or is produced in hair coin contract, on the one hand complete across the contract circulation of assets, On the other hand the record when proposing coin operation, by hair coin contract to the transfer procedure of contract account, it is ensured that hair coin contract executes Error or contract cheating can be found in time, guarantee the interests of user.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other Feature, objects and advantages will become more apparent upon:
Fig. 1 is a kind of flow chart for fund flow method that one embodiment of the invention provides.
Fig. 2 is the scene figure of one preferred embodiment of method shown in Fig. 1.
Fig. 3 is the flow chart for another fund flow method that one embodiment of the invention provides.
Fig. 4 is the scene figure of one preferred embodiment of method shown in Fig. 3.
Fig. 5 is a kind of structural schematic diagram for equipment that one embodiment of the invention provides.
Specific embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to Convenient for description, part relevant to invention is illustrated only in attached drawing.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 is a kind of flow chart for fund flow method that one embodiment of the invention provides.
As shown in Figure 1, in the present embodiment, the present invention provides a kind of fund flow method, comprising:
S11, the first transaction is received, according to the first transaction, the first contract executes following operation:
The first assets of the first number are deducted in the first user account of the first contract;
Increase the first assets of the first number in the second contract account of the first contract;
Increase the first assets of the first number in the first user account of the second contract;
Wherein, the first contract is the hair coin contract for issuing currency type, and the first transaction is needed by the first user terminal in the second contract Using the first user several assets when generate and send.
Specifically, as shown in Fig. 2 scene, when the first user wants part assets, such as 10 token ABC are from hair coin contract (such as coins contract) goes to the account address account1 of the first user under the second contract (such as dice contract).At this moment, One user issues a money transfer transactions, the first contract, i.e., after hair coin and about coins receive the transaction, in being somebody's turn to do for coins contract 10 ABC are deducted in first user account account1, (such as dice is closed in the second contract account contract1 of the first contract Contract account about) 10 ABC of middle increase, the assets sum of the first contract does not decrease or increase at this time;The conjunction of dice contract After increasing by 10 ABC about in account, in the account address account1 of the first user of the first and about coins in dice contract Increase by 10 ABC, at this moment, dice contract just has the permission of 10 ABC in the processing account, which can only be by The control of dice contract, there is no controls by coins.
It is further preferred that 10 ABC in above-mentioned dice contract in account1 account are controlled by contract, dice contract It can be freezed;It is activated after can also freezing in dice contract;It can also be and transferred accounts in dice contract to second user The second account account2;It can also be and transfer accounts after freezing in second and about dice contract to after the second account account2 Freeze;It can also be and activated after being transferred accounts after freezing in second and about dice to the second account account2;
Above-mentioned first contract, i.e. hair coin contract can be primary contract, be also possible to Dynamical Deployment contract;Second contract can Think primary contract, is also possible to Dynamical Deployment contract.
In above-described embodiment, by the way that the assets in user account are transferred to contract account, then it is transferred under the second contract again User account in, on the one hand realize the circulation across contract, complete the transfer of control of assets, on the other hand, hair coin Keep accounts in contract to the assets of contract account, enable to find contract in time when mentioning coin in the later period because error or cheating and Cause to transfer accounts the mistake exceeded, avoids or reduce the economic loss of user.
Fig. 3 is another asset stream shifting method that one embodiment of the invention provides.As shown in figure 3, in the present embodiment, one Kind asset stream shifting method, comprising:
S21, the second transaction is received, according to the second transaction, the first contract executes following operation:
The second assets of the second number are deducted in the first user account of the second contract;
The second assets of the second number are deducted in the second contract account of the first contract;
Increase the second assets of the second number in the first user account in the first contract;
Wherein, the first contract is the hair coin contract for issuing currency type, and the second transaction needs to produce several assets by the first user It is generated and sent when to the first contract.
Specifically, scene as shown in Figure 4, the first user want the money in dice contract in the first user account account1 It produces and proposes 10 ABC, then the first user sends one second transaction, and first and about coins is according to the second transaction in the second contract 10 ABC, then the second contract account in coins contract are deducted in the first user account account1 in dice contract 10 ABC are deducted in contract1, finally increase by 10 ABC in the first user account account1 in coins contract.
In more embodiments, above-mentioned first contract, i.e. hair coin contract can be primary contract, be also possible to Dynamical Deployment Contract;Second contract can be primary contract, be also possible to Dynamical Deployment contract.
In more embodiments, coins contract deducts the second of the second number in the first user account of the second contract Before assets, carries out step judgement operation: judging the second contract account contract1's being transferred in coins contract before Whether the assets of the first number are greater than the assets of the second number to be produced, if so, continuing to execute subsequent step;If it is not, then It terminates this and proposes coin operation.Specifically, if first and about coins contract is want to deduct 15 ABC from contract account, before having exceeded Phase is transferred to 10 ABC of contract account, terminates then at this moment proposing coin operation, so as to avoid the economic loss of the first user.
Assets are first transferred in contract account by the present invention when mentioning coin, are then transferred in the first user account again, and hair is passed through The accounting records of coin contract, it is ensured that the first contract can only operate that assets being transferred to when mentioning coin, for the second contract account Part beyond the first number cannot operate, avoid or reduce because contract error or contract cheating and caused by economy damage It loses.
Fig. 5 is a kind of structural schematic diagram for equipment that one embodiment of the invention provides.
As shown in figure 5, present invention also provides a kind of equipment 500, including one or more centres as on the other hand Unit (CPU) 501 is managed, can be added according to the program being stored in read-only memory (ROM) 502 or from storage section 508 The program that is downloaded in random access storage device (RAM) 503 and execute various movements appropriate and processing.In RAM503, also deposit It contains equipment 500 and operates required various programs and data.CPU501, ROM502 and RAM503 pass through the phase each other of bus 504 Even.Input/output (I/O) interface 505 is also connected to bus 504.
I/O interface 505 is connected to lower component: the importation 506 including keyboard, mouse etc.;It is penetrated including such as cathode The output par, c 507 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 508 including hard disk etc.; And the communications portion 509 of the network interface card including LAN card, modem etc..Communications portion 509 via such as because The network of spy's net executes communication process.Driver 510 is also connected to I/O interface 505 as needed.Detachable media 511, such as Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 510, in order to read from thereon Computer program be mounted into storage section 508 as needed.
Particularly, in accordance with an embodiment of the present disclosure, the fund flow method of any of the above-described embodiment description can be implemented For computer software programs.For example, embodiment of the disclosure includes a kind of computer program product comprising be tangibly embodied in Computer program on machine readable media, the computer program include the program code for executing fund flow method. In such embodiments, which can be downloaded and installed from network by communications portion 509, and/or from Detachable media 511 is mounted.
As another aspect, present invention also provides a kind of computer readable storage medium, the computer-readable storage mediums Matter can be computer readable storage medium included in the device of above-described embodiment;It is also possible to individualism, it is unassembled Enter the computer readable storage medium in equipment.Computer-readable recording medium storage has one or more than one program, should Program is used to execute the fund flow method for being described in the application by one or more than one processor.
Flow chart and block diagram in attached drawing are illustrated according to the system of various embodiments of the invention, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually It can be basically executed in parallel, they can also be executed in the opposite order sometimes, this is depending on related function.Also it wants It is noted that the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart, Ke Yitong The dedicated hardware based system of functions or operations as defined in executing is crossed to realize, or by specialized hardware and can be calculated The combination of machine instruction is realized.
Being described in the embodiment of the present application involved unit or module can be realized by way of software, can also be with It is realized by way of hardware.Described unit or module also can be set in the processor, for example, each unit can To be the software program being arranged in computer or intelligent movable equipment, it is also possible to the hardware device being separately configured.Wherein, this The title of a little units or module does not constitute the restriction to the unit or module itself under certain conditions.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.Those skilled in the art Member is it should be appreciated that invention scope involved in the application, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic Scheme, while should also cover in the case where not departing from the application design, appointed by above-mentioned technical characteristic or its equivalent feature Other technical solutions of meaning combination and formation.Such as features described above and (but being not limited to) disclosed herein have similar functions Technical characteristic replaced mutually and the technical solution that is formed.

Claims (5)

1. a kind of asset stream shifting method characterized by comprising
The first transaction is received, according to first transaction, the first contract executes following operation:
The first assets of the first number are deducted in the first user account of the first contract;
Increase the first assets of first number in the second contract account of the first contract;
Increase the first assets of first number in first user account of the second contract;
Wherein, first contract is the hair coin contract for issuing currency type, and first transaction is by the first user terminal described second Contract needs to generate and send when several assets using the first user.
2. the method according to claim 1, wherein the first assets of second contract for execute with down toward One item missing operation:
Freeze in second contract;
It is activated after freezing in second contract;
It is transferred accounts in second contract to the second account of second user;
Freeze after being transferred accounts after freezing in second contract to second account;
It is activated after being transferred accounts after freezing in second contract to second account.
3. a kind of asset stream shifting method characterized by comprising
The second transaction is received, according to second transaction, the first contract executes following operation:
The second assets of the second number are deducted in the first user account of the second contract;
The second assets of second number are deducted in the second contract account of first contract;
Increase the second assets of second number in first user account in first contract;
Wherein, first contract is the hair coin contract for issuing currency type, and second transaction is needed to produce several by the first user It is generated and sent when assets are to first contract.
4. a kind of equipment, which is characterized in that the equipment includes:
One or more processors;
Memory, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors Execute method as claimed in any one of claims 1-3.
5. a kind of storage medium for being stored with computer program, which is characterized in that realize when the program is executed by processor as weighed Benefit requires method described in any one of 1-3.
CN201910077655.1A 2019-01-28 2019-01-28 A kind of fund flow method, equipment and storage medium Pending CN109801167A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910077655.1A CN109801167A (en) 2019-01-28 2019-01-28 A kind of fund flow method, equipment and storage medium
PCT/CN2020/073982 WO2020156481A1 (en) 2019-01-28 2020-01-23 Fund flow method, and device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910077655.1A CN109801167A (en) 2019-01-28 2019-01-28 A kind of fund flow method, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN109801167A true CN109801167A (en) 2019-05-24

Family

ID=66559078

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910077655.1A Pending CN109801167A (en) 2019-01-28 2019-01-28 A kind of fund flow method, equipment and storage medium

Country Status (2)

Country Link
CN (1) CN109801167A (en)
WO (1) WO2020156481A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020156481A1 (en) * 2019-01-28 2020-08-06 杭州复杂美科技有限公司 Fund flow method, and device and storage medium
CN113222569A (en) * 2021-06-04 2021-08-06 杭州复杂美科技有限公司 Block chain asset mapping method, computer device and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111784420A (en) * 2018-05-31 2020-10-16 阿里巴巴集团控股有限公司 Parking charging method and device and electronic equipment
CN108846760A (en) * 2018-06-14 2018-11-20 杭州复杂美科技有限公司 A kind of integral distributing method
CN109034806A (en) * 2018-08-15 2018-12-18 杭州复杂美科技有限公司 A kind of token publishing system
CN109801167A (en) * 2019-01-28 2019-05-24 杭州复杂美科技有限公司 A kind of fund flow method, equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020156481A1 (en) * 2019-01-28 2020-08-06 杭州复杂美科技有限公司 Fund flow method, and device and storage medium
CN113222569A (en) * 2021-06-04 2021-08-06 杭州复杂美科技有限公司 Block chain asset mapping method, computer device and storage medium

Also Published As

Publication number Publication date
WO2020156481A1 (en) 2020-08-06

Similar Documents

Publication Publication Date Title
CN109886677B (en) Commodity purchasing method and device based on block chain
WO2021042817A1 (en) Block chain-based default asset processing method, apparatus, and electronic device
US20190080402A1 (en) System and method for providing a regulatory-compliant token
CN109360103A (en) Assets based on block chain lead to the security product treatment method and device of cardization
US20130036373A1 (en) Systems and Methods for Providing a Virtual Currency Exchange
US8719130B2 (en) Portfolio investment management method, system and computer program product
US20150081458A1 (en) Systems and methods for managing consumer transaction-based investments
Chiu et al. Incentive compatibility on the blockchain
Sukhodolov et al. Peculiarities of formation and development of internet economy in Russia
CN109460889B (en) Risk management and control method, system, server and computer readable storage medium
CN108764872A (en) A kind of authority to pay method and system, equipment and storage medium
CN109409886A (en) Pledge loaning bill method, equipment and storage medium
CN109410039A (en) Pledge loaning bill method, equipment and storage medium
CN108335174A (en) Store control system and method, information data processing terminal based on block chain
CN109801167A (en) A kind of fund flow method, equipment and storage medium
CN108711102A (en) Loan method and system, equipment and storage medium
CN109146488A (en) Assets match method, assets match system, equipment and storage medium
CN111260362A (en) Information processing method and device of block chain network and storage medium
Babu et al. Central bank digital currencies: policy and operational perspectives for India
CN108780530A (en) Smart card service system and method
CN109409866A (en) Food and drink method of payment, equipment and storage medium
Teng et al. Applications of the Decentralized Finance (DeFi) on the Ethereum
CN108846760A (en) A kind of integral distributing method
CN109359956A (en) Contract configuration method, contract application method, equipment and storage medium
KR101310356B1 (en) Method and appratus for transaction of securities

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

Application publication date: 20190524