CN111427953A - Game intelligent contract operation method - Google Patents
Game intelligent contract operation method Download PDFInfo
- Publication number
- CN111427953A CN111427953A CN202010201909.9A CN202010201909A CN111427953A CN 111427953 A CN111427953 A CN 111427953A CN 202010201909 A CN202010201909 A CN 202010201909A CN 111427953 A CN111427953 A CN 111427953A
- Authority
- CN
- China
- Prior art keywords
- states
- intelligent contract
- data
- node
- game
- 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
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/70—Game security or game management aspects
- A63F13/79—Game security or game management aspects involving player-related data, e.g. identities, accounts, preferences or play histories
-
- 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
- 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
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Business, Economics & Management (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Finance (AREA)
- General Engineering & Computer Science (AREA)
- General Business, Economics & Management (AREA)
- Data Mining & Analysis (AREA)
- Accounting & Taxation (AREA)
- Development Economics (AREA)
- Computer Security & Cryptography (AREA)
- Economics (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Technology Law (AREA)
- Computing Systems (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a game intelligent contract operation method, which comprises the following steps: s1: determining each party involved in the intelligent contract, wherein the first party is a computing node, the second party is a data node, the computing node refers to a computing resource provided by the intelligent contract to execute work, the data node is a transaction opponent, and the data node has data needing to be processed and program work applied to process the data node; s2, identifying key states in the life cycle of the intelligent contract, wherein the key states comprise available states, unavailable states, pending states, calculation states and completed states; identifying and defining methods triggers state transitions and assigns processes to contracts for which states have been identified S3. The decentralized storage system is used for storing data on a plurality of independent devices in a distributed mode. The traditional network storage system adopts a centralized storage server to store all data, the storage server becomes the bottleneck of the system performance, is also the focus of reliability and safety, and cannot meet the requirement of large-scale storage application.
Description
Technical Field
The invention relates to a contract operation method, in particular to an intelligent contract operation method for games.
Background
The traditional game background management network can only be performed by means of the calculation management of a centralized server, and has the problems that calculation resources are wasted, centralized assets are controlled, game users cannot really master own game assets, and the operation in the game is delayed due to the background obstruction. Meanwhile, due to the control of the traditional background, better combination without Internet of things equipment can not be realized in a short time, and the combination cost is higher.
The block chain technology is utilized, the problem that data are processed in a traditional game background is solved by using a data contract and marginalized calculation, the smoothness and sensitivity of operation in a game are improved, the circulation of assets in the game is transparent, and the block chain technology is more effectively combined with the future Internet of things.
With the development of the times, the game market is getting bigger, users do not meet the single game centralized and rigid experience any more and want to master own game assets, and game developers also need a block chain technology to innovate the traditional game background management mode, so that the efficiency is improved.
And by utilizing a block chain technology, an intelligent contract utilization mode is innovated, block chain digital identity authentication is provided for a user, digital assets are operated, and an economic intelligent ecosystem is realized. The digital assets, the digital IDs and the intelligent contracts are integrated, and an intelligent economic system is created for modern life.
Disclosure of Invention
The invention aims to solve the technical problem that the operation in the game is delayed due to the background blockage. Meanwhile, due to the control of the traditional background, better combination of Internet of things equipment cannot be achieved in a short time, the combined cost is high, the game intelligent contract operation method is provided, the problem that data processed by the traditional game background is processed by using a data contract and edge calculation through a block chain technology is utilized, the smoothness and sensitivity of operation in a game are improved, the circulation of assets in the game is transparent, and the game intelligent contract operation method is more effectively combined with the future Internet of things to solve the problems.
The invention is realized by the following technical scheme: the game intelligent contract operation method is characterized by comprising the following steps: s1: determining each party involved in the intelligent contract, wherein the first party is a computing node, the second party is a data node, the computing node refers to a computing resource provided by the intelligent contract to execute work, the data node is a transaction opponent, and the data node has data needing to be processed and program work applied to process the data node; s2, identifying key states in the life cycle of the intelligent contract, wherein the key states comprise available states, unavailable states, pending states, calculation states and completed states; identifying and defining methods triggers state transitions and assigns processes to contracts for which states have been identified S3.
The decentralized storage system is used for storing data on a plurality of independent devices in a distributed mode. The traditional network storage system adopts a centralized storage server to store all data, the storage server becomes the bottleneck of the system performance, is also the focus of reliability and safety, and cannot meet the requirement of large-scale storage application. The decentralized network storage system adopts an expandable system structure, utilizes a plurality of storage servers to share storage load, and utilizes the position server to position storage information, thereby not only improving the reliability, the availability and the access efficiency of the system, but also being easy to expand.
The block chain is a fusion product in various fields of computers, and is mainly the fusion of a distributed storage system and cryptography. The block chain means that some data blocks are stored in a block in a tree structure, and then the blocks form a chain and are distributed on a plurality of independent devices. The formation unlocking of the data block and the block uses the cryptology product, and the safety performance is enhanced.
The intelligent contract can be regarded as a piece of program code stored and operated on the blockchain network, is an activity rule and a related contract commonly approved by related parties participating in a certain activity, and the rule and the contract are expressed in a code mode and are placed in the blockchain network for execution. Moreover, the intelligent contracts, once consensus is reached and placed on the blockchain network, are also transparent to all active participants and unalterable. Intelligent contract execution procedures, status, input and output data are also recorded in the blockchain network and are not alterable, transparent to all active participants.
The unavailable state in step S2 is that in this state, the compute node is unavailable to accept any job request.
The available state in said step S2 is that the compute node is declaring a price at which its resources are ready to be allocated and it will accept the first occurring work/task.
The pending state in said step S2 is that the compute node has received the job request and is considering acceptance or not, the compute node must first retrieve data and programs from a specified location, the location represented by UR L may refer to a folder located at the data node itself or some other accessible resource with files.
The calculation state in step S2 is: in this state, the compute node is doing bus processing on a job.
The completed status in step S2 is that at this stage, the compute node has completed the job successfully and awaits confirmation from the data node to complete the interaction, the compute node will provide UR L to the data node to retrieve the result.
Compared with the prior art, the invention has the following advantages and beneficial effects:
1. according to the game intelligent contract operation method, when external information enters the information platform, the external information is often stored again through a database of a system, so that safety is balanced, a required data transmission scheme cannot be established according to the condition of a certain user, and the required data transmission scheme can be established according to different customer requirements by adopting the distributed internal information platform of the application file;
2. the game intelligent contract operation method can ensure that the evaluation provided by the user on the external information is real, can leave a calling interface of an application program through an operating system, and can facilitate the evaluation of the user;
drawings
The accompanying drawings, which are included to provide a further understanding of the embodiments of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the principles of the invention. In the drawings:
FIG. 1 is a schematic flow chart of the method of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to examples and accompanying drawings, and the exemplary embodiments and descriptions thereof are only used for explaining the present invention and are not meant to limit the present invention.
Examples
As shown in fig. 1, the present invention is realized by the following technical solutions: the game intelligent contract operation method is characterized by comprising the following steps: s1: determining each party involved in the intelligent contract, wherein the first party is a computing node, the second party is a data node, the computing node refers to a computing resource provided by the intelligent contract to execute work, the data node is a transaction opponent, and the data node has data needing to be processed and program work applied to process the data node; s2, identifying key states in the life cycle of the intelligent contract, wherein the key states comprise available states, unavailable states, pending states, calculation states and completed states; identifying and defining methods triggers state transitions and assigns processes to contracts for which states have been identified S3.
The decentralized storage system is used for storing data on a plurality of independent devices in a distributed mode. The traditional network storage system adopts a centralized storage server to store all data, the storage server becomes the bottleneck of the system performance, is also the focus of reliability and safety, and cannot meet the requirement of large-scale storage application. The decentralized network storage system adopts an expandable system structure, utilizes a plurality of storage servers to share storage load, and utilizes the position server to position storage information, thereby not only improving the reliability, the availability and the access efficiency of the system, but also being easy to expand.
The block chain is a fusion product in various fields of computers, and is mainly the fusion of a distributed storage system and cryptography. The block chain means that some data blocks are stored in a block in a tree structure, and then the blocks form a chain and are distributed on a plurality of independent devices. The formation unlocking of the data block and the block uses the cryptology product, and the safety performance is enhanced.
The intelligent contract can be regarded as a piece of program code stored and operated on the blockchain network, is an activity rule and a related contract commonly approved by related parties participating in a certain activity, and the rule and the contract are expressed in a code mode and are placed in the blockchain network for execution. Moreover, the intelligent contracts, once consensus is reached and placed on the blockchain network, are also transparent to all active participants and unalterable. Intelligent contract execution procedures, status, input and output data are also recorded in the blockchain network and are not alterable, transparent to all active participants.
The unavailable state in step S2 is that in this state, the compute node is unavailable to accept any job request. The current block chain games have two types, one type is similar to the traditional online games, a centralized game server is still configured, and the block chain is only used for recording and proving key information such as the ownership of a game prop in the game scheme; the other type is no longer equipped with a centralized game server, but rather a decentralized blockchain network is used as a game server.
The former type of centralized game solution has the disadvantage that the traditional online game solution is still essential, and the poor control of the game by the controller of the centralized server cannot be avoided and avoided;
for the latter decentralized game scheme, the current scheme is still relatively immature, only a few companies make some attempts, and a scheme capable of realizing a lightweight blockchain game through simple and convenient deployment and application is lacking at present, so that more users cannot be attracted to participate in the decentralized blockchain game;
the available state in said step S2 is that the compute node is declaring a price at which its resources are ready to be allocated and it will accept the first occurring work/task.
The pending state in said step S2 is that the compute node has received the job request and is considering acceptance or not, the compute node must first retrieve data and programs from a specified location, the location represented by UR L may refer to a folder located at the data node itself or some other accessible resource with files.
The calculation state in step S2 is: in this state, the compute node is doing bus processing on a job.
The completed status in step S2 is that at this stage, the compute node has completed the job successfully and awaits confirmation from the data node to complete the interaction, the compute node will provide UR L to the data node to retrieve the result.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are merely exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.
Claims (6)
1. The game intelligent contract operation method is characterized by comprising the following steps:
s1: determining each party involved in the intelligent contract, wherein the first party is a computing node, the second party is a data node, the computing node refers to a computing resource provided by the intelligent contract to execute work, the data node is a transaction opponent, and the data node has data needing to be processed and program work applied to process the data node;
s2, identifying key states in the life cycle of the intelligent contract, wherein the key states comprise available states, unavailable states, pending states, calculation states and completed states;
identifying and defining methods triggers state transitions and assigns processes to contracts for which states have been identified S3.
2. The game intelligent contract operational method according to claim 1, wherein the unavailability in the step S2 is that in this state, the computing node is unavailable to accept any job request.
3. The game intelligent contract operational method according to claim 1, wherein the available state in the step S2 is that the computing node is declaring a price at which its resources are ready to be allocated and it will accept the first-occurring work/task.
4. The game intelligent contract operational method of claim 1, wherein the pending state in step S2 is that the computing node has received a job request and is considering acceptance or not, the computing node must first retrieve data and programs from a specified location, the location represented by UR L may refer to a folder or some other accessible resource with files located in the data node itself.
5. The game intelligent contract operational method according to claim 1, wherein the calculation state in the step S2 is: in this state, the compute node is doing bus processing on a job.
6. The game intelligent contract operational method according to claim 1, wherein the completed state in the step S2 is that at this stage, the computing node has completed the job successfully and waits for confirmation from the data node to complete the interaction, the computing node will provide UR L to the data node to retrieve the result.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010201909.9A CN111427953A (en) | 2020-03-20 | 2020-03-20 | Game intelligent contract operation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010201909.9A CN111427953A (en) | 2020-03-20 | 2020-03-20 | Game intelligent contract operation method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111427953A true CN111427953A (en) | 2020-07-17 |
Family
ID=71549711
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010201909.9A Pending CN111427953A (en) | 2020-03-20 | 2020-03-20 | Game intelligent contract operation method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111427953A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112134932A (en) * | 2020-09-04 | 2020-12-25 | 上海航翼网络科技有限公司 | Block chain technology-based distributed Internet of things implementation method |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109731328A (en) * | 2018-12-29 | 2019-05-10 | 杭州趣链科技有限公司 | A kind of block chain game data storage method based on BaaS |
-
2020
- 2020-03-20 CN CN202010201909.9A patent/CN111427953A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109731328A (en) * | 2018-12-29 | 2019-05-10 | 杭州趣链科技有限公司 | A kind of block chain game data storage method based on BaaS |
Non-Patent Citations (1)
Title |
---|
KWAME-LANTE WRIGHT等: "SmartEdge: A Smart Contract for Edge Computing" * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112134932A (en) * | 2020-09-04 | 2020-12-25 | 上海航翼网络科技有限公司 | Block chain technology-based distributed Internet of things implementation method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111405304B (en) | Anchor interaction method and device, computer equipment and storage medium | |
CN109359957B (en) | Safe multiparty computing method and related device | |
CN103473318B (en) | A kind of distributed transaction support method towards memory data grid | |
CN109829718B (en) | Block chain multi-level framework based on storage application scene and operation method thereof | |
US20190199693A1 (en) | Safe-Transfer Exchange Protocol Based on Trigger-Ready Envelopes Among Distributed Nodes. | |
CN111400112B (en) | Writing method and device of storage system of distributed cluster and readable storage medium | |
JP2021504813A (en) | Blockchain network transaction processing methods, devices, equipment and storage media | |
CN110597634B (en) | Data processing method and device and computer readable storage medium | |
CN109067841B (en) | Service current limiting method, system, server and storage medium based on ZooKeeper | |
JP2000339287A (en) | Concentrated affinity maintenance device and method therefor in client/server.data processing system managed by work load | |
CN108280150A (en) | A kind of distribution asynchronous service distribution method and system | |
CN112488706B (en) | Cloud service management method and system based on block chain | |
CN103685535A (en) | Interface design of cloud database system for large-scale distributed heterogeneous data treatment | |
CN112115204A (en) | Multi-party security calculation implementation method based on block chain technology | |
CN111290965B (en) | Test method, test device, computer equipment and storage medium | |
CN112866421A (en) | Intelligent contract operation method and device based on distributed cache and NSQ | |
WO2023103341A1 (en) | Blockchain-based smart contract invocation method, apparatus and device | |
CN111427953A (en) | Game intelligent contract operation method | |
US8407291B1 (en) | System and method for dispensing e-Care | |
Huang et al. | [Retracted] Construction of Virtual Marketing Interactive Platform for Digital Twin Innovation and Entrepreneurship Based on Blockchain | |
CN111835809B (en) | Work order message distribution method, work order message distribution device, server and storage medium | |
CN112395570A (en) | Alliance chain intelligent contract calling authority control method, system and storage medium | |
WO2023185042A1 (en) | Method and apparatus for establishing direct-connection channel | |
CN109309574B (en) | Method and system for establishing micro-assisted superior and subordinate office groups | |
US11736553B1 (en) | Selecting hosting servers for interactive electronic activities |
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 |