CN109410084A - The mobile payment control method and agricultural trade system of agricultural trade system based on e-commerce - Google Patents

The mobile payment control method and agricultural trade system of agricultural trade system based on e-commerce Download PDF

Info

Publication number
CN109410084A
CN109410084A CN201811206438.XA CN201811206438A CN109410084A CN 109410084 A CN109410084 A CN 109410084A CN 201811206438 A CN201811206438 A CN 201811206438A CN 109410084 A CN109410084 A CN 109410084A
Authority
CN
China
Prior art keywords
block
data
transaction data
node
mobile payment
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
CN201811206438.XA
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201811206438.XA priority Critical patent/CN109410084A/en
Publication of CN109410084A publication Critical patent/CN109410084A/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
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/02Agriculture; Fishing; Mining
    • 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
    • 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
    • G06Q20/401Transaction verification
    • 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/42Confirmation, e.g. check or permission by the legal debtor of payment
    • 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/018Certifying business or products
    • 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]

Abstract

The present invention relates to block chain technical field more particularly to a kind of the mobile payment control methods and agricultural trade system of the agricultural trade system based on e-commerce, the method comprise the steps that obtaining the pressure data of tracing terminal pressure sensor;Judge whether pressure data is less than preset pressure threshold value, if so, otherwise triggering mobile payment transaction operation suspends mobile payment transaction and prompts user terminal.By implementing mobile payment with the block chain of the decentralization of anti-tamper characteristic, avoid potential entirety damage risk under conventional payment mode, it ensure that the safety of transaction data, solve agricultural trade chain network congestion existing in the prior art and block storage burden, to reach the reduction shared period, sharing efficiency is improved, storage quantity is saved, guarantees data security.

Description

