CN110601955A - Block chain-based e-mail delivery method, device and equipment - Google Patents

Block chain-based e-mail delivery method, device and equipment Download PDF

Info

Publication number
CN110601955A
CN110601955A CN201910843735.3A CN201910843735A CN110601955A CN 110601955 A CN110601955 A CN 110601955A CN 201910843735 A CN201910843735 A CN 201910843735A CN 110601955 A CN110601955 A CN 110601955A
Authority
CN
China
Prior art keywords
mail
delivery
block chain
time
electronic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910843735.3A
Other languages
Chinese (zh)
Other versions
CN110601955B (en
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.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201910843735.3A priority Critical patent/CN110601955B/en
Publication of CN110601955A publication Critical patent/CN110601955A/en
Application granted granted Critical
Publication of CN110601955B publication Critical patent/CN110601955B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/107Computer-aided management of electronic mailing [e-mailing]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/18Commands or executable codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/42Mailbox-related aspects, e.g. synchronisation of mailboxes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Resources & Organizations (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Strategic Management (AREA)
  • Computer Hardware Design (AREA)
  • Data Mining & Analysis (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the specification provides an e-mail delivery method, device and equipment based on a block chain, wherein the method comprises the following steps: the first block chain node receives a mail delivery request sent by the terminal equipment of a sender, and stores the electronic mails to be delivered and delivery time association of the electronic mails, which are included in the mail delivery request, into the block chain; detecting the current time based on the intelligent contract, and determining whether to deliver the electronic mails stored in the block chain according to the current time; wherein the intelligent contract is set to deliver the e-mail when the delivery time of the e-mail is reached.

Description

Block chain-based e-mail delivery method, device and equipment
Technical Field
The present invention relates to the field of blockchain technologies, and in particular, to a method, an apparatus, and a device for delivering an electronic mail based on a blockchain.
Background
Slow-mail post offices, also known as time capsules, which have been on the market in recent years, provide users with a service of sending letters to themselves or others in the future; and the time of delivery of the letter (e.g. a certain day ten years later) is determined by the sender, before the time of delivery of the letter is reached, the letter is mailed in a slow post office and manually maintained by the staff of the slow post office. However, when the number of the letters is large enough, not only a large amount of manpower is needed, but also the risk of missing delivery time exists in manual maintenance, and the confidentiality and the authenticity of letter contents are difficult to be guaranteed; furthermore, when the delivery time of the letter is far from the current time, the slow post office may no longer provide service, and there is a risk that the letter will not be delivered.
Disclosure of Invention
One or more embodiments of the present disclosure are directed to a method, an apparatus, and a device for delivering an email based on a blockchain, which automatically detect a current time based on an intelligent contract deployed in the blockchain, and automatically deliver the email when the delivery time of the email to be delivered is reached without manual intervention, thereby greatly improving the maintenance efficiency of the email and ensuring timely and effective delivery of the email; meanwhile, the authenticity of the electronic mail saved in the block chain and the confidentiality of the non-public mail are ensured based on the non-tampering property of the data of the block chain.
To solve the above technical problem, one or more embodiments of the present specification are implemented as follows:
one or more embodiments of the present specification provide a block chain-based email delivery method, applied to a first block chain node, including:
receiving a mail delivery request sent by a terminal device of a sender, wherein the mail delivery request comprises an electronic mail to be delivered and the delivery time of the electronic mail;
storing the e-mail and the delivery time association into a blockchain;
detecting the current time based on an intelligent contract, and determining whether to deliver the electronic mails saved in the block chain according to the current time; wherein the smart contract is configured to deliver the e-mail at a delivery time of the e-mail.
One or more embodiments of the present specification provide an e-mail delivery method based on a block chain, which is applied to a terminal device of a sender, and includes:
acquiring letter elements and delivery time set by a sender;
generating an e-mail according to the mail element;
and sending a mail delivery request to a first block chain node according to the electronic mail and the delivery time so that the first block chain node delivers the electronic mail when determining that the delivery time is reached based on an intelligent contract.
One or more embodiments of the present specification provide a block chain-based email delivery apparatus applied to a first block chain node, including:
the receiving module is used for receiving a mail delivery request sent by a terminal device of a sender, wherein the mail delivery request comprises an electronic mail and the delivery time of the electronic mail;
a saving module that saves the email and the delivery time into a blockchain;
the delivery module detects the current time based on the intelligent contract and determines whether to deliver the electronic mails saved in the block chain according to the current time; wherein the smart contract is configured to deliver the e-mail at a delivery time of the e-mail.
One or more embodiments of the present specification provide an electronic mail delivery apparatus based on a block chain, which is applied to a terminal device of a sender, and includes:
the acquisition module acquires the letter elements and delivery time set by the sender;
a generating module for generating an electronic mail according to the mail element;
and the sending module is used for sending a mail delivery request to the block chain node according to the electronic mail and the delivery time so as to enable the block chain node to deliver the electronic mail when the delivery time is reached.
One or more embodiments of the present specification provide an electronic mail delivery apparatus based on a block chain, including:
a processor; and the number of the first and second groups,
a memory arranged to store computer executable instructions that, when executed, cause the processor to:
receiving a mail delivery request sent by a terminal device of a sender, wherein the mail delivery request comprises an electronic mail to be delivered and the delivery time of the electronic mail;
storing the e-mail and the delivery time association into a blockchain;
detecting the current time based on an intelligent contract, and determining whether to deliver the electronic mails saved in the block chain according to the current time; wherein the smart contract is configured to deliver the e-mail at a delivery time of the e-mail.
One or more embodiments of the present specification provide an electronic mail delivery apparatus based on a block chain, including:
a processor; and the number of the first and second groups,
a memory arranged to store computer executable instructions that, when executed, cause the processor to:
acquiring letter elements and delivery time set by a sender;
generating an e-mail according to the mail element;
and sending a mail delivery request to a first block chain node according to the electronic mail and the delivery time so that the first block chain node delivers the electronic mail when determining that the delivery time is reached based on an intelligent contract.
One or more embodiments of the present specification provide a storage medium storing computer-executable instructions that, when executed, implement the following:
receiving a mail delivery request sent by a terminal device of a sender, wherein the mail delivery request comprises an electronic mail to be delivered and the delivery time of the electronic mail;
storing the e-mail and the delivery time association into a blockchain;
detecting the current time based on an intelligent contract, and determining whether to deliver the electronic mails saved in the block chain according to the current time; wherein the smart contract is configured to deliver the e-mail at a delivery time of the e-mail.
One or more embodiments of the present specification provide a storage medium storing computer-executable instructions that, when executed, implement the following:
acquiring letter elements and delivery time set by a sender;
generating an e-mail according to the mail element;
and sending a mail delivery request to a first block chain node according to the electronic mail and the delivery time so that the first block chain node delivers the electronic mail when determining that the delivery time is reached based on an intelligent contract.
The embodiment of the specification realizes accurate and effective delivery of the e-mails, automatically detects the current time based on the intelligent contract deployed in the block chain, and automatically delivers the e-mails to be delivered when the delivery time of the e-mails to be delivered is reached without manual participation, thereby greatly improving the maintenance efficiency of the e-mails and ensuring the timely and effective delivery of the e-mails; meanwhile, the authenticity of the electronic mail saved in the block chain and the confidentiality of the non-public mail are ensured based on the non-tampering property of the data of the block chain.
Drawings
In order to more clearly illustrate one or more embodiments or prior art solutions of the present specification, the drawings that are needed in the description of the embodiments or prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present specification, and that other drawings can be obtained by those skilled in the art without inventive exercise.
Fig. 1 is a schematic view of a block chain-based email delivery method according to one or more embodiments of the present disclosure;
fig. 2 is a data flow diagram illustrating a block chain-based email delivery method according to one or more embodiments of the present disclosure;
fig. 3 is a first flowchart of a block chain-based email delivery method according to one or more embodiments of the present disclosure;
fig. 4 is a second flowchart of a block chain-based email delivery method according to one or more embodiments of the present disclosure;
fig. 5 is a third flowchart of a block chain-based email delivery method according to one or more embodiments of the present disclosure;
fig. 6 is a fourth flowchart of a block chain-based email delivery method according to one or more embodiments of the present disclosure;
fig. 7 is a fifth flowchart of a block chain-based email delivery method according to one or more embodiments of the present disclosure;
fig. 8 is a sixth flowchart of a block chain-based email delivery method according to one or more embodiments of the present disclosure;
fig. 9 is a seventh flowchart of a block chain-based email delivery method according to one or more embodiments of the present disclosure;
fig. 10 is an eighth flowchart of a block chain-based email delivery method according to one or more embodiments of the present disclosure;
FIG. 11 is a schematic illustration of a letter cover setting interface provided in one or more embodiments of the present description;
FIG. 12 is a schematic illustration of a letter editing interface provided by one or more embodiments of the present description;
fig. 13 is a schematic diagram illustrating a first module of a block chain-based email delivery apparatus according to one or more embodiments of the present disclosure;
fig. 14 is a schematic diagram illustrating a second module composition of a block chain-based email delivery apparatus according to one or more embodiments of the present disclosure;
fig. 15 is a schematic structural diagram of an e-mail delivery apparatus based on a block chain according to one or more embodiments of the present disclosure.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in one or more embodiments of the present disclosure, the technical solutions in one or more embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in one or more embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, and not all embodiments. All other embodiments that can be derived by a person skilled in the art from one or more of the embodiments described herein without making any inventive step shall fall within the scope of protection of this document.
One or more embodiments of the present specification provide a method, an apparatus, and a device for delivering an email based on a blockchain, which automatically detect current time based on an intelligent contract deployed in the blockchain, and automatically deliver the email when the delivery time of the email to be delivered is reached without manual intervention, thereby greatly improving the maintenance efficiency of the email and ensuring timely and effective delivery of the email; meanwhile, the authenticity of the electronic mails saved in the block chain and the confidentiality of the non-open mails are ensured based on the non-tampering property of the data of the block chain; moreover, based on the decentralized characteristic of the block chain, the delivery of the E-mail is independent of a certain block chain node, and a plurality of block chain link points provide delivery service together, so that the problem that the E-mail cannot be sent due to the fact that the delivery service is not provided by a certain block chain link point is effectively solved.
Fig. 1 is a schematic view of an application scenario of a block chain based mail delivery method according to one or more embodiments of the present specification, as shown in fig. 1, the scenario includes: the method comprises the steps that a sender terminal device, a first block chain node of an access block chain and a receiver terminal device are connected; the terminal equipment of the sender and the terminal equipment of the receiver can be a mobile phone, a tablet computer, a desktop computer, a portable notebook computer and the like, and the terminal equipment of the sender and the terminal equipment of the receiver are in communication connection with the first block link point through a wireless network.
Specifically, as shown in fig. 2, the terminal device of the sender responds to the delivery request of the sender, and obtains the letter element and the delivery time set by the sender, wherein the letter element includes the destination address of the recipient; and generating the E-mail according to the acquired mail element, and sending a mail delivery request to the first block chain node according to the E-mail and the delivery time. The first block chain node receives a mail delivery request sent by the terminal equipment of the sender, and stores the electronic mail and delivery time association included in the mail delivery request into the block chain; detecting the current time based on the intelligent contract, and determining whether to deliver the electronic mails stored in the block chain according to the current time; the intelligent contract is set to deliver the E-mail when the delivery time of the E-mail is reached so as to deliver the E-mail to the addressee of the addressee. The addressee's terminal device presents the received electronic mail in response to the addressee's mail look-up request. Therefore, on the basis of ensuring the authenticity of the e-mails, the maintenance efficiency of the e-mails is improved, and the timely and effective delivery of the e-mails is ensured.
Based on the architecture of the application scenario, one or more embodiments of the present specification provide an email delivery method based on a block chain. Fig. 3 is a flowchart illustrating a block chain-based email delivery method according to one or more embodiments of the present disclosure, where the method in fig. 3 can be performed by a first block chain link point in fig. 1, as shown in fig. 3, and the method includes the following steps:
step S102, receiving a mail delivery request sent by a terminal device of a sender, wherein the mail delivery request comprises an electronic mail to be delivered and the delivery time of the electronic mail;
step S104, storing the association between the E-mail and the delivery time into a block chain;
step S106, detecting the current time based on the intelligent contract, and determining whether to deliver the electronic mails stored in the block chain according to the current time; wherein the intelligent contract is set to deliver the e-mail when the delivery time of the e-mail is reached.
In one or more embodiments of the description, based on an intelligent contract deployed in a block chain, the current time is automatically detected, and delivery processing is automatically performed when the delivery time of the electronic mail to be delivered is reached without manual participation, so that the maintenance efficiency of the electronic mail is greatly improved, and the timely and effective delivery of the electronic mail is ensured; meanwhile, the authenticity of the electronic mail saved in the block chain and the confidentiality of the non-public mail are ensured based on the non-tampering property of the data of the block chain.
In order to ensure that the delivery time of each e-mail is effectively monitored in consideration of that the delivery time of different e-mails is different, in one or more embodiments of the present specification, a corresponding intelligent contract is deployed for each e-mail; specifically, as shown in fig. 4, before step S106, the method further includes:
step S105, a first intelligent contract corresponding to the electronic mail is deployed according to the delivery time, wherein the first intelligent contract is set to deliver the corresponding electronic mail when the delivery time of the corresponding electronic mail is reached;
correspondingly, as shown in fig. 4, in step S106, detecting the current time based on the smart contract includes: a current time is detected based on the first smart contract.
By deploying the first intelligent contracts in one-to-one correspondence with the electronic mails, targeted time detection and delivery processing can be performed according to different electronic mails. In order to clarify the correspondence between the first intelligent contract and the electronic mails and ensure that the electronic mails can be accurately delivered, as shown in fig. 5, before step S104, the method further includes:
step S103, determining a letter identifier of the electronic letter;
specifically, extracting partial fields of the e-mail, calculating a hash value of the extracted partial fields, or calculating a hash value of the whole e-mail, and determining the calculated hash value as a mail identifier of the e-mail; or, dynamically generating the letter identification of the electronic letter based on a dynamic generation mechanism of the letter identification, wherein the dynamic generation mechanism of the letter identification can ensure that the generated letter identifications are different from each other.
Corresponding to step S103, as shown in fig. 5, step S104 includes: storing the e-mail, the delivery time and the mail identification association into a block chain;
specifically, the e-mail, the delivery time of the e-mail and the mail identifier of the e-mail are recorded in a correlated manner, the recorded information is used as the mail delivery information corresponding to the mail delivery request, and the mail delivery information is stored in the block chain.
Further, corresponding to step S103, as shown in fig. 5, step S105 includes: and deploying a first intelligent contract corresponding to the electronic mail according to the delivery time and the mail identification.
Therefore, the first intelligent contract is deployed according to the delivery time of the electronic mail and the mail identification, so that the delivery time of the electronic mail corresponding to the mail identification is automatically detected based on the first intelligent contract without manual maintenance, the maintenance cost is reduced, the management efficiency of the electronic mail is improved, and the electronic mail can be delivered in time; meanwhile, by storing the letter delivery information into the block chain, the non-tamper property of the electronic letters and the confidentiality of the non-open letters are ensured; based on the letter identification in the first intelligent contract and the letter identification in the letter delivery information, the corresponding electronic letter can be quickly and accurately acquired when the electronic letter is delivered, so that the delivery accuracy of the electronic letter is ensured; specifically, the step S106 of delivering the e-mail stored in the block chain includes:
s106-2, acquiring the electronic mail stored in association in the block chain based on the mail identification contained in the intelligent contract;
s106-4, acquiring a receiving address of a receiver from the acquired e-mail;
and step S106-6, delivering the acquired e-mail to the acquired destination address.
Specifically, based on the letter identification contained in the intelligent contract, corresponding letter delivery information is obtained in the block chain, the electronic letter and the receiving address of the receiver of the electronic letter are obtained from the obtained letter delivery information, and the obtained electronic letter is delivered to the obtained receiving address.
In the method, the current time is detected through the first intelligent contract corresponding to the electronic mail deployment to be delivered, and when the delivery time of the corresponding electronic mail is reached, the corresponding electronic mail is delivered, so that the electronic mail is delivered quickly and accurately.
Further, in consideration of the strong operation capability of the blockchain node and in order to improve the utilization rate of resources, in one or more embodiments of the present specification, only one intelligent contract may be deployed, and for convenience of differentiation, the intelligent contract is referred to as a second intelligent contract, so as to detect, by the second intelligent contract, delivery times of all electronic mails to be delivered, and perform delivery processing. Further, since the delivery time of the e-mail is usually one year, five years, ten years, or even longer in the future due to the slow delivery, in order to improve the efficiency of the e-mail delivery management, in one or more embodiments of the present disclosure, as shown in fig. 6, step S104 includes:
step S104-2, calling a second intelligent contract, and determining a time period corresponding to the electronic mail according to a preset time period division rule;
the preset time period division rule can be set in practical application according to needs, for example, taking the year as a unit, the delivery time of the e-mail is 2021 year, 6 month and 1 day, and the time period corresponding to the e-mail is determined to be 2021 year, 1 month and 1 day to 2021 year, 12 month and 31 days.
Step S104-4, storing the E-mail, the time period corresponding to the E-mail and the delivery time association into the block chain.
Specifically, the e-mail, the time period and the delivery time corresponding to the e-mail are recorded in a correlation mode, the recorded information is used as the mail delivery information corresponding to the mail delivery request, and the mail delivery information is stored in the block chain.
By determining the time period corresponding to the e-mail, in the detection process of the delivery time, the delivery time of the e-mail corresponding to the current time period can be detected only, and the delivery time of all the e-mails stored in the block chain does not need to be detected; specifically, as shown in fig. 6, in step S106, detecting the current time based on the intelligent contract, and determining whether to perform delivery processing on the e-mail stored in the blockchain according to the current time includes:
step S106-8, detecting the current time based on a second intelligent contract, wherein the second intelligent contract is set to deliver at least one electronic mail when the delivery time of the at least one electronic mail is reached;
step S106-10, determining a target time period corresponding to the current time;
and S106-12, determining whether to carry out delivery processing on the electronic mail corresponding to the target time period according to the current time and the delivery time stored in the block chain in association with the target time period.
Specifically, target letter delivery information containing a target time period is obtained from letter delivery information stored in a block chain; comparing delivery time contained in the target letter delivery information with current time, and if the delivery time is consistent with the current time, determining to deliver electronic letters contained in the target letter delivery information; if not, the target letter delivery information contains the E-mail, and the E-mail is determined not to be delivered.
Further, the delivery processing of the electronic mail contained in the target mail delivery information comprises: and acquiring the E-mail from the target mail delivery information, acquiring the receiving address of the addressee from the acquired E-mail, and delivering the acquired E-mail to the acquired receiving address.
For example, the current time is detected to be 2019, month 1 and year 1 based on a second intelligent contract by taking the year as a unit, and the target time period is determined to be 2019, month 1 and day to 2019, month 12 and day 31; acquiring target letter delivery information comprising target time periods from 1 month and 1 day in 2019 to 12 months and 31 days in 2019 from a block chain, and if the delivery time contained in one target letter delivery information is 2019, 12 months and 25 days and is inconsistent with the current time, determining that the delivery processing is not carried out on the e-mail contained in the target letter delivery information; if the delivery time contained in the other target letter delivery information is 2019, 9, 1 and is consistent with the current time, the delivery processing of the e-mail contained in the target letter delivery information is determined, the e-mail is obtained from the target letter delivery information, the destination address of the addressee is read from the obtained e-mail, and the obtained e-mail is delivered to the read destination address.
Therefore, by determining the target time period to which the current time belongs, whether the electronic mail corresponding to the target time period is delivered or not can be determined only according to the current time and the delivery time stored in the block chain in association with the target time period, and the delivery time of all electronic messages stored in the block chain does not need to be detected, so that the delivery processing efficiency of the electronic mail is greatly improved.
Based on any one of the above embodiments, considering that the delivery time of some e-mails may be five years, ten years, or even longer in the future, in order to avoid the problem that e-mails cannot be sent, in one or more embodiments of the present application, a plurality of block chain nodes jointly run an intelligent contract for delivering e-mails, and jointly provide delivery service for e-mails; meanwhile, each block link point providing delivery service is rewarded; specifically, the method further comprises:
step A2, according to the letter delivery request, sending a delivery service providing request to each second block chain node, and determining a target block chain node for providing the delivery service for the electronic letter in each second block chain node through a consensus mechanism;
since the blockchain network includes a plurality of blockchain nodes, for the convenience of distinction, in the embodiment of the present specification, a blockchain node that receives a mail delivery request is referred to as a first blockchain node, and nodes other than the first blockchain node in the blockchain network are referred to as second blockchain nodes; it should be understood that the first blockchain node may be a second blockchain node in some scenarios, and the second blockchain node may also be the first blockchain node in some scenarios.
Further, in practical application, the specific consensus mechanism may be set by itself as needed, for example, the target blockchain node providing delivery service for the e-mail is determined in each second blockchain node through the byzantine fault-tolerant consensus mechanism, that is, a number threshold is set in advance, where the number threshold may be 50% of the total number of the blockchain nodes, or greater than 50% of the total number of the blockchain nodes; after sending a delivery service providing request to each second block link point, recording node information of the second block link nodes returning response data, counting the number of the second block link nodes returning the response data, and determining the second block link point corresponding to each recorded node information as a target block link node providing delivery service for the e-mail when the counted data reaches a set number threshold.
It should be noted that, since the consensus mechanism is a technical means well known to those skilled in the art, detailed processes of the consensus mechanism in this specification are not repeated, and reference may be made to the existing consensus mechanism.
Step A4, obtaining the required evidence of rewarding target block chain node;
in one or more embodiments of the present description, step a4 includes:
step A4-2, determining a first number of target blockchain nodes;
specifically, a first number of target block chain nodes is determined according to a consensus mechanism adopted in practical application; for example, using the above-described byzantine fault-tolerant consensus mechanism, the set number threshold may be determined as the first number of target blockchain nodes.
Step A4-4, determining a second number of certificates needed by rewarding target block chain nodes according to the first number, the delivery time and a preset rewarding mechanism;
wherein, the preset reward mechanism comprises information such as reward period, reward standard and the like, wherein, the reward standard specifies the fourth number of the certificates of the reward needed for providing the delivery service in the unit time interval, correspondingly, the step A4-4 comprises: acquiring current time, and determining the number of unit time intervals required by delivery service according to the current time and the delivery time; and calculating a second number of passes required to reward the target blockchain node according to the determined number of the unit time periods and the fourth number.
For example, in a unit time interval of "year", the reward standard indicates that the fourth number of the vouchers required to be rewarded by one blockchain node for providing delivery service of one year for a certain email is 12, and the first number of the target blockchain node is 20; the delivery time is 2029, 6/month 1, and the obtained current time is 2019, 6/month 1, it is determined that the number of the unit time intervals required for providing the delivery service is 10, and the second number of the evidence required for the calculated reward target blockchain node is 12 × 10 × 20 — 2400.
Step A4-6, according to the second quantity, sending a certificate transfer request to the terminal equipment of the sender, so that the sender can carry out certificate transfer operation through the terminal equipment;
when the terminal equipment of the sender receives the certificate transfer request sent by the first block chain node, the certificate transfer information containing the second quantity is displayed to prompt the sender to carry out certificate transfer operation; and transferring a second number of certificates to the first block link point in response to a certificate transfer operation triggered by the sender.
And step A4-8, receiving the second amount of the certificates transferred by the terminal equipment of the sender.
Further, corresponding to the step a 2-step a4, the method further includes:
and B, performing reward operation on the target block chain node based on the acquired certificate according to a preset reward mechanism.
It should be noted that the predetermined reward mechanism includes a reward period, such as a reward operation performed once a month, or a reward operation performed once a half year, or a one-time reward performed when the delivery time is reached.
Therefore, target block chain nodes for providing delivery service for the e-mails are determined, the corresponding certificates needed for rewarding the target block chain nodes are obtained, and the target block chain nodes are rewarded based on the corresponding certificates, so that the aim of stimulating each target block chain to continuously provide the delivery service for the e-mails is fulfilled; therefore, based on the decentralized characteristic and the reward mechanism of the block chain, the delivery of the E-mail is independent of a certain block chain node, but a plurality of block chain link points provide delivery service together, and the problem that the E-mail cannot be sent due to the fact that the certain block chain link point does not provide the delivery service any more is effectively solved.
Considering that some target block chain points may not provide delivery services until the delivery time is reached, in one or more embodiments of the present application, step B includes:
step B2, determining reward time and a third number of the certificates awarded to each target block chain node according to a preset reward mechanism;
for example, the preset reward mechanism includes a reward period of once every two months, and the reward standard indicates that the fourth number of the certificates rewarded by one blockchain node for providing delivery service of one year for a certain email is 12; and if the date of receiving the letter delivery request is 6/1/2019, determining that the first rewarding time is 8/1/2019, and the third number of the certificates rewarding each target block chain node is 2.
Step B4, when the reward time is reached, determining whether each target block chain node is in the state of providing delivery service for the E-mail;
because the block chain is specifically disclosed with a transparent characteristic, when a certain target block chain does not provide delivery service for the e-mail any more, the first block chain link point can acquire the state information that the target block chain does not provide the delivery service for the e-mail any more.
Step B6, if the target node is in the delivery service providing state, a third number of certificates are sent to the blockchain address of the target blockchain node in the delivery service providing state.
Therefore, before the evidence is sent to the block chain address of the target block chain node, the phenomenon of false reward is avoided by judging whether the target block chain node is in a state of providing delivery service.
Further, in order to effectively trace back the reward process, in one or more embodiments of the present specification, after step B6, the method further includes:
and step C, generating reward record information according to the node information, the third quantity, the reward time, the letter identification and other information of the reward target block chain node, and writing the reward record information into the block chain.
Further, in order to ensure that the e-mail can be delivered successfully, when the number of target block chain nodes in the delivery service providing state is less than the set minimum number threshold, the method further comprises:
and D, the first block link point sends a delivery service providing request to each second block link node except the target block link node in the delivery service providing state, a supplementary block link node for providing delivery service for the electronic mail is determined based on a consensus mechanism, and the supplementary block link point is rewarded based on the obtained evidence.
Further, in order to perform valid statistics on the certificate, in one or more embodiments of the present specification, step a4 is followed by steps of considering that since the target block chain node may not provide the delivery service until the delivery time is reached, and thus the certificate transferred by the terminal device of the corresponding sender may remain after the e-mail is delivered to the destination address:
step A6, generating the evidence obtaining record information according to the second quantity and the letter identification of the E-mail, and storing the evidence obtaining record information into the block chain;
correspondingly, after step S106, the method further includes:
e, judging whether the residual evidence exists according to the letter identification of the electronic letter; if yes, returning the residual pass-certificate to the terminal equipment of the sender.
Specifically, according to the letter identification of the electronic letter, corresponding certificate-passing acquisition record information and reward record information are acquired in the block chain; calculating the total amount of the awarded certificates according to the third amount in the awarding record information and the amount of the node information; and judging whether the calculated total amount of the certificates is less than the second amount in the certificate obtaining record information, if so, determining that the residual certificates exist, subtracting the second amount from the total amount of the certificates, taking the subtraction result as the amount of the residual certificates, and returning the certificates of the amount to the terminal equipment of the sender.
In a specific embodiment, for each e-mail to be delivered, a corresponding smart contract is deployed, as shown in fig. 7, the method comprising:
step S202, receiving a mail delivery request sent by a terminal device of a sender, wherein the mail delivery request comprises an electronic mail to be delivered and the delivery time of the electronic mail;
step S204, determining a letter identifier of the electronic letter;
step S206, according to the letter delivery request, sending a delivery service providing request to each second block chain node, and determining a target block chain node for providing delivery service for the electronic letter in each second block chain node through a consensus mechanism;
step S208, determining a first quantity of target block chain nodes, and determining a second quantity of the certificates required for rewarding the target block chain nodes according to the first quantity, delivery time and a preset rewarding mechanism;
step S210, according to the second quantity, sending a certificate transfer request to the terminal equipment of the sender, so that the sender can carry out certificate transfer operation through the terminal equipment;
step S212, receiving the second number of the certificates transferred by the terminal equipment of the sender;
step S214, generating the evidence obtaining record information according to the second quantity and the letter identification of the electronic letter, and storing the evidence obtaining record information into the block chain;
step S216, according to a preset reward mechanism, reward operation is carried out on target block chain nodes based on the received certificates, reward record information is generated according to the rewarded node information of the target block chain nodes, the third number of the certificates rewarded for each target block chain node, reward time and letter identification information, and the reward record information is written into the block chain;
step S218, storing the E-mail, the delivery time and the mail identification association into a block chain;
step S220, a first intelligent contract corresponding to the electronic mail is deployed according to the delivery time and the mail identification, wherein the first intelligent contract is set to deliver the corresponding electronic mail when the delivery time of the corresponding electronic mail is reached;
step S222, detecting the current time based on the first intelligent contract, and determining whether to deliver the electronic mails saved in the block chain according to the current time, if so, executing step S224, otherwise, continuing to execute step S222;
step S224, based on the letter mark contained in the first intelligent contract, obtaining the electronic letter stored in association in the block chain;
step S226, acquiring the receiving address of the receiver from the acquired e-mails, and delivering the acquired e-mails to the acquired receiving address;
step S228, according to the letter identification of the electronic letter, corresponding pass-certificate acquisition record information and reward record information are acquired in the block chain, and whether the remaining pass-certificates exist is judged according to the acquired record information; if yes, returning the residual pass-certificate to the terminal equipment of the sender.
The specific implementation process from step S202 to step S228 may refer to the foregoing related description, and the repetition is not repeated here; it is noted that step S204 may also be performed after step S212.
In another embodiment, the delivery process is performed on each email to be delivered through a second intelligent contract deployed in advance, specifically, as shown in fig. 8, the method includes:
step S302, receiving a mail delivery request sent by a terminal device of a sender, wherein the mail delivery request comprises an electronic mail to be delivered and the delivery time of the electronic mail;
step S304, determining a letter identifier of the electronic letter;
step S306, according to the letter delivery request, sending a delivery service providing request to each second block chain node, and determining a target block chain node for providing delivery service for the electronic letter in each second block chain node through a consensus mechanism;
step S308, determining a first number of target block chain nodes, and determining a second number of certificates required for rewarding the target block chain nodes according to the first number, delivery time and a preset rewarding mechanism;
step S310, according to the determined second quantity, sending a certificate transfer request to the terminal equipment of the sender, so that the sender carries out certificate transfer operation through the terminal equipment;
step S312, receiving the second number of the certificates transferred by the terminal equipment of the sender;
step S314, generating the evidence obtaining record information according to the second quantity and the letter identification of the electronic letter, and storing the evidence obtaining record information into the block chain;
step S316, according to a preset reward mechanism, reward operation is carried out on target block chain nodes based on the received certificates, reward record information is generated according to the rewarded node information of the target block chain nodes, the third number of the certificates rewarded for each target block chain node, reward time, letter identification and other information, and the reward record information is written into the block chain;
step S318, calling a second intelligent contract, and determining a time period corresponding to the electronic mail according to a preset time period division rule;
step S320, storing the E-mail, the time period corresponding to the E-mail and the delivery time association into a block chain;
step S322, detecting the current time based on a second intelligent contract, wherein the second intelligent contract is set to deliver at least one electronic letter when the delivery time of the at least one electronic letter is reached;
step S324, determining a target time period corresponding to the current time, determining whether to carry out delivery processing on the electronic mails corresponding to the target time period according to the current time and delivery time stored in association with the target time period in the block chain, if so, executing step S326, otherwise, returning to step S322;
step S326, acquiring the destination address of the addressee from the electronic mail corresponding to the target time period, and delivering the electronic mail corresponding to the target time period to the acquired destination address;
step S328, according to the letter identification of the electronic letter, corresponding pass-certificate acquisition record information and reward record information are acquired in the block chain, and whether the remaining pass-certificates exist is judged according to the acquired record information; if yes, returning the residual pass-certificate to the terminal equipment of the sender.
For a specific implementation process from step S302 to step S328, reference may be made to the foregoing related description, and repeated details are not described herein; it is noted that step S304 may also be performed after step S312.
In one or more embodiments of the description, based on an intelligent contract deployed in a block chain, delivery time of the e-mail is automatically monitored and delivered without manual participation, maintenance efficiency of the e-mail is greatly improved, and timely and effective delivery of the e-mail is ensured; meanwhile, the authenticity of the electronic mails saved in the block chain and the confidentiality of the non-open mails are ensured based on the non-tampering property of the data of the block chain; moreover, based on the decentralized characteristic of the block chain, the delivery of the E-mail is independent of a certain block chain node, and a plurality of block chain link points provide delivery service together, so that the problem that the E-mail cannot be sent due to the fact that the certain block chain link point does not provide the delivery service any more is effectively solved.
In view of the same technical concept, fig. 9 shows another block chain-based email delivery method according to one or more embodiments of the present disclosure, where the block chain-based email delivery method described in correspondence with fig. 2 to 8 is implemented by a terminal device of a sender in fig. 1, and the method in fig. 9 can be implemented as shown in fig. 9, and includes the following steps:
step S402, acquiring the letter elements and delivery time set by the sender;
step S404, generating an e-mail according to the mail element;
step S406, according to the electronic mails and the delivery time, sending mail delivery requests to the first block chain nodes, so that the first block chain nodes can deliver the electronic mails when the delivery time is determined to be reached based on the intelligent contract.
In one or more embodiments of the present disclosure, a mail delivery request is sent to a first block link node, where the mail delivery request includes a delivery time, so that the first block link node can automatically deliver an email when the delivery time is reached based on an intelligent contract without human intervention, thereby greatly improving the email maintenance efficiency and ensuring timely and effective delivery of the email.
In order to enrich the style of the letter to be posted, in one or more embodiments of the present description, as shown in fig. 10, step S402 includes:
step S402-2, displaying a letter cover setting interface, and acquiring a letter cover selected by a sender in the letter cover setting interface or acquiring a letter cover uploaded by the sender in the letter cover setting interface; wherein the letter cover setting interface comprises a plurality of letter covers; and the number of the first and second groups,
s402-4, displaying a mail editing interface, and acquiring the receiving address, the mail text and the delivery time of the receiver edited in the mail editing interface by the sender;
specifically, a mail application is installed in a terminal device of a mail sender, when the mail sender needs to send a mail, a mail sending control in the mail sending application is operated, when the mail sending application detects the triggering operation of all the mail sending controls, a mail cover setting interface is displayed, after the mail cover setting of the mail sender is completed, the mail sender automatically jumps to a mail editing interface, or when the triggering operation of the mail sender on the next operation control is detected, the mail editing interface is displayed. A schematic diagram of the cover letter setting interface can be seen in fig. 11, which includes cover letter sheets with multiple themes, from which the sender can select a desired cover letter sheet, and can also operate (e.g., click or double click) the cover letter uploading control to upload other cover letter sheets. The letter editing interface is schematically shown in fig. 12, and the sender can edit the addressee address of the addressee in the 'addressee' part, can edit the letter text in the 'text' part, and can set the delivery time, and can set the hidden information of whether the electronic letter is disclosed or not.
Correspondingly, step S404 includes:
and generating the electronic mail according to the acquired mail cover, the receiving address of the receiver and the mail text.
Further, as shown in fig. 12, the sender may set the confidential information indicating whether the electronic mail is disclosed in the mail editing interface, and correspondingly, the step S402 includes: acquiring letter elements, delivery time and hiding information set by a sender;
further, when the obtained confidential information indicates that the electronic mail is a non-public mail, the step S406 sends a mail delivery request to the blockchain node according to the electronic mail and the delivery time, including:
s406-2, encrypting the e-mail by adopting the public key of the addressee to obtain the ciphertext of the e-mail;
and step S406-4, sending a mail delivery request to the first block chain node according to the ciphertext and the delivery time of the E-mail.
The public key of the addressee is obtained by applying to the first block chain link point in advance, or applying to a third-party safety mechanism, or applying to the addressee; when the addressee receives the ciphertext of the e-mail, the private key of the addressee is used for decrypting the ciphertext of the e-mail to obtain the plaintext of the e-mail. Therefore, the sender can set the hidden information of the E-mail as required, and the first block chain node can store the E-mail into the block chain, so that when the E-mail is a non-public mail, the privacy of the E-mail is ensured on the basis of ensuring that the recipient can obtain the plaintext of the E-mail.
In one or more embodiments of the present specification, the sender may further operate its terminal device to check detailed information of the sent mail, and correspondingly, the method further includes: and if the request for consulting the sent letter is received, displaying the corresponding sent letter.
Further, in order to ensure that the e-mails can be delivered smoothly, in one or more embodiments of the present disclosure, a plurality of target block link nodes provide delivery services for the e-mails at the same time, and a sender needs to provide a pass for the shared delivery services to reward the target block link nodes; correspondingly, the method further comprises the following steps:
step H2, receiving a pass transfer request sent by the first block chain node, wherein the pass transfer request includes a second number of passes to be transferred;
step H4, in response to the sender triggering the transfer of the credentials, transferring a second number of credentials to the first tile link point to cause the first tile link point to award a target tile link node providing delivery services based on the transferred credentials.
By carrying out evidence transfer and rewarding target block chain nodes for providing delivery service based on transferred evidence, each target block chain node can be stimulated to continuously provide delivery service for the electronic mails, so that the electronic mails can be ensured to be delivered smoothly, and the problem that the mails cannot be sent due to the fact that the delivery service is not provided for a certain block chain node is solved.
In one or more embodiments of the present description, a mail delivery request is sent to a first block link node, where the mail delivery request includes a delivery time, so that the first block link node can automatically deliver an email based on an intelligent contract when the delivery time is reached, without human intervention, thereby greatly improving the email maintenance efficiency and ensuring timely and effective delivery of the email; meanwhile, based on the decentralized characteristic of the block chain, the delivery of the E-mail is independent of a certain block chain node, and a plurality of block chain link points provide delivery service together, so that the problem that the E-mail cannot be sent due to the fact that the certain block chain link point does not provide the delivery service any more is effectively solved.
Based on the same technical concept, corresponding to the block chain-based email delivery method described in fig. 2 to 8, one or more embodiments of the present disclosure further provide a block chain-based email delivery apparatus applied to a first block chain node. Fig. 13 is a schematic block diagram of an apparatus for delivering an e-mail based on a block chain according to one or more embodiments of the present disclosure, the apparatus being configured to perform the block chain based e-mail delivery method described in fig. 2 to 8, and as shown in fig. 13, the apparatus including:
a receiving module 501, configured to receive a mail delivery request sent by a terminal device of a sender, where the mail delivery request includes an e-mail and a delivery time of the e-mail;
a saving module 502 that saves the email and the delivery time into a blockchain;
a delivery module 503, which detects the current time based on the intelligent contract and determines whether to deliver the e-mail stored in the block chain according to the current time; wherein the smart contract is configured to deliver the e-mail at a delivery time of the e-mail.
In one or more embodiments of the description, based on an intelligent contract deployed in a block chain, the current time is automatically detected, and delivery processing is automatically performed when the delivery time of the electronic mail to be delivered is reached without manual participation, so that the maintenance efficiency of the electronic mail is greatly improved, and the timely and effective delivery of the electronic mail is ensured; meanwhile, the authenticity of the electronic mail saved in the block chain and the confidentiality of the non-public mail are ensured based on the non-tampering property of the data of the block chain.
Optionally, the apparatus further comprises: a deployment module;
the deployment module deploys a first intelligent contract corresponding to the electronic mail before the delivery module 503 detects the current time based on the intelligent contract, wherein the first intelligent contract is set to deliver the corresponding electronic mail when the delivery time of the corresponding electronic mail is reached;
the delivery module 503 detects the current time based on the first smart contract.
Optionally, the apparatus further comprises: a determination module;
the determining module determines the letter identification of the e-mail before the saving module 502 saves the e-mail and the delivery time association into a blockchain;
the saving module 502 is configured to save the e-mail, the delivery time, and the mail identification association into a blockchain;
the deployment module deploys a first intelligent contract corresponding to the electronic mail according to the delivery time and the mail identification.
Optionally, the delivery module 503 obtains the e-mail stored in association in the block chain based on the mail identifier included in the first intelligent contract; and the number of the first and second groups,
acquiring a receiving address of a receiver from the acquired e-mail;
and delivering the acquired e-mail to the acquired receiving address.
Optionally, the saving module 502 invokes a second intelligent contract, and determines a time period corresponding to the electronic mail according to a preset time period division rule; and the number of the first and second groups,
and storing the E-mail, the time period corresponding to the E-mail and the delivery time association into a block chain.
Optionally, the delivery module 503 detects the current time based on the second intelligent contract, wherein the second intelligent contract is set to deliver at least one electronic mail when the delivery time of the at least one electronic mail is reached; and the number of the first and second groups,
determining a target time period corresponding to the current time;
and determining whether to carry out delivery processing on the electronic mails corresponding to the target time period or not according to the current time and delivery time stored in the block chain in association with the target time period.
Optionally, the apparatus further comprises: the system comprises a sending module, an obtaining module and a reward module;
the sending module sends a delivery service providing request to each second block chain node according to the letter delivery request, and determines a target block chain node for providing the delivery service for the electronic letter in each second block chain node through a consensus mechanism;
the acquisition module acquires a certificate required by rewarding the target block chain node;
and the reward module is used for rewarding the target block chain node based on the pass certificate according to a preset reward mechanism.
Optionally, the obtaining module determines a first number of the target blockchain nodes; and the number of the first and second groups,
determining a second number of certificates required for rewarding the target block chain nodes according to the first number, the delivery time and the preset rewarding mechanism;
according to the second quantity, sending a certificate transfer request to the terminal equipment of the sender so that the sender carries out certificate transfer operation through the terminal equipment of the sender;
and receiving the second number of the certificates transferred by the terminal equipment of the sender.
Optionally, the rewarding module determines a rewarding time and a third number of certificates awarded to each target block chain node according to a preset rewarding mechanism; and the number of the first and second groups,
when the reward time is reached, determining whether each target block chain node is in a state of providing delivery service for the electronic mail;
and if the target block chain node is in the delivery service providing state, sending the third number of certificates to the block chain address of the target block chain node in the delivery service providing state.
According to the electronic mail delivery device based on the block chain, which is provided by one or more embodiments of the specification, the current time is automatically detected based on an intelligent contract deployed in the block chain, and the delivery processing is automatically performed when the delivery time of the electronic mail to be delivered is reached without manual participation, so that the maintenance efficiency of the electronic mail is greatly improved, and the timely and effective delivery of the electronic mail is ensured; meanwhile, the authenticity of the electronic mails saved in the block chain and the confidentiality of the non-open mails are ensured based on the non-tampering property of the data of the block chain; moreover, based on the decentralized characteristic of the block chain, the delivery of the E-mail is independent of a certain block chain node, and a plurality of block chain link points provide delivery service together, so that the problem that the E-mail cannot be sent due to the fact that the delivery service is not provided by a certain block chain link point is effectively solved.
It should be noted that the embodiment of the block chain based email delivery apparatus in this specification and the embodiment of the block chain based email delivery method in this specification are based on the same inventive concept, and therefore, for specific implementation of this embodiment, reference may be made to the implementation of the block chain based email delivery method, and repeated details are not repeated.
On the basis of the same technical concept, the block chain-based email delivery method described in correspondence with fig. 9 to 10 above further provides an email delivery apparatus based on a block chain, which is applied to a terminal device of a sender. Fig. 14 is a schematic block diagram of an apparatus for delivering an e-mail based on a block chain according to one or more embodiments of the present disclosure, the apparatus being configured to perform the block chain based e-mail delivery method described in fig. 9 to 10, and as shown in fig. 14, the apparatus including:
an obtaining module 601, which obtains the letter elements and delivery time set by the sender;
a generating module 602 that generates an e-mail from the mail element;
a sending module 603, configured to send a mail delivery request to a block link node according to the email and the delivery time, so that the block link node performs delivery processing on the email when reaching the delivery time.
In one or more embodiments of the present disclosure, a mail delivery request is sent to a first block link node, where the mail delivery request includes a delivery time, so that the first block link node can automatically deliver an email when the delivery time is reached based on an intelligent contract without human intervention, thereby greatly improving the email maintenance efficiency and ensuring timely and effective delivery of the email.
Optionally, the obtaining module 601 displays a mail cover setting interface, obtains a mail cover selected by the sender in the mail cover setting interface, or obtains a mail cover uploaded by the sender in the mail cover setting interface; wherein the letter cover setting interface comprises a plurality of letter covers; and the number of the first and second groups,
displaying a mail editing interface, and acquiring a receiving address, a mail text and delivery time of a receiver edited in the mail editing interface by a sender;
correspondingly, the generating module 602 generates the e-mail according to the obtained mail cover, the address of the addressee, and the mail text.
Optionally, the obtaining module 601 obtains the letter elements, the delivery time, and the confidential information set by the sender;
if the secret information represents that the e-mail is a non-public mail, the sending module 603 encrypts the e-mail by using a public key of the addressee to obtain a ciphertext of the e-mail; and the number of the first and second groups,
and sending a mail delivery request to a first block chain node according to the ciphertext of the electronic mail and the delivery time.
Optionally, the apparatus further comprises: a transfer module;
the and module receives the evidence transfer request sent by the first block link node after the sending module 603 sends the letter delivery request to the first block link node according to the e-mail and the delivery time, wherein the evidence transfer request includes a second number of the evidence to be transferred; and the number of the first and second groups,
and in response to the trigger operation of the sender on the evidence transfer, transferring the second number of evidences to the first block link point so as to enable the first block link point to reward a target block chain node for providing delivery service based on the transferred evidences.
According to the block chain-based e-mail delivery device provided by one or more embodiments of the present disclosure, a mail delivery request is sent to a first block chain node, where the mail delivery request includes a delivery time, so that the first block chain node can automatically deliver e-mails when the delivery time is reached based on an intelligent contract without manual participation, thereby greatly improving the maintenance efficiency of e-mails and ensuring timely and effective delivery of e-mails; meanwhile, based on the decentralized characteristic of the block chain, the delivery of the E-mail is independent of a certain block chain node, and a plurality of block chain link points provide delivery service together, so that the problem that the E-mail cannot be sent due to the fact that the delivery service is not provided by a certain block chain link point is effectively solved.
It should be noted that the embodiment of the block chain based email delivery apparatus in this specification and the embodiment of the block chain based email delivery method in this specification are based on the same inventive concept, and therefore, for specific implementation of this embodiment, reference may be made to the implementation of the block chain based email delivery method, and repeated details are not repeated.
Further, corresponding to the above-described block chain-based email delivery method, based on the same technical concept, one or more embodiments of the present specification further provide a block chain-based email delivery device for performing the above-described block chain-based email delivery method, and fig. 15 is a schematic structural diagram of the block chain-based email delivery device provided in one or more embodiments of the present specification.
As shown in fig. 15, the block chain based email delivery device may have a large difference due to different configurations or performances, and may include one or more processors 701 and a memory 702, and one or more stored applications or data may be stored in the memory 702. Memory 702 may be, among other things, transient storage or persistent storage. The application program stored in memory 702 may include one or more modules (not shown), each of which may include a series of computer-executable instructions in a blockchain-based email delivery device. Still further, the processor 701 may be configured to communicate with the memory 702 to execute a series of computer-executable instructions in the memory 702 on a blockchain based email delivery device. The blockchain-based email delivery apparatus may also include one or more power supplies 703, one or more wired or wireless network interfaces 704, one or more input-output interfaces 705, one or more keyboards 706, and the like.
In a particular embodiment, a blockchain based email delivery apparatus includes a memory, and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer executable instructions for the blockchain based email delivery apparatus, and the one or more programs configured to be executed by the one or more processors include computer executable instructions for:
receiving a mail delivery request sent by a terminal device of a sender, wherein the mail delivery request comprises an electronic mail to be delivered and the delivery time of the electronic mail;
storing the e-mail and the delivery time association into a blockchain;
detecting the current time based on an intelligent contract, and determining whether to deliver the electronic mails saved in the block chain according to the current time; wherein the smart contract is configured to deliver the e-mail at a delivery time of the e-mail.
In one or more embodiments of the description, based on an intelligent contract deployed in a block chain, the current time is automatically detected, and delivery processing is automatically performed when the delivery time of the electronic mail to be delivered is reached without manual participation, so that the maintenance efficiency of the electronic mail is greatly improved, and the timely and effective delivery of the electronic mail is ensured; meanwhile, the authenticity of the electronic mail saved in the block chain and the confidentiality of the non-public mail are ensured based on the non-tampering property of the data of the block chain.
Optionally, the computer-executable instructions, when executed, further comprise, prior to said detecting the current time based on the smart contract:
deploying a first intelligent contract corresponding to the electronic mail according to the delivery time, wherein the first intelligent contract is set to deliver the corresponding electronic mail when the delivery time of the corresponding electronic mail is reached;
the intelligent contract-based current time detection comprises the following steps: a current time is detected based on the first smart contract.
Optionally, the computer executable instructions, when executed, further comprise, prior to saving the email and the delivery time association into a blockchain:
determining a letter identification of the e-mail;
the saving the e-mail and the delivery time association into a blockchain comprises:
storing the e-mail, the delivery time, and the mail identification association into a blockchain;
the deploying of the first intelligent contract corresponding to the electronic mail according to the delivery time comprises the following steps:
and deploying a first intelligent contract corresponding to the electronic mail according to the delivery time and the mail identification.
Optionally, when executed, the computer-executable instructions include a destination address of a recipient in the email, and the delivering the email stored in the blockchain includes:
acquiring the electronic mails saved in association in the blockchain based on the mail identification contained in the first intelligent contract;
acquiring a receiving address of a receiver from the acquired e-mail;
and delivering the acquired e-mail to the acquired receiving address.
Optionally, computer executable instructions, when executed, said saving said e-mail and said delivery time association into a blockchain comprises:
calling a second intelligent contract, and determining a time period corresponding to the electronic mail according to a preset time period division rule;
and storing the E-mail, the time period corresponding to the E-mail and the delivery time association into a block chain.
Optionally, when executed, the computer-executable instructions, detecting a current time based on the smart contract and determining whether to deliver the email stored in the blockchain according to the current time, include:
detecting a current time based on the second intelligent contract, wherein the second intelligent contract is set to deliver at least one electronic mail when a delivery time of the at least one electronic mail is reached;
determining a target time period corresponding to the current time;
and determining whether to carry out delivery processing on the electronic mails corresponding to the target time period or not according to the current time and delivery time stored in the block chain in association with the target time period.
Optionally, the computer executable instructions, when executed, further comprise:
sending a delivery service providing request to each second block chain node according to the letter delivery request, and determining a target block chain node for providing delivery service for the electronic letter in each second block chain node through a consensus mechanism;
obtaining a pass certificate required by rewarding the target block chain node;
and performing reward operation on the target block chain node based on the certificate according to a preset reward mechanism.
Optionally, the computer executable instructions, when executed, said obtaining the required credentials to reward the target blockchain node comprises:
determining a first number of the target blockchain nodes;
determining a second number of certificates required for rewarding the target block chain nodes according to the first number, the delivery time and the preset rewarding mechanism;
according to the second quantity, sending a certificate transfer request to the terminal equipment of the sender so that the sender carries out certificate transfer operation through the terminal equipment of the sender;
and receiving the second number of the certificates transferred by the terminal equipment of the sender.
Optionally, when executed, the computer-executable instructions perform an incentive operation on the target blockchain node based on the certification according to a preset incentive mechanism, including:
determining reward time and a third number of the certificates awarded to the target block chain nodes according to a preset reward mechanism;
when the reward time is reached, determining whether each target block chain node is in a state of providing delivery service for the electronic mail;
and if the target block chain node is in the delivery service providing state, sending the third number of certificates to the block chain address of the target block chain node in the delivery service providing state.
The block chain-based e-mail delivery device provided by one or more embodiments of the present specification can automatically detect the current time based on an intelligent contract deployed in a block chain, and automatically deliver the e-mail when the delivery time of the e-mail to be delivered is reached without manual intervention, thereby greatly improving the maintenance efficiency of the e-mail and ensuring timely and effective delivery of the e-mail; meanwhile, the authenticity of the electronic mails saved in the block chain and the confidentiality of the non-open mails are ensured based on the non-tampering property of the data of the block chain; moreover, based on the decentralized characteristic of the block chain, the delivery of the E-mail is not dependent on a certain block chain node, but a plurality of block chain link points provide delivery service together, so that the problem that the E-mail can not be sent due to the fact that the delivery service is not provided by a certain block chain link point is effectively solved
In another embodiment, the blockchain based email delivery includes memory, and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer executable instructions for a blockchain based email delivery device, and the one or more programs configured for execution by the one or more processors include computer executable instructions for:
acquiring letter elements and delivery time set by a sender;
generating an e-mail according to the mail element;
and sending a mail delivery request to a first block chain node according to the electronic mail and the delivery time so that the first block chain node delivers the electronic mail when determining that the delivery time is reached based on an intelligent contract.
In one or more embodiments of the present disclosure, a mail delivery request is sent to a first block link node, where the mail delivery request includes a delivery time, so that the first block link node can automatically deliver an email when the delivery time is reached based on an intelligent contract without human intervention, thereby greatly improving the email maintenance efficiency and ensuring timely and effective delivery of the email.
Optionally, the computer executable instructions, when executed, obtain the letter elements and delivery time set by the sender, comprising:
displaying a mail cover setting interface, and acquiring a mail cover selected by a sender in the mail cover setting interface, or acquiring a mail cover uploaded by the sender in the mail cover setting interface; wherein the letter cover setting interface comprises a plurality of letter covers; and the number of the first and second groups,
displaying a mail editing interface, and acquiring a receiving address, a mail text and delivery time of a receiver edited in the mail editing interface by a sender;
said generating an e-mail from said mail element, comprising:
and generating the electronic mail according to the acquired mail cover, the address of the addressee and the mail text.
Optionally, the computer executable instructions, when executed, obtain the letter elements and delivery time set by the sender, comprising:
acquiring letter elements, delivery time and hiding information set by a sender;
if the concealed information represents that the electronic mail is a non-public mail, the step of sending a mail delivery request to a block chain node according to the electronic mail and the delivery time comprises the following steps:
encrypting the e-mail by adopting a public key of a receiver to obtain a ciphertext of the e-mail;
and sending a mail delivery request to a first block chain node according to the ciphertext of the electronic mail and the delivery time.
Optionally, the computer executable instructions, when executed, further comprise, after sending a letter delivery request to a first block link point based on the email and the delivery time:
receiving a certificate passing transfer request sent by a first block chain node, wherein the certificate passing transfer request comprises a second number of certificates to be transferred;
and in response to the trigger operation of the sender on the evidence transfer, transferring the second number of evidences to the first block link point so as to enable the first block link point to reward a target block chain node for providing delivery service based on the transferred evidences.
According to the electronic mail delivery equipment based on the block chain, which is provided by one or more embodiments of the specification, the mail delivery request is sent to the first block chain node, wherein the mail delivery request comprises the delivery time, so that the first block chain node can automatically deliver the electronic mail when the delivery time is reached based on an intelligent contract without manual participation, the maintenance efficiency of the electronic mail is greatly improved, and the timely and effective delivery of the electronic mail is ensured; meanwhile, based on the decentralized characteristic of the block chain, the delivery of the E-mail is independent of a certain block chain node, and a plurality of block chain link points provide delivery service together, so that the problem that the E-mail cannot be sent due to the fact that the delivery service is not provided by a certain block chain link point is effectively solved.
It should be noted that the embodiment of the device for delivering an electronic mail based on a block chain in this specification and the embodiment of the method for delivering an electronic mail based on a block chain in this specification are based on the same inventive concept, and therefore, for specific implementation of this embodiment, reference may be made to the implementation of the method for delivering an electronic mail based on a block chain, and repeated details are not described herein.
Further, corresponding to the above-described block chain-based email delivery method, based on the same technical concept, one or more embodiments of the present specification further provide a storage medium for storing computer-executable instructions, where in a specific embodiment, the storage medium may be a usb disk, an optical disk, a hard disk, and the like, and when the storage medium stores computer-executable instructions, the following processes can be implemented:
receiving a mail delivery request sent by a terminal device of a sender, wherein the mail delivery request comprises an electronic mail to be delivered and the delivery time of the electronic mail;
storing the e-mail and the delivery time association into a blockchain;
detecting the current time based on an intelligent contract, and determining whether to deliver the electronic mails saved in the block chain according to the current time; wherein the smart contract is configured to deliver the e-mail at a delivery time of the e-mail.
In one or more embodiments of the description, based on an intelligent contract deployed in a block chain, the current time is automatically detected, and delivery processing is automatically performed when the delivery time of the electronic mail to be delivered is reached without manual participation, so that the maintenance efficiency of the electronic mail is greatly improved, and the timely and effective delivery of the electronic mail is ensured; meanwhile, the authenticity of the electronic mail saved in the block chain and the confidentiality of the non-public mail are ensured based on the non-tampering property of the data of the block chain.
Optionally, the storage medium stores computer-executable instructions that, when executed by the processor, further comprise, prior to said detecting the current time based on the smart contract:
deploying a first intelligent contract corresponding to the electronic mail according to the delivery time, wherein the first intelligent contract is set to deliver the corresponding electronic mail when the delivery time of the corresponding electronic mail is reached;
the intelligent contract-based current time detection comprises the following steps: a current time is detected based on the first smart contract.
Optionally, the storage medium stores computer executable instructions that, when executed by the processor, further comprise, prior to saving the email and the delivery time association into the blockchain:
determining a letter identification of the e-mail;
the saving the e-mail and the delivery time association into a blockchain comprises:
storing the e-mail, the delivery time, and the mail identification association into a blockchain;
the deploying of the first intelligent contract corresponding to the electronic mail according to the delivery time comprises the following steps:
and deploying a first intelligent contract corresponding to the electronic mail according to the delivery time and the mail identification.
Optionally, the storage medium stores computer-executable instructions, which when executed by a processor, include an addressee address in the email, and the delivering the email stored in the blockchain includes:
acquiring the electronic mails saved in association in the blockchain based on the mail identification contained in the first intelligent contract;
acquiring a receiving address of a receiver from the acquired e-mail;
and delivering the acquired e-mail to the acquired receiving address.
Optionally, the storage medium stores computer executable instructions that when executed by the processor, said saving said e-mail and said delivery time association into a blockchain comprises:
calling a second intelligent contract, and determining a time period corresponding to the electronic mail according to a preset time period division rule;
and storing the E-mail, the time period corresponding to the E-mail and the delivery time association into a block chain.
Optionally, the storage medium stores computer-executable instructions that, when executed by a processor, detect a current time based on a smart contract and determine whether to deliver the email stored in the blockchain according to the current time, including:
detecting a current time based on the second intelligent contract, wherein the second intelligent contract is set to deliver at least one electronic mail when a delivery time of the at least one electronic mail is reached;
determining a target time period corresponding to the current time;
and determining whether to carry out delivery processing on the electronic mails corresponding to the target time period or not according to the current time and delivery time stored in the block chain in association with the target time period.
Optionally, the storage medium stores computer executable instructions that, when executed by the processor, further comprise:
sending a delivery service providing request to each second block chain node according to the letter delivery request, and determining a target block chain node for providing delivery service for the electronic letter in each second block chain node through a consensus mechanism;
obtaining a pass certificate required by rewarding the target block chain node;
and performing reward operation on the target block chain node based on the certificate according to a preset reward mechanism.
Optionally, the storage medium stores computer executable instructions that, when executed by the processor, obtain a credential required to reward the target blockchain node, comprising:
determining a first number of the target blockchain nodes;
determining a second number of certificates required for rewarding the target block chain nodes according to the first number, the delivery time and the preset rewarding mechanism;
according to the second quantity, sending a certificate transfer request to the terminal equipment of the sender so that the sender carries out certificate transfer operation through the terminal equipment of the sender;
and receiving the second number of the certificates transferred by the terminal equipment of the sender.
Optionally, when executed by a processor, the computer-executable instructions stored in the storage medium perform a reward operation on the target blockchain node based on the pass certificate according to a preset reward mechanism, including:
determining reward time and a third number of the certificates awarded to the target block chain nodes according to a preset reward mechanism;
when the reward time is reached, determining whether each target block chain node is in a state of providing delivery service for the electronic mail;
and if the target block chain node is in the delivery service providing state, sending the third number of certificates to the block chain address of the target block chain node in the delivery service providing state.
When executed by a processor, the computer-executable instructions stored in the storage medium provided by one or more embodiments of the present specification automatically detect the current time based on an intelligent contract deployed in a block chain, and automatically deliver the email when the delivery time of the email to be delivered is reached without manual intervention, thereby greatly improving the maintenance efficiency of the email and ensuring timely and effective delivery of the email; meanwhile, the authenticity of the electronic mails saved in the block chain and the confidentiality of the non-open mails are ensured based on the non-tampering property of the data of the block chain; moreover, based on the decentralized characteristic of the block chain, the delivery of the E-mail is independent of a certain block chain node, and a plurality of block chain link points provide delivery service together, so that the problem that the E-mail cannot be sent due to the fact that the delivery service is not provided by a certain block chain link point is effectively solved.
In another specific embodiment, the storage medium may be a usb disk, an optical disk, a hard disk, or the like, and the storage medium stores computer-executable instructions that, when executed by the processor, implement the following process:
acquiring letter elements and delivery time set by a sender;
generating an e-mail according to the mail element;
and sending a mail delivery request to a first block chain node according to the electronic mail and the delivery time so that the first block chain node delivers the electronic mail when determining that the delivery time is reached based on an intelligent contract.
In one or more embodiments of the present disclosure, a mail delivery request is sent to a first block link node, where the mail delivery request includes a delivery time, so that the first block link node can automatically deliver an email when the delivery time is reached based on an intelligent contract without human intervention, thereby greatly improving the email maintenance efficiency and ensuring timely and effective delivery of the email.
Optionally, the storage medium stores computer-executable instructions, which when executed by the processor, obtain the letter elements and delivery time set by the sender, and comprises:
displaying a mail cover setting interface, and acquiring a mail cover selected by a sender in the mail cover setting interface, or acquiring a mail cover uploaded by the sender in the mail cover setting interface; wherein the letter cover setting interface comprises a plurality of letter covers; and the number of the first and second groups,
displaying a mail editing interface, and acquiring a receiving address, a mail text and delivery time of a receiver edited in the mail editing interface by a sender;
said generating an e-mail from said mail element, comprising:
and generating the electronic mail according to the acquired mail cover, the address of the addressee and the mail text.
Optionally, the storage medium stores computer-executable instructions, which when executed by the processor, obtain the letter elements and delivery time set by the sender, and comprises:
acquiring letter elements, delivery time and hiding information set by a sender;
if the concealed information represents that the electronic mail is a non-public mail, the step of sending a mail delivery request to a block chain node according to the electronic mail and the delivery time comprises the following steps:
encrypting the e-mail by adopting a public key of a receiver to obtain a ciphertext of the e-mail;
and sending a mail delivery request to a first block chain node according to the ciphertext of the electronic mail and the delivery time.
Optionally, the storage medium stores computer executable instructions that, when executed by the processor, further comprise, after sending a mail delivery request to a first tile link point based on the email and the delivery time:
receiving a certificate passing transfer request sent by a first block chain node, wherein the certificate passing transfer request comprises a second number of certificates to be transferred;
and in response to the trigger operation of the sender on the evidence transfer, transferring the second number of evidences to the first block link point so as to enable the first block link point to reward a target block chain node for providing delivery service based on the transferred evidences.
The computer-executable instructions stored in the storage medium provided by one or more embodiments of the present specification, when executed by a processor, send a mail delivery request to a first block link node, where the mail delivery request includes a delivery time, so that the first block link node can automatically deliver an email when the delivery time is reached based on an intelligent contract without human intervention, thereby greatly improving the email maintenance efficiency and ensuring timely and effective delivery of the email; meanwhile, based on the decentralized characteristic of the block chain, the delivery of the E-mail is independent of a certain block chain node, and a plurality of block chain link points provide delivery service together, so that the problem that the E-mail cannot be sent due to the fact that the delivery service is not provided by a certain block chain link point is effectively solved.
It should be noted that the embodiment of the storage medium in this specification and the embodiment of the block chain-based email delivery method in this specification are based on the same inventive concept, and therefore, for specific implementation of this embodiment, reference may be made to the implementation of the block chain-based email delivery method, and repeated details are not described herein.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
In the 30 s of the 20 th century, improvements in a technology could clearly be distinguished between improvements in hardware (e.g., improvements in circuit structures such as diodes, transistors, switches, etc.) and improvements in software (improvements in process flow). However, as technology advances, many of today's process flow improvements have been seen as direct improvements in hardware circuit architecture. Designers almost always obtain the corresponding hardware circuit structure by programming an improved method flow into the hardware circuit. Thus, it cannot be said that an improvement in the process flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (PLD), such as a Field Programmable Gate Array (FPGA), is an integrated circuit whose Logic functions are determined by programming the Device by a user. A digital system is "integrated" on a PLD by the designer's own programming without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Furthermore, nowadays, instead of manually making an integrated Circuit chip, such Programming is often implemented by "logic compiler" software, which is similar to a software compiler used in program development and writing, but the original code before compiling is also written by a specific Programming Language, which is called Hardware Description Language (HDL), and HDL is not only one but many, such as abel (advanced Boolean Expression Language), ahdl (alternate Language Description Language), traffic, pl (core unified Programming Language), HDCal, JHDL (Java Hardware Description Language), langue, Lola, HDL, laspam, hardsradware (Hardware Description Language), vhjhd (Hardware Description Language), and vhigh-Language, which are currently used in most common. It will also be apparent to those skilled in the art that hardware circuitry that implements the logical method flows can be readily obtained by merely slightly programming the method flows into an integrated circuit using the hardware description languages described above.
The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, the memory controller may also be implemented as part of the control logic for the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller as pure computer readable program code, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may thus be considered a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functions of the units may be implemented in the same software and/or hardware or in multiple software and/or hardware when implementing the embodiments of the present description.
One skilled in the art will recognize that one or more embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, one or more embodiments of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The description has been presented with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the description. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
One or more embodiments of the present description may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. One or more embodiments of the specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only an example of this document and is not intended to limit this document. Various modifications and changes may occur to those skilled in the art from this document. Any modifications, equivalents, improvements, etc. which come within the spirit and principle of the disclosure are intended to be included within the scope of the claims of this document.

Claims (22)

1. An e-mail delivery method based on block chains is applied to a first block chain node and comprises the following steps:
receiving a mail delivery request sent by a terminal device of a sender, wherein the mail delivery request comprises an electronic mail to be delivered and the delivery time of the electronic mail;
storing the e-mail and the delivery time association into a blockchain;
detecting the current time based on an intelligent contract, and determining whether to deliver the electronic mails saved in the block chain according to the current time; wherein the smart contract is configured to deliver the e-mail at a delivery time of the e-mail.
2. The method of claim 1, the detecting prior to the current time based on the smart contract, further comprising:
deploying a first intelligent contract corresponding to the electronic mail according to the delivery time, wherein the first intelligent contract is set to deliver the corresponding electronic mail when the delivery time of the corresponding electronic mail is reached;
the intelligent contract-based current time detection comprises the following steps: a current time is detected based on the first smart contract.
3. The method of claim 2, further comprising, prior to saving the e-mail and the delivery time association into a blockchain:
determining a letter identification of the e-mail;
the saving the e-mail and the delivery time association into a blockchain comprises:
storing the e-mail, the delivery time, and the mail identification association into a blockchain;
the deploying of the first intelligent contract corresponding to the electronic mail according to the delivery time comprises the following steps:
and deploying a first intelligent contract corresponding to the electronic mail according to the delivery time and the mail identification.
4. The method of claim 3, wherein the email includes an addressee address, and wherein the delivering the email stored in the blockchain comprises:
acquiring the electronic mails saved in association in the blockchain based on the mail identification contained in the first intelligent contract;
acquiring a receiving address of a receiver from the acquired e-mail;
and delivering the acquired e-mail to the acquired receiving address.
5. The method of claim 1, said saving said e-mail and said delivery time association into a blockchain, comprising:
calling a second intelligent contract, and determining a time period corresponding to the electronic mail according to a preset time period division rule;
and storing the E-mail, the time period corresponding to the E-mail and the delivery time association into a block chain.
6. The method of claim 5, said detecting a current time based on a smart contract and determining whether to deliver the email stored in the blockchain based on the current time, comprising:
detecting a current time based on the second intelligent contract, wherein the second intelligent contract is set to deliver at least one electronic mail when a delivery time of the at least one electronic mail is reached;
determining a target time period corresponding to the current time;
and determining whether to carry out delivery processing on the electronic mails corresponding to the target time period or not according to the current time and delivery time stored in the block chain in association with the target time period.
7. The method of any of claims 1-6, further comprising:
sending a delivery service providing request to each second block chain node according to the letter delivery request, and determining a target block chain node for providing delivery service for the electronic letter in each second block chain node through a consensus mechanism;
obtaining a pass certificate required by rewarding the target block chain node;
and performing reward operation on the target block chain node based on the certificate according to a preset reward mechanism.
8. The method of claim 7, the obtaining the credentials required to reward the target blockchain node, comprising:
determining a first number of the target blockchain nodes;
determining a second number of certificates required for rewarding the target block chain nodes according to the first number, the delivery time and the preset rewarding mechanism;
according to the second quantity, sending a certificate transfer request to the terminal equipment of the sender so that the sender carries out certificate transfer operation through the terminal equipment of the sender;
and receiving the second number of the certificates transferred by the terminal equipment of the sender.
9. The method of claim 7, wherein rewarding the target blockchain node based on the pass certificate according to a preset rewarding mechanism comprises:
determining reward time and a third number of the certificates awarded to the target block chain nodes according to a preset reward mechanism;
when the reward time is reached, determining whether each target block chain node is in a state of providing delivery service for the electronic mail;
and if the target block chain node is in the delivery service providing state, sending the third number of certificates to the block chain address of the target block chain node in the delivery service providing state.
10. An E-mail delivery method based on block chain is applied to terminal equipment of a sender, and comprises the following steps:
acquiring letter elements and delivery time set by a sender;
generating an e-mail according to the mail element;
and sending a mail delivery request to a first block chain node according to the electronic mail and the delivery time so that the first block chain node delivers the electronic mail when determining that the delivery time is reached based on an intelligent contract.
11. The method of claim 10, wherein the obtaining of the mail element and the delivery time set by the sender comprises:
displaying a mail cover setting interface, and acquiring a mail cover selected by a sender in the mail cover setting interface, or acquiring a mail cover uploaded by the sender in the mail cover setting interface; wherein the letter cover setting interface comprises a plurality of letter covers; and the number of the first and second groups,
displaying a mail editing interface, and acquiring a receiving address, a mail text and delivery time of a receiver edited in the mail editing interface by a sender;
said generating an e-mail from said mail element, comprising:
and generating the electronic mail according to the acquired mail cover, the address of the addressee and the mail text.
12. The method of claim 10, wherein the obtaining of the mail element and the delivery time set by the sender comprises:
acquiring letter elements, delivery time and hiding information set by a sender;
if the concealed information represents that the electronic mail is a non-public mail, the step of sending a mail delivery request to a block chain node according to the electronic mail and the delivery time comprises the following steps:
encrypting the e-mail by adopting a public key of a receiver to obtain a ciphertext of the e-mail;
and sending a mail delivery request to a first block chain node according to the ciphertext of the electronic mail and the delivery time.
13. The method of any of claims 10-12, further comprising, after sending a letter delivery request to a first tile link point based on the email and the delivery time:
receiving a certificate passing transfer request sent by a first block chain node, wherein the certificate passing transfer request comprises a second number of certificates to be transferred;
and in response to the trigger operation of the sender on the evidence transfer, transferring the second number of evidences to the first block link point so as to enable the first block link point to reward a target block chain node for providing delivery service based on the transferred evidences.
14. An e-mail delivery device based on block chain, which is applied to a first block chain node, comprises:
the receiving module is used for receiving a mail delivery request sent by a terminal device of a sender, wherein the mail delivery request comprises an electronic mail and the delivery time of the electronic mail;
a saving module that saves the email and the delivery time into a blockchain;
the delivery module detects the current time based on the intelligent contract and determines whether to deliver the electronic mails saved in the block chain according to the current time; wherein the smart contract is configured to deliver the e-mail at a delivery time of the e-mail.
15. The apparatus of claim 14, further comprising: a deployment module;
the deployment module deploys a first intelligent contract corresponding to the electronic mail before the delivery module detects the current time based on the intelligent contract, wherein the first intelligent contract is set to deliver the corresponding electronic mail when the delivery time of the corresponding electronic mail is reached;
the delivery module detects the current time based on the first intelligent contract.
16. The apparatus of claim 14, wherein the first and second electrodes are disposed on opposite sides of the substrate,
the storage module calls a second intelligent contract and determines a time period corresponding to the electronic mail according to a preset time period division rule; and the number of the first and second groups,
and storing the E-mail, the time period corresponding to the E-mail and the delivery time association into a block chain.
17. The apparatus of claim 16, wherein the first and second electrodes are disposed in a common plane,
the delivery module detects the current time based on the second intelligent contract, wherein the second intelligent contract is set to deliver at least one electronic letter when the delivery time of the at least one electronic letter is reached; and the number of the first and second groups,
determining a target time period corresponding to the current time;
and determining whether to carry out delivery processing on the electronic mails corresponding to the target time period or not according to the current time and delivery time stored in the block chain in association with the target time period.
18. An e-mail delivery device based on block chain is applied to terminal equipment of a sender, and comprises:
the acquisition module acquires the letter elements and delivery time set by the sender;
a generating module for generating an electronic mail according to the mail element;
and the sending module is used for sending a mail delivery request to the block chain node according to the electronic mail and the delivery time so as to enable the block chain node to deliver the electronic mail when the delivery time is reached.
19. An email delivery device based on a blockchain, comprising:
a processor; and the number of the first and second groups,
a memory arranged to store computer executable instructions that, when executed, cause the processor to:
receiving a mail delivery request sent by a terminal device of a sender, wherein the mail delivery request comprises an electronic mail to be delivered and the delivery time of the electronic mail;
storing the e-mail and the delivery time association into a blockchain;
detecting the current time based on an intelligent contract, and determining whether to deliver the electronic mails saved in the block chain according to the current time; wherein the smart contract is configured to deliver the e-mail at a delivery time of the e-mail.
20. An email delivery device based on a blockchain, comprising:
a processor; and the number of the first and second groups,
a memory arranged to store computer executable instructions that, when executed, cause the processor to:
acquiring letter elements and delivery time set by a sender;
generating an e-mail according to the mail element;
and sending a mail delivery request to a first block chain node according to the electronic mail and the delivery time so that the first block chain node delivers the electronic mail when determining that the delivery time is reached based on an intelligent contract.
21. A storage medium storing computer-executable instructions that when executed implement the following:
receiving a mail delivery request sent by a terminal device of a sender, wherein the mail delivery request comprises an electronic mail to be delivered and the delivery time of the electronic mail;
storing the e-mail and the delivery time association into a blockchain;
detecting the current time based on an intelligent contract, and determining whether to deliver the electronic mails saved in the block chain according to the current time; wherein the smart contract is configured to deliver the e-mail at a delivery time of the e-mail.
22. A storage medium storing computer-executable instructions that when executed implement the following:
acquiring letter elements and delivery time set by a sender;
generating an e-mail according to the mail element;
and sending a mail delivery request to a first block chain node according to the electronic mail and the delivery time so that the first block chain node delivers the electronic mail when determining that the delivery time is reached based on an intelligent contract.
CN201910843735.3A 2019-09-06 2019-09-06 Block chain-based e-mail delivery method, device and equipment Active CN110601955B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910843735.3A CN110601955B (en) 2019-09-06 2019-09-06 Block chain-based e-mail delivery method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910843735.3A CN110601955B (en) 2019-09-06 2019-09-06 Block chain-based e-mail delivery method, device and equipment

Publications (2)

Publication Number Publication Date
CN110601955A true CN110601955A (en) 2019-12-20
CN110601955B CN110601955B (en) 2022-04-19

Family

ID=68858170

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910843735.3A Active CN110601955B (en) 2019-09-06 2019-09-06 Block chain-based e-mail delivery method, device and equipment

Country Status (1)

Country Link
CN (1) CN110601955B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111741028A (en) * 2020-08-24 2020-10-02 支付宝(杭州)信息技术有限公司 Service processing method, device, equipment and system
WO2022082549A1 (en) * 2020-10-22 2022-04-28 贾胜 Blockchain-based smart contract payment system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1744114A (en) * 2005-08-23 2006-03-08 杨波 Electronic file transmission method
US20180225008A1 (en) * 2015-07-09 2018-08-09 Sensoriant, Inc. Method and System for Creating Adaptive User Interfaces Using User Provided and Controlled Data
CN109064167A (en) * 2018-07-27 2018-12-21 烨链(上海)科技有限公司 Data processing method and device based on block chain
CN109308605A (en) * 2018-09-12 2019-02-05 莆田市烛火信息技术有限公司 A kind of electronic time capsule management method and system based on block chain
CN109831374A (en) * 2019-03-18 2019-05-31 深圳幂度信息科技有限公司 A kind of email distribution and reception system based on block chain

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1744114A (en) * 2005-08-23 2006-03-08 杨波 Electronic file transmission method
US20180225008A1 (en) * 2015-07-09 2018-08-09 Sensoriant, Inc. Method and System for Creating Adaptive User Interfaces Using User Provided and Controlled Data
CN109064167A (en) * 2018-07-27 2018-12-21 烨链(上海)科技有限公司 Data processing method and device based on block chain
CN109308605A (en) * 2018-09-12 2019-02-05 莆田市烛火信息技术有限公司 A kind of electronic time capsule management method and system based on block chain
CN109831374A (en) * 2019-03-18 2019-05-31 深圳幂度信息科技有限公司 A kind of email distribution and reception system based on block chain

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
DA SOM JEON: "一年之信-定时发送邮件/时间胶囊/情书", 《HTTPS://WWW.DOUBAN.COM/APP/25710235/》 *
可爱的行者513: "hope时间胶囊使用心得", 《HTTPS://JINGYAN.BAIDU.COM/ARTICLE/59A015E36ECE51F7948865AC.HTML》 *
未来信封: "未来信封如何给未来写信?需要怎么写?", 《HTTPS://JINGYAN.BAIDU.COM/ARTICLE/A24B33CDDB033019FE002B30.HTML》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111741028A (en) * 2020-08-24 2020-10-02 支付宝(杭州)信息技术有限公司 Service processing method, device, equipment and system
US11477008B2 (en) 2020-08-24 2022-10-18 Alipay (Hangzhou) Information Technology Co., Ltd. Service processing methods, apparatuses, devices and systems
WO2022082549A1 (en) * 2020-10-22 2022-04-28 贾胜 Blockchain-based smart contract payment system

Also Published As

Publication number Publication date
CN110601955B (en) 2022-04-19

Similar Documents

Publication Publication Date Title
Dingler et al. I'll be there for you: Quantifying Attentiveness towards Mobile Messaging
US9460473B2 (en) Content-sensitive notification icons
CN103092824B (en) A kind of p.m.entry creation method and device
US11327942B2 (en) Systems and methods for providing a two-way, intelligent text messaging platform
RU2630553C2 (en) Method, instrumentation, and device for adding connected expansion to address book
CN110601955B (en) Block chain-based e-mail delivery method, device and equipment
CN102200922A (en) Application program installation method and terminal
AU2010270835A1 (en) Information aggregation service
US20190116143A1 (en) Methods, systems and computer readable mediums for providing a rich menu for instant messaging services
CN107580128A (en) Backlog processing method and processing device, terminal and readable storage medium storing program for executing
CN105376719A (en) Information pushing method and device
CN105281965B (en) Traffic acquisition method and device based on IOS (input/output system)
CN102480557A (en) BREW (Binary Runtime Environment for Wireless) platform-based mobile phone application program management method and system
WO2023109520A1 (en) Random number generation method and apparatus based on blockchain
CN107247539A (en) A kind of information displaying method and device, computer installation and readable storage medium storing program for executing
CN111669434A (en) Method, system, device and equipment for establishing communication group
US20150215246A1 (en) Messaging and task management device and method thereof
CN106445479A (en) Information pushing method and apparatus
CN113608733A (en) Method and device for creating flow, electronic equipment and medium
WO2020221195A1 (en) Method and device for publishing dynamic information
CN102622099A (en) Input method system embedded in APP (application) application program and corresponding method
CN105187650A (en) Intelligent scene mode switching method and system
US20130130641A1 (en) Contact communication tracking system
CN105099670A (en) Encryption method and terminal
CN105592033A (en) Trusted service management system and method

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40019452

Country of ref document: HK

TA01 Transfer of patent application right

Effective date of registration: 20200924

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman, British Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman, British Islands

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20200924

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman, British Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant