CN112434990A - Express cabinet using method and device based on block chain, server and storage medium - Google Patents

Express cabinet using method and device based on block chain, server and storage medium Download PDF

Info

Publication number
CN112434990A
CN112434990A CN202011308654.2A CN202011308654A CN112434990A CN 112434990 A CN112434990 A CN 112434990A CN 202011308654 A CN202011308654 A CN 202011308654A CN 112434990 A CN112434990 A CN 112434990A
Authority
CN
China
Prior art keywords
cabinet
block chain
express
generation
user
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
CN202011308654.2A
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.)
Shenzhen Fengchao Network Technology Co ltd
Original Assignee
Shenzhen Fengchao Network 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 Shenzhen Fengchao Network Technology Co ltd filed Critical Shenzhen Fengchao Network Technology Co ltd
Priority to CN202011308654.2A priority Critical patent/CN112434990A/en
Publication of CN112434990A publication Critical patent/CN112434990A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/083Shipping
    • G06Q10/0836Recipient pick-ups
    • 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/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/36Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes
    • G06Q20/367Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes involving electronic purses or money safes
    • G06Q20/3678Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes involving electronic purses or money safes e-cash details, e.g. blinded, divisible or detecting double spending
    • 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/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0207Discounts or incentives, e.g. coupons or rebates
    • G06Q30/0224Discounts or incentives, e.g. coupons or rebates based on user history

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Engineering & Computer Science (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Marketing (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Game Theory and Decision Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Resources & Organizations (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention discloses an express cabinet using method, an express cabinet using device, a server and a storage medium based on a block chain, wherein the method comprises the following steps: building a block chain network based on a plurality of express delivery cabinets; based on a block chain network, a plurality of express cabinets run a mining program within preset time; each express cabinet obtains a first generation cabinet coin according to the operation result of the mine digging program of each express cabinet; generating a second generation cabinet currency based on the first generation cabinet currency; determining the use times of the express delivery cabinet by a user; allocating a second generation of cabinet currency to the user based on the number of uses; and storing the second generation of the counter currency quantity allocated by the user to the blockchain network. According to the embodiment of the invention, the natural distributed express cabinet is used for constructing the block chain network for mining, so that the express cabinet can be used in idle time, the development of normal business of the express cabinet is not influenced, the waste of express cabinet resources is avoided, and the utilization rate of the express cabinet is increased; and impel the user to use the express delivery cabinet more actively, be favorable to the popularization and application of express delivery cabinet.

Description

Express cabinet using method and device based on block chain, server and storage medium
Technical Field
The embodiment of the invention relates to the technical field of express cabinets, in particular to a block chain-based express cabinet using method, a block chain-based express cabinet using device, a block chain-based express cabinet using server and a storage medium.
Background
Online shopping is a consumption mode which is more and more common in people's life, and along with the popularity of online shopping, express packages generated by online shopping are more and more.
Express delivery cabinet is one of the best solutions of express delivery parcel one kilometer last before delivering, and in addition, express delivery cabinet has also brought very big facility for people's posting, has all installed a plurality of express delivery cabinet in many districts at present. However, the current express cabinet is only used for depositing packages and has a single function; when the express cabinet is not used, the express cabinet can only be idle, and the waste of resources is caused.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for using an express cabinet based on a block chain, a server, and a storage medium, so as to improve the utilization rate of the express cabinet.
In a first aspect, an embodiment of the present invention provides a method for using an express delivery cabinet based on a block chain, including:
building a block chain network based on a plurality of express delivery cabinets;
based on the block chain network, the express delivery cabinets run a mine digging program within preset time;
each express cabinet obtains a first generation cabinet coin according to the operation result of the mine digging program of each express cabinet;
generating a second generation cabinet currency based on the first generation cabinet currency;
determining the use times of the express delivery cabinet by a user;
allocating a second generation of cabinet currency to the user based on the number of uses;
and storing the second generation of counter currency quantity allocated by the user to the block chain network.
Further, constructing a block chain network based on a plurality of express delivery cabinets comprises:
constructing a block chain mine pool based on a plurality of express delivery cabinets in a preset area;
and constructing a block chain network based on a plurality of block chain mine pools.
Further, based on the block chain network, the running of the mining program by the express delivery cabinets within the preset time includes:
and based on the block chain network, a plurality of block chain mine pools run an ore digging program within preset time.
Further, each express delivery cabinet obtains the first generation cabinet coin according to the operation result of the self ore digging program and comprises:
each block chain mine pool obtains a first generation of cabinet money according to the operation result of the mine digging program of each block chain mine pool;
and each block chain mine pool distributes the acquired first cabinet currency in a plurality of express delivery cabinets included in the block chain mine pool.
Further, after each express delivery cabinet obtains the first generation cabinet coin according to the operation result of the self ore digging program, the method further comprises the following steps:
generating an express cabinet accounting address in the block chain network;
and recording the number of the first generation cabinet coins obtained by each express cabinet to the corresponding account keeping address of the express cabinet.
Further, assigning a second cabinet currency to the user based on the number of uses includes:
determining a user type of the user;
determining a corresponding cabinet currency distribution rule according to the user type;
and distributing a second generation of cabinet currency to the user according to the using times and the cabinet currency distribution rule.
Further, storing the user-assigned second generation bin currency quantity to the blockchain network comprises:
acquiring user information;
generating a user block chain address in the block chain network according to the user information;
and recording the number of the second generation counter coins allocated by the user to the user block chain address.
In a second aspect, an embodiment of the present invention provides an express delivery cabinet using apparatus based on a block chain, including:
the block chain building module is used for building a block chain network based on a plurality of express cabinets;
the ore digging module is used for operating an ore digging program in a preset time by the express cabinets based on the block chain network;
the cabinet coin acquisition module is used for acquiring a first generation of cabinet coins by each express cabinet according to the operation result of the mine digging program of each express cabinet;
the second generation cabinet currency generating module is used for generating a second generation cabinet currency based on the first generation cabinet currency;
the using frequency determining module is used for determining the using frequency of the express delivery cabinet by the user;
the cabinet currency distribution module is used for distributing second-generation cabinet currency to the user based on the using times;
and the data storage module is used for storing the second generation of the counter coins distributed by the user to the block chain network.
In a third aspect, an embodiment of the present invention provides a server, including:
one or more processors;
a storage device for storing one or more programs,
when the one or at least one program is executed by the one or more processors, the one or more processors implement the express cabinet using method based on the block chain provided by any embodiment of the invention.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a method for using a block chain-based express delivery cabinet according to any embodiment of the present invention.
According to the express cabinet using method based on the block chain, provided by the embodiment of the invention, the block chain network is constructed by the naturally distributed express cabinets to dig the ore, and the cabinet coins generated by the ore digging of the express cabinets are distributed to the users according to the using times of the express cabinets by the users, so that the express cabinets can do things in idle time, the development of normal services of the express cabinets is not influenced, the waste of express cabinet resources is avoided, and the utilization rate of the express cabinets is increased; and impel the user to use the express delivery cabinet more actively, be favorable to the popularization and application of express delivery cabinet.
Drawings
Fig. 1 is a schematic flow chart of a method for using an express delivery cabinet based on a block chain according to a first embodiment of the present invention;
fig. 2 is a schematic flow chart of a method for using an express delivery cabinet based on a block chain according to a second embodiment of the present invention;
fig. 3 is a schematic structural view of an express delivery cabinet using device based on a block chain according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a server according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the steps as a sequential process, many of the steps can be performed in parallel, concurrently or simultaneously. In addition, the order of the steps may be rearranged. A process may be terminated when its operations are completed, but may have additional steps not included in the figure. A process may correspond to a method, a function, a procedure, a subroutine, a subprogram, etc.
Furthermore, the terms "first," "second," and the like may be used herein to describe various orientations, actions, steps, elements, or the like, but the orientations, actions, steps, or elements are not limited by these terms. These terms are only used to distinguish one direction, action, step or element from another direction, action, step or element. The terms "first", "second", etc. are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present invention, "plurality", "batch" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Example one
Fig. 1 is a schematic flow chart of a method for using an express delivery cabinet based on a block chain according to a first embodiment of the present invention. As shown in fig. 1, a method for using an express delivery cabinet based on a block chain according to a first embodiment of the present invention includes:
and S110, constructing a block chain network based on a plurality of express cabinets.
Specifically, a large number of express cabinets distributed nationwide can be regarded as natural distributed nodes, and a good foundation for building a block chain network is provided. In this embodiment, the block chain network may be constructed by a plurality of express cabinets in a preset area, or may be constructed by a certain number of express cabinets. If 5 express delivery cabinets are arranged in one cell, the 5 express delivery cabinets can form a block chain network. Each express cabinet in the block chain network is a mine digging node.
And S120, based on the block chain network, the plurality of express delivery cabinets run a mine digging program within preset time.
Specifically, the preset time refers to the idle time of the express delivery cabinet or the time period with low utilization rate of the express delivery cabinet, for example, the time period of 0:00-6:00 every day, people are at rest, and few people use the express delivery cabinet. And in a preset time, the express cabinet in the block chain network runs a mine digging program to perform mine digging operation. The ore digging program is preset in the express cabinet system. The express cabinet runs the mining program, namely, the calculation operation with certain complexity is executed, and the new transaction is packaged into a new block to be uploaded to the block chain. The mine digging program is operated in the preset time with the lower utilization rate of the express cabinet, so that the main service (parcel deposit service) of the express cabinet is not influenced, and the use of a user on the express cabinet is not influenced.
S130, each express cabinet obtains a first generation cabinet coin according to the operation result of the mine digging program of each express cabinet.
Specifically, in the process of operating the mine digging program, when the express cabinet successfully packs a new block, the express cabinet is equivalent to the mine digging success, a token can be obtained as a reward, and a certain number of first generation cabinet coins can be obtained.
In this embodiment, the express delivery cabinet adopts a POW (Proof Of Work) mechanism to dig a mine. The more powerful the express delivery cabinet is calculated, the more times the ore digging program is operated, the greater the probability of contending for the bookkeeping right is, and the more probable the first generation cabinet coin is obtained. And broadcasting the packaging information to the whole block chain network after a certain express cabinet successfully digs the mine, and stopping digging the mine by other express cabinets after verifying the broadcasted hash, and starting digging a new mine based on the block chain network.
Optionally, in order to ensure the security Of the blockchain network and improve the cost Of 51% attack, the express delivery cabinet adopts a POW and POS (Proof Of authority) mechanism to dig a mine. On the one hand, the express delivery cabinet digs the ore through the POW mechanism and obtains the first generation cabinet coin. On the other hand, in order to encourage the first-generation counter currency holder to hold for a long time, the price of the first-generation counter currency is increasing, and a part of the first-generation counter currency is dug by the POS mechanism to be produced.
And S140, generating a second generation of cabinet currency based on the first generation of cabinet currency.
Specifically, after the express cabinet acquires the first-generation cabinet currency, a second-generation cabinet currency is generated on the basis of the first-generation cabinet currency, and the second-generation cabinet currency is a token issued to a user using the express cabinet. A switching relationship may be set between the first cabinet currency and the second cabinet currency, for example, 1 first cabinet currency represents 10 second cabinet currencies.
Alternatively, the number of second generation cabinet coins may be fixed, for example, 10 second generation cabinet coins are generated per day.
S150, determining the use times of the express delivery cabinet by the user.
In this embodiment, the users include couriers and general consumers. The number of times that the user uses the express delivery cabinet may be the total number of times that the user used the express delivery cabinet for the first time until the express delivery cabinet is currently used. Preferably, the number of times of use of the express delivery cabinet by the user is the number of times of use of the express delivery cabinet by the user within a certain time range, for example, the number of times of use of the express delivery cabinet by the user within 3 months. Therefore, the number of times of use of each user can be periodically reset, and the pressure of the express cabinet for storing data is reduced.
And S160, distributing the second generation cabinet currency to the user based on the using times.
Specifically, when the number of times of use of the express delivery cabinet by the user is larger, more second-generation cabinet coins are distributed to the user. For example, if the specified number of uses reaches 10 times, 1 second generation of counter currency is allocated; when the number of uses reaches 20 times, 2 second generation counter coins are distributed.
Optionally, the second-generation cabinet currency may be allocated to the user based on the number of times of use, and when the number of times of use of the express delivery cabinet by the user is greater, the probability that the user acquires the second-generation cabinet currency is increased. For example, if the specified number of uses reaches 10 times, 1 second-generation cabinet currency is acquired with a 50% probability; when the number of times of use reaches 20 times, 1 second generation of cabinet currency is acquired with a 60% probability.
Optionally, the users may be classified, different user types correspond to different cabinet currency distribution rules, and the second-generation cabinet currency is distributed to the users according to the number of usage times and the cabinet currency distribution rule corresponding to the users. Generally, compared with common consumers, the courier uses the express cabinet more times, so that the user can specify that 1 second-generation cabinet coin is distributed when the user type is the courier and the use times reach 10 times; when the user type is a common consumer and the number of use times reaches 5 times, 1 second generation counter currency is allocated.
Through according to using the number of times to distribute second generation cabinet coin for the user, can impel the user to use the express delivery cabinet more actively, improve the rate of utilization and the exposure rate of express delivery cabinet, and then can bring additional income such as advertisement for the express delivery cabinet.
And S170, storing the second generation of the counter currency number distributed by the user to the block chain network.
Specifically, after a user obtains a certain number of second-generation cabinet coins, the information such as the number of the second-generation cabinet coins and the obtaining time of the user is stored in the block chain network, so that the safety and the stability of data are guaranteed, and the rights and interests of the user are guaranteed.
According to the express cabinet using method based on the block chain, provided by the embodiment of the invention, the block chain network is constructed by the naturally distributed express cabinets to dig the ore, and the cabinet coins generated by the ore digging of the express cabinets are distributed to the users according to the using times of the express cabinets by the users, so that the express cabinets can do things in idle time, the development of normal services of the express cabinets is not influenced, the waste of express cabinet resources is avoided, and the utilization rate of the express cabinets is increased; and impel the user to use the express delivery cabinet more actively, be favorable to the popularization and application of express delivery cabinet.
Example two
Fig. 2 is a schematic flow chart of a method for using an express delivery cabinet based on a block chain according to a second embodiment of the present invention, which is a further refinement of the second embodiment. As shown in fig. 2, a method for using an express delivery cabinet based on a block chain according to a second embodiment of the present invention includes:
s201, building a block chain mine pool based on a plurality of express delivery cabinets in a preset area.
Specifically, the block chain mine pool is formed by combining calculated forces of a plurality of express delivery cabinets to form a block chain node (mine digging node) with stronger calculated force. The preset area can be divided according to actual terrain or communities, and can also be divided according to the number of express cabinets. For example, 4 express delivery cabinets are arranged in the first cell, and 5 express delivery cabinets are arranged in the second cell, so that the first mine pool can be directly constructed by the 4 express delivery cabinets of the first cell, and the second mine pool can be constructed by the 5 express delivery cabinets of the second cell. The two cells can also be used as a preset area, and the 9 express delivery cabinets are used for constructing the block chain mine pool.
S202, building a block chain network based on the block chain mine pools.
Specifically, a block chain network is constructed by a plurality of block chain mine pools, the block chain network is a distributed decentralized network, and each block chain mine pool is an excavation node.
S203, based on the block chain network, a plurality of block chain mine pools run an ore digging program within preset time.
Specifically, in a block chain network constructed by a plurality of block chain mine pools, each block chain mine pool serves as an ore digging node, and an ore digging program is operated for multiple times within preset time to obtain a first generation of cabinet money.
And S204, each block chain mine pool obtains the first generation of cabinet money according to the operation result of the mine digging program of each block chain mine pool.
Specifically, after the block chain ore pond is successfully dug, the block chain ore pond is taken as a whole, and a certain number of first generation of the cabinet coins can be obtained.
S205, distributing the acquired first cabinet currency in a plurality of express delivery cabinets included in each block chain mine pool by each block chain mine pool.
Specifically, the first cabinet currency obtained by the block chain mine pool is finally distributed to each express delivery cabinet. In this embodiment, the block chain mine pool allocates the first generation of the cabinet coins according to the calculated power ratio of each express cabinet, that is, the number of the first generation of the cabinet coins allocated to the express cabinet providing the larger calculated power is larger, and the number of the first generation of the cabinet coins allocated to the express cabinet providing the smaller calculated power is smaller.
According to the traditional mode of digging a mine by forming a mine digging node through a single express cabinet, along with the increase of the number of mine digging nodes and the jump of computational power, the probability of digging the mine by the single express cabinet is lower and lower. In this embodiment, a plurality of express delivery cabinets are combined to construct a block chain mine pool with stronger computing power, so that the probability of success in mining in the block chain mine pool is increased, and further, the probability of obtaining the first generation cabinet money by a single express delivery cabinet is increased.
And S206, generating an express cabinet accounting address in the block chain network.
And S207, recording the number of the first generation cabinet coins obtained by each express cabinet to a corresponding account keeping address of the express cabinet.
Specifically, the express cabinet accounting address is an accounting address used for recording transaction details of a first cabinet currency of the express cabinet in the blockchain network. Generally, each express cabinet in the block chain network has its corresponding cabinet billing address. When the express cabinet acquires a certain number of first-generation cabinet coins, the acquisition time, the number of the first-generation cabinet coins and the source mode of the first-generation cabinet coins can be recorded to the corresponding account keeping address of the express cabinet. In this way, each transaction detail in the blockchain network is recorded and is publicly transparent, so that the transaction is more secure.
And S208, generating a second generation of cabinet currency based on the first generation of cabinet currency.
S209, determining the use times of the express delivery cabinet by the user.
And S210, distributing the second generation of cabinet currency to the user based on the using times.
And S211, acquiring user information.
Specifically, the user information is information that can distinguish the user identity, such as a user id and a user mobile phone number.
S212, generating a user block chain address in the block chain network according to the user information.
And S213, recording the number of the second generation of cabinet coins distributed by the user to the user block chain address.
Specifically, the user blockchain address is an accounting address used for recording transaction details of the second generation cashier's money of the user in the blockchain network. When the user acquires the second-generation cabinet currency, the acquisition time, the number of the second-generation cabinet currencies and the source mode of the second-generation cabinet currencies are recorded to the corresponding user block chain addresses.
In the traditional point mode in the prior art, user points are stored in a centralized server, point data can be modified at will, and the safety is not high. In this embodiment, the number of second-generation cabinet coins allocated by the user is stored in the blockchain network, and the information is transparent and unchangeable, so that the security is strong.
The express cabinet using method based on the block chain provided by the embodiment of the invention utilizes the naturally distributed express cabinets to construct the block chain network for mining, so that the express cabinet can do things at idle time, the development of normal business of the express cabinet is not influenced, the waste of express cabinet resources is avoided, and the utilization rate of the express cabinet is increased. In addition, the second generation cabinet money is distributed to the user according to the use times, so that the user can be prompted to use the express cabinet more actively, the utilization rate and the exposure rate of the express cabinet are improved, and further additional benefits such as advertisements can be brought to the express cabinet.
EXAMPLE III
Fig. 3 is a schematic structural diagram of an express delivery cabinet using device based on a block chain according to a third embodiment of the present invention. The express delivery cabinet using device based on the block chain provided by the embodiment of the invention can realize the express delivery cabinet using method based on the block chain provided by any embodiment of the invention, and has corresponding functional structures and beneficial effects of the realizing method.
As shown in fig. 3, an express delivery cabinet using device based on a block chain according to a third embodiment of the present invention includes: the system comprises a block chain construction module 310, an ore digging module 320, a cabinet coin acquisition module 330, a second generation cabinet coin generation module 340, a use number determination module 350, a cabinet coin distribution module 360 and a data storage module 370, wherein:
the block chain building module 310 is configured to build a block chain network based on a plurality of express delivery cabinets;
the mining module 320 is used for operating a mining program in a preset time by the express delivery cabinets based on the block chain network;
the cabinet coin acquisition module 330 is used for acquiring a first generation of cabinet coins by each express cabinet according to the operation result of the mine digging program of each express cabinet;
the second generation cabinet currency generating module 340 is used for generating a second generation cabinet currency based on the first generation cabinet currency;
the using number determining module 350 is configured to determine the using number of the express delivery cabinet by the user;
the cabinet currency distribution module 360 is used for distributing a second-generation cabinet currency to the user based on the using times;
the data storage module 370 is used for storing the second generation bank note number allocated by the user to the blockchain network.
Further, the blockchain building module 310 includes:
the mine pool building unit is used for building a block chain mine pool based on a plurality of express cabinets in a preset area;
and the block chain building unit is used for building a block chain network based on the plurality of block chain mine pools.
Further, the ore mining module 320 is specifically configured to:
and based on the block chain network, a plurality of block chain mine pools run an ore digging program within preset time.
Further, the cabinet money acquiring module 330 includes:
the first cabinet coin acquisition unit is used for acquiring a first generation of cabinet coins by each block chain mine pool according to the operation result of the mine digging program of each block chain mine pool;
and the first cabinet coin distribution unit is used for distributing the acquired first cabinet coins in a plurality of express delivery cabinets included in each block chain mine pool.
Further, express delivery cabinet using device based on block chain still includes:
the express cabinet bookkeeping address generating module is used for generating a express cabinet bookkeeping address in the block chain network;
and the first cabinet currency recording module is used for recording the number of the first generation cabinet currency obtained by each express cabinet to the corresponding account keeping address of the express cabinet.
Further, the cabinet money distribution module 360 includes:
a user type determining unit, configured to determine a user type of the user;
the cabinet currency distribution rule determining unit is used for determining a corresponding cabinet currency distribution rule according to the user type;
and the second cabinet currency distribution unit is used for distributing second-generation cabinet currencies to the users according to the use times and the cabinet currency distribution rules. Chest coin dispensing module further, the data storage module 370 includes:
a user information acquisition unit for acquiring user information;
a user block chain address generating unit, configured to generate a user block chain address in the block chain network according to the user information;
and the second cabinet currency recording unit is used for recording the number of the second generation cabinet currencies distributed by the user to the user block chain address.
The express cabinet using device based on the block chain provided by the third embodiment of the invention is provided with the block chain building module, the mine digging module and the cabinet coin obtaining module, and the mine digging is carried out by utilizing the naturally distributed express cabinet building block chain network, so that the express cabinet can be used in idle time, the development of normal business of the express cabinet is not influenced, the waste of express cabinet resources is avoided, and the utilization rate of the express cabinet is increased.
Example four
Fig. 4 is a schematic structural diagram of a server according to a fourth embodiment of the present invention. FIG. 4 illustrates a block diagram of an exemplary server 412 suitable for use in implementing embodiments of the present invention. The server 412 shown in fig. 4 is only an example and should not bring any limitations to the function and scope of use of the embodiments of the present invention.
As shown in FIG. 4, server 412 is in the form of a general purpose server. Components of server 412 may include, but are not limited to: one or more processors 416, a storage device 428, and a bus 418 that couples the various system components including the storage device 428 and the processors 416.
Bus 418 represents one or more of any of several types of bus structures, including a memory device bus or memory device controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Server 412 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by server 412 and includes both volatile and nonvolatile media, removable and non-removable media.
Storage 428 may include computer system readable media in the form of volatile Memory, such as Random Access Memory (RAM) 430 and/or cache Memory 432. The server 412 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 434 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, commonly referred to as a "hard drive"). Although not shown in FIG. 4, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk such as a Compact disk Read-Only Memory (CD-ROM), Digital Video disk Read-Only Memory (DVD-ROM) or other optical media may be provided. In these cases, each drive may be connected to bus 418 by one or more data media interfaces. Storage 428 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 440 having a set (at least one) of program modules 442 may be stored, for instance, in storage 428, such program modules 442 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. The program modules 442 generally perform the functions and/or methodologies of the described embodiments of the invention.
The server 412 may also communicate with one or more external devices 414 (e.g., keyboard, pointing terminal, display 424, etc.), with one or more terminals that enable a user to interact with the server 412, and/or with any terminals (e.g., network card, modem, etc.) that enable the server 412 to communicate with one or more other computing terminals. Such communication may occur via input/output (I/O) interfaces 422. Further, server 412 may communicate with one or more networks (e.g., a Local Area Network (LAN), Wide Area Network (WAN), and/or a public Network, such as the Internet) via Network adapter 420. As shown in FIG. 4, network adapter 420 communicates with the other modules of server 412 via bus 418. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the server 412, including but not limited to: microcode, end drives, Redundant processors, external disk drive Arrays, RAID (Redundant Arrays of Independent Disks) systems, tape drives, and data backup storage systems, among others.
The processor 416 executes various functional applications and data processing by running programs stored in the storage device 428, for example, implementing a method for using the block chain-based express delivery cabinet provided by any embodiment of the present invention, where the method may include:
building a block chain network based on a plurality of express delivery cabinets;
based on the block chain network, the express delivery cabinets run a mine digging program within preset time;
each express cabinet obtains a first generation cabinet coin according to the operation result of the mine digging program of each express cabinet;
generating a second generation cabinet currency based on the first generation cabinet currency;
determining the use times of the express delivery cabinet by a user;
allocating a second generation of cabinet currency to the user based on the number of uses;
and storing the second generation of counter currency quantity allocated by the user to the block chain network.
EXAMPLE five
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a method for using a block chain-based express delivery cabinet, where the method includes:
building a block chain network based on a plurality of express delivery cabinets;
based on the block chain network, the express delivery cabinets run a mine digging program within preset time;
each express cabinet obtains a first generation cabinet coin according to the operation result of the mine digging program of each express cabinet;
generating a second generation cabinet currency based on the first generation cabinet currency;
determining the use times of the express delivery cabinet by a user;
allocating a second generation of cabinet currency to the user based on the number of uses;
and storing the second generation of counter currency quantity allocated by the user to the block chain network.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, or the like, as well as conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or terminal. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. An express delivery cabinet using method based on a block chain is characterized by comprising the following steps:
building a block chain network based on a plurality of express delivery cabinets;
based on the block chain network, the express delivery cabinets run a mine digging program within preset time;
each express cabinet obtains a first generation cabinet coin according to the operation result of the mine digging program of each express cabinet;
generating a second generation cabinet currency based on the first generation cabinet currency;
determining the use times of the express delivery cabinet by a user;
allocating a second generation of cabinet currency to the user based on the number of uses;
and storing the second generation of counter currency quantity allocated by the user to the block chain network.
2. The method of claim 1, wherein building a blockchain network based on a plurality of courier cabinets comprises:
constructing a block chain mine pool based on a plurality of express delivery cabinets in a preset area;
and constructing a block chain network based on a plurality of block chain mine pools.
3. The method of claim 2, wherein running a mine excavation program for a preset time by the plurality of express cabinets based on the blockchain network comprises:
and based on the block chain network, a plurality of block chain mine pools run an ore digging program within preset time.
4. The method of claim 3, wherein obtaining the first cabinet currency for each courier cabinet based on the operation result of the self-mining program comprises:
each block chain mine pool obtains a first generation of cabinet money according to the operation result of the mine digging program of each block chain mine pool;
and each block chain mine pool distributes the acquired first cabinet currency in a plurality of express delivery cabinets included in the block chain mine pool.
5. The method according to claim 1 or 3, wherein after each express delivery cabinet obtains the first cabinet currency according to the operation result of the self-mining program, the method further comprises the following steps:
generating an express cabinet accounting address in the block chain network;
and recording the number of the first generation cabinet coins obtained by each express cabinet to the corresponding account keeping address of the express cabinet.
6. The method of claim 1, wherein assigning a second cabinet currency to the user based on the number of uses comprises:
determining a user type of the user;
determining a corresponding cabinet currency distribution rule according to the user type;
and distributing a second generation of cabinet currency to the user according to the using times and the cabinet currency distribution rule.
7. The method of claim 1, wherein storing the user-assigned second bin currency amount to the blockchain network comprises:
acquiring user information;
generating a user block chain address in the block chain network according to the user information;
and recording the number of the second generation counter coins allocated by the user to the user block chain address.
8. The utility model provides an express delivery cabinet operative installations based on block chain which characterized in that includes:
the block chain building module is used for building a block chain network based on a plurality of express cabinets;
the ore digging module is used for operating an ore digging program in a preset time by the express cabinets based on the block chain network;
the cabinet coin acquisition module is used for acquiring a first generation of cabinet coins by each express cabinet according to the operation result of the mine digging program of each express cabinet;
the second generation cabinet currency generating module is used for generating a second generation cabinet currency based on the first generation cabinet currency;
the using frequency determining module is used for determining the using frequency of the express delivery cabinet by the user;
the cabinet currency distribution module is used for distributing second-generation cabinet currency to the user based on the using times;
and the data storage module is used for storing the second generation of the counter coins distributed by the user to the block chain network.
9. A server, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the block chain based courier cabinet usage method of any of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the block chain-based courier cabinet usage method according to any of claims 1-7.
CN202011308654.2A 2020-11-20 2020-11-20 Express cabinet using method and device based on block chain, server and storage medium Pending CN112434990A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011308654.2A CN112434990A (en) 2020-11-20 2020-11-20 Express cabinet using method and device based on block chain, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011308654.2A CN112434990A (en) 2020-11-20 2020-11-20 Express cabinet using method and device based on block chain, server and storage medium

Publications (1)

Publication Number Publication Date
CN112434990A true CN112434990A (en) 2021-03-02

Family

ID=74693046

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011308654.2A Pending CN112434990A (en) 2020-11-20 2020-11-20 Express cabinet using method and device based on block chain, server and storage medium

Country Status (1)

Country Link
CN (1) CN112434990A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109298946A (en) * 2018-10-19 2019-02-01 上海达家迎信息科技有限公司 Digging mine method, cloud platform, device, equipment and medium based on block chain
CN110298610A (en) * 2019-05-05 2019-10-01 江苏一乙生态农业科技有限公司 A kind of Express Logistics block catenary system and its operation method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109298946A (en) * 2018-10-19 2019-02-01 上海达家迎信息科技有限公司 Digging mine method, cloud platform, device, equipment and medium based on block chain
CN110298610A (en) * 2019-05-05 2019-10-01 江苏一乙生态农业科技有限公司 A kind of Express Logistics block catenary system and its operation method

Similar Documents

Publication Publication Date Title
Alzahrani et al. Mobile cloud computing: advantage, disadvantage and open challenge
CN102509237A (en) Credit card repayment reminding method and system as well as third-party credit card repayment reminding platform
CN110633991A (en) Risk identification method and device and electronic equipment
Halden et al. DLT-based equity crowdfunding on the techno-economic feasibility of solar energy investments
CN110008716A (en) Block chain method of commerce and device, electronic equipment, storage medium
CN109298946A (en) Digging mine method, cloud platform, device, equipment and medium based on block chain
US20210295431A1 (en) Asset usage rights token for connected ecosystems
US20220067033A1 (en) Method and apparatus for processing data for a blockchain
CN113034233A (en) Method, apparatus, medium, and program product for allocating resources in a reading application
CN101611381A (en) Load distributing method, load dispersion and load diverting device
CN109639747A (en) Data request processing, inquiry message treatment method, device and equipment
CN109658234A (en) Payment beforehand method for computing data, device, computer equipment and storage medium
CN113032674A (en) Project publishing method, device, equipment and medium
CN112434990A (en) Express cabinet using method and device based on block chain, server and storage medium
Ding et al. Fast identifying redundant security constraints in SCUC in the presence of uncertainties
Maclennan et al. Housing economics—an evolving agenda
CN115293932A (en) Intellectual property payment reminding method and device, electronic equipment and medium
CN111967994B (en) Intelligent contract creating method and device
CN114444120A (en) Financing method and device based on block chain, electronic equipment and storage medium
CN114548963A (en) Payment interaction processing method and device
KR20220147910A (en) Method for providing decentralized finance
CN114363179A (en) Cost optimization method and device for cloud product
CN111612506A (en) Financial resource deduction method and device and electronic equipment
CN111369287A (en) Information processing method, information processing device, computer storage medium and computer equipment
CN108960828B (en) Bill management method, device, server and storage medium based on block chain

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