CN110889617A - Resource allocation method, device and storage medium based on block chain - Google Patents

Resource allocation method, device and storage medium based on block chain Download PDF

Info

Publication number
CN110889617A
CN110889617A CN201911149853.0A CN201911149853A CN110889617A CN 110889617 A CN110889617 A CN 110889617A CN 201911149853 A CN201911149853 A CN 201911149853A CN 110889617 A CN110889617 A CN 110889617A
Authority
CN
China
Prior art keywords
chain
product
request
consumer
resources
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911149853.0A
Other languages
Chinese (zh)
Inventor
张宝奇
庞松涛
商广勇
王伟兵
马岩堂
赵树林
姜鑫
陶鑫
李佳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Inspur Quality Chain Technology Co Ltd
Original Assignee
Shandong ICity Information Technology Co., Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong ICity Information Technology Co., Ltd. filed Critical Shandong ICity Information Technology Co., Ltd.
Priority to CN201911149853.0A priority Critical patent/CN110889617A/en
Publication of CN110889617A publication Critical patent/CN110889617A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0639Performance analysis of employees; Performance analysis of enterprise or organisation operations
    • G06Q10/06395Quality analysis or management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06315Needs-based resource requirements planning or analysis

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Development Economics (AREA)
  • Educational Administration (AREA)
  • Operations Research (AREA)
  • Marketing (AREA)
  • Game Theory and Decision Science (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (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)

Abstract

The application discloses a resource allocation method, equipment and a storage medium based on a block chain. The resource allocation method comprises the steps of obtaining product information of a target product; matching the product information with the chain resources of the block chains with preset quantity; obtaining a product request sent by a consumer, wherein the product request comprises a query request and a consumption request; allocating an on-chain resource to the consumer and locking a predetermined amount of the on-chain resource according to the product request; and responding to the product request as a query request and receiving a secondary product request sent by the consumer, unlocking the predetermined amount of on-chain resources and distributing the predetermined amount of on-chain resources to the consumer. By the resource allocation method based on the block chain, the consumer can be helped to know the target product and the product information more deeply by the resource allocation mode.

Description

Resource allocation method, device and storage medium based on block chain
Technical Field
The present application relates to the field of resource allocation technologies, and in particular, to a method, a device, and a storage medium for resource allocation based on a block chain.
Background
With the development of social economy, the living standard of people is increasingly higher, the requirements on various aspects of life are higher, and the high requirements on the product quality are an important part of the requirements.
The quality chain ensures the authenticity of product quality information by utilizing a trust endorsement and common recognition mechanism of a plurality of organizations of the block chain, and helps credit enterprises to construct a quality management system of the product whole life cycle by the characteristics of non-falsification and traceability; and a convenient quality tracing query mode is provided, and a connection channel from an enterprise to a consumer is established.
However, the existence of the quality chain is still strange to general consumers, and how to better utilize the quality chain to promote product information to users is still a problem to be solved urgently.
Disclosure of Invention
An embodiment of the present specification provides a resource allocation method, device and storage medium based on a block chain, which are used to solve the following technical problems in the prior art: how to better exploit the quality chain to promote product information to users.
The embodiment of the specification adopts the following technical scheme:
according to a first aspect, an embodiment of the present invention provides a resource allocation method based on a blockchain, where the resource allocation method includes obtaining product information of a target product, matching the product information with a preset number of resources on the blockchain, and obtaining a product request sent by a consumer, where the product request includes a query request and a consumption request; allocating an on-chain resource to the consumer and locking a predetermined amount of the on-chain resource according to the product request; and responding to the product request as a query request and receiving a secondary product request sent by the consumer, unlocking the predetermined amount of on-chain resources and distributing the predetermined amount of on-chain resources to the consumer.
In a preferred implementation, allocating on-chain resources to consumers in accordance with the product request includes: in response to the product request being a query request, allocating a first amount of on-chain resources to the consumer; and in response to the product request being a consumption request, allocating a second number of resources on the chain to the consumer, wherein the first number is smaller than the second number, and the preset number is greater than the first number and greater than or equal to the second number.
In a preferred implementation, obtaining a product request sent by a consumer includes: acquiring a product request sent by a consumer and request time corresponding to the product request; and allocating the on-chain resources to the consumer according to the product request, including: and allocating the resources on the chain to the consumers according to the product requests and the request time.
In a preferred implementation, allocating resources on the chain to the consumer based on the product request and the request time includes: and responding to the product request as a query request, and sequentially allocating resources on the chain to the consumers according to the sequence of the product request and the request time by at least more quantity.
In a preferred implementation, the method further comprises: issuing a quality code matched with the product information; and performing associated storage on the product information, the on-chain resources matched with the product information and the quality codes.
In a preferred implementation, the method further comprises: in response to the product request being a consumption request, determining whether the product request is received again within a preset time period; in response to the fact that the product request is received again within the preset time period, the using permission of the consumers of the resources on the chain on the resources on the chain is obtained through freezing; and in response to determining that the product request is not received again within the preset time period, releasing the use right of the resource on the chain for the consumer obtaining the resource on the chain.
In a preferred implementation, after the step of matching the product information with a preset number of on-chain resources of a blockchain, the method further comprises: determining whether product information is acquired within a preset time period; and in response to the product information not being acquired within the preset time period, withdrawing the chain resources of the block chains with the preset number matched with the product information.
In a preferred implementation, following the step of allocating an on-chain resource to a consumer and locking a predetermined amount of the on-chain resource in accordance with the product request, the method further comprises: in response to receiving a secondary product request sent by a consumer, on-chain resources are allocated to users associated with the consumer in the blockchain.
In a preferred implementation, the product information includes product quality information; the product quality information includes at least one of: the production information of the target product, the supervision information of the third-party main body on the target product and the feedback information of the consumer on the target product.
According to a second aspect, an embodiment of the present invention provides a resource allocation device based on a block chain, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method for block chain based resource allocation of the first aspect or any implementation of the first aspect.
According to a third aspect, an embodiment of the present invention provides a non-volatile computer storage medium for block chain based resource allocation, which stores computer-executable instructions that, when executed, may implement the block chain based resource allocation method of the first aspect or any implementation manner of the first aspect.
The embodiment of the specification adopts at least one technical scheme which can achieve the following beneficial effects: the method can store product information of a target product to a block chain, and allocates resources on the chain to the target product, if a product request of a consumer is obtained, the resources on the chain can be allocated to the consumer according to the product request, a preset number of resources on the chain are locked, the method is helpful for motivating the consumer to change from one-time access to secondary access to the target product, if a secondary product request sent by the consumer is received, the preset number of resources on the chain is unlocked, the preset number of resources on the chain are allocated to the consumer, and the method is helpful for motivating the consumer to know the target product and the product information more deeply in a rewarding mode.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
FIG. 1 is an exemplary system architecture diagram to which an embodiment of the block chain based resource allocation method of the present application may be applied;
FIG. 2 is a flow diagram of one embodiment of a method for block chain based resource allocation according to the present application;
fig. 3 is a flow diagram of another embodiment of a method for block chain based resource allocation according to the present application;
fig. 4 is a schematic diagram of a block chain based resource allocation method according to the present application;
fig. 5 is a schematic structural diagram of a resource allocation device based on a block chain, which is suitable for implementing an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present disclosure more apparent, the technical solutions of the present disclosure will be clearly and completely described below with reference to the specific embodiments of the present disclosure and the accompanying drawings. It should be apparent that the described embodiments are only some of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person skilled in the art without making any inventive step based on the embodiments in the description belong to the protection scope of the present application.
The technical solutions provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings.
Fig. 1 shows an exemplary architecture 100 to which embodiments of the block chain based resource allocation method of the present application may be applied.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The terminal devices 101, 102, 103 interact with a server 105 via a network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 may have various communication client applications installed thereon, such as a web browser application, a video application, an instant messenger, a mailbox client, a traffic information application, a reading application, and the like.
The terminal apparatuses 101, 102, and 103 may be hardware or software. When the terminal apparatuses 101, 102, 103 are hardware, various electronic apparatuses having a display screen and supporting communication with a server may be used. When the terminal apparatuses 101, 102, and 103 are software, they may be software clients installed in the electronic apparatuses. It may be implemented as multiple pieces of software or software modules (e.g., software or software modules used to provide distributed services) or as a single piece of software or software module. And is not particularly limited herein.
The server 105 may be a server providing various services, such as a background server providing support for browsing pages on the terminal devices 101, 102, 103. The background server can analyze and process the acquired product information of the target product and feed back the information processing result to the terminal equipment.
The server may be hardware or software. When the server is hardware, it may be implemented as a distributed server cluster formed by multiple servers, or may be implemented as a single server. When the server is software, it may be implemented as multiple pieces of software or software modules (e.g., software or software modules used to provide distributed services), or as a single piece of software or software module. And is not particularly limited herein.
It should be noted that the resource allocation method based on the block chain provided by the embodiment of the present disclosure is generally performed by a server, and accordingly, a resource allocation apparatus for block chain is generally disposed in the server.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
The resource allocation method based on the block chain in this embodiment relies on a quality chain platform. Quality chains are understood to mean that quality data can preferably be stored and recalled via blockchains. In addition, the name of the quality chain can be understood from other aspects, for example, for the whole life cycle of the product, the whole circulation cycle of the product, the time dimension or the manual link dimension, the quality chain is roughly a chain-type ordered process. It is this chain form that the quality chain adapts to, and the quality data in the ordered process is integrated throughout the ordered process of the product.
With continued reference to fig. 2, a flow 200 of one embodiment of a block chain based resource allocation method in accordance with the present application is shown. The resource allocation method based on the block chain is applied to a server. As shown in fig. 2, the resource allocation method based on the block chain includes the following steps:
step 201, product information of a target product is acquired.
In the present embodiment, an execution subject (such as the server 105 shown in fig. 1) of the block chain-based resource allocation method may acquire product information of a target product. The product information here may include, for example, identification information of the target product, and may also include product quality information of the target product.
The product information may be presented by the identification information. The identification information may be a character string having uniqueness within a specific range, and for the convenience of user interaction, the identification information may further have a corresponding unique identifier of the digital object, specifically, for example, a two-dimensional code, a barcode, etc., and the user may interact by scanning the barcode. Taking the two-dimensional code as an example, the user can access the data associated with the two-dimensional code by scanning the two-dimensional code, for example, access a part of product quality data and introduction data associated with the two-dimensional code, or access a web page where the introduction data is located or a web page for registering the product quality data and the introduction data. The identification information may be information other than a character string, such as a two-dimensional code and biometric information.
In some optional implementations of this embodiment, the product information may include product quality information, and the product quality information may include production information of the target product, supervision information of the target product by the third-party principal, and feedback information of the target product by the consumer.
The production information of the target product may include, for example, data of at least one of the following production processes: an idea stage, a design stage, a research and development stage, a manufacturing stage, a marketing stage, a warehousing stage, a delivery stage, etc. Member information, production data, and production resource (e.g., drawing, code, document, mold) information involved in these phases can be used as production information. The production information can be submitted to the blockchain by the corresponding stage of the dealers or dealers, or the production information of the target product can be submitted through a uniform channel after the integration of the enterprises in the corresponding stage of the blockchain, and other production information can be processed similarly.
In some embodiments of the present application, since the production information of the product is provided by the manufacturer, there may be a suspicion that the data is beautified, and the platform may further collect the relevant data of the product from a third party subject supervising the product and a consumer of the product in order to obtain more fair and objective quality data.
Generally, third party subjects such as governments, regulatory bodies, testing agencies, etc. can be considered more objective and fair, and more trustworthy, with respect to the supervision of the product. For a part of the production data (e.g., enterprise qualification, enterprise registration information, product production license, etc.), which is in the state or industry mandatory regulations, the manufacturer will register at these third-party entities, and then the registered part of the production data can also be provided to the platform by these third-party entities, so that it is more reliable.
In addition to the reporting data, the supervision data may include, for example, government test data, sampling data of a supervision department, test condition reports of a test organization, and the like. The supervision data may be specific to the target enterprise or its products, such as detecting hardware conditions of a production plant of the target enterprise, sampling quality of product samples, and the like.
The production information can also contain more data, such as checking data reflecting whether the product is sold in different areas or not, competitive product data on the market, imitation data on the market and the like.
In some embodiments of the present application, the consumer is the user of the product, often the party with the longest time to accompany the product, and is the actual witness to the quality of the product, and thus, has the right of way to the quality comparison of the product. At present, a consumer can only reflect quality problems to a direct seller of a product, a general and relatively fair platform is lacked for collecting feedback data of the consumer, and the platform can meet the requirement.
The consumer can actively submit feedback data for the product by scanning the quality code or the quality code two-dimensional code, and the feedback data information includes, for example: the method comprises the steps of commodity unpacking process image recording, commodity evaluation and improvement suggestions, commodity object pictures, purchasing channels, purchasing time, purchasing prices, own cities, user identity information, application to qualification presentation of intermediate link parties and the like. The consumer can also interact with other parties by scanning the quality code two-dimensional code, such as requesting a warranty, requesting a price guarantee, quality problem complaints, and the like.
In addition to submitting feedback data, the consumer can also inquire the quality data in the visible authority from the platform by scanning the quality code or the two-dimensional code of the quality code, so that the consumer can be deeply aware of the product.
In some optional implementation manners of this embodiment, the executing entity may further issue a quality code matching the product information, and then associate and store the product information, the on-chain resource matching the product information, and the quality code. In this way, the submission of the product information of the target product can be realized by scanning the corresponding scanning quality code by a scanning device such as a smart phone, a Personal Digital Assistant (PDA), a point of sale (POS) machine, and the like.
Step 202, the product information is matched with the chain resources of the block chains with the preset number.
In this embodiment, if the product information of the target product is obtained, the execution main body may match the product information with the resources on the chain of the block chains in the preset number. The on-chain resources herein may include, for example, credits, red packets, colored stones, memory space, and the like.
By way of example, if the resource in the chain is a point and the target product is a, the product information of the product a and a certain amount of points may be bound and associated, and the points may be provided for the consumer to purchase the product. Red envelope, colored stones, etc. are also similar points.
If the on-chain resource is a storage space, the on-chain storage space is allocated to the target product. The on-chain storage space here can be used at the discretion of the user.
Step 203, a product request sent by a consumer is obtained.
In this embodiment, the execution main body may further obtain a product request sent by a consumer, where the product request includes a query request and a consumption request.
For example, after the product is linked, when a consumer wants to view or purchase the product, the consumer can enter a webpage containing the product information by clicking or scanning the identification code corresponding to the product, and then view the product information or purchase the target product. When the user performs the checking or purchasing operation, the executing body can obtain the corresponding query request and/or consumption request.
In step 204, on-chain resources are allocated to the consumer and a predetermined amount of the on-chain resources are locked based on the product request.
In this embodiment, if the product request sent by the consumer is obtained, the execution main body may allocate the on-chain resource to the consumer, and lock a predetermined amount of the on-chain resource.
When acquiring a product request sent by a consumer and executing a main body to allocate resources to the consumer on a chain, all of the chain resources of the block chains of the preset number may be allocated to the consumer, or only part of the chain resources may be allocated to the consumer, which is not limited in this embodiment.
In some optional implementations of this embodiment, if the product request is a query request, the execution principal may allocate a first number of resources on the chain to the consumer; if the product request is a consumption request, the execution agent may allocate a second number of resources on the chain to the consumer. The first number is smaller than the second number, and the preset number is larger than the first preset number and larger than or equal to the second preset number.
For ease of understanding, the on-chain resource is assumed to be the on-chain storage space of the blockchain. The target product has a matching on-chain resource of 100G, and if the consumer sends a query request to the execution main body only, 50M of storage space may be allocated to the consumer, and if the consumer sends a consumption request to the execution main body, that is, the consumer purchases the target product, all of the 100G on-chain resources may be rewarded to the consumer (the account of the consumer). At the same time, a predetermined amount of the on-chain resources are locked for the consumer, e.g., another 10G of the on-chain resources are locked for the consumer for further use.
In this way, not only can more resources be provided to the consumer, but also reserved resources can be provided to the consumer.
Step 205, in response to the product request being a query request and receiving a secondary product request sent by a consumer, unlocking the predetermined amount of on-chain resources and allocating the predetermined amount of on-chain resources to the consumer.
In this embodiment, if a secondary request sent by the consumer is received, for example, after the consumer views the target product, the consumer continues to view the target product through the blockchain or purchases the target product again, the execution subject may unlock the on-chain resource that was locked for the consumer before, and then allocate the predetermined amount of the on-chain resource to the consumer.
If the product request is a consumption request, in some optional implementations of this embodiment, the execution main body may perform the following steps:
in a first step, in response to the product request being a consumption request, it is determined whether the product request is received again within a preset time period.
Specifically, if the product request sent by the consumer is a consumption request, that is, the consumer has requested to purchase the target product, and the quality chain platform or the commodity circulation platform on which the target product depends also has allocated resources on the chain to the account of the consumer, then the identification information such as the quality code or the two-dimensional code corresponding to the target product should be taken off the shelf from the platform. Then, the execution subject may determine whether the product request is received again within a preset time period. For example, it is determined whether the execution agent receives a product request for the target product sent by another consumer again within 7 days or 1 month after the consumer purchases the target product, or whether the consumer purchases the target product and sends a product request for the target product.
And secondly, in response to the fact that the product request is received again within the preset time period, the using permission of the consumers obtaining the resources on the chain to the resources on the chain is frozen.
Specifically, if the execution main body receives the product request again within the preset time period, it indicates that the product circulates again, and indicates that the buyer of the target product keeps hanging the target product on the platform for profit without passing platform permission, which is likely to be a speculative behavior of a bad merchant. Therefore, when such a situation occurs, the execution subject may freeze the usage right of the chain resource to the consumer of the chain resource, so as to limit the right of the consumer, and preferably, may further issue a warning alert to the consumer or perform a lower score on the consumer, so as to remind the consumer to remove the quality code of the target product in time, and so on, so as to avoid affecting the reputation of the consumer.
And thirdly, in response to the fact that the product request is not received again within the preset time period, releasing the use permission of the consumers obtaining the resources on the chain to the resources on the chain.
Specifically, if the execution subject does not receive the product request again within the preset time period, the usage right of the chain resource by the consumer who obtains the chain resource can be released. For example, the execution subject does not find the occurrence of the second step in 1 month, which indicates that the consumer is in good credit and has no speculative behavior, and the execution subject may enable the consumer to have full use authority of the resources on the chain, for example, the consumer may use the resources on the chain obtained by the consumer to perform consumption behaviors such as exchange in city life columns of the platform.
After matching the product with the preset number of on-chain resources of the blockchain, in some optional implementation manners of this embodiment, the execution main body may further determine whether the product information is acquired within a preset time period, and if the product information is not acquired within the preset time period, the execution main body may withdraw the preset number of on-chain resources of the blockchain that match the product information.
Specifically, after the product information is matched with the predetermined number of on-chain resources of the blockchain in step 202, the manufacturer of the target product does not chain the target product for many possible reasons, and at this time, the execution body may withdraw the predetermined number of on-chain resources of the blockchain matched with the product information, and the target product is not circulated on the platform of the blockchain.
According to the resource allocation method based on the block chain, the product information of the target product can be stored in the block chain, the resources on the chain are allocated to the target product, if a product request of a consumer is obtained, the resources on the chain can be allocated to the consumer according to the product request, a preset number of the resources on the chain are locked, the target product is favorably stimulated to be changed from one-time access to the second-time access by the consumer, if a secondary product request sent by the consumer is received, the resources on the chain with the preset number are unlocked, the resources on the chain with the preset number are allocated to the consumer, the consumer is favorably stimulated to know the target product and the product information more deeply in a reward mode, and the access amount of the information in the block chain is improved.
With further reference to fig. 3, a flow diagram 300 of another embodiment of a method of resource allocation based on a block chain is shown. The process 300 of the resource allocation method based on the block chain is applied to a server, and includes the following steps:
step 301, obtaining product information of a target product.
Step 302, the product information is matched with the resources on the chain of the block chain with the preset quantity.
Step 303, obtain a product request sent by a consumer.
In step 304, in accordance with the product request, an on-chain resource is allocated to the consumer and a predetermined amount of the on-chain resource is locked.
Step 305, in response to the product request being a query request and receiving a secondary product request sent by a consumer, unlocking the predetermined amount of on-chain resources and allocating the predetermined amount of on-chain resources to the consumer.
In this embodiment, step 301, step 302, step 303, step 304, and step 305 may be performed in a manner similar to that of step 201, step 202, step 203, step 204, and step 205 in the foregoing embodiment, and are not described again with respect to step 201, step 202, step 203, step 204, and step 205.
In response to receiving the secondary product request from the consumer, the on-chain resources are allocated to the user associated with the consumer in the blockchain, step 306.
In this embodiment, if a secondary product request sent by a consumer is received, the execution entity may allocate on-chain resources to a user associated with the consumer in the blockchain.
Specifically, for a certain consumer, it may bind many other consumers, and these consumers form a specific relationship, such as a relationship between relatives and friends. Then, if the consumer only inquires the target product for the first time, the execution body can allocate a certain amount of on-chain resources to the consumer through the platform during the first inquiry, and simultaneously lock the predetermined amount of on-chain resources for the consumer.
Then, if the execution main body receives the secondary product request sent by the consumer, regardless of whether the secondary product request is a consumption request or an inquiry request, the execution main body may unlock the previously locked resources on the chain and allocate the resources to the users associated with the consumer stored in the blockchain, where the resources on the chain may be evenly allocated to all users associated with the consumer, or only the resources on the chain may be allocated to the user specified by the consumer, or only the resources on the chain may be allocated to the user with the highest interaction relationship with the consumer, which is not limited in this embodiment.
In some optional implementation manners of this embodiment, the step 301 of obtaining the product request sent by the consumer may include obtaining the product request sent by the consumer and a request time corresponding to the product request. The on-chain resources may then be allocated to the consumer based on the product request and the request time.
Specifically, for example, if the product request is a query request, the execution entity may sequentially allocate resources on the chain to the consumer by at least more amount according to the sequence of the product request and the request time. For example, after the product is linked up, the first consumer sending the product request may allocate more on-chain resources to the first consumer if it sends the inquiry request, and the second consumer sending the inquiry request may obtain less on-chain resources than the first consumer.
It should be noted here that, in general, the total amount of resources on the chain allocated to the consumer sending the query request is less than or equal to the total amount of resources on the chain allocated to the final consumer sending the consumption request. For ease of understanding, the allocation of resources on the chain may be divided into two processes, namely a product circulation phase and a product consumption phase. In the product circulation stage, according to the time sequence of the consumer sending the query request, at least more resources on the chain are allocated to the consumers, as shown in fig. 4. And a product consumption stage, wherein half or more than half of the total amount of the distributed resources on the chain is distributed to the consumers who purchase the target product.
Therefore, in the product circulation stage, the consumer can be stimulated to view the target product preferentially, so that more resources on the chain can be obtained, and meanwhile, the rights and interests of the consumer who purchases the target product can be guaranteed not to be influenced, namely, the consumer who purchases the target product can also obtain more resources on the chain.
By the resource allocation method based on the block chain, the locked chain resources can be allocated to the users related to the consumers sending the secondary product requests, so that the consumers can be stimulated to become 'back-to-back customers' of the target products, the knowledge of the consumers on the target products is increased, other users related to the consumers can also obtain certain rewards, the user query amount of the target products is promoted to be increased, and the users can also obtain more chain resources in the mode, so that the whole product circulation chain is active.
Referring now to fig. 5, and referring now to fig. 5, a block chain based resource allocation apparatus (e.g., the server of fig. 1) 500 suitable for use in implementing embodiments of the present disclosure is shown. The processing device shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 5, processing device 500 may include a processing means (e.g., central processing unit, graphics processor, etc.) 501 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)502 or a program loaded from a storage means 508 into a Random Access Memory (RAM) 503. In the RAM503, various programs and data necessary for the operation of the electronic apparatus 500 are also stored. The processing device 501, the ROM502, and the RAM503 are connected to each other through a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
Generally, the following devices may be connected to the I/O interface 505: input devices 506 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 507 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage devices 508 including, for example, magnetic tape, hard disk, etc.; and a communication device 509. The communication means 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. While fig. 5 illustrates an electronic device 500 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided. Each block shown in fig. 5 may represent one device or may represent multiple devices as desired.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 509, or installed from the storage means 508, or installed from the ROM 502. The computer program, when executed by the processing device 501, performs the above-described functions defined in the methods of embodiments of the present disclosure.
It should be noted that the computer readable medium described in the embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In embodiments of the disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In embodiments of the present disclosure, however, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately and not be assembled into the server. The computer readable medium carries one or more programs which, when executed by the server, cause the server to: acquiring product information of a target product; matching the product information with the chain resources of the block chains with the preset number; obtaining a product request sent by a consumer, wherein the product request comprises a query request and a consumption request; allocating an on-chain resource to the consumer and locking a predetermined amount of the on-chain resource according to the product request; and responding to the product request as a query request and receiving a secondary product request sent by the consumer, unlocking the predetermined amount of on-chain resources and distributing the predetermined amount of on-chain resources to the consumer.
Computer program code for carrying out operations for embodiments of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the embodiments of the present disclosure is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is made without departing from the inventive concept as defined above. For example, the above features and (but not limited to) technical features with similar functions disclosed in the embodiments of the present disclosure are mutually replaced to form the technical solution.

