CN114493583A - Member management method and device based on decentralized peer-to-peer network technology - Google Patents
Member management method and device based on decentralized peer-to-peer network technology Download PDFInfo
- Publication number
- CN114493583A CN114493583A CN202210036481.6A CN202210036481A CN114493583A CN 114493583 A CN114493583 A CN 114493583A CN 202210036481 A CN202210036481 A CN 202210036481A CN 114493583 A CN114493583 A CN 114493583A
- Authority
- CN
- China
- Prior art keywords
- target
- information
- request
- identification information
- peer
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
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
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/30—Payment architectures, schemes or protocols characterised by the use of specific devices or networks
- G06Q20/34—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using cards, e.g. integrated circuit [IC] cards or magnetic cards
- G06Q20/349—Rechargeable cards
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/955—Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
- G06F16/9566—URL specific, e.g. using aliases, detecting broken or misspelled links
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/64—Protecting data integrity, e.g. using checksums, certificates or signatures
-
- 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
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/389—Keeping log of transactions for guaranteeing non-repudiation of a transaction
-
- 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/104—Peer-to-peer [P2P] networks
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Business, Economics & Management (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Accounting & Taxation (AREA)
- General Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- Computer Security & Cryptography (AREA)
- Finance (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Health & Medical Sciences (AREA)
- Signal Processing (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Data Mining & Analysis (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the disclosure provides a member management method and device based on a decentralized peer-to-peer network technology, an electronic device and a computer readable storage medium. The member management method based on the decentralized peer-to-peer network technology comprises the following steps: after receiving a target request of a management member sent by a target terminal, reading target contract information corresponding to target merchant identification information and target member identification information, responding to the target request according to the target contract information, and recording exchange information generated by responding to the target request. The method and the device have the advantages of low service outage probability, high reliability and difficulty in losing data; the response of the target request needs to be based on contract information, random change of the membership card information is avoided, safety and reliability are achieved, and rights and interests of consumers and merchants are guaranteed.
Description
Technical Field
The present disclosure relates generally to the field of decentralized network technologies, and in particular, to a member management method and apparatus, an electronic device, and a computer-readable storage medium based on decentralized peer-to-peer network technologies.
Background
The membership system is a common business service management mode and is represented as a mode of a membership card, a customer becomes a member of a merchant by activating/purchasing the membership card, and the merchant promotes the loyalty of the customer and drives consumption by providing special benefits for the member.
There are two forms of membership cards in the industry, physical membership cards and electronic membership cards. The common form of the entity membership card is an entity card, and the problems of inconvenient carrying and easy loss exist. The electronic membership card does not need a physical card, so the problem does not exist, but the existing data storage and management mode has the problem of data security, such as that a merchant can change data unilaterally or data loss is caused by technical problems.
Whether the card is an entity membership card or an electronic membership card, the membership right is promised by the merchant unilaterally and can be changed at any time, and the rights and interests of consumers cannot be guaranteed.
Disclosure of Invention
In order to solve one of the above problems in the prior art, the present disclosure provides a member management method, apparatus, electronic device and computer-readable storage medium based on decentralized peer-to-peer network technology.
A first aspect of the present disclosure provides a member management method based on a decentralized peer-to-peer network technology, which is applied to a node server in a decentralized peer-to-peer network system, where contract information signed by a merchant terminal and a member terminal is recorded on the node server, and the method includes:
receiving a target request for managing members, which is sent by a target terminal, wherein the target terminal is a member terminal or a merchant terminal, and the target request carries target merchant identification information and the target member identification information;
reading target contract information corresponding to the target merchant identification information and the target member identification information;
responding to the target request according to the target contract information;
and recording the communication information generated in response to the target request.
In one embodiment, the operation of responding to the target request according to the target contract information may include:
confirming whether the target request conforms to the specification of the target contract information;
and managing member information in accordance with the target request when the target request conforms to the specification.
In one embodiment, after the operation of recording the communication information generated in response to the target request, the method may further include:
broadcasting the communication information to other node servers in the decentralized peer-to-peer network system so that the other node servers record the communication information.
In one embodiment, the target request may include a membership card recharge request, a membership card transfer request, or a membership card use request.
In one embodiment, the contract information may include: member identification information, merchant identification information and member rights and interests information signed by the member and the merchant together.
In one embodiment, the membership right information may include digital asset information formed with a URL address and a hash value.
In one embodiment, the node server may record member interest information of the member identification information at least one merchant for the member identification information.
In one embodiment, the decentralized peer-to-peer network technology may be a blockchain technology.
In one embodiment, the member identification information may be non-homogenous certification information.
A second aspect of the present disclosure provides a member management apparatus based on decentralized peer-to-peer network technology, applied to a node server in a decentralized peer-to-peer network system, where contract information signed by a merchant terminal and a member terminal is recorded on the node server, the apparatus including:
the system comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving a target request for managing members, which is sent by a target terminal, the target terminal is a member terminal or a merchant terminal, and the target request carries target merchant identification information and the target member identification information;
a reading module for reading target contract information corresponding to the target merchant identification information and the target member identification information;
a response module for responding to the target request according to the target contract information;
and the recording module is used for recording the communication information generated by responding to the target request.
In one embodiment, the response module may include:
the confirming submodule is used for confirming whether the target request conforms to the specification of the target contract information;
and a management submodule for managing the member information in accordance with the target request when the target request conforms to the specification.
In one embodiment, the apparatus may further include a broadcasting module, configured to broadcast the exchange information to other node servers in the decentralized peer-to-peer network system after the operation of recording the exchange information generated in response to the target request, so that the other node servers record the exchange information.
In one embodiment, the target request may include a membership card recharge request, a membership card transfer request, or a membership card use request.
In one embodiment, the contract information may include: member identification information, merchant identification information and member rights and interests information signed by the member and the merchant together.
In one embodiment, the membership right information may include digital asset information formed with a URL address and a hash value.
In one embodiment, the node server may record member interest information of the member identification information at least one merchant for the member identification information.
In one embodiment, the decentralized peer-to-peer network technology may be a blockchain technology.
In one embodiment, the member identification information may be non-homogenous certification information.
A third aspect of the present disclosure provides an electronic device, wherein the electronic device includes:
a memory to store instructions; and
and the processor is used for calling the instructions stored in the memory to execute the member management method based on the decentralized peer-to-peer network technology.
A fourth aspect of the present disclosure provides a computer-readable storage medium having stored therein instructions that, when executed by a processor, perform the member management method based on decentralized peer-to-peer network technology as described above.
In the member management method based on the decentralized peer-to-peer network technology provided by the embodiment of the disclosure, after a target request for managing a member sent by a target terminal is received, target contract information corresponding to target merchant identification information and target member identification information is read, the target request is responded according to the target contract information, and finally, communication information generated by responding to the target request is recorded. Firstly, based on the decentralized peer-to-peer network, the advantages of low service outage probability, high reliability and difficult data loss can be realized; moreover, the response of the target request needs to be based on contract information, so that the random change of the membership card information is avoided, the safety and the reliability are realized, and the rights and interests of consumers and merchants are ensured; the record of the communication information can ensure the effective tracing of all information of the membership card; moreover, the NFT membership card can be realized based on the embodiment of the disclosure, so that the membership card can bind digital collections and has scarcity and collection value.
Drawings
The above and other objects, features and advantages of the embodiments of the present disclosure will become readily apparent from the following detailed description read in conjunction with the accompanying drawings. Several embodiments of the present disclosure are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which:
fig. 1 is a flow chart illustrating a member management method based on decentralized peer-to-peer network technology according to an embodiment of the present disclosure;
FIG. 2 is a flow chart illustrating a member management method based on decentralized peer-to-peer network technology according to another embodiment of the disclosure;
FIG. 3 is a flow chart illustrating a member management method based on decentralized peer-to-peer network technology according to another embodiment of the present disclosure;
fig. 4 is a schematic view illustrating a scenario of a member management method based on decentralized peer-to-peer network technology according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a member management apparatus based on decentralized peer-to-peer network technology according to an embodiment of the present disclosure;
fig. 6 is a schematic diagram of an electronic device provided in an embodiment of the present disclosure.
In the drawings, like or corresponding reference characters designate like or corresponding parts.
Detailed Description
The principles and spirit of the present disclosure will be described with reference to a number of exemplary embodiments. It is understood that these embodiments are given solely for the purpose of enabling those skilled in the art to better understand and to practice the present disclosure, and are not intended to limit the scope of the present disclosure in any way.
It should be noted that although the terms "first", "second", "target", etc. are used herein to describe various modules, steps, data, etc. of embodiments of the disclosure, the terms "first", "second", "target", etc. are used merely to distinguish between various modules, steps, data, etc. and do not indicate a particular order or degree of importance. Indeed, the expressions "first", "second", "target", etc. are fully interchangeable.
In order to solve the problems in the prior art and to guarantee the rights and interests of merchants and consumers, the present disclosure provides a member management method, apparatus, electronic device and computer-readable storage medium based on decentralized peer-to-peer network technology.
First, a brief introduction is made to a member management method based on a decentralized peer-to-peer network technology provided in the embodiments of the present disclosure.
The member management method based on the decentralized peer-to-peer network technology provided by the embodiment of the disclosure is applied to a node server in the decentralized peer-to-peer network system, and contract information signed by a merchant terminal and a member terminal is recorded on the node server.
Decentralization is a concept as opposed to centralization, which means simply centralization, which is a central decision node. The nodes must rely on the center, and the nodes cannot survive after leaving the center. Decentralization is in contrast to a system with many nodes, each with highly autonomous characteristics, each being a "small center".
It is understood that a decentralized peer-to-peer network is a peer-to-peer network of public multi-party node servers, each node server in the network has the same status, and each node server can provide services for consumers independently. Because the probability that all node servers are down is extremely low, the member service based on the decentralized peer-to-peer network is provided with the service which is never stopped, the problem that data is easy to lose does not exist, and the method has the advantage that the method can be used at any time.
In the embodiment of the present disclosure, the decentralized peer-to-peer network technology may be a Blockchain (Blockchain) network technology, and it can be understood that a Blockchain is a novel application mode of a computer technology such as distributed data storage, point-to-point transmission, a consensus mechanism, and an encryption algorithm.
The blockchain in the embodiment of the present disclosure may be in a federation chain manner, and the blockchain link points in the federation chain may be merchants, organizations, governments, and consumers, and specifically, the blockchain network is built by using the open-source framework of hyper-lenger Fabric.
Hyperledger Fabric is a platform that provides a distributed ledger solution. The HyperLegend Fabric is supported by a modular architecture and has excellent confidentiality, scalability, flexibility and expandability. The HyperLegendr Fabric is designed to support direct plug-in enablement of different module components and can adapt to various complicated scenes in an economic ecosystem. Hyperledger Fabric provides a unique scalable, extensible architecture, which is also a significant difference between Hyperledger Fabric and other blockchain solutions.
It should be noted that, according to the member management method based on decentralized peer-to-peer network technology provided by the embodiment of the present disclosure, the node server applied in the decentralized peer-to-peer network system may be any node server in the decentralized peer-to-peer network system, because any node server may correspond to the request sent by the merchant or the member. For example, the decentralized peer-to-peer network includes 100 node servers, and any one of the 100 node servers has a function of executing a member management method based on the decentralized peer-to-peer network technology provided by the embodiment of the disclosure.
In the embodiment of the present disclosure, the node server records contract information signed by the merchant terminal and the member terminal, and all rights of the member card issued by the merchant are recorded in the decentralized network, that is, in each node server by the contract information.
In all embodiments of the present disclosure, the contract information may include: member identification information, merchant identification information and member rights and interests information signed by the member and the merchant together.
It is understood that the member identification information and the merchant identification information are unique identification information that identifies the member identity and the merchant identity, respectively. In the embodiment of the disclosure, the member identification information may be heterogeneous certification information, so that uniqueness and unforgeability of the member card can be ensured, and the member card has the characteristics of digital assets and can perform transaction transfer.
It is known to those skilled in the art that Non-homogeneous general syndrome, which is abbreviated as NFT in english and is totally called Non-homogeneous Token, means Non-homogeneous general syndrome, and has the characteristics of being inseparable, irreplaceable, unique, and the like.
NFT is a concept that exists with respect to the homogenization syndrome. The homogeneous evidence, namely ft (funibile token), is a token that can be replaced with each other and arbitrarily split, for example, one bitcoin in your hand is different from one bitcoin in my hand essentially, which is the homogeneous evidence, while NFT is unique and non-separable, such as encrypted cat, token-like digital ticket, etc.
Because of its unique characteristics, NFT provides a way to mark native digital asset ownership (i.e., assets that exist in, or originate from, the digital world) and that ownership exists outside of a centralized service or centralized database. For example, game items, digital art, tickets, etc. are cast into NFTs via a blockchain, and these items are unique and non-duplicable.
The history of NFT development in blockchains can be traced back to the last item named CryptoPunks in etherhouses in 2017, which is an artistic image set composed of irregular pixels in a 24x24 or 8bit pattern. There are approximately 10,000, each with its own randomly generated unique look and features. In 28 months 11 and 2017, the block chain game Cryptokittes (encrypted cats) is on-line operated and rapidly popularized, and the 'virtual cat' with a soaring price is the concept 'ring out' of NFT for the first time.
For example, in the embodiment of the present disclosure, the member identification information data structure implemented by using the NFT technology includes: the name of the asset token (voucher), the abbreviation of the asset voucher, the creator of the asset voucher, the holder of the asset voucher and the collection of the held assets, the transfer record of the asset voucher, the authorizer of the asset, whether the asset voucher already exists, if so, the total amount of the asset is 0 to represent the unlimited amount of NFT, and if not, the total amount of the asset is 0 to represent the limited amount of version of NFT.
Referring to fig. 1, a flow chart of a member management method based on decentralized peer-to-peer network technology is provided in the embodiment of the present disclosure, where the method includes:
s101, receiving a target request for managing the member, which is sent by a target terminal, wherein the target terminal is a member terminal or a merchant terminal, and the target request carries target merchant identification information and target member identification information.
It can be understood that the information of the member card issued by the merchant to the consumer is stored in the node server, and when the member user or the merchant needs to manage the member information, a corresponding request needs to be invented to the node server. Specifically, the request may be a membership card recharging request, a membership card transferring request, or a membership card using request, or may be a request for modifying membership information sent by a merchant terminal, which is not particularly limited herein.
It should be noted that the target request refers to a specific request received by the node server in the actual working process, and does not refer to a specific request. Correspondingly, the target terminal is the terminal receiving the target request, and the target merchant identification information and the target member identification information are merchant identification information and member identification information corresponding to the target identification information.
Illustratively, the member B of the merchant a sends a member recharging request by using a terminal, the terminal used by the member B is a target terminal, the member recharging request is a target request, the identification information of the merchant a is the target merchant identification information, and the identification information of the member B is the target member identification information.
S102: and reading target contract information corresponding to the target merchant identification information and the target member identification information.
The contract information may include: member identification information, merchant identification information and member rights and interests information signed by the member and the merchant together.
In this embodiment, in order to facilitate the searching of the membership right information, the membership right information includes information formed by a URL (Uniform Resource Locator) address and a hash value.
In one example, the member rights information in this disclosure includes digital asset information.
In this embodiment, the member interest information includes digital asset information formed by a URL address and a hash value.
The digital asset information can comprise digital collections and the like, so that the membership card can bind the digital collections and has scarcity and collection value. Of course, the digital asset information in the embodiments of the present disclosure is not limited to digital collections, but may be digital tokens, cryptocurrency, digital art, and the like.
It can be understood that the node server may record contract information signed by the same merchant between different members, may record contract information signed by different merchants and the same member, and may also record contract information signed by different merchants and different members.
It should be noted that, when contract information signed by different merchants and the same member is recorded in the node server, member rights information of the member identification information in at least one merchant may be recorded on the node server for the member identification information. Therefore, the membership card can simultaneously comprise the membership rights of a plurality of merchants, the value of the membership card is increased, the plurality of merchants sell together, the sales channel is enlarged, and mutual benefits and win-win are realized. For example, digital asset information such as digital artwork (usage right/ownership) is bound for the membership card through a non-homogeneous certification technology, and the possession membership card is equivalent to the possession of the bound digital asset, so that the collection value of the membership card is realized.
In the embodiment of the present disclosure, the node server is equivalent to a database, and records a large amount of contract information, so that it is necessary to find corresponding target contract information through target merchant identification information and target member identification information. For example, if the merchant identified by the target merchant identification information is a, and the member identified by the target member identification information is B, the node server needs to read contract information signed by the merchant a and the member B, which is the target contract information.
It should be noted that the contract information of the merchant and the member is pre-established by the co-authorization of the merchant and the user.
S103: the target request is responded to according to the target contract information.
The respective interests of the member and the merchant can be recorded in the contract information, so that the node server can respond to the corresponding service based on the interests.
S104: and recording the communication information generated in response to the target request.
In an embodiment of the present disclosure, the communication information may include: the request information and the response result of the node server. For example, the member terminal sends a recharging request for recharging 100 yuan at 22 o 10 min 24 s on 29 o 22 o 12 m 2021, and the node server judges that the request is compliant, and records complete flow information; similarly, assuming that the merchant terminal sends a request to modify the amount of the loyalty card at a certain point in time, assuming that the node server determines that the request is not compliant, the node server may still record the complete process information.
In summary, according to the member management method based on the decentralized peer-to-peer network technology provided by the embodiment of the present disclosure, after receiving a target request for managing a member sent by a target terminal, target contract information corresponding to target merchant identification information and target member identification information is read, a target request is responded according to the target contract information, and finally, communication information generated in response to the target request is recorded. Firstly, based on the decentralized peer-to-peer network, the advantages of low service outage probability, high reliability and difficult data loss can be realized; moreover, the response of the target request needs to be based on contract information, so that the random change of the membership card information is avoided, the safety and the reliability are realized, and the rights and interests of consumers and merchants are ensured; the record of the communication information can ensure the effective tracing of all information of the membership card; moreover, the NFT membership card can be realized based on the embodiment of the disclosure, so that the membership card can bind digital collections and has scarcity and collection value.
As shown in fig. 2, in the present application, on the basis of the above embodiment, the operation S103 of responding to the target request according to the target contract information may include the following operations S1031 and S1031.
S1031: and confirming whether the target request conforms to the specification of the target contract information.
In this embodiment, on the one hand, the contract information may specify the corresponding rights and interests of the member and merchant responses, and if the content included in the target request completely exceeds the rights and interests, it is obvious that the contract information is not compliant; alternatively, the contract information may specify that each request requires confirmation information from both the merchant and the member, such as signature information, and the target request is deemed to be in accordance with the contract information specification.
S1032: when the target request conforms to the specification of the target contract information, the member information is managed in accordance with the target request.
For example, if the target request is a member consumption 100-dollar request that complies with the contract information specification, the node server will decrement its stored value by 100 dollars.
It can be understood that in the embodiment, the rights and interests of the consumers and the merchants are further guaranteed by the fact that the electronic membership cards have the security characteristics of the financial security level under the constraint of the contract.
As shown in fig. 3, in the present application, after operation S104 on the basis of the embodiment shown in fig. 1, the method for member management based on decentralized peer-to-peer network technology may further include:
s105: broadcasting the communication information to other node servers in the decentralized peer-to-peer network system so that the other node servers record the communication information.
It can be understood that the node server executing the method of the present disclosure is a certain node server in the decentralized peer-to-peer network system, and when the member data recorded in the node server changes, other node servers in the decentralized peer-to-peer network system need to complete the same information record in time, so as to ensure the consistency of each node server in the decentralized peer-to-peer network system, and further ensure that each node server can provide the same service.
In the present application, the membership card can be improved by preferably using the block chain non-homogeneous certification (NFT) technology, and as shown in the embodiment shown in fig. 4, the embodiment has the following advantages in combination:
the blockchain network is an open peer-to-peer network composed of multiple parties, has the characteristics of never stopping service and being incapable of data tampering, and the membership card managed through the blockchain intelligent contract has the safety characteristic of a financial safety level, so that the problem of data loss is avoided, and the blockchain network can be used at any time.
And secondly, the account number of the block chain network adopts an asymmetric encryption technology, and each transaction can only take effect if the signatures of the merchant and the member are signed, so that the merchant/the member can not tamper data unilaterally.
And thirdly, the non-homogeneous certification (NFT) technology can ensure the uniqueness and the non-forgery of the membership card, so that the membership card has the characteristics of digital assets and can carry out transaction transfer.
And fourthly, all rights and interests owned by the membership card issued by the merchant are recorded on the block chain through the intelligent contract, the rights and interests of the consumer can not be tampered, and the rights and interests of the consumer are guaranteed.
Fifthly, the membership card can simultaneously comprise the membership rights of a plurality of merchants, the value of the membership card is increased, the plurality of merchants sell together, the sales channel is enlarged, and mutual benefits and win-win are realized.
And sixthly, binding digital asset information for the membership card through a non-homogeneous evidence-based technology, wherein the possession of the membership card is equivalent to the possession of the bound digital asset, and thus the collection value of the membership card is realized.
In accordance with the foregoing method embodiment, as shown in fig. 5, an embodiment of the present disclosure provides a member management apparatus based on decentralized peer-to-peer network technology, which is applied to a node server in a decentralized peer-to-peer network system, where contract information signed by a merchant terminal and a member terminal is recorded on the node server, and the member management apparatus 500 includes:
the receiving module 501 is configured to receive a target request for managing a member, which is sent by a target terminal, where the target terminal is a member terminal or a merchant terminal, and the target request carries target merchant identification information and target member identification information;
a reading module 502, configured to read target contract information corresponding to the target merchant identification information and the target member identification information;
a response module 503 for responding to the target request according to the target contract information;
and a recording module 504, configured to record the communication information generated in response to the target request.
Specifically, the response module 503 may include:
a validation submodule (not shown) for validating whether the target request conforms to the specification of the target contract information;
and a management sub-module (not shown) for managing member information according to the target request in the case where the target request conforms to the specification.
Specifically, the member management device 500 may further include:
a broadcasting module (not shown) for broadcasting the communication information to other node servers in the decentralized peer-to-peer network system after the operation of recording the communication information generated in response to the target request, so that the other node servers record the communication information.
Specifically, the target request may include a membership card recharge request, a membership card transfer request, or a membership card use request.
Specifically, the contract information may include: member identification information, merchant identification information and member rights and interests information signed by the member and the merchant together.
Specifically, the member interest information may include digital asset information formed by a URL address and a hash value.
Specifically, the node server records, for the member identification information, member right information of the member identification information in at least one merchant.
Specifically, the decentralized peer-to-peer network technology may be a block chain technology.
Specifically, the member identification information may be non-homogenous certification information.
In summary, the member management apparatus based on decentralized peer-to-peer network technology provided by the embodiment of the present disclosure, after receiving a target request for managing a member sent by a target terminal, reads target contract information corresponding to target merchant identification information and target member identification information, responds to the target request according to the target contract information, and finally records communication information generated in response to the target request. Firstly, based on the decentralized peer-to-peer network, the advantages of low service outage probability, high reliability and difficult data loss can be realized; moreover, the response of the target request needs to be based on contract information, so that the random change of the membership card information is avoided, the safety and the reliability are realized, and the rights and interests of consumers and merchants are ensured; the record of the communication information can ensure the effective tracing of all information of the membership card; moreover, the NFT membership card can be realized based on the embodiment of the disclosure, so that the membership card can bind digital collections and has scarcity and collection value.
In correspondence with the foregoing method embodiment, as shown in fig. 6, an embodiment of the present disclosure provides an electronic device 600. The electronic device 600 includes a memory 601, a processor 602, and an Input/Output (I/O) interface 603. The memory 601 is used for storing instructions. A processor 602 for invoking the instructions stored by the memory 601 to perform a member management method based on decentralized peer-to-peer network technology according to an embodiment of the present disclosure. The processor 602 is connected to the memory 601 and the I/O interface 603, respectively, for example, through a bus system and/or other connection mechanism (not shown). The memory 601 may be used to store programs and data, including the programs of the … … method involved in the embodiments of the present disclosure, and the processor 602 executes various functional applications and data processing of the electronic device 600 by executing the programs stored in the memory 601.
The processor 602 in the embodiment of the present disclosure may be implemented in at least one hardware form of a Digital Signal Processor (DSP), a Field-Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), and the processor 602 may be one or a combination of several Central Processing Units (CPUs) or other forms of Processing units with data Processing capability and/or instruction execution capability.
In the embodiment of the present disclosure, the I/O interface 603 may be used to receive an input instruction (e.g., numeric or character information, and generate a key signal input related to member setting and function control of the electronic device 600, etc.), and may also output various information (e.g., an image or sound, etc.) to the outside. The I/O interface 603 in the disclosed embodiment may include one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a mouse, a joystick, a trackball, a microphone, a speaker, a touch panel, and the like.
In summary, the electronic device provided in the embodiment of the present disclosure, after receiving a target request of a management member sent by a target terminal, reads target contract information corresponding to target merchant identification information and target member identification information, responds to the target request according to the target contract information, and finally records exchange information generated in response to the target request. Firstly, based on the decentralized peer-to-peer network, the advantages of low service outage probability, high reliability and difficult data loss can be realized; moreover, the response of the target request needs to be based on contract information, so that the random change of the membership card information is avoided, the safety and the reliability are realized, and the rights and interests of consumers and merchants are ensured; the record of the communication information can ensure the effective tracing of all information of the membership card; moreover, the NFT membership card can be realized based on the embodiment of the disclosure, so that the membership card can bind digital collections and has scarcity and collection value.
Corresponding to the foregoing method embodiments, the disclosed embodiments also provide a computer-readable storage medium, in which instructions are stored, and when executed by a processor, the method for member management based on decentralized peer-to-peer network technology as described above is executed.
Similarly, the electronic device provided in the embodiment of the present disclosure, after receiving the target request of the management member sent by the target terminal, reads the target contract information corresponding to the target merchant identification information and the target member identification information, responds to the target request according to the target contract information, and finally records the exchange information generated in response to the target request. Firstly, based on the decentralized peer-to-peer network, the advantages of low service outage probability, high reliability and difficult data loss can be realized; moreover, the response of the target request needs to be based on contract information, so that the random change of the membership card information is avoided, the safety and the reliability are realized, and the rights and interests of consumers and merchants are ensured; the record of the communication information can ensure the effective tracing of all information of the membership card; moreover, the NFT membership card can be realized based on the embodiment of the disclosure, so that the membership card can bind digital collections and has scarcity and collection value.
It is to be understood that although operations are depicted in the drawings in a particular order, this is not to be understood as requiring that such operations be performed in the particular order shown or in serial order, or that all illustrated operations be performed, to achieve desirable results. In certain environments, multitasking and parallel processing may be advantageous.
The methods and apparatus related to embodiments of the present disclosure can be accomplished with standard programming techniques with rule-based logic or other logic to accomplish the various method steps. It should also be noted that the words "means" and "module," as used herein and in the claims, is intended to encompass implementations using one or more lines of software code, and/or hardware implementations, and/or equipment for receiving inputs.
Any of the steps, operations, or procedures described herein may be performed or implemented using one or more hardware or software modules, alone or in combination with other devices. In one embodiment, the software modules are implemented using a computer program product comprising a computer readable medium containing computer program code, which is executable by a computer processor for performing any or all of the described steps, operations, or procedures.
The foregoing description of the implementations of the disclosure has been presented for purposes of illustration and description. It is not intended to be exhaustive or to limit the disclosure to the precise form disclosed, and modifications and variations are possible in light of the above teachings or may be acquired from practice of the disclosure. The embodiments were chosen and described in order to explain the principles of the disclosure and its practical application to enable one skilled in the art to utilize the disclosure in various embodiments and with various modifications as are suited to the particular use contemplated.
Claims (12)
1. A member management method based on decentralized peer-to-peer network technology is characterized in that the method is applied to a node server in a decentralized peer-to-peer network system, contract information signed by a merchant terminal and a member terminal is recorded on the node server, and the method comprises the following steps:
receiving a target request for managing members, which is sent by a target terminal, wherein the target terminal is a member terminal or a merchant terminal, and the target request carries target merchant identification information and the target member identification information;
reading target contract information corresponding to the target merchant identification information and the target member identification information;
responding to the target request according to the target contract information;
and recording the communication information generated in response to the target request.
2. The method of claim 1, wherein the operation of responding to the target request based on the target contract information comprises:
confirming whether the target request conforms to the specification of the target contract information;
and managing member information in accordance with the target request when the target request conforms to the specification.
3. The method of claim 1, wherein after the operation of recording the communication generated in response to the target request, the method further comprises:
broadcasting the communication information to other node servers in the decentralized peer-to-peer network system so that the other node servers record the communication information.
4. The method of claim 1, wherein the target request comprises a membership card recharge request, a membership card transfer request, or a membership card use request.
5. The method of claim 1, wherein the contract information comprises: member identification information, merchant identification information and member rights and interests information signed by the member and the merchant together.
6. The method of claim 5, wherein the membership right information includes digital asset information formed by a URL address and a hash value.
7. The method as claimed in claim 5, wherein the node server records member interest information of the member identification information in at least one merchant for the member identification information.
8. The method according to any of claims 1 to 7, wherein the decentralized peer-to-peer network technology is a block chain technology.
9. The method according to any one of claims 1 to 7, wherein the member identification information is non-homogenesis accreditation information.
10. A member management apparatus based on decentralized peer-to-peer network technology, wherein the apparatus is applied to a node server in a decentralized peer-to-peer network system, and contract information signed by a merchant terminal and a member terminal is recorded on the node server, the apparatus comprising:
the system comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving a target request for managing members, which is sent by a target terminal, the target terminal is a member terminal or a merchant terminal, and the target request carries target merchant identification information and the target member identification information;
a reading module for reading target contract information corresponding to the target merchant identification information and the target member identification information;
a response module for responding to the target request according to the target contract information;
and the recording module is used for recording the communication information generated by responding to the target request.
11. An electronic device, wherein the electronic device comprises:
a memory to store instructions; and
a processor for invoking the memory-stored instructions to perform a decentralized peer-to-peer network technology based member management method according to any one of claims 1 to 9.
12. A computer-readable storage medium having stored therein instructions which, when executed by a processor, perform the member management method based on the decentralized peer-to-peer network technology according to any one of claims 1 to 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210036481.6A CN114493583A (en) | 2022-01-13 | 2022-01-13 | Member management method and device based on decentralized peer-to-peer network technology |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210036481.6A CN114493583A (en) | 2022-01-13 | 2022-01-13 | Member management method and device based on decentralized peer-to-peer network technology |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114493583A true CN114493583A (en) | 2022-05-13 |
Family
ID=81511662
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210036481.6A Pending CN114493583A (en) | 2022-01-13 | 2022-01-13 | Member management method and device based on decentralized peer-to-peer network technology |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114493583A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114756627A (en) * | 2022-06-10 | 2022-07-15 | 杭州链城数字科技有限公司 | Alliance-chain-based digital asset processing method, system and storage medium |
-
2022
- 2022-01-13 CN CN202210036481.6A patent/CN114493583A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114756627A (en) * | 2022-06-10 | 2022-07-15 | 杭州链城数字科技有限公司 | Alliance-chain-based digital asset processing method, system and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11921682B2 (en) | Extracting data from a blockchain network | |
US20210166203A1 (en) | System and process for tokenization of digital media | |
Evans | Cryptokitties, cryptography, and copyright | |
CN106651303B (en) | Intelligent contract processing method and system based on template | |
Nzuva | Smart contracts implementation, applications, benefits, and limitations | |
Zhang et al. | A design of digital rights management mechanism based on blockchain technology | |
CN109886677B (en) | Commodity purchasing method and device based on block chain | |
US20200090143A1 (en) | System, Method, and Apparatus for Online Content Platform and Related Cryptocurrency | |
JP2020503579A (en) | Blockchain-based method and system for specifying recipients of electronic communication | |
US20160335609A1 (en) | Representation of digital asset structure, ownership and evolution by virtue of a hierarchical, compounding tagging mechanism on a transaction-based network | |
US11256551B2 (en) | Blockchain-based virtual resource allocation | |
CN109559164B (en) | Preferential information processing method and device, electronic equipment and computer readable medium | |
CN110264351B (en) | Copyright distribution method and device based on block chain | |
US20220067125A1 (en) | Method for distributing certificate of right to use digital content, and computer program stored in medium in order to carry out method | |
CN115705571A (en) | Protecting privacy of auditable accounts | |
CN116894732A (en) | Digital asset management method, device, system and readable storage medium | |
US20240205236A1 (en) | Systems and methods for identifying malicious cryptographic addresses | |
CN111597264A (en) | Block chain accounting method and device | |
CN114493583A (en) | Member management method and device based on decentralized peer-to-peer network technology | |
US11989726B2 (en) | Database system public trust ledger token creation and exchange | |
Ito | Be More Conceptual Regarding Non-Fungible Tokens (NFTs) as Art | |
Nirolia | A study on the application of blockchain technology in the banking and financial sector in India | |
KR102680430B1 (en) | An apparatus, server and system for authentication of digital album, and a method thereof | |
KR102473824B1 (en) | Trade checking System of document by posting of trade information for character of data | |
D’Souza et al. | Use of blockchain for smart t-shirt design ownership |
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 |