The mobile payment control method and agricultural trade system of agricultural trade system based on e-commerce
Technical field
The present invention relates to block chain technical field more particularly to a kind of mobile payments of the agricultural trade system based on e-commerce Control method and agricultural trade system.
Background technique
As the new things that another changes the world, pushes world development after internet, block chain is in agriculture field Application be still in infancy.Agricultural trade chain in agriculture field, establishes block chain Technology application a set of complete with block chain technology Whole decentralization e-commerce platform, agricultural product are traced to the source, trade management and Payment System.Main application scenarios have following four Class:
1, agricultural product decentralization e-commerce platform
Agricultural trade chain completely removes the centralized server of traditional electronic commerce platform, is gradually excavated in this big data value The value in epoch, data itself is controlled by centralized server, becomes the tool of platform squeezing both parties.Agricultural trade chain technology Using block chain technology, network stored data in a distributed manner allows market control weight to return in numerous businessmans and user hand, any A single side can not monopolize the mass data of commercial activity product.It is rewarded simultaneously by node, all users is encouraged to participate in Area to decentralization platform operation and during administering, by common recognition mechanism be jointly processed by transaction identification in business process and The links such as dispute processing.
2, agricultural product trace to the source, supply chain management
Block chain technology can not distort, and retrospective feature is managed and traced to the source for quality of the agricultural trade chain for agricultural product and provides and can pacify Complete reliable method.Automation traceability system complete set, mature and that delay machine rate is minimum, be to product purchasing, production, The necessary supplement of complete monitoring of the processes such as thickness processing, storage and transportation, channel dispatching, and meet modern specialized agricultural product supply The current demand of chain construction.
For the product traceability and management of green food, organic vegetable fruit, agricultural trade chain will make since agricultural product source It is marked with block chain technology, is noted down since the sowing stage of the product.Seed source, growing environment Key detail (agriculture Medicine application, rainfall arid etc.).It is propagated and is recorded on the network node of all parts of the world, ensure that block chain information safety The running of storage and intelligent contract.It largely cooperates between the different main body of supply chain and is completed on agricultural trade chain, entire supply chain fortune The various information generated during row is saved on chain, forms unified information record, by supply chain upstream and downstream each department whole It is included in retrospect system, system can be traced in the building full chain that source can be looked into, whereabouts can chase after, responsibility can be studied carefully, it can be ensured that participates in each side In time the problem of discovery supply chain system operational process, and solution to the problem is pointedly found, and then is promoted The whole efficiency of supply chain management.These data can be recorded faithfully, and the confidence level for increasing commodity can have very great help, and make Product traceability link highly transparent is obtained, unqualified agricultural product problem is eradicated.Consumer is organic to green agricultural product recognizes for repairing The trust of card lacks.It is the beginning for protecting green organic food certification.
3, the e-payments means such as quick, secure payment of commodities trading
The characteristic of point-to-point value transmission is able to carry out based on block chain distributed network, the value system of construction of stable becomes Medium is reliably paid in e-commerce link.By intelligent contract, the transaction created on block, removal tradition are fulfiled automatically Centralization financial institution fully controls the financial mode of formula, avoids a possibility that single individual is done evil, including the distribution of agricultural trade chain Any individual side including mechanism is unable to influence the execution of personal inclination, reaches the quick of payment, and safety is low to take With.
4, the cross-border trade of agricultural product, precision marketing
For example, Asia-Pacific Global Finance Pty Ltd discloses its agricultural trade chain for utilizing Internet technology.For another example, Wal-Mart and Its subsidiary mountain nurse member store takes the lead in requiring its green vegetable supplier to begin to use block chain from September, 2019 in colleague Technology carry out in real time, product traceability end to end.
Block chain technology is also referred to as distributed account book technology, is substantially a kind of distributed interconnection data of decentralization Library.Block chain network can be considered using the network of block chain Technical Architecture, include multiple block chain nodes in the block chain network, Either block chain node can correspond at least one block chain, and either block chain may include at least one block.
In the prior art, the application of block chain can be divided into two classes:
Publicly-owned chain: all nodes can participate in common recognition, competition book keeping operation power.Publicly-owned chain is any individual or group towards masses Body can read, send transaction and transaction can obtain effective confirmation of the block chain, participate in the block chain of common recognition.Data are public It opens.Its main feature is that: neutrality, open, transactions velocity is slow, need " digging mine " or similar to common recognition method, commonly uses P2P network, anti-examination Property it is high.
License chain: the node being only licensed could know together, compete book keeping operation power and create block, include privately owned chain, alliance All non-publicly-owned chains such as chain, enterprise's chain.Data can be openly or underground.Wherein, privately owned chain refers to write-in permission in a group Knit the block chain in hand;Alliance's chain refer to by several personal or tissues, company, government control block chain.The characteristics of permitting chain Be: transactions velocity is fast, not needing the whole network common recognition, transaction cost of " digging mine " class, low (transaction only needs several permit nodes verifyings i.e. Can);It can examine, the mainstream of commercial application field can be occupied.
Specifically, the process of transaction data cochain (being stored in block chain network) includes three phases:
1, the stage is accepted, it can be understood as the transaction data to cochain is received by a certain block chain node in block chain network It arrives, and the transaction data is accepted by the block chain node;
2, it knows together the stage, it can be understood as block chain node needs after accepting the transaction data by block chain network Other block chain nodes participate in carrying out the transaction data common recognition processing, after transaction data is by common recognition, can enter storage rank Section;
3, memory phase, it can be understood as the transaction data that block chain node passes through common recognition carries out cochain processing.
Common recognition method i.e. common recognition algorithm in block chain technology is realized between different blocks chain node in block chain network Establish the important method for trusting, obtaining equity.So-called common recognition method is the ballot by special joint, in a short period of time The verifying and confirmation of complete swap;To a transaction, if several incoherent nodes of interests can reach common understanding, so that it may To think that the whole network can also reach common understanding to this.A kind of data structure of the block chain as storing data in chronological order, can prop up Hold different common recognition methods.
Under different common recognition methods, the generating process of block can be slightly different.But on the whole, each node is received in processing After the block information arrived, process of exchange is substantially all according to following process: node receives several Transaction Informations, is put into trading pit In;Node obtains the Transaction Information being currently received from trading pit, is ranked up to transaction and executes in order;It is finished it Afterwards, node generates intact block, is finally broadcasted.
Agricultural trade chain is as emerging technology, and perfect there are also many problems demands, agricultural trade chain agreement is faced with the obstacle of scalability. The scaling concern of agricultural trade chain is roughly divided into: the extension sexual dysfunction of payment transaction handling capacity and payment transaction confirmation delay;Agricultural trade Sexual dysfunction is extended caused by chain overall situation account book data storage bottleneck.By taking this service request of block cochain in transaction data as an example, In the common recognition stage, any agricultural trade chain node needs after receiving the request of block cochain by all agricultures other in agricultural trade chain network Trade chain node broadcasts the signature itself requested this cochain to the whole network, can cochain after through common recognition.It is existing In agricultural trade chain, either publicly-owned chain, privately owned chain or alliance's chain are all the processing payment transactions on a chain, examine It is numerous to consider agricultural trade chain node, when there is common recognition demand, is easy to cause agricultural trade chain network congestion.Such as: certain market of farm produce has not Same mechanism, is such as all placed on the business of these mechanisms on one chain, and the pressure that will cause processing business on chain increases, and handles industry Being engaged in the time can be elongated, is unfavorable for the expansion of business.Also, need to store the signature of all agricultural trade chain nodes of the whole network within a block, As the node on agricultural trade chain is continuously increased, the time spent by shared data and common recognition can be also continuously increased, and give block in this way Cause storage burden.
In conclusion main problem existing for current agricultural trade chain technology: the core value of agricultural trade chain its " decentralization ", with Agricultural trade chain data volume constantly increase, on a chain handle payment transaction agricultural trade chain node it is numerous, the common recognition of payment data It can be continuously increased with the time for sharing spent, cause storage burden to block, and be easy to cause the net of agricultural trade chain e-payment Network congestion.
Thus, it needs to find a kind of mobile payment control program of new agricultural trade system based on e-commerce, goes forward side by side one Step designs a set of corresponding agricultural trade system, to overcome the above problem.
Summary of the invention
In view of the deficiencies of the prior art, the mobile payment control for the agricultural trade system based on e-commerce that the present invention provides a kind of Method processed and agricultural trade system solve the continuous growth existing in the prior art with agricultural trade chain data volume, shared data institute The time of consuming is continuously increased, and is easy to cause the congestion of agricultural trade chain network and block storage burden, to reach reduction shared week Phase, raising sharing efficiency, saving storage quantity, the purpose to guarantee data security, concrete scheme are as follows:
In a first aspect, the mobile payment control method of the present invention provides a kind of agricultural trade system based on e-commerce, the side Method includes:
Obtain the pressure data of the pressure sensor of tracing terminal;
Judge whether the pressure data is less than preset pressure threshold value, if so, triggering mobile payment transaction operation, otherwise, temporarily Stop mobile payment transaction and prompts the user terminal.
Preferably, the mobile payment transaction operation, which comprises
Block is generated using the transaction data of the mobile payment of acquisition, and the block is broadcasted other all to block chain Node carries out common recognition verification;
If verification passes through, the block is added in the block chain of itself storage, and requests the user terminal confirmation payment.
Preferably, if the verification passes through, which comprises
When the block is greater than in advance by the ratio that the number of nodes that other nodes verification of the block chain passes through accounts for node total number If when threshold value, indicating that verification passes through.
Preferably, the method also includes:
The block chain is divided into multiple block subchains;
It requests to synchronize to the node of each block subchain, to obtain the newest block in each block subchain.
Preferably, the method also includes:
If receiving at least two newest blocks, at least two newest block is respectively by the different block subchain nodes It sends, and a corresponding upper newest block is identical, the change time in at least two newest block is also identical, then using public Key verifies the intracorporal digital signature of block of described at least two newest blocks, obtains corresponding at least two most new districts Block, and Hash transformation is carried out according to the block information in each newest block respectively, the sequence ascending according to hash value will Corresponding newest block is successively updated to the newest block stored on block chain.
Preferably, the transaction data of the mobile payment generates block, which comprises
After the pressure data to be attached to the transaction data of the mobile payment of acquisition, as target transaction data;
Hash transformation is carried out to the target transaction data, obtains the summary data of target transaction data;
It is real to the summary data of the target transaction data with the private key of the corresponding public and private key centering of the target transaction data Digital signature is applied, the digital signature of the target transaction data is obtained;
By the summary data of the digital signature of the target transaction data and a upper block, the abstract of the target transaction data Data and the target transaction data are packaged into block.
Preferably, the method also includes:
User terminal is received to the inquiry request of the target transaction data;
The corresponding target transaction data of the inquiry request are inquired from the block chain that receiving node stores, and by the mesh Mark transaction data is returned to the user terminal.
Second aspect, the present invention provides a kind of agricultural trade system, the system comprises:
Receiving module obtains the pressure data of the pressure sensor of tracing terminal;
Processing module, for judging whether the pressure data is less than preset pressure threshold value, if so, triggering mobile payment transaction Otherwise operation suspends mobile payment transaction and prompts the user terminal.
The third aspect, the present invention provides a kind of agricultural trade equipment, the equipment includes:
Communication bus, for realizing the connection communication between processor and memory;
Memory, for storing computer program;
Processor, for executing the computer program to realize following steps:
Obtain the pressure data of the pressure sensor of tracing terminal;
Judge whether the pressure data is less than preset pressure threshold value, if so, triggering mobile payment transaction operation, otherwise, temporarily Stop mobile payment transaction and prompts the user terminal.
Fourth aspect, the present invention provides a kind of computer readable storage mediums, are stored thereon with computer program, described The method of above-mentioned first aspect is realized when computer program is executed by processor.
The utility model has the advantages that the mobile payment control method and agricultural trade system of the agricultural trade system of the invention based on e-commerce, By the way that mobile payment will be implemented with the block chain of decentralization, the mobile payment technology based on centralization is changed, is avoided whole The risk that block is integrally damaged under the situations such as potential delay machine, operation troubles under body conventional payment mode, even if risk In the presence of can also get synchrodata from the block chain node of other normal operations, improve the safety of transaction data;By In the anti-tamper characteristic that block chain has, either side is caused not distort privately to the storing data in block chain, from And the safety purpose of transaction data is effectively ensured.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, attached drawing In embodiment do not constitute any limitation of the invention, for those of ordinary skill in the art, do not paying creativeness Under the premise of labour, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is the method for payment embodiment flow diagram the present invention is based on e-commerce.
Fig. 2 is that mobile payment transaction of the present invention operates an embodiment flow diagram.
Fig. 3 is that mobile payment transaction of the present invention operates an embodiment flow diagram.
Fig. 4 is one example structure schematic diagram of agricultural trade system the present invention is based on e-commerce.
Fig. 5 is one example structure schematic diagram of agricultural trade equipment the present invention is based on e-commerce.
Specific embodiment
Technical solution of the present invention is described in further detail with embodiment with reference to the accompanying drawing, this be it is of the invention compared with Good embodiment.It should be appreciated that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments; It should be noted that in the absence of conflict, the feature in embodiment and embodiment in the present invention can be combined with each other.Base Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts it is all its His embodiment, shall fall within the protection scope of the present invention.
The main thought of technical solution of the embodiment of the present invention: the pressure data of the pressure sensor of tracing terminal is obtained;Sentence Whether the pressure data that breaks is less than preset pressure threshold value, if so, triggering mobile payment transaction operation, otherwise, pause movement Payment transaction simultaneously prompts the user terminal.
It is right in conjunction with appended figures and specific embodiments in order to better understand above-mentioned technical solution Above-mentioned technical proposal is described in detail.
Embodiment one
One embodiment of the invention provides a kind of mobile payment control method of agricultural trade system based on e-commerce, implements below Executing subject in example can be mobile phone, personal digital assistant (Personal Digital Assistant, PDA), digital phase Machine, laptop, tablet computer, as shown in Figure 1, the method for mobile payment can specifically include following steps:
Step S101 obtains the pressure data of the pressure sensor of tracing terminal;
In the present patent application embodiment, tracing terminal is acquired by analog-digital converter, records the pressure sensing traded each time The pressure data of device, and store other relevant information etc..Specifically, trade company's selection needs the type of thing of weighing, and input is single Valence, after thing of weighing is then put title, tracing terminal can show the quality total price of thing of weighing by LCD, record pressure data, and Store the unit price of commodity, weight, total price, trade market, the other information such as booth information.
Step S102, judges whether the pressure data is less than preset pressure threshold value, if so, triggering mobile payment transaction Otherwise operation suspends mobile payment transaction and prompts the user terminal.
In the present patent application embodiment, when the pressure data of the pressure sensor of the tracing terminal is less than or equal to preset It when pressure threshold, indicates that pressure data is normal, when the pressure data is greater than preset pressure threshold value, indicates that pressure data is different Often.Wherein, the preset pressure threshold value can be the maximum pressure value of the tracing terminal factory setting.
When the pressure data is less than or equal to preset pressure threshold value, the mobile payment transaction operation is executed, such as Fig. 2 institute Show, be described in detail specific as follows:
Step S1021 generates block using the transaction data of the mobile payment of acquisition;
The equipment for accepting transaction data can be the node of block chain, which can be referred to as service handling node, and initiate To the common recognition of the transaction data.It can also include multiple nodes, if these nodes participate in the transaction data other than the node Common recognition processing, then these nodes can be referred to as common recognition node.In addition, these nodes can also be used as service handling section Point.
In the present patent application embodiment, what the node of region chain can be used as transaction data accepts node, can also not As the node that accepts of transaction data, and the node as node or this common recognition processing for initiating common recognition processing, this In be not specifically limited.
If the node of region chain accepts node as transaction data, then the block chain node can be from being locally stored A part of transaction data is fished in the transaction data accepted as transaction data to be known together, in order to subsequent for fishing for The part transaction data initiates common recognition processing.
If the node of region chain is not as the accepting node of transaction data and as the node that this common recognition is handled, then should Block chain node can fish for a part of transaction data as number of deals to be known together from transaction data resource pool to be known together According in order to the subsequent common recognition processing initiated for the part transaction data fished for.
The type of the node can be individual, enterprise, regulatory agency etc., be also possible to credit is high, in credit, credit it is low Etc. different credit grades.In short, the type of node can divide according to the actual situation, the application is without limitation.
Specifically, its client that can install built-in docking standard agreement at the terminal, so that it may pass through the client Service request is submitted at any time in end.
Specifically, the transaction data that the pressure data is attached to the mobile payment of acquisition by node first is accepted Afterwards, as target transaction data;Then Hash transformation is carried out to the target transaction data, obtains the abstract of target transaction data Data;Then with the private key of the corresponding public and private key centering of the target transaction data, to the abstract of the target transaction data Data implement digital signature, obtain the digital signature of the target transaction data;Finally by the number of the target transaction data Signature is packaged into the summary data of a upper block, the summary data of the target transaction data and the target transaction data Block.
It should be noted that the node can be terminal, e.g., mobile phone, PC/tablet computer, tracing terminal etc. are set It is standby, it is also possible to server, then the server can be the corresponding server of the node, and the server can be individual one Platform equipment is also possible to the system being made of multiple devices, if the equipment can be used as the block chain network node receive with The corresponding transaction data of common recognition node, and there is the permission that common recognition is initiated in the block chain network, the application couple The node be specially which kind of equipment this and without limitation.
The block is broadcasted other all nodes to block chain and carries out common recognition verification by step S1022, if verification is logical It crosses, the block is added in the block chain of itself storage;
Since the user information as block is sent to the common recognition node, so the node is when receiving the transaction data, only To include user information in the transaction data, can determine that the corresponding processing data of the block are accepted by which user side.
In the present patent application embodiment, when the block is verified the number of nodes passed through by other nodes of the block chain When the ratio that amount accounts for node total number is greater than preset threshold, then block is verified by block chain, then the block is added to itself In the block chain of storage.Due to all participating in verifying without all nodes, sharing efficiency is improved.
For each node, the common recognition checking procedure of the node is specifically: the node can be held with itself Some public keys verify the signing messages for including in the block, after determining the signing messages by verifying, further according to The content for including in the block verifies the head cryptographic Hash of the block.Pass through verifying in the head cryptographic Hash for determining the block Afterwards, then it can determine the block by verifying, i.e., block is verified by block chain.
Wherein, verification code type is configurable to the common Encryption Algorithm of various those skilled in the art or checking algorithm institute The check code of generation.
It should be noted that specifically each node carries out transaction data according to common recognition algorithm in block chain technical field Common recognition verification, also, the privacies such as account, transaction record of each node of block chain network Internet access, for verifying.
Step S1023 requests the user terminal confirmation payment if verification passes through;
Specifically, as described above, allowing to interact mobile payment if above-mentioned block is verified by block chain, and institute is requested State user terminal confirmation payment;If above-mentioned block is verified not over block chain, refuse interactive mobile payment
The block chain is divided into multiple block subchains by step S1024, requests to synchronize to the node of each block subchain, To obtain the newest block in each block subchain.
In order to improve synchronous efficiency, the block chain is divided into multiple block subchains, to the section of each block subchain Point request synchronizes.
But due to being divided into multiple block subchains, cause in practical applications, there are multiple and different block subchain sections The case where point sends respectively newest block to the synchronous node of request simultaneously occurs, in this case, different block subchains The head cryptographic Hash for the upper block for including in the newest block of node may be identical, change time in newest block also phase Together, if node completely determines that these target blocks pass through verifying, during these newest blocks are stored in block chain, The case where branch to occur, to increase the complexity of block chain.
Thus, in an alternative embodiment, if receiving at least two newest blocks, described at least two most new districts Block is sent by the different block subchain node respectively, and a corresponding upper newest block is identical, described at least two newest The change time in block is also identical, then using public key to the intracorporal digital signature of block of described at least two newest blocks into Row verifying, obtains corresponding at least two newest block, and carries out Hash according to the block information in each newest block respectively The newest block of correspondence, is successively updated to the newest block stored on block chain by transformation, the sequence ascending according to hash value.
It should be noted that the executing subject of each step of the present patent application embodiment institute providing method may each be same Equipment, alternatively, this method is also by distinct device as executing subject.
Embodiment two
One embodiment of the invention provides a kind of mobile payment control method of agricultural trade system based on e-commerce, implements below Executing subject in example can be mobile phone, personal digital assistant (Personal Digital Assistant, PDA), digital phase Machine, laptop, tablet computer, as shown in Figure 1, the method for mobile payment can specifically include following steps:
Step S201 obtains the pressure data of the pressure sensor of tracing terminal;
In the present patent application embodiment, tracing terminal is acquired by analog-digital converter, records the pressure sensing traded each time The pressure data of device, and store other relevant information etc..Specifically, trade company's selection needs the type of thing of weighing, and input is single Valence, after thing of weighing is then put title, tracing terminal can show the quality total price of thing of weighing by LCD, record pressure data, and Store the unit price of commodity, weight, total price, trade market, the other information such as booth information.
Step S202, judges whether the pressure data is less than preset pressure threshold value, if so, triggering mobile payment transaction Otherwise operation suspends mobile payment transaction and prompts the user terminal.
In the present patent application embodiment, when the pressure data of the pressure sensor of the tracing terminal is less than or equal to preset It when pressure threshold, indicates that pressure data is normal, when the pressure data is greater than preset pressure threshold value, indicates that pressure data is different Often.Wherein, the preset pressure threshold value can be the maximum pressure value of the tracing terminal factory setting.
When the pressure data is less than or equal to preset pressure threshold value, the mobile payment transaction operation is executed, such as Fig. 3 institute Show, be described in detail specific as follows:
Step S2021 generates block using the transaction data of the mobile payment of acquisition;
The equipment for accepting transaction data can be the node of block chain, which can be referred to as service handling node, and initiate To the common recognition of the transaction data.It can also include multiple nodes, if these nodes participate in the transaction data other than the node Common recognition processing, then these nodes can be referred to as common recognition node.In addition, these nodes can also be used as service handling section Point.
In the present patent application embodiment, what the node of region chain can be used as transaction data accepts node, can also not As the node that accepts of transaction data, and the node as node or this common recognition processing for initiating common recognition processing, this In be not specifically limited.
If the node of region chain accepts node as transaction data, then the block chain node can be from being locally stored A part of transaction data is fished in the transaction data accepted as transaction data to be known together, in order to subsequent for fishing for The part transaction data initiates common recognition processing.
If the node of region chain is not as the accepting node of transaction data and as the node that this common recognition is handled, then should Block chain node can fish for a part of transaction data as number of deals to be known together from transaction data resource pool to be known together According in order to the subsequent common recognition processing initiated for the part transaction data fished for.
The type of the node can be individual, enterprise, regulatory agency etc., be also possible to credit is high, in credit, credit it is low Etc. different credit grades.In short, the type of node can divide according to the actual situation, the application is without limitation.
Specifically, its client that can install built-in docking standard agreement at the terminal, so that it may pass through the client Service request is submitted at any time in end.
Specifically, the transaction data that the pressure data is attached to the mobile payment of acquisition by node first is accepted Afterwards, as target transaction data;Then Hash transformation is carried out to the target transaction data, obtains the abstract of target transaction data Data;Then with the private key of the corresponding public and private key centering of the target transaction data, to the abstract of the target transaction data Data implement digital signature, obtain the digital signature of the target transaction data;Finally by the number of the target transaction data Signature is packaged into the summary data of a upper block, the summary data of the target transaction data and the target transaction data Block.
It should be noted that the node can be terminal, e.g., mobile phone, PC/tablet computer, tracing terminal etc. are set It is standby, it is also possible to server, then the server can be the corresponding server of the node, and the server can be individual one Platform equipment is also possible to the system being made of multiple devices, if the equipment can be used as the block chain network node receive with The corresponding transaction data of common recognition node, and there is the permission that common recognition is initiated in the block chain network, the application couple The node be specially which kind of equipment this and without limitation.
The block is broadcasted other all nodes to block chain and carries out common recognition verification by step S2022, if verification is logical It crosses, the block is added in the block chain of itself storage;
Since the user information as block is sent to the common recognition node, so the node is when receiving the transaction data, only To include user information in the transaction data, can determine that the corresponding processing data of the block are accepted by which user side.
In the present patent application embodiment, when the block is verified the number of nodes passed through by other nodes of the block chain When the ratio that amount accounts for node total number is greater than preset threshold, then block is verified by block chain, then the block is added to itself In the block chain of storage.Due to all participating in verifying without all nodes, sharing efficiency is improved.
For each node, the common recognition checking procedure of the node is specifically: the node can be held with itself Some public keys verify the signing messages for including in the block, after determining the signing messages by verifying, further according to The content for including in the block verifies the head cryptographic Hash of the block.Pass through verifying in the head cryptographic Hash for determining the block Afterwards, then it can determine the block by verifying, i.e., block is verified by block chain.
Wherein, verification code type is configurable to the common Encryption Algorithm of various those skilled in the art or checking algorithm institute The check code of generation.
It should be noted that specifically each node carries out transaction data according to common recognition algorithm in block chain technical field Common recognition verification, also, the privacies such as account, transaction record of each node of block chain network Internet access, for verifying.
Step S2023 requests the user terminal confirmation payment if verification passes through;
Specifically, as described above, allowing to interact mobile payment if above-mentioned block is verified by block chain, and institute is requested State user terminal confirmation payment;If above-mentioned block is verified not over block chain, refuse interactive mobile payment
The block chain is divided into multiple block subchains by step S2024, requests to synchronize to the node of each block subchain, To obtain the newest block in each block subchain;
In order to improve synchronous efficiency, the block chain is divided into multiple block subchains, is asked to the node of each block subchain It seeks common ground step.
But due to being divided into multiple block subchains, cause in practical applications, there are multiple and different block subchain sections The case where point sends respectively newest block to the synchronous node of request simultaneously occurs, in this case, different block subchains The head cryptographic Hash for the upper block for including in the newest block of node may be identical, change time in newest block also phase Together, if node completely determines that these target blocks pass through verifying, during these newest blocks are stored in block chain, The case where branch to occur, to increase the complexity of block chain.
Thus, in an alternative embodiment, if receiving at least two newest blocks, described at least two most new districts Block is sent by the different block subchain node respectively, and a corresponding upper newest block is identical, described at least two newest The change time in block is also identical, then using public key to the intracorporal digital signature of block of described at least two newest blocks into Row verifying, obtains corresponding at least two newest block, and carries out Hash according to the block information in each newest block respectively The newest block of correspondence, is successively updated to the newest block stored on block chain by transformation, the sequence ascending according to hash value.
Step S2025 receives user terminal to the inquiry request of the target transaction data, the institute stored from receiving node It states and inquires the corresponding target transaction data of the inquiry request in block chain, and the target transaction data are returned to described User terminal.
Specifically, user terminal is received to the inquiry request of the target transaction data, and the transaction in inquiry request is referred to The trade fingerprinting for all historical trading datas that line is stored with itself is compared.If finding identical trade fingerprinting, show Trade fingerprinting in inquiry request belongs to a certain historical trading data, returns to successful inquiring.The pen is optionally shown at this time Some or all of historical trading data content.If not finding identical trade fingerprinting, show that the transaction in inquiry request refers to Line is not belonging to any historical trading data, returns to inquiry failure.
The trade fingerprinting refers to the fingerprint value obtained by transaction data according to Encryption Algorithm, is unable to reverse push export transaction Whether data are only capable of whether there is and being tampered for verifying transaction data.For example, hash function can be the application A kind of Encryption Algorithm, but for be specially which kind of Encryption Algorithm this and without limitation, using other Encryption Algorithm also in this hair Within the protection scope of bright application.
It should be noted that the executing subject of each step of the present patent application embodiment institute providing method may each be same Equipment, alternatively, this method is also by distinct device as executing subject.
Embodiment three
Second aspect, one embodiment of the invention provide a kind of agricultural trade system, as shown in figure 4, the agricultural trade system specifically can wrap Include following module:
Receiving module obtains the pressure data of the pressure sensor of tracing terminal;
Processing module, for judging whether the pressure data is less than preset pressure threshold value, if so, triggering mobile payment transaction Otherwise operation suspends mobile payment transaction and prompts the user terminal.
Example IV
One embodiment of the invention provides a kind of agricultural trade equipment, as shown in figure 5, the information pushing equipment can specifically include it is as follows Module:
Communication bus, for realizing the connection communication between processor and memory;
Memory, for storing computer program;Memory may include high speed RAM memory, it is also possible to also include non-shakiness Fixed memory (non-volatile memory), for example, at least a magnetic disk storage.Memory optionally may include to A few storage device.
Processor, for executing above-mentioned computer program to realize following steps:
Step S301 obtains the pressure data of the pressure sensor of tracing terminal;
In the present patent application embodiment, tracing terminal is acquired by analog-digital converter, records the pressure sensing traded each time The pressure data of device, and store other relevant information etc..Specifically, trade company's selection needs the type of thing of weighing, and input is single Valence, after thing of weighing is then put title, tracing terminal can show the quality total price of thing of weighing by LCD, record pressure data, and Store the unit price of commodity, weight, total price, trade market, the other information such as booth information.
Step S302, judges whether the pressure data is less than preset pressure threshold value, if so, triggering mobile payment transaction Otherwise operation suspends mobile payment transaction and prompts the user terminal.
In the present patent application embodiment, when the pressure data of the pressure sensor of the tracing terminal is less than or equal to preset It when pressure threshold, indicates that pressure data is normal, when the pressure data is greater than preset pressure threshold value, indicates that pressure data is different Often.Wherein, the preset pressure threshold value can be the maximum pressure value of the tracing terminal factory setting.
When the pressure data is less than or equal to preset pressure threshold value, the mobile payment transaction operation is executed, is retouched in detail It states specific as follows:
Step S3021 generates block using the transaction data of the mobile payment of acquisition;
The equipment for accepting transaction data can be the node of block chain, which can be referred to as service handling node, and initiate To the common recognition of the transaction data.It can also include multiple nodes, if these nodes participate in the transaction data other than the node Common recognition processing, then these nodes can be referred to as common recognition node.In addition, these nodes can also be used as service handling section Point.
In the present patent application embodiment, what the node of region chain can be used as transaction data accepts node, can also not As the node that accepts of transaction data, and the node as node or this common recognition processing for initiating common recognition processing, this In be not specifically limited.
If the node of region chain accepts node as transaction data, then the block chain node can be from being locally stored A part of transaction data is fished in the transaction data accepted as transaction data to be known together, in order to subsequent for fishing for The part transaction data initiates common recognition processing.
If the node of region chain is not as the accepting node of transaction data and as the node that this common recognition is handled, then should Block chain node can fish for a part of transaction data as number of deals to be known together from transaction data resource pool to be known together According in order to the subsequent common recognition processing initiated for the part transaction data fished for.
The type of the node can be individual, enterprise, regulatory agency etc., be also possible to credit is high, in credit, credit it is low Etc. different credit grades.In short, the type of node can divide according to the actual situation, the application is without limitation.
Specifically, its client that can install built-in docking standard agreement at the terminal, so that it may pass through the client Service request is submitted at any time in end.
Specifically, the transaction data that the pressure data is attached to the mobile payment of acquisition by node first is accepted Afterwards, as target transaction data;Then Hash transformation is carried out to the target transaction data, obtains the abstract of target transaction data Data;Then with the private key of the corresponding public and private key centering of the target transaction data, to the abstract of the target transaction data Data implement digital signature, obtain the digital signature of the target transaction data;Finally by the number of the target transaction data Signature is packaged into the summary data of a upper block, the summary data of the target transaction data and the target transaction data Block.
It should be noted that the node can be terminal, e.g., mobile phone, PC/tablet computer, tracing terminal etc. are set It is standby, it is also possible to server, then the server can be the corresponding server of the node, and the server can be individual one Platform equipment is also possible to the system being made of multiple devices, if the equipment can be used as the block chain network node receive with The corresponding transaction data of common recognition node, and there is the permission that common recognition is initiated in the block chain network, the application couple The node be specially which kind of equipment this and without limitation.
The block is broadcasted other all nodes to block chain and carries out common recognition verification by step S3022, if verification is logical It crosses, the block is added in the block chain of itself storage;
Since the user information as block is sent to the common recognition node, so the node is when receiving the transaction data, only To include user information in the transaction data, can determine that the corresponding processing data of the block are accepted by which user side.
In the present patent application embodiment, when the block is verified the number of nodes passed through by other nodes of the block chain When the ratio that amount accounts for node total number is greater than preset threshold, then block is verified by block chain, then the block is added to itself In the block chain of storage.Due to all participating in verifying without all nodes, sharing efficiency is improved.
For each node, the common recognition checking procedure of the node is specifically: the node can be held with itself Some public keys verify the signing messages for including in the block, after determining the signing messages by verifying, further according to The content for including in the block verifies the head cryptographic Hash of the block.Pass through verifying in the head cryptographic Hash for determining the block Afterwards, then it can determine the block by verifying, i.e., block is verified by block chain.
Wherein, verification code type is configurable to the common Encryption Algorithm of various those skilled in the art or checking algorithm institute The check code of generation.
It should be noted that specifically each node carries out transaction data according to common recognition algorithm in block chain technical field Common recognition verification, also, the privacies such as account, transaction record of each node of block chain network Internet access, for verifying.
Step S3023 requests the user terminal confirmation payment if verification passes through.
Specifically, as described above, allowing to interact mobile payment, and ask if above-mentioned block is verified by block chain Ask the user terminal confirmation payment;If above-mentioned block is verified not over block chain, refuse interactive mobile payment
The block chain is divided into multiple block subchains by step S3024, requests to synchronize to the node of each block subchain, To obtain the newest block in each block subchain.
In order to improve synchronous efficiency, the block chain is divided into multiple block subchains, to the section of each block subchain Point request synchronizes.
But due to being divided into multiple block subchains, cause in practical applications, there are multiple and different block subchain sections The case where point sends respectively newest block to the synchronous node of request simultaneously occurs, in this case, different block subchains The head cryptographic Hash for the upper block for including in the newest block of node may be identical, change time in newest block also phase Together, if node completely determines that these target blocks pass through verifying, during these newest blocks are stored in block chain, The case where branch to occur, to increase the complexity of block chain.
Thus, in an alternative embodiment, if receiving at least two newest blocks, described at least two most new districts Block is sent by the different block subchain node respectively, and a corresponding upper newest block is identical, described at least two newest The change time in block is also identical, then using public key to the intracorporal digital signature of block of described at least two newest blocks into Row verifying, obtains corresponding at least two newest block, and carries out Hash according to the block information in each newest block respectively The newest block of correspondence, is successively updated to the newest block stored on block chain by transformation, the sequence ascending according to hash value.
Step S3025 receives user terminal to the inquiry request of the target transaction data, the institute stored from receiving node It states and inquires the corresponding target transaction data of the inquiry request in block chain, and the target transaction data are returned to described User terminal.
Specifically, user terminal is received to the inquiry request of the target transaction data, and the transaction in inquiry request is referred to The trade fingerprinting for all historical trading datas that line is stored with itself is compared.If finding identical trade fingerprinting, show Trade fingerprinting in inquiry request belongs to a certain historical trading data, returns to successful inquiring.The pen is optionally shown at this time Some or all of historical trading data content.If not finding identical trade fingerprinting, show that the transaction in inquiry request refers to Line is not belonging to any historical trading data, returns to inquiry failure.
The trade fingerprinting refers to the fingerprint value obtained by transaction data according to Encryption Algorithm, is unable to reverse push export transaction Whether data are only capable of whether there is and being tampered for verifying transaction data.For example, hash function can be the application A kind of Encryption Algorithm, but for be specially which kind of Encryption Algorithm this and without limitation, using other Encryption Algorithm also in this hair Within the protection scope of bright application.
It should be noted that the executing subject of each step of the present patent application embodiment institute providing method may each be same Equipment, alternatively, this method is also by distinct device as executing subject.
Embodiment five
One embodiment of the invention provides a kind of computer readable storage medium, is stored thereon with computer program, above-mentioned calculating Machine program realizes the mobile payment control method of the above-mentioned agricultural trade system based on e-commerce when being executed by processor.
It is to sum up above-mentioned, a kind of mobile payment controlling party of the agricultural trade system based on e-commerce provided in an embodiment of the present invention Method and agricultural trade system change the mobile payment based on centralization by implementing mobile payment with the block chain of decentralization Technology avoids the wind that block is integrally damaged under the situations such as potential delay machine, operation troubles under whole conventional payment mode Danger can also get synchrodata from the block chain node of other normal operations, improve transaction data even if risk exists Safety;Due to the anti-tamper characteristic that block chain has, cause either side can not be privately to the storing data in block chain It is distorted, so that the safety of transaction data be effectively ensured.So the embodiment of the present invention has reached following technical effect: The continuous growth existing in the prior art with agricultural trade chain data volume is solved, the time spent by shared data is continuously increased, It is easy to cause the congestion of agricultural trade chain network and block storage burden, to reach the reduction shared period, sharing efficiency is improved, saves Storage quantity, the purpose to guarantee data security.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, embodiment described in this description belongs to alternative embodiment, and related actions and modules is not necessarily of the invention It is necessary.
Above-described embodiment can be realized wholly or partly by software, hardware, firmware or any other combination.When When using software realization, above-described embodiment can be realized entirely or partly in the form of a computer program product.The computer Program product includes one or more computer instructions.When loading or execute on computers the computer program instructions, all Or partly generate the process or function being somebody's turn to do according to the embodiment of the present application.The computer can be general purpose computer, dedicated computing Machine, computer network or other programmable devices.The computer instruction may be stored in a computer readable storage medium, Or transmitted from a computer readable storage medium to another computer readable storage medium, for example, the computer instruction Wired (such as infrared, wireless, microwave etc.) mode can be passed through from a web-site, computer, server or data center It is transmitted to another web-site, computer, server or data center.The computer readable storage medium can be meter Any usable medium that calculation machine can access either includes server, the data center etc. of one or more usable medium set Data storage device.The usable medium can be magnetic medium (for example, floppy disk, hard disk, tape), optical medium (for example, DVD), Or semiconductor medium.Semiconductor medium can be solid state hard disk.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed Scope of the present application.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, reference can be made to the related descriptions of other embodiments.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided by the present invention, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the present invention Portion or part steps.And storage medium above-mentioned include: USB flash disk, mobile hard disk, read-only memory (read-only memory, ROM), random access memory (random access memory, RAM), magnetic or disk etc. are various can store program The medium of code.
The present invention be referring to the embodiment of the present invention method, apparatus (equipment) and computer program product flow chart with/ Or block diagram describes.It should be understood that each process that can be realized by computer program instructions in flowchart and/or the block diagram and/ Or the combination of the process and/or box in box and flowchart and/or the block diagram.It can provide these computer program instructions To general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices processor to generate one A machine so that by the instruction that the processor of computer or other programmable data processing devices executes generate for realizing The device for the function of being specified in one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (10)