Claims (10)

1. A resource allocation method based on block chains is characterized by comprising the following steps:
acquiring product information of a target product;
matching the product information with the chain resources of the block chains with a preset number;
the method comprises the steps of obtaining a product request sent by a consumer, wherein the product request comprises a query request and a consumption request;
allocating an on-chain resource to the consumer and locking a predetermined amount of the on-chain resource according to the product request;
and responding to the product request as a query request and receiving a secondary product request sent by the consumer, unlocking the predetermined amount of on-chain resources, and distributing the predetermined amount of on-chain resources to the consumer.
2. The method of claim 1, wherein said allocating resources on a chain to said consumer in accordance with said product request comprises:
in response to the product request being a query request, allocating a first amount of on-chain resources to the consumer;
and in response to the product request being a consumption request, allocating a second number of resources on the chain to the consumer, wherein the first number is smaller than the second number, and the preset number is greater than the first number and greater than or equal to the second number.
3. The method of claim 1, wherein the obtaining the product request sent by the consumer comprises:
the method comprises the steps of obtaining a product request sent by a consumer and request time corresponding to the product request; and
said allocating on-chain resources to said consumer in accordance with said product request, comprising:
allocating on-chain resources to the consumer based on the product request and the request time.
4. The method of claim 3, wherein said allocating resources on a chain to said consumer based on said product request and said request time comprises:
and responding to the product request as a query request, and sequentially allocating the resources on the chain to the consumers by at least more amount according to the sequence of the product request and the request time.
5. The method of claim 1, further comprising:
issuing a quality code matched with the product information;
and performing associated storage on the product information, the resources on the chain matched with the product information and the quality codes.
6. The method of claim 1, further comprising:
in response to the product request being a consumption request, determining whether the product request is received again within a preset time period;
in response to the fact that the product request is received again within the preset time period, the using permission of the consumers of the resources on the chain on the resources on the chain is obtained through freezing;
and in response to determining that the product request is not received again within a preset time period, releasing the use permission of the consumers obtaining the resources on the chain on the resources on the chain.
7. The method according to claim 1, wherein after the step of matching the product information with a preset number of on-chain resources of a blockchain, the method further comprises:
determining whether the product information is acquired within a preset time period;
and in response to the fact that the product information is not acquired within a preset time period, withdrawing the chain resources of the block chains with preset number matched with the product information.
8. The method of claim 1, wherein after the step of allocating an on-chain resource to the consumer and locking a predetermined amount of the on-chain resource in accordance with the product request, the method further comprises:
in response to receiving a secondary product request sent by the consumer, allocating an on-chain resource to a user associated with the consumer in the blockchain.
9. A device for resource allocation based on block chains, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of block chain based resource allocation of any one of claims 1-8.
10. A non-transitory computer storage medium storing computer-executable instructions for block chain based resource allocation, wherein the computer-executable instructions, when executed, implement the block chain based resource allocation method of any one of claims 1 to 8.
CN201911149853.0A 2019-11-21 2019-11-21 Resource allocation method, device and storage medium based on block chain Pending CN110889617A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911149853.0A CN110889617A (en) 2019-11-21 2019-11-21 Resource allocation method, device and storage medium based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911149853.0A CN110889617A (en) 2019-11-21 2019-11-21 Resource allocation method, device and storage medium based on block chain

Publications (1)

Publication Number Publication Date
CN110889617A true CN110889617A (en) 2020-03-17

Family

ID=69748313

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911149853.0A Pending CN110889617A (en) 2019-11-21 2019-11-21 Resource allocation method, device and storage medium based on block chain

Country Status (1)

Country Link
CN (1) CN110889617A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112200572A (en) * 2020-10-09 2021-01-08 支付宝(杭州)信息技术有限公司 Resource distribution method and device based on block chain and electronic equipment
CN113157446A (en) * 2021-04-09 2021-07-23 联通(广东)产业互联网有限公司 Cloud edge cooperative resource allocation method, device, equipment and medium
WO2023134680A1 (en) * 2022-01-17 2023-07-20 支付宝实验室(新加坡)有限公司 Blockchain-based resource processing method and system
CN117827453A (en) * 2023-12-29 2024-04-05 柏域信息科技(上海)有限公司 Storage resource ordering method, device, equipment and storage medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112200572A (en) * 2020-10-09 2021-01-08 支付宝(杭州)信息技术有限公司 Resource distribution method and device based on block chain and electronic equipment
CN113157446A (en) * 2021-04-09 2021-07-23 联通(广东)产业互联网有限公司 Cloud edge cooperative resource allocation method, device, equipment and medium
CN113157446B (en) * 2021-04-09 2022-12-09 联通(广东)产业互联网有限公司 Cloud edge cooperative resource allocation method, device, equipment and medium
WO2023134680A1 (en) * 2022-01-17 2023-07-20 支付宝实验室(新加坡)有限公司 Blockchain-based resource processing method and system
CN117827453A (en) * 2023-12-29 2024-04-05 柏域信息科技(上海)有限公司 Storage resource ordering method, device, equipment and storage medium
CN117827453B (en) * 2023-12-29 2024-08-02 柏域信息科技(上海)有限公司 Storage resource ordering method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110889617A (en) Resource allocation method, device and storage medium based on block chain
US11954682B2 (en) System and method for automated linkage of enriched transaction data to a record of charge
US8781104B1 (en) System and method for enabling tracking of contract provisions in a service message switching marketplace
US20140324690A1 (en) System and method for a single digital wallet dynamic checkout tool
US20180268418A1 (en) Warranty enriched transactions
US20160328791A1 (en) System and method for electronic consumer debt validation and dispute process
US8271346B1 (en) System to format and use electronically readable identification data strings, biometric data, matrix codes and other data to link and enroll users of products and services to roles and rights and fees and prices associated with research protocols linked to said products and services
US20140105508A1 (en) Systems and Methods for Intelligent Purchase Crawling and Retail Exploration
US20190095927A1 (en) Predictive Communication System
US20190130453A1 (en) Transaction Data Analysis System
US10318546B2 (en) System and method for test data management
US20230128174A1 (en) Proportional markers on a map
US20170316405A1 (en) Systems and Methods for Control and Reconciliation of Virtual Token Accounts
US11170397B2 (en) Dynamic rewards program
US10325252B2 (en) Payment management apparatus, payment management method, and storage medium
CN110428328A (en) A kind of key right-safeguarding complaint system and method based on block chain technology
CN112381453A (en) Information processing method, information processing apparatus, electronic device, and medium
CN108632358B (en) Token management method and device based on WIFI sharing
US20200294045A1 (en) Interaction processing system and method
CN112241866A (en) Service processing method and device, computer readable medium and electronic equipment
US20170221067A1 (en) Secure electronic transaction
US20170178154A1 (en) Leveraging network-based point to point transactions
WO2015178859A1 (en) Method, server and system for dynamic customer/provider data pairing
CN111833151A (en) Cloud ecological service method, cloud server, system, equipment and readable storage medium
US9940602B1 (en) Item purchase, redemption and delivery including user-defined parameters

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200814

Address after: Room 1-2301, Building 7, North District, Shandong Design and Creative Industry Park, No. 868 Tangye West Road, Licheng District, Jinan City, Shandong Province, 250102

Applicant after: SHANDONG INSPUR QUALINK TECHNOLOGY Co.,Ltd.

Address before: Room 3110, S01 building, Langchao building, No. 1036, Langchao Road, high tech Zone, Jinan City, Shandong Province 250101

Applicant before: Shandong Aicheng Network Information Technology Co.,Ltd.

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination