CN108898419A - Incentive message processing method, device and block chain node - Google Patents
Incentive message processing method, device and block chain node Download PDFInfo
- Publication number
- CN108898419A CN108898419A CN201810555929.9A CN201810555929A CN108898419A CN 108898419 A CN108898419 A CN 108898419A CN 201810555929 A CN201810555929 A CN 201810555929A CN 108898419 A CN108898419 A CN 108898419A
- Authority
- CN
- China
- Prior art keywords
- node
- block chain
- primary storage
- rewards
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0207—Discounts or incentives, e.g. coupons or rebates
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols 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)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The embodiment of the present invention provides a kind of incentive message processing method, device and block chain node.This method includes:Primary storage node obtains rewards request information, which is used to reward the slave memory node for providing query service, which includes the inquiry request received from memory node and the corresponding timestamp of the inquiry request;The primary storage node inquires the block chain account book being locally stored according to the timestamp, to determine that the inquiry request whether there is in the block chain account book;If the inquiry request is present in the block chain account book, which broadcasts the rewards request information to block chain network.The embodiment of the present invention is realized to the reward mechanism from memory node, so that more nodes in block chain network be promoted to undertake the responsibility of the block memory node.
Description
Technical field
The present embodiments relate to field of communication technology more particularly to a kind of incentive message processing methods, device and block
Chain node.
Background technique
In block chain network, block memory node is stored with Partial Block chain account book or complete block chain account book, should
Block memory node can provide query service for other nodes.
In order to make more nodes in block chain network undertake the responsibility of the block memory node, a kind of pair of block is needed to deposit
The mechanism that storage node is rewarded.
Summary of the invention
The embodiment of the present invention provides a kind of incentive message processing method, device and block chain node, to realize to from storage
The reward mechanism of node.
In a first aspect, the embodiment of the present invention provides a kind of incentive message processing method, including:
Primary storage node obtains rewards request information, the rewards request information be used for provide query service from storage
Node is rewarded, and the rewards request information includes the inquiry request and the inquiry received from memory node
Request corresponding timestamp;
The primary storage node inquires the block chain account book being locally stored, according to the timestamp with the determination inquiry
Request is with the presence or absence of in the block chain account book;
If the inquiry request is present in the block chain account book, the primary storage node is broadcasted to block chain network
The rewards request information.
Second aspect, the embodiment of the present invention provide a kind of incentive message processing unit, including:
Obtain module, for obtaining rewards request information, the rewards request information be used for provide query service from
Memory node is rewarded, and the rewards request information includes the inquiry request received from memory node and described
The corresponding timestamp of inquiry request;
Enquiry module, for inquiring the block chain account book being locally stored, being asked with the determination inquiry according to the timestamp
Seeking Truth is no to be present in the block chain account book;
Sending module, for being broadcasted to block chain network when the inquiry request is present in the block chain account book
The rewards request information.
The third aspect, the embodiment of the present invention provide a kind of block chain node, including:
Memory;
Processor;And
Computer program;
Wherein, the computer program stores in the memory, and is configured as being executed by the processor with reality
Method described in existing first aspect.
Fourth aspect, the embodiment of the present invention provide a kind of computer readable storage medium, are stored thereon with computer program,
The computer program is executed by processor to realize method described in first aspect.
Incentive message processing method, device and block chain node provided in an embodiment of the present invention, are obtained by primary storage node
Rewards request information is taken, and according to the corresponding timestamp of inquiry request in the rewards request information, inquires the block being locally stored
Chain account book whether there is in the block chain account book with determining from memory node from the inquiry request that query node receives, if
The inquiry request is present in the block chain account book, then the primary storage node broadcasts the rewards request information to block chain network,
It realizes to the reward mechanism from memory node, so that more nodes in block chain network be promoted to undertake the block memory node
Responsibility.
Detailed description of the invention
Fig. 1 is a kind of schematic diagram of application scenarios provided in an embodiment of the present invention;
Fig. 2 is incentive message processing method flow chart provided in an embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of block chain network provided in an embodiment of the present invention;
Fig. 4 be another embodiment of the present invention provides incentive message processing method flow chart;
Fig. 5 is the structural schematic diagram of incentive message processing unit provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of block chain node provided in an embodiment of the present invention.
Through the above attached drawings, it has been shown that the specific embodiment of the disclosure will be hereinafter described in more detail.These attached drawings
It is not intended to limit the scope of this disclosure concept by any means with verbal description, but is by referring to specific embodiments
Those skilled in the art illustrate the concept of the disclosure.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Incentive message processing method provided by the invention, can be adapted for communication system shown in FIG. 1.As shown in Figure 1, should
Communication system includes:Access network equipment 11, terminal device 12 and server 13.It should be noted that communication system shown in FIG. 1
System can be adapted for different network formats, for example, can be adapted for global system for mobile telecommunications (Global System of
Mobile communication, abbreviation GSM), CDMA (Code Division Multiple Access, referred to as
CDMA), wideband code division multiple access (Wideband Code Division Multiple Access, abbreviation WCDMA), time division synchronous
CDMA (Time Division-Synchronous Code Division Multiple Access, abbreviation TD-
SCDMA), the network formats such as the 5G in long term evolution (Long Term Evolution, abbreviation LTE) system and future.Optionally,
Above-mentioned communication system can communicate (Ultra-Reliable and Low Latency for low time delay highly reliable in 5G communication system
Communications, abbreviation URLLC) transmission scene in system.
So optionally, above-mentioned access network equipment 11 can be base station (the Base Transceiver in GSM or CDMA
Station, abbreviation BTS) and/or base station controller, it is also possible to base station (NodeB, abbreviation NB) in WCDMA and/or wireless
Network controller (Radio Network Controller, abbreviation RNC), can also be the evolved base station in LTE
(Evolutional Node B, abbreviation eNB or eNodeB) perhaps base in relay station or access point or future 5G network
Stand (gNB) etc., and the present invention does not limit herein.
Above-mentioned terminal device 12 can be wireless terminal and be also possible to catv terminal.Wireless terminal can be directed to user and mention
For voice and/or the equipment of other business datum connectivity, there is the handheld device of wireless connecting function or be connected to wireless
Other processing equipments of modem.Wireless terminal can be through wireless access network (Radio Access Network, abbreviation
RAN it) is communicated with one or more equipments of the core network, wireless terminal can be mobile terminal, as mobile phone (or is
" honeycomb " phone) and computer with mobile terminal, for example, it may be portable, pocket, hand-held, built-in computer
Or vehicle-mounted mobile device, they exchange language and/or data with wireless access network.For another example wireless terminal can be with
It is personal communication service (Personal Communication Service, abbreviation PCS) phone, wireless phone, session setup
Agreement (Session Initiation Protocol, abbreviation SIP) phone, wireless local loop (Wireless Local
Loop, abbreviation WLL) it stands, the equipment such as personal digital assistant (Personal Digital Assistant, abbreviation PDA).It is wireless whole
End is referred to as system, subscriber unit (Subscriber Unit), subscriber station (Subscriber Station), movement station
(Mobile Station), mobile station (Mobile), distant station (Remote Station), remote terminal (Remote
Terminal), access terminal (Access Terminal), user terminal (User Terminal), user agent (User
Agent), user equipment (User Device or User Equipment), is not limited thereto.Optionally, above-mentioned terminal is set
Standby 12 can also be the equipment such as smartwatch, tablet computer.In the present embodiment, terminal device 12 and server 13 can be area
Node in block chain network.
Incentive message processing method provided by the invention, it is intended to solve the technical problem as above of the prior art.
How to be solved with technical solution of the specifically embodiment to technical solution of the present invention and the application below above-mentioned
Technical problem is described in detail.These specific embodiments can be combined with each other below, for the same or similar concept
Or process may repeat no more in certain embodiments.Below in conjunction with attached drawing, the embodiment of the present invention is described.
Fig. 2 is incentive message processing method flow chart provided in an embodiment of the present invention.The embodiment of the present invention is directed to existing skill
The technical problem as above of art provides incentive message processing method, and specific step is as follows for this method:
Step 201, primary storage node obtain rewards request information, and the rewards request information is used for offer query service
Slave memory node rewarded, the rewards request information includes the inquiry request received from memory node, and
The corresponding timestamp of the inquiry request.
In the present embodiment, the primary storage node obtains rewards request information, including:The primary storage node receives institute
State the rewards request information sent from memory node.
In other embodiments, the primary storage node obtains rewards request information, including:The primary storage node receives
The rewards request information that query node is sent, it is described to provide query service to the query node from memory node.
As shown in figure 3, block chain network includes primary storage node 31, primary storage node 32, primary storage node 33, primary storage
Node 34, from memory node 41, from memory node 42, from memory node 43, herein only schematically illustrate, do not limit the area
The specific network architecture of block chain network.Optionally, each primary storage node, which can be corresponded to, communicates to connect with multiple from memory node, example
Such as, primary storage node 31 can be communicated to connect with from memory node 41, from memory node 42, from memory node 43, optionally, main
It memory node 32 and is communicated to connect from memory node 41, from memory node 42, from memory node 43, or with others from storage
Node communication connection.Similarly, primary storage node 33, primary storage node 34 can also with from memory node 41, from memory node 42,
It communicates to connect from memory node 43, or is communicated to connect with others from memory node.In addition, the present embodiment do not limit with each
The number of the slave memory node of primary storage node communication connection.
In the present embodiment, the identity information of primary storage node needs to be broadcast in block chain network, and primary storage section
Identity information and the IP address needs of point are recorded in wound generation block.
When block chain network is added in a node for the first time, need to obtain wound generation block from the adjacent node of the node, it can
Choosing, the node in block chain network stores invasive generation block.It, should in order to guarantee that the node gets true wound generation block
Node can send wound generation block inquiry request to multiple adjacent nodes, for example, block chain network, node A is added in node A for the first time
Send wound generation block inquiry request respectively to adjacent node B and adjacent node C, adjacent node B and adjacent node C receive the wound
After generation block inquiry request, the wound generation block being respectively locally stored is sent to node A, node A compares adjacent node B and adjacent
Whether the wound generation block of node C feedback is consistent, if adjacent node B is consistent with the wound generation block that adjacent node C is fed back, node
The wound generation block is stored in local by A;If the wound generation block of adjacent node B and adjacent node C feedback is inconsistent, node A
It can also continue to send wound generation block inquiry request to adjacent node D and adjacent node E, and receive adjacent node D and adjacent segments
The wound generation block that point E is fed back respectively, if adjacent node C, adjacent node D are consistent with the wound generation block that adjacent node E is fed back respectively,
Then node A determines that the wound generation block of adjacent node C feedback is that really, the wound generation block of adjacent node B feedback is false.
After node A gets true wound generation block, the IP address of primary storage node is obtained from the wound generation block, and
According to the IP address of the primary storage node, sends to the primary storage node from memory node inquiry request, should be looked into from memory node
Request is ask for obtaining the multiple identification informations from memory node stored in the primary storage node.
As shown in figure 3, primary storage node 31 be locally stored from memory node 41, from memory node 42, from memory node
43 identification information, after primary storage node 31 receives the slave memory node inquiry request of node A transmission, according to this from storage
Node query requests will be sent to node A from memory node 41, from memory node 42, from the identification information of memory node 43.?
In the present embodiment, Partial Block chain account book or complete is stored with from memory node 41, from memory node 42, from memory node 43
Block chain account book, node A can send inquiry request to from memory node 41, from memory node 42, from memory node 43, this is looked into
Request is ask for inquiring the partial content for the block chain account book being stored in from memory node.
After receiving the inquiry request of node A transmission from memory node 41, from memory node 42, from memory node 43,
The partial content of the node A block chain account book being stored in from memory node inquired is sent to node A.Optionally, from depositing
It stores up node 41, the public key of node A can be used to the partial content of the block chain account book from memory node 42, from memory node 43
It signs, the partial content of the block chain account book after signature is sent to node A.If the block chain account book of node A inquiry
Partial content data volume it is larger, then can also use node from memory node 41, from memory node 42, from memory node 43
The public key of A signs to the corresponding access address of partial content and access code of the block chain account book, and by the visit after signature
Ask that address and access code are sent to node A.
After giving node A offer query service from memory node 41, from memory node 42, from memory node 43, from storage
Node 41 can send rewards request information to primary storage node 31 respectively from memory node 42, from memory node 43, which asks
Ask information for request block chain network to from memory node 41, from memory node 42, from the certain bonus of memory node 43
Volume, for example, the rewards request information sent from memory node 41 to primary storage node 31 includes:Node A is to from memory node 41
The inquiry request of transmission and the corresponding timestamp of the inquiry request;Similarly, it is sent from memory node 42 to primary storage node 31
Rewards request information include:Node A is to the inquiry request and the inquiry request corresponding time sent from memory node 42
Stamp;The rewards request information sent from memory node 43 to primary storage node 31 includes:Node A is to sending from memory node 43
Inquiry request and the corresponding timestamp of the inquiry request.
In other embodiments, it is looked into when from memory node 41, from memory node 42, from memory node 43 to node A offer
After asking service, rewards request information can also be sent from node A to primary storage node 31.
Step 202, the primary storage node inquire the block chain account book being locally stored, according to the timestamp with determination
The inquiry request whether there is in the block chain account book.
Optionally, primary storage node 31 and node A are in the same network segment, primary storage node 32, primary storage node 33, main memory
Node 34 and node A are stored up not in the same network segment, primary storage node 31 is responsible for management node A, primary storage node 32, primary storage section
Point 33, the not responsible management node A of primary storage node 34.If primary storage node 32, primary storage node 33, primary storage node 34 receive
To node A send rewards request information, alternatively, primary storage node 32, primary storage node 33, primary storage node 34 receive from
Memory node 41, from memory node 42 or from memory node 43 send rewards request information when, primary storage node 32, primary storage
Node 33, primary storage node 34 do not handle the rewards request information.
It sends respectively when primary storage node 31 is received from memory node 41, from memory node 42, from memory node 43
After rewards request information, according to the timestamp for including in the rewards request information, the block chain account book being locally stored is inquired, due to
Complete block chain account book has been locally stored in primary storage node 31, and therefore, primary storage node 31 can be saved by comparing from storage
Point 41, from memory node 42, the inquiry request for the node A being respectively received from memory node 43 and the complete area that is locally stored
The content recorded in block chain account book is determined from memory node 41, from memory node 42, the section being respectively received from memory node 43
Whether the inquiry request of point A is in the complete block chain account book.
If step 203, the inquiry request are present in the block chain account book, the primary storage node is to block chain
Rewards request information described in Web broadcast.
If from memory node 41, from the inquiry request of memory node 42, the node A being respectively received from memory node 43
Being in the complete block chain account book, then primary storage node 31 broadcasts the rewards request information to block chain network, so that
The block chain network is rewarded respectively from memory node 41, from memory node 42, from memory node 43.
The embodiment of the present invention obtains rewards request information by primary storage node, and inquires according in the rewards request information
Corresponding timestamp is requested, the block chain account book being locally stored is inquired, is received with determination from memory node from query node
Inquiry request whether there is in the block chain account book, if the inquiry request is present in the block chain account book, the primary storage
Node broadcasts the rewards request information to block chain network, realizes to the reward mechanism from memory node, to promote block
More nodes undertake the responsibility of the block memory node in chain network.
Fig. 4 be another embodiment of the present invention provides incentive message processing method flow chart.On the basis of above-described embodiment
On, incentive message processing method provided in this embodiment specifically comprises the following steps:
Step 401, the primary storage node receive the rewards request information that query node is sent, described to give from memory node
The query node provides query service.
The rewards request information is used to reward the slave memory node for providing query service, the rewards request letter
Breath includes the inquiry request received from memory node and the corresponding timestamp of the inquiry request.
In the present embodiment, query node is specially node A described in above-described embodiment.
For example, after node A offer query service is provided from memory node 41, from memory node 42, from memory node 43, section
Point A determines from memory node 41, is consistent from memory node 42, the query result returned respectively from memory node 43, and to from depositing
Store up node 41, from memory node 42, after the confirmation of query result that memory node 43 returns respectively, node A is to primary storage node
31 send rewards request information, and the rewards request information is for requesting primary storage node 31 to be given from memory node 41, from storage
Node 42, from the certain reward of memory node 43.Optionally, which includes the inquiry request that node A is sent, with
And the corresponding timestamp of the inquiry request.
Step 402, the primary storage node inquire the block chain account book being locally stored, according to the timestamp with determination
The inquiry request whether there is in the block chain account book.
Step 402 and the implementation of step 202 are consistent with concrete principle, and details are not described herein again.
If step 403, the inquiry request are present in the block chain account book, and described look into from memory node from described
The number for the inquiry request that node receives is ask in preset times, then the primary storage node is broadcasted to block chain network
The rewards request information.
In the present embodiment, some node may combine the prize defrauded of in the block chain network from memory node with some
It encourages, for example, node A ceaselessly sends inquiry request to from memory node 41, one query is provided from memory node 41 to node A
Service sends a rewards request information to primary storage node 31;Alternatively, the every acquisition of node A is once sent from memory node 41
Query result i.e. to primary storage node 31 send a rewards request information, cause the block chain network by most reward
This has been sent to from memory node 41.Therefore, in order to avoid node A and combining from memory node 41 is defrauded of in the block chain network
Reward, when primary storage node 31 determine node A to the inquiry request sent from memory node 41 really in primary storage node 31
When in the block chain account book of storage, primary storage node 31 can also be inquired further detection node A to from the transmission of memory node 41
Whether the number of request has exceeded preset times, if node A has exceeded to the number for sending inquiry request from memory node 41
Preset times illustrate node A and exist from memory node 41 to combine and gain a possibility that rewarding in the block chain network by cheating, at this point,
Primary storage node 31 does not broadcast the rewards request information to block chain network.
If primary storage node 31 determines node A to the inquiry request sent from memory node 41 really in primary storage node
31 storage block chain account books in, and node A to from memory node 41 send inquiry request number without departing from preset times, then
Primary storage node 31 broadcasts the rewards request information to block chain network.
If step 404, the inquiry request are not present in the block chain account book, the primary storage node will be described
The identification information recording of query node is in blacklist.
If primary storage node 31 determines that node A is not present in primary storage section to the inquiry request sent from memory node 41
Point 31 storage block chain account books in, then primary storage node 31 determine node A help from memory node 41, from memory node 42,
The reward that the block chain network is obtained from memory node 43, at this point, primary storage node 31 is by the identification information recording of node A black
In list, and the identification information of node A is sent to other primary storage nodes such as primary storage node 32, primary storage node
33, primary storage node 34, so that primary storage node 32, primary storage node 33, primary storage node 34 respectively believe the mark of node A
Breath is sent to the slave memory node of respective subordinate so that primary storage node in the block chain network or from memory node not
Storage or query service are provided again for node A.
The embodiment of the present invention obtains rewards request information by primary storage node, and inquires according in the rewards request information
Corresponding timestamp is requested, the block chain account book being locally stored is inquired, is received with determination from memory node from query node
Inquiry request whether there is in the block chain account book, if the inquiry request is not present in the block chain account book, the main memory
Storage node broadcasts the identification information of the query node to block chain network so that primary storage node in the block chain network or from
Memory node no longer provides storage or query service for query node, to effectively prevent maliciously defrauding of in the block chain network
The behavior of reward.
Fig. 5 is the structural schematic diagram of incentive message processing unit provided in an embodiment of the present invention.Incentive message processing dress
It sets and specifically can be primary storage node described in above-described embodiment.Incentive message processing unit provided in an embodiment of the present invention can be with
The process flow that incentive message processing method embodiment provides is executed, as shown in figure 5, incentive message processing unit 50 includes:It obtains
Modulus block 51, enquiry module 52 and sending module 53;Wherein, module 51 is obtained for obtaining rewards request information, the reward
Solicited message is used to reward the slave memory node for providing query service, and the rewards request information includes described from storage
The inquiry request and the corresponding timestamp of the inquiry request that node receives;Enquiry module 52 was used for according to the time
Stamp, inquires the block chain account book being locally stored, and whether there is in the block chain account book with the determination inquiry request;It sends
Module 53 is used for when the inquiry request is present in the block chain account book, broadcasts the rewards request to block chain network
Information.
Optionally, incentive message processing unit 50 further includes:Receiving module 54;Receiving module 54 is described from depositing for receiving
Store up the rewards request information that node is sent.
Optionally, receiving module 54 is used to receive the rewards request information of query node transmission, described to give from memory node
The query node provides query service.
Optionally, incentive message processing unit 50 further includes:Logging modle 55;Logging modle 55 is used to ask when the inquiry
It asks when being not present in the block chain account book, by the identification information recording of the query node in blacklist.
Optionally, sending module 53 is specifically used for:When the inquiry request is present in the block chain account book, and it is described
When the number of the inquiry request received from memory node from the query node is in preset times, to block chain network
Broadcast the rewards request information.
The incentive message processing unit of embodiment illustrated in fig. 5 can be used for executing the technical solution of above method embodiment,
The realization principle and technical effect are similar, and details are not described herein again.
Fig. 6 is the structural schematic diagram of block chain node provided in an embodiment of the present invention.Block provided in an embodiment of the present invention
Chain node can execute the process flow of incentive message processing method embodiment offer, as shown in fig. 6, block chain node 60 includes
Memory 61, processor 62, computer program and communication interface 63;Wherein, computer program is stored in memory 61, and by
It is configured to execute incentive message processing method described in above embodiments as processor 62.
The block chain node of embodiment illustrated in fig. 6 can be used for executing the technical solution of above method embodiment, realize former
Reason is similar with technical effect, and details are not described herein again.
In addition, the present embodiment also provides a kind of computer readable storage medium, it is stored thereon with computer program, the meter
Calculation machine program is executed by processor to realize incentive message processing method described in above-described embodiment.
In several embodiments provided by the present invention, it should be understood that disclosed device and method can pass through it
Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be tied
Another system is closed or is desirably integrated into, or some features can be ignored or not executed.Another point, it is shown or discussed
Mutual coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or logical of device or unit
Letter connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can store and computer-readable deposit at one
In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer
It is each that equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute the present invention
The part steps of embodiment the method.And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (Read-
Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. it is various
It can store the medium of program code.
Those skilled in the art can be understood that, for convenience and simplicity of description, only with above-mentioned each functional module
Division progress for example, in practical application, can according to need and above-mentioned function distribution is complete by different functional modules
At the internal structure of device being divided into different functional modules, to complete all or part of the functions described above.On
The specific work process for stating the device of description, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
Finally it should be noted that:The above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent
Present invention has been described in detail with reference to the aforementioned embodiments for pipe, those skilled in the art should understand that:Its according to
So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into
Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution
The range of scheme.
Claims (12)
1. a kind of incentive message processing method, which is characterized in that including:
Primary storage node obtains rewards request information, and the rewards request information is used for the slave memory node to offer query service
It is rewarded, the rewards request information includes the inquiry request and the inquiry request received from memory node
Corresponding timestamp;
The primary storage node inquires the block chain account book being locally stored, according to the timestamp with the determination inquiry request
With the presence or absence of in the block chain account book;
If the inquiry request is present in the block chain account book, the primary storage node is to described in the broadcast of block chain network
Rewards request information.
2. the method according to claim 1, wherein the primary storage node obtain rewards request information, including:
The primary storage node receives the rewards request information sent from memory node.
3. the method according to claim 1, wherein the primary storage node obtain rewards request information, including:
The primary storage node receives the rewards request information that query node is sent, described to give the query node from memory node
Query service is provided.
4. according to the method described in claim 3, it is characterized in that, the method also includes:
If the inquiry request is not present in the block chain account book, the primary storage node is by the mark of the query node
Know information to be recorded in blacklist.
5. the method according to claim 3 or 4, which is characterized in that if the inquiry request is present in the block
In chain account book, then the primary storage node broadcasts the rewards request information to block chain network, including:
If the inquiry request is present in the block chain account book, and described receives from memory node from the query node
The inquiry request number in preset times, then the primary storage node broadcasts the rewards request to block chain network
Information.
6. a kind of incentive message processing unit, which is characterized in that including:
Obtain module, for obtaining rewards request information, the rewards request information be used for provide query service from storage
Node is rewarded, and the rewards request information includes the inquiry request and the inquiry received from memory node
Request corresponding timestamp;
Enquiry module, for inquiring the block chain account book being locally stored, being with the determination inquiry request according to the timestamp
It is no to be present in the block chain account book;
Sending module, for when the inquiry request is present in the block chain account book, to described in the broadcast of block chain network
Rewards request information.
7. incentive message processing unit according to claim 6, which is characterized in that further include:
Receiving module, for receiving the rewards request information sent from memory node.
8. incentive message processing unit according to claim 6, which is characterized in that further include:
Receiving module, it is described to give the query node from memory node for receiving the rewards request information of query node transmission
Query service is provided.
9. incentive message processing unit according to claim 8, which is characterized in that further include:
Logging modle, for when the inquiry request is not present in the block chain account book, by the mark of the query node
Know information to be recorded in blacklist.
10. incentive message processing unit according to claim 8 or claim 9, which is characterized in that the sending module is specifically used
In:
When the inquiry request is present in the block chain account book, and described received from memory node from the query node
The inquiry request number in preset times when, broadcast the rewards request information to block chain network.
11. a kind of block chain node, which is characterized in that including:
Memory;
Processor;And
Computer program;
Wherein, the computer program stores in the memory, and is configured as being executed by the processor to realize such as
The described in any item methods of claim 1-5.
12. a kind of computer readable storage medium, which is characterized in that be stored thereon with computer program, the computer program
It is executed by processor to realize the method according to claim 1 to 5.
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 true CN108898419A (en) | 2018-11-27 |
CN108898419B 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) |
Cited By (2)
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 |
CN111836269A (en) * | 2020-07-10 | 2020-10-27 | 全链通有限公司 | Block chain-based micro base station deployment method, equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106790431A (en) * | 2016-12-05 | 2017-05-31 | 同济大学 | Cloud manufacturing service Transaction Information record system and method based on block chain |
CN107483211A (en) * | 2017-08-10 | 2017-12-15 | 北方工业大学 | A kind of personalized k anonymities secret protection motivational techniques based on block chain |
WO2018032379A1 (en) * | 2016-08-13 | 2018-02-22 | 深圳市樊溪电子有限公司 | Untrusted remote transaction file secure storage system for block chain |
-
2018
- 2018-05-31 CN CN201810555929.9A patent/CN108898419B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018032379A1 (en) * | 2016-08-13 | 2018-02-22 | 深圳市樊溪电子有限公司 | Untrusted remote transaction file secure storage system for block chain |
CN106790431A (en) * | 2016-12-05 | 2017-05-31 | 同济大学 | Cloud manufacturing service Transaction Information record system and method based on block chain |
CN107483211A (en) * | 2017-08-10 | 2017-12-15 | 北方工业大学 | A kind of personalized k anonymities secret protection motivational techniques based on block chain |
Cited By (3)
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 |
CN111836269A (en) * | 2020-07-10 | 2020-10-27 | 全链通有限公司 | Block chain-based micro base station deployment method, equipment and storage medium |
CN111836269B (en) * | 2020-07-10 | 2023-05-30 | 全链通有限公司 | Micro base station deployment method, equipment and storage medium based on block chain |
Also Published As
Publication number | Publication date |
---|---|
CN108898419B (en) | 2020-11-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108810119A (en) | block chain processing method, device and block chain node | |
CN108712506A (en) | block chain node communication method, device and block chain node | |
CN109067724A (en) | Block chain data trade method, apparatus, equipment and storage medium | |
CN110351777A (en) | The method and apparatus for indicating service distributing | |
CN109729181A (en) | A kind of method for accessing domain name and equipment | |
CN109118360A (en) | Block chain account checking method, device, equipment and storage medium | |
CN108769142B (en) | Transaction information processing method and block generation node | |
CN110247848A (en) | Send method, the network equipment and the computer readable storage medium of message | |
CN108173915A (en) | Call chain processing method and processing device | |
CN108900528A (en) | Block chain real name identification method, device, equipment and storage medium | |
CN108810120A (en) | block chain node communication method, device and block chain node | |
CN108881296A (en) | Block chain real name identification method, device, equipment and storage medium | |
JP2012516584A (en) | Method and apparatus for tracking management data changes | |
CN108566275A (en) | Identity identifying method, device and block chain node | |
CN109191230A (en) | Vehicle leasing method, equipment and storage medium | |
CN108683727B (en) | Block processing method and main node | |
CN109087096B (en) | Block chain account checking method, device, equipment and storage medium | |
CN108898419A (en) | Incentive message processing method, device and block chain node | |
CN108877290A (en) | Parking stall dispatching method, device, equipment and storage medium | |
CN108777710A (en) | Block chain communication method between nodes, device and block chain node | |
CN111431818A (en) | Cross-domain request traffic distribution method and device, storage medium and computer equipment | |
CN108985765A (en) | Enterprise user information processing method, equipment and storage medium | |
CN108876611B (en) | Transaction information processing method and device and block link points | |
CN109379199A (en) | User credit processing method, device, equipment and storage medium | |
CN109102272A (en) | Digital literary property protection method, device, equipment and storage medium |
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 |