1. a kind of mobile payment control method of the agricultural trade system based on e-commerce, which is characterized in that the described method includes:
Obtain the pressure data of the pressure sensor of tracing terminal;
Judge whether the pressure data is less than preset pressure threshold value, if so, triggering mobile payment transaction operation, otherwise, temporarily Stop mobile payment transaction and prompts the user terminal.
2. the method according to claim 1, wherein the mobile payment transaction operates, which comprises
Block is generated using the transaction data of the mobile payment of acquisition, and the block is broadcasted other all to block chain Node carries out common recognition verification;
If verification passes through, the block is added in the block chain of itself storage, and requests the user terminal confirmation payment.
3. according to the method described in claim 2, it is characterized in that, if the verification passes through, which comprises
When the block is greater than in advance by the ratio that the number of nodes that other nodes verification of the block chain passes through accounts for node total number If when threshold value, indicating that verification passes through.
4. according to the method described in claim 2, it is characterized in that, the method also includes:
The block chain is divided into multiple block subchains;
It requests to synchronize to the node of each block subchain, to obtain the newest block in each block subchain.
5. according to the method described in claim 3, it is characterized in that, the method also includes:
If receiving at least two newest blocks, at least two newest block is respectively by the different block subchain nodes It sends, and a corresponding upper newest block is identical, the change time in at least two newest block is also identical, then using public Key verifies the intracorporal digital signature of block of described at least two newest blocks, obtains corresponding at least two most new districts Block, and Hash transformation is carried out according to the block information in each newest block respectively, the sequence ascending according to hash value will Corresponding newest block is successively updated to the newest block stored on block chain.
6. method according to claim 1-5, which is characterized in that the transaction data generation area of the mobile payment Block, which comprises
After the pressure data to be attached to the transaction data of the mobile payment of acquisition, as target transaction data;
Hash transformation is carried out to the target transaction data, obtains the summary data of target transaction data;
It is real to the summary data of the target transaction data with the private key of the corresponding public and private key centering of the target transaction data Digital signature is applied, the digital signature of the target transaction data is obtained;
By the summary data of the digital signature of the target transaction data and a upper block, the abstract of the target transaction data Data and the target transaction data are packaged into block.
7. according to the method described in claim 6, it is characterized in that, the method also includes:
User terminal is received to the inquiry request of the target transaction data;
The corresponding target transaction data of the inquiry request are inquired from the block chain that receiving node stores, and by the mesh Mark transaction data is returned to the user terminal.
8. a kind of agricultural trade system characterized by comprising
Receiving module obtains the pressure data of the pressure sensor of tracing terminal;
Processing module, for judging whether the pressure data is less than preset pressure threshold value, if so, triggering mobile payment transaction Otherwise operation suspends mobile payment transaction and prompts the user terminal.
9. a kind of agricultural trade equipment characterized by comprising
Communication bus, for realizing the connection communication between processor and memory;
Memory, for storing computer program;
Processor, for executing the computer program to realize following steps:
Obtain the pressure data of the pressure sensor of tracing terminal;
Judge whether the pressure data is less than preset pressure threshold value, if so, triggering mobile payment transaction operation, otherwise, temporarily Stop mobile payment transaction and prompts the user terminal.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The method according to claim 1 to 7 is realized when being executed by processor.
CN201811206438.XA 2018-10-17 2018-10-17 The mobile payment control method and agricultural trade system of agricultural trade system based on e-commerce Pending CN109410084A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811206438.XA CN109410084A (en) 2018-10-17 2018-10-17 The mobile payment control method and agricultural trade system of agricultural trade system based on e-commerce

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811206438.XA CN109410084A (en) 2018-10-17 2018-10-17 The mobile payment control method and agricultural trade system of agricultural trade system based on e-commerce

Publications (1)

Publication Number Publication Date
CN109410084A true CN109410084A (en) 2019-03-01

Family

ID=65468229

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811206438.XA Pending CN109410084A (en) 2018-10-17 2018-10-17 The mobile payment control method and agricultural trade system of agricultural trade system based on e-commerce

Country Status (1)

Country Link
CN (1) CN109410084A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109993628A (en) * 2019-03-05 2019-07-09 浙江牧猪人智慧农业科技有限公司 A kind of plantation product, cultivation product supply and demand management system and the method for the multiterminal interconnection based on block chain
CN112883068A (en) * 2021-04-30 2021-06-01 支付宝(杭州)信息技术有限公司 Block chain transaction execution method, block chain node and control device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106971342A (en) * 2017-03-29 2017-07-21 宁夏凯速德科技有限公司 Method of commerce and system based on block chain technology in the e-commerce platform of decentralization
CN107480978A (en) * 2017-08-04 2017-12-15 现在(北京)支付股份有限公司 Based on block chain technology for mode of payment
CN108090763A (en) * 2017-12-05 2018-05-29 河南省视博电子股份有限公司 It is a kind of can on-line payment and the intelligent electronic-scale and method of commerce traced to the source
CN108389130A (en) * 2018-03-02 2018-08-10 合肥学院 A kind of more trade mode alliances chain
US20180240114A1 (en) * 2017-02-22 2018-08-23 Alibaba Group Holding Limited Transaction verification in a consensus network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180240114A1 (en) * 2017-02-22 2018-08-23 Alibaba Group Holding Limited Transaction verification in a consensus network
CN106971342A (en) * 2017-03-29 2017-07-21 宁夏凯速德科技有限公司 Method of commerce and system based on block chain technology in the e-commerce platform of decentralization
CN107480978A (en) * 2017-08-04 2017-12-15 现在(北京)支付股份有限公司 Based on block chain technology for mode of payment
CN108090763A (en) * 2017-12-05 2018-05-29 河南省视博电子股份有限公司 It is a kind of can on-line payment and the intelligent electronic-scale and method of commerce traced to the source
CN108389130A (en) * 2018-03-02 2018-08-10 合肥学院 A kind of more trade mode alliances chain

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109993628A (en) * 2019-03-05 2019-07-09 浙江牧猪人智慧农业科技有限公司 A kind of plantation product, cultivation product supply and demand management system and the method for the multiterminal interconnection based on block chain
CN109993628B (en) * 2019-03-05 2021-11-30 浙江牧猪人智慧农业科技有限公司 Multi-end interconnected planting product and cultivation product supply and demand management system and method based on block chain
CN112883068A (en) * 2021-04-30 2021-06-01 支付宝(杭州)信息技术有限公司 Block chain transaction execution method, block chain node and control device

Similar Documents

Publication Publication Date Title
TWI734949B (en) Financing loan method and device
US10937111B2 (en) Managing energy purchase agreements on a blockchain
Kranz et al. Blockchain token sale: economic and technological foundations
US20180130130A1 (en) Autonomous peer-to-peer energy networks operating on a blockchain
CN108805707A (en) Works copyright revenue distribution method and device based on block chain
JP2022536447A (en) Systems, methods and storage media for managing digital liquidity tokens on a distributed ledger platform
WO2020118859A1 (en) Decentralized chip research and development transaction data storage method and system
Koirala et al. A supply chain model with blockchain-enabled reverse auction bidding process for transparency and efficiency
EP3736760A1 (en) Automated transaction protocol linking renewable energy generation assets to energy power consumers applying distributed digital ledger technology and iot energy meters
CN109410084A (en) The mobile payment control method and agricultural trade system of agricultural trade system based on e-commerce
CN116385164A (en) Block chain-based carbon asset transaction system and method
US10951543B1 (en) System and method for controlling access to resources in a multicomputer network
CN109684869A (en) A kind of decentralization chip research and development method of commerce and system
KR20190138927A (en) A Cryptographic Liquidity Borrowing Method Using Block Chain
Martins et al. Workforce planning and financing on a production/capital discrete‐time model
CN111598693A (en) Block chain-based account management method, system and device
JP2015531504A (en) System and method for risk management transactions using bins
CN110610424A (en) Account system, service terminal, transaction management method and system, device and medium
KR20200077227A (en) The dealing method of real estate based on blockchain
KR102256377B1 (en) Automatic transfer method of virtual currency based on blockchain and server thereof
CN112036850A (en) Digital asset data access method and device and digital asset transaction system
Hou et al. An on‐chain trading model of real world asset backed digital assets
KR101807760B1 (en) Information sharing server and method for sharing information using the same
US20230094849A1 (en) Distributed cryptographic network integrated with crowd-sourced database
Tang Research on Information Sharing Among Supply Chain Financial Enterprises Based on Blockchain

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: 20190301