CN108898419B - Reward information processing method and device and block link points - Google Patents

Reward information processing method and device and block link points Download PDF

Info

Publication number
CN108898419B
CN108898419B CN201810555929.9A CN201810555929A CN108898419B CN 108898419 B CN108898419 B CN 108898419B CN 201810555929 A CN201810555929 A CN 201810555929A CN 108898419 B CN108898419 B CN 108898419B
Authority
CN
China
Prior art keywords
storage node
node
reward
query
request information
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.)
Active
Application number
CN201810555929.9A
Other languages
Chinese (zh)
Other versions
CN108898419A (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201810555929.9A priority Critical patent/CN108898419B/en
Publication of CN108898419A publication Critical patent/CN108898419A/en
Application granted granted Critical
Publication of CN108898419B publication Critical patent/CN108898419B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0207Discounts or incentives, e.g. coupons or rebates
    • 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)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Game Theory and Decision Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention provides a reward information processing method and device and a block chain node. The method comprises the following steps: the method comprises the steps that a main storage node acquires reward request information, wherein the reward request information is used for rewarding a secondary storage node providing query service, and the reward request information comprises a query request received by the secondary storage node and a timestamp corresponding to the query request; the main storage node inquires a locally stored block chain account book according to the timestamp to determine whether the inquiry request exists in the block chain account book; if the query request is present in the blockchain ledger, the primary storage node broadcasts the reward request information to the blockchain network. The embodiment of the invention realizes the reward mechanism of the slave storage node, thereby prompting more nodes in the block chain network to take the responsibility of the block storage node.

Description

Reward information processing method and device and block link points
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a reward information processing method and device and a block chain node.
Background
In the blockchain network, a blockchain account book or a complete blockchain account book is stored in a blockchain storage node, and the blockchain storage node can provide query service for other nodes.
In order for more nodes in the blockchain network to assume the role of the block storage node, a mechanism for rewarding the block storage node is needed.
Disclosure of Invention
The embodiment of the invention provides a reward information processing method and device and a block link point, so as to realize a reward mechanism for a slave storage node.
In a first aspect, an embodiment of the present invention provides a reward information processing method, including:
the method comprises the steps that a main storage node obtains reward request information, the reward request information is used for rewarding a secondary storage node providing query service, and the reward request information comprises a query request received by the secondary storage node and a timestamp corresponding to the query request;
the main storage node inquires a locally stored block chain account book according to the timestamp to determine whether the inquiry request exists in the block chain account book;
if the query request is present in the blockchain ledger, the primary storage node broadcasts the reward request information to a blockchain network.
In a second aspect, an embodiment of the present invention provides a reward information processing apparatus, including:
the system comprises an acquisition module, a storage module and a processing module, wherein the acquisition module is used for acquiring reward request information, the reward request information is used for rewarding a secondary storage node which provides inquiry service, and the reward request information comprises an inquiry request received by the secondary storage node and a timestamp corresponding to the inquiry request;
the query module is used for querying a locally stored block chain account book according to the timestamp so as to determine whether the query request exists in the block chain account book;
and the sending module is used for broadcasting the reward request information to the blockchain network when the inquiry request exists in the blockchain account book.
In a third aspect, an embodiment of the present invention provides a block link point, including:
a memory;
a processor; and
a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to implement the method of the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, the computer program being executed by a processor to implement the method of the first aspect.
In the reward information processing method, the reward information processing device and the block chain node provided by the embodiment of the invention, the reward request information is acquired through the main storage node, the locally stored block chain account book is inquired according to the timestamp corresponding to the inquiry request in the reward request information so as to determine whether the inquiry request received from the inquiry node by the storage node exists in the block chain account book, if the inquiry request exists in the block chain account book, the main storage node broadcasts the reward request information to the block chain network, and a reward mechanism for the auxiliary storage node is realized, so that more nodes in the block chain network are prompted to undertake the responsibility of the block storage node.
Drawings
Fig. 1 is a schematic diagram of an application scenario provided in an embodiment of the present invention;
FIG. 2 is a flow chart of a method for processing reward information according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a blockchain network according to an embodiment of the present invention;
FIG. 4 is a flow chart of a method for processing reward information according to another embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a reward information processing device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a blockchain node according to an embodiment of the present invention.
With the foregoing drawings in mind, certain embodiments of the disclosure have been shown and described in more detail below. These drawings and written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the concepts of the disclosure to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The reward information processing method provided by the invention can be applied to the communication system shown in figure 1. As shown in fig. 1, the communication system includes: access network device 11, terminal device 12, and server 13. It should be noted that the communication System shown in fig. 1 may be applicable to different network formats, for example, may be applicable to Global System for Mobile communication (GSM), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time Division-Synchronous Code Division Multiple Access (TD-SCDMA), Long Term Evolution (Long Term Evolution, LTE), and future 5G network formats. Optionally, the communication system may be a system in a scenario of high-reliability and Low-Latency Communications (URLLC) transmission in a 5G communication system.
Therefore, optionally, the access Network device 11 may be a Base Station (BTS) and/or a Base Station Controller in GSM or CDMA, a Base Station (NodeB, NB) and/or a Radio Network Controller (RNC) in WCDMA, an evolved Node B (eNB or eNodeB) in LTE, or a relay Station or an access point, or a Base Station (gbb) in a future 5G Network, and the present invention is not limited thereto.
The terminal device 12 may be a wireless terminal or a wired terminal. A wireless terminal may refer to a device that provides voice and/or other traffic data connectivity to a user, a handheld device having wireless connection capability, or other processing device connected to a wireless modem. A wireless terminal, which may be a mobile terminal such as a mobile telephone (or "cellular" telephone) and a computer having a mobile terminal, for example, a portable, pocket, hand-held, computer-included, or vehicle-mounted mobile device, may communicate with one or more core Network devices via a Radio Access Network (RAN), and may exchange language and/or data with the RAN. For another example, the Wireless terminal may also be a Personal Communication Service (PCS) phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), and other devices. A wireless Terminal may also be referred to as a system, a Subscriber Unit (Subscriber Unit), a Subscriber Station (Subscriber Station), a Mobile Station (Mobile), a Remote Station (Remote Station), a Remote Terminal (Remote Terminal), an Access Terminal (Access Terminal), a User Terminal (User Terminal), a User Agent (User Agent), and a User Device or User Equipment (User Equipment), which are not limited herein. Optionally, the terminal device 12 may also be a smart watch, a tablet computer, or the like. In this embodiment, the terminal device 12 and the server 13 may be nodes in a blockchain network.
The invention provides a reward information processing method, which aims to solve the technical problems in the prior art.
The following describes the technical solutions of the present invention and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present invention will be described below with reference to the accompanying drawings.
Fig. 2 is a flowchart of a method for processing bonus information according to an embodiment of the invention. The embodiment of the invention provides a reward information processing method aiming at the technical problems in the prior art, and the method comprises the following specific steps:
step 201, a master storage node obtains reward request information, where the reward request information is used to reward a slave storage node providing query service, and the reward request information includes a query request received by the slave storage node and a timestamp corresponding to the query request.
In this embodiment, the acquiring, by the primary storage node, the reward request information includes: and the master storage node receives the reward request information sent by the slave storage node.
In other embodiments, the primary storage node obtains reward request information, including: the main storage node receives reward request information sent by a query node, and the auxiliary storage node provides query service for the query node.
As shown in fig. 3, the blockchain network includes a master storage node 31, a master storage node 32, a master storage node 33, a master storage node 34, a slave storage node 41, a slave storage node 42, and a slave storage node 43, which is only illustrated schematically and is not limited to the specific network architecture of the blockchain network. Optionally, each master storage node may be communicatively connected to a plurality of slave storage nodes, for example, the master storage node 31 may be communicatively connected to the slave storage node 41, the slave storage node 42, and the slave storage node 43, and optionally, the master storage node 32 may be communicatively connected to the slave storage node 41, the slave storage node 42, the slave storage node 43, or may be communicatively connected to other slave storage nodes. Similarly, the master storage node 33 and the master storage node 34 may also be communicatively connected with the slave storage node 41, the slave storage node 42, the slave storage node 43, or other slave storage nodes. In addition, the number of slave storage nodes communicatively connected to each master storage node is not limited in this embodiment.
In this embodiment, the identity information of the master storage node needs to be broadcast into the blockchain network, and the identity information and IP address of the master storage node need to be recorded in the foundational block.
When a node first joins the block chain network, it is necessary to obtain a created block from a node adjacent to the node, and optionally, all the nodes in the block chain network store the created block. In order to ensure that the node acquires a real created block, the node may send created block query requests to a plurality of adjacent nodes, for example, the node a joins the block chain network for the first time, the node a sends created block query requests to the adjacent node B and the adjacent node C respectively, after receiving the created block query requests, the adjacent node B and the adjacent node C send respective locally stored created blocks to the node a, the node a compares whether created blocks fed back by the adjacent node B and the adjacent node C are consistent, if the created blocks fed back by the adjacent node B and the adjacent node C are consistent, the node a stores the created blocks locally; if the created blocks fed back by the adjacent node B and the adjacent node C are not consistent, the node A can further continuously send created block query requests to the adjacent node D and the adjacent node E and receive the created blocks fed back by the adjacent node D and the adjacent node E respectively.
After acquiring a real created block, a node A acquires an IP address of a main storage node from the created block, and sends a secondary storage node query request to the main storage node according to the IP address of the main storage node, wherein the secondary storage node query request is used for acquiring identification information of a plurality of secondary storage nodes stored in the main storage node.
As shown in fig. 3, the master storage node 31 locally stores the identification information of the slave storage node 41, the slave storage node 42, and the slave storage node 43, and when the master storage node 31 receives the slave storage node query request sent by the node a, the identification information of the slave storage node 41, the slave storage node 42, and the slave storage node 43 is sent to the node a according to the slave storage node query request. In the present embodiment, the slave storage node 41, the slave storage node 42, and the slave storage node 43 store partial blockchain ledger or complete blockchain ledger, and the node a may send an inquiry request for inquiring partial contents of the blockchain ledger stored in the slave storage node to the slave storage node 41, the slave storage node 42, and the slave storage node 43.
When receiving the query request sent by node a from the storage node 41, the storage node 42, and the storage node 43, the node a sends the partial content of the blockchain ledger stored in the slave storage node queried by node a to node a. Optionally, the slave storage node 41, the slave storage node 42, and the slave storage node 43 may sign part of the content of the blockchain ledger by using the public key of the node a, and send part of the content of the signed blockchain ledger to the node a. If the data volume of the partial content of the blockchain account book queried by the node a is large, the slave storage nodes 41, 42, and 43 may also sign the access address and the access code corresponding to the partial content of the blockchain account book by using the public key of the node a, and send the signed access address and access code to the node a.
After the slave storage node 41, the slave storage node 42, and the slave storage node 43 provide the node a with the inquiry service, the slave storage node 41, the slave storage node 42, and the slave storage node 43 may respectively send to the master storage node 31 the reward request information for requesting the blockchain network to give a certain reward amount to the slave storage node 41, the slave storage node 42, and the slave storage node 43, for example, the reward request information sent from the storage node 41 to the master storage node 31 includes: the node A sends a query request to the storage node 41, and a timestamp corresponding to the query request; similarly, the reward request information sent from the storage node 42 to the main storage node 31 includes: the node a sends the query request to the slave storage node 42, and the timestamp corresponding to the query request; the reward request information sent from the storage node 43 to the main storage node 31 includes: node a sends a query request to the slave storage node 43, along with a timestamp corresponding to the query request.
In other embodiments, the reward request information may also be sent by node a to the primary storage node 31 after the query service is provided to node a from the storage node 41, from the storage node 42, from the storage node 43.
Step 202, the main storage node queries a locally stored blockchain ledger according to the timestamp to determine whether the query request exists in the blockchain ledger.
Optionally, the main storage node 31 and the node a are in the same network segment, the main storage node 32, the main storage node 33, the main storage node 34 and the node a are not in the same network segment, the main storage node 31 is responsible for managing the node a, and the main storage node 32, the main storage node 33 and the main storage node 34 are not responsible for managing the node a. If the primary storage node 32, the primary storage node 33, or the primary storage node 34 receives the reward request information sent by the node a, or the primary storage node 32, the primary storage node 33, or the primary storage node 34 receives the reward request information sent from the storage node 41, the secondary storage node 42, or the secondary storage node 43, the primary storage node 32, the primary storage node 33, or the primary storage node 34 does not process the reward request information.
When the master storage node 31 receives the reward request information sent from the slave storage node 41, the slave storage node 42, and the slave storage node 43, respectively, and then queries the locally stored blockchain ledger according to the timestamp included in the reward request information, since the master storage node 31 locally stores the complete blockchain ledger, the master storage node 31 can determine whether the query requests of the node a received from the slave storage node 41, the slave storage node 42, and the slave storage node 43, respectively, are in the complete blockchain ledger by comparing the query requests of the node a received from the slave storage node 41, the slave storage node 42, and the slave storage node 43, and the content recorded in the locally stored complete blockchain ledger.
Step 203, if the query request exists in the blockchain ledger, the main storage node broadcasts the reward request information to a blockchain network.
If the query request of node a received from storage node 41, storage node 42, and storage node 43, respectively, is in the complete blockchain ledger, the master storage node 31 broadcasts the reward request information to the blockchain network so that the blockchain network rewards the slave storage node 41, storage node 42, and storage node 43, respectively.
In the embodiment of the invention, the reward request information is acquired through the main storage node, the local storage block chain account book is inquired according to the timestamp corresponding to the inquiry request in the reward request information, whether the inquiry request received from the inquiry node by the auxiliary storage node exists in the block chain account book is determined, and if the inquiry request exists in the block chain account book, the main storage node broadcasts the reward request information to the block chain network, so that a reward mechanism for the auxiliary storage node is realized, and more nodes in the block chain network are promoted to bear the responsibility of the block storage node.
Fig. 4 is a flowchart of a method for processing bonus information according to another embodiment of the invention. On the basis of the foregoing embodiment, the method for processing bonus information provided in this embodiment specifically includes the following steps:
step 401, the master storage node receives reward request information sent by an inquiry node, and the slave storage node provides inquiry service for the inquiry node.
The reward request information is used for rewarding the slave storage nodes providing query services, and the reward request information comprises the query requests received from the slave storage nodes and timestamps corresponding to the query requests.
In this embodiment, the query node is specifically the node a described in the above embodiments.
For example, after providing the query service to the node a from the storage node 41, the slave storage node 42, and the slave storage node 43, the node a determines that the query results returned from the storage node 41, the slave storage node 42, and the slave storage node 43 are identical, and after confirming the query results returned from the storage node 41, the slave storage node 42, and the slave storage node 43, the node a sends reward request information for requesting the master storage node 31 to give a certain reward to the slave storage node 41, the slave storage node 42, and the slave storage node 43 to the master storage node 31. Optionally, the reward request information includes an inquiry request sent by the node a and a timestamp corresponding to the inquiry request.
Step 402, the master storage node queries a locally stored blockchain ledger according to the timestamp to determine whether the query request exists in the blockchain ledger.
The implementation manner of step 402 and step 202 is consistent with specific principles, and will not be described herein.
Step 403, if the query request exists in the blockchain ledger and the number of times of the query request received by the secondary storage node from the query node is within a preset number of times, the primary storage node broadcasts the reward request information to a blockchain network.
In this embodiment, a certain node and a certain slave storage node may jointly cheat the reward in the blockchain network, for example, the node a continuously sends an inquiry request to the slave storage node 41, and the slave storage node 41 provides an inquiry service to the node a and sends a reward request message to the master storage node 31; alternatively, node a sends the reward request message to the master storage node 31 once each time it obtains the results of the query sent from the storage node 41, causing the blockchain network to send most of the reward to the slave storage node 41. Therefore, in order to avoid the joint spoofing of the reward in the blockchain network by the node a and the slave storage node 41, when the master storage node 31 determines that the query request sent by the node a to the slave storage node 41 is indeed in the blockchain book stored in the master storage node 31, the master storage node 31 may further detect whether the number of times that the node a sends the query request to the slave storage node 41 exceeds the preset number, and if the number of times that the node a sends the query request to the slave storage node 41 exceeds the preset number, it indicates that the node a and the slave storage node 41 have the possibility of jointly spoofing the reward in the blockchain network, and at this time, the master storage node 31 does not broadcast the reward request information to the blockchain network.
If the master storage node 31 determines that the inquiry request sent by node a to the slave storage node 41 is indeed in the blockchain ledger stored by the master storage node 31 and the number of times that node a sends inquiry requests to the slave storage node 41 does not exceed the preset number, the master storage node 31 broadcasts the reward request information to the blockchain network.
Step 404, if the query request does not exist in the blockchain ledger, the main storage node records the identification information of the query node in a blacklist.
If the master storage node 31 determines that the query request sent by the node a to the slave storage node 41 does not exist in the blockchain account book stored by the master storage node 31, the master storage node 31 determines that the node a helps the slave storage node 41, the slave storage node 42, and the slave storage node 43 to obtain the reward of the blockchain network, at this time, the master storage node 31 records the identification information of the node a in a blacklist and sends the identification information of the node a to other master storage nodes such as the master storage node 32, the master storage node 33, and the master storage node 34, so that the master storage node 32, the master storage node 33, and the master storage node 34 respectively send the identification information of the node a to the slave storage nodes belonging to the same subordinates, and therefore the master storage node or the slave storage node in the blockchain network no longer provides storage or query service for the node a.
In the embodiment of the invention, the reward request information is acquired through the main storage node, the local stored blockchain account book is inquired according to the timestamp corresponding to the inquiry request in the reward request information, so that whether the inquiry request received from the inquiry node by the storage node exists in the blockchain account book is determined, and if the inquiry request does not exist in the blockchain account book, the main storage node broadcasts the identification information of the inquiry node to the blockchain network, so that the main storage node or the auxiliary storage node in the blockchain network does not provide storage or inquiry service for the inquiry node any more, and the behavior of maliciously cheating the reward in the blockchain network is effectively avoided.
Fig. 5 is a schematic structural diagram of a bonus information processing apparatus according to an embodiment of the invention. The reward information processing device may specifically be the main storage node described in the above embodiments. As shown in fig. 5, the bonus information processing device 50 includes: an acquisition module 51, a query module 52 and a sending module 53; the obtaining module 51 is configured to obtain reward request information, where the reward request information is used to reward a secondary storage node that provides query service, and the reward request information includes a query request received from the secondary storage node and a timestamp corresponding to the query request; the query module 52 is configured to query a locally stored blockchain ledger according to the timestamp to determine whether the query request exists in the blockchain ledger; the sending module 53 is configured to broadcast the reward request information to the blockchain network when the query request exists in the blockchain book.
Optionally, the reward information processing device 50 further includes: a receiving module 54; the receiving module 54 is configured to receive the reward request information sent from the storage node.
Optionally, the receiving module 54 is configured to receive reward request information sent by a querying node, and the querying node is provided with a query service from the storage node.
Optionally, the reward information processing device 50 further includes: a recording module 55; the recording module 55 is configured to record the identification information of the querying node in a blacklist when the querying request does not exist in the blockchain ledger.
Optionally, the sending module 53 is specifically configured to: when the inquiry request exists in the blockchain book and the number of times of the inquiry request received from the inquiry node from the storage node is within a preset number of times, the reward request information is broadcasted to a blockchain network.
The reward information processing device of the embodiment shown in fig. 5 can be used for implementing the technical solutions of the above method embodiments, and the implementation principle and technical effects are similar, and are not described herein again.
Fig. 6 is a schematic structural diagram of a blockchain node according to an embodiment of the present invention. The block link point provided by the embodiment of the present invention may execute the processing flow provided by the reward information processing method embodiment, as shown in fig. 6, the block link point 60 includes a memory 61, a processor 62, a computer program and a communication interface 63; wherein the computer program is stored in the memory 61 and is configured to be executed by the processor 62 in the bonus information processing method described in the above embodiments.
The block link points of the embodiment shown in fig. 6 can be used to implement the technical solution of the above method embodiment, and the implementation principle and technical effect are similar, and are not described herein again.
In addition, the present embodiment also provides a computer-readable storage medium on which a computer program is stored, the computer program being executed by a processor to implement the bonus information processing method described in the above embodiment.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
It is obvious to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be performed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to perform all or part of the above described functions. For the specific working process of the device described above, reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (12)

1. A reward information processing method, comprising:
the method comprises the steps that a main storage node obtains reward request information, the reward request information is used for rewarding a secondary storage node providing query service, and the reward request information comprises a query request received by the secondary storage node and a timestamp corresponding to the query request;
the main storage node inquires a locally stored block chain account book according to the timestamp to determine whether the inquiry request exists in the block chain account book;
if the query request exists in the blockchain ledger, the main storage node broadcasts the reward request information to a blockchain network;
wherein the master storage node and the slave storage nodes are located within a block chain network, each of the master storage nodes being communicatively connected to a corresponding plurality of the slave storage nodes.
2. The method of claim 1, wherein obtaining the reward request information by the primary storage node comprises:
and the master storage node receives the reward request information sent by the slave storage node.
3. The method of claim 1, wherein obtaining the reward request information by the primary storage node comprises:
the main storage node receives reward request information sent by a query node, and the auxiliary storage node provides query service for the query node.
4. The method of claim 3, further comprising:
if the query request does not exist in the block chain account book, the main storage node records the identification information of the query node in a blacklist.
5. The method of claim 3 or 4, wherein broadcasting the reward request information to a blockchain network by the master storage node if the query request is present in the blockchain ledger comprises:
if the inquiry request exists in the blockchain account book and the number of times of the inquiry request received by the slave storage node from the inquiry node is within a preset number of times, the master storage node broadcasts the reward request information to a blockchain network.
6. A reward information processing apparatus characterized by comprising:
the system comprises an acquisition module, a storage module and a processing module, wherein the acquisition module is used for a main storage node to acquire reward request information, the reward request information is used for rewarding a secondary storage node which provides inquiry service, and the reward request information comprises an inquiry request received by the secondary storage node and a timestamp corresponding to the inquiry request;
the query module is used for querying a locally stored block chain account book according to the timestamp so as to determine whether the query request exists in the block chain account book;
a sending module, configured to broadcast the reward request information to a blockchain network when the query request exists in the blockchain book;
wherein the master storage node and the slave storage nodes are located within a block chain network, each of the master storage nodes being communicatively connected to a corresponding plurality of the slave storage nodes.
7. The bonus information processing apparatus of claim 6, further comprising:
and the receiving module is used for receiving the reward request information sent from the storage node.
8. The bonus information processing apparatus of claim 6, further comprising:
and the receiving module is used for receiving reward request information sent by the inquiry node, and the inquiry service is provided for the inquiry node from the storage node.
9. The bonus information processing apparatus of claim 8, further comprising:
and the recording module is used for recording the identification information of the query node in a blacklist when the query request does not exist in the blockchain account book.
10. The device for processing reward information according to claim 8 or 9, wherein the sending module is specifically configured to:
when the inquiry request exists in the blockchain book and the number of times of the inquiry request received from the inquiry node from the storage node is within a preset number of times, the reward request information is broadcasted to a blockchain network.
11. A block link point, comprising:
a memory;
a processor; and
a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to implement the method of any one of claims 1-5.
12. A computer-readable storage medium, having stored thereon a computer program for execution by a processor to perform the method of any one of claims 1-5.
CN201810555929.9A 2018-05-31 2018-05-31 Reward information processing method and device and block link points Active CN108898419B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810555929.9A CN108898419B (en) 2018-05-31 2018-05-31 Reward information processing method and device and block link points

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810555929.9A CN108898419B (en) 2018-05-31 2018-05-31 Reward information processing method and device and block link points

Publications (2)

Publication Number Publication Date
CN108898419A CN108898419A (en) 2018-11-27
CN108898419B true CN108898419B (en) 2020-11-10

Family

ID=64343857

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810555929.9A Active CN108898419B (en) 2018-05-31 2018-05-31 Reward information processing method and device and block link points

Country Status (1)

Country Link
CN (1) CN108898419B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110113380A (en) * 2019-04-08 2019-08-09 中科云创(北京)科技有限公司 Data transmission method and system suitable for block chain combination time series database
CN111836269B (en) * 2020-07-10 2023-05-30 全链通有限公司 Micro base station deployment method, equipment and storage medium based on block chain

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106131048B (en) * 2016-08-13 2020-05-19 广州商品清算中心股份有限公司 Non-trust remote transaction file safe storage system for block chain
CN106790431B (en) * 2016-12-05 2020-11-27 同济大学 Cloud manufacturing service transaction information recording system and method based on block chain
CN107483211B (en) * 2017-08-10 2020-05-05 北方工业大学 Individualized k-anonymous privacy protection and excitation method based on block chain

Also Published As

Publication number Publication date
CN108898419A (en) 2018-11-27

Similar Documents

Publication Publication Date Title
CN108712506B (en) Block chain node communication method and device and block chain node
CN109067724B (en) Block chain data transaction method, device, equipment and storage medium
CN109451451B (en) Terminal roaming method, device and storage medium
CN109118360B (en) Block chain account checking method, device, equipment and storage medium
CN109640274B (en) Short message sending method and device based on block chain and computer readable storage medium
CN108769142B (en) Transaction information processing method and block generation node
CN108200568B (en) Mobile communication electronic SIM card data processing method and device
CN108810120B (en) Block chain node communication method and device and block chain node
CN108989043B (en) Block processing method and device and block link points
US11864030B2 (en) Method and apparatus for binding information management
CN108683727B (en) Block processing method and main node
CN103281757A (en) Communication method and device
CN108596636B (en) Anti-counterfeiting method and device and terminal equipment
CN108877290B (en) Parking space scheduling method, device, equipment and storage medium
CN109087096B (en) Block chain account checking method, device, equipment and storage medium
CN108777710B (en) Inter-node communication method and device of block chain and block chain node
CN108898419B (en) Reward information processing method and device and block link points
US10390210B2 (en) Access method, user equipment and server
CN108876611B (en) Transaction information processing method and device and block link points
CN109104285B (en) Block chain real-name authentication method, device, equipment and storage medium
CN109639715B (en) Method, device and equipment for avoiding double-flower attack and computer readable storage medium
CN108848144B (en) Method and device for accessing nodes in block chain and block chain link point
US20170118654A1 (en) User Management Method of Shared Network, and Corresponding Device and System
CN102547668A (en) Dual-mode terminal ability information processing method, dual-mode terminal and network side device
CN108768733B (en) Block chain account book processing method and device and block chain link points

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
GR01 Patent grant
GR01 Patent grant