CN110585714B - UGC element setting method, device and equipment based on block chain - Google Patents
UGC element setting method, device and equipment based on block chain Download PDFInfo
- Publication number
- CN110585714B CN110585714B CN201910919282.8A CN201910919282A CN110585714B CN 110585714 B CN110585714 B CN 110585714B CN 201910919282 A CN201910919282 A CN 201910919282A CN 110585714 B CN110585714 B CN 110585714B
- Authority
- CN
- China
- Prior art keywords
- ugc
- candidate
- poi position
- block chain
- position coordinate
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- 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/60—Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor
-
- 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
- A63F2300/00—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
- A63F2300/60—Methods for processing data by generating or executing the game program
- A63F2300/6009—Methods for processing data by generating or executing the game program for importing or creating game content, e.g. authoring tools during game development, adapting content to different platforms, use of a scripting language to create content
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The application provides a method, a device and equipment for setting UGC (user generated content) elements based on a block chain, and relates to the technical field of computers and the Internet, wherein the method comprises the following steps: obtaining a voting result of at least one candidate UGC element from a block chain stored in a block chain system, wherein the block chain system comprises n block chain nodes, each block chain node is configured with a block chain, and n is an integer greater than 1; selecting a target UGC element from the at least one candidate UGC element according to the voting result of the at least one candidate UGC element; the target UGC element is configured into the gaming application. As the block chain storage has non-tamper property, the safety of information storage is ensured, and the game server can automatically select the target UGC element configured in the game application program, thereby improving the configuration efficiency of the UGC element, enabling the selection of the UGC element to be more objective and improving the public trust.
Description
Technical Field
The embodiment of the application relates to the technical field of computers and internet, in particular to a method, a device and equipment for setting UGC (User Generated Content) elements based on a block chain.
Background
In some LBS (Location Based Service) games, a player may upload some POI (Point of Interest) Location coordinates, referred to as UGC elements, to be part of the game content.
In the related technology, LBS game players upload POI position coordinates to game authorities, the POI position coordinates and related uploading information of the POI position coordinates are directly stored in a game server, the game authorities perform manual auditing on the collected POI position coordinates, and the POI position coordinates which are approved are configured in the LBS game and become a part of the LBS game.
In the technology, technicians are required to manually check the position coordinates of the POI, the efficiency is low, the cost is high, the manual checking lacks objectivity, and the public confidence is influenced.
Disclosure of Invention
The embodiment of the application provides a method, a device and equipment for setting UGC elements based on a block chain, and the technical problems that manual auditing is low in efficiency and high in cost, and the public trust is influenced due to the fact that the manual auditing lacks objectivity can be solved. The technical scheme is as follows:
in one aspect, an embodiment of the present application provides a method for setting a UGC element based on a block chain, where the method includes:
obtaining a voting result of at least one candidate UGC element from a blockchain stored in a blockchain system, wherein the blockchain system comprises n blockchain nodes, each blockchain node is configured with the blockchain, and n is an integer greater than 1;
selecting a target UGC element from the at least one candidate UGC element according to the voting result of the at least one candidate UGC element;
configuring the target UGC element into a game application.
On the other hand, the embodiment of the application provides a UGC element setting method based on a block chain, and the method comprises the following steps:
displaying a candidate UGC display interface, wherein the candidate UGC display interface comprises at least one candidate UGC element, and the candidate UGC element is stored in a block chain;
obtaining a voting instruction corresponding to a first UGC element in the at least one candidate UGC element;
sending a UGC voting request to a server, wherein the UGC voting request is used for requesting to vote for the first UGC element;
wherein each of the candidate UGC elements is configured into a game application according to a voting result.
In another aspect, an embodiment of the present application provides a block chain-based UGC element setting apparatus, where the apparatus includes:
a result obtaining module, configured to obtain a voting result of at least one candidate UGC element from a blockchain stored in a blockchain system, where the blockchain system includes n blockchain nodes, each blockchain node is configured with the blockchain, and n is an integer greater than 1;
the element selection module is used for selecting a target UGC element from the at least one candidate UGC element according to the voting result of the at least one candidate UGC element;
and the element configuration module is used for configuring the target UGC element into a game application program.
In another aspect, an embodiment of the present application provides a block chain-based UGC element setting apparatus, where the apparatus includes:
the interface display module is used for displaying a candidate UGC display interface, wherein the candidate UGC display interface comprises at least one candidate UGC element, and the candidate UGC element is stored in the block chain;
an instruction obtaining module for obtaining a voting instruction corresponding to a first UGC element in the at least one candidate UGC element;
a request sending module, configured to send a UGC voting request to a server, where the UGC voting request is used to request that the first UGC element be voted;
wherein each of the candidate UGC elements is configured into a game application according to a voting result
In a further aspect, an embodiment of the present application provides a server, where the server includes a processor and a memory, where the memory stores a computer program, and the computer program is loaded and executed by the processor to implement the method for setting the server-side UGC element based on the blockchain.
In still another aspect, an embodiment of the present application provides a terminal, where the terminal includes a processor and a memory, where the memory stores a computer program, and the computer program is loaded by the processor and executed to implement the method for setting a UGC element based on a block chain at a terminal side.
In still another aspect, an embodiment of the present application provides a computer-readable storage medium, where a computer program is stored in the storage medium, and the computer program is loaded and executed by a processor to implement the method for setting a UGC element based on a block chain.
The technical scheme provided by the embodiment of the application can bring the following beneficial effects:
the voting result of the candidate UGC elements is obtained from the block chain stored in the block chain system, the target UGC elements are automatically selected according to the voting result, and the target UGC elements are configured in the game application program, and the security of information storage is ensured due to the fact that the block chain storage is not capable of being tampered, so that the game server can automatically select the target UGC elements configured in the game application program, on one hand, the configuration efficiency of the UGC elements is improved, the cost of manual auditing is saved, on the other hand, the target UGC elements configured in the game application program are selected by voting of a user and are not selected by a specific person, the selection of the UGC elements is more objective, and the public confidence is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a block chain system according to an embodiment of the present disclosure;
FIG. 2 is a block diagram according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of a system architecture provided by one embodiment of the present application;
FIG. 4 is a flowchart of a block chain based UGC element setting method provided by an embodiment of the present application;
FIG. 5 is a flow chart of a block chain based UGC element setting method provided by another embodiment of the present application;
FIG. 6 is a schematic view of a game interface of an LBS game provided by one embodiment of the present application;
FIG. 7 is a schematic illustration of a method of storing candidate UGC elements provided by one embodiment of the present application;
FIG. 8 is a schematic illustration of a method of obtaining candidate UGC elements provided in one embodiment of the present application;
FIG. 9 is a flowchart of a block chain based UGC element setting method provided by another exemplary embodiment of the present application;
FIG. 10 is a schematic illustration of a UGC upload interface provided in one embodiment of the present application;
FIG. 11 is a schematic illustration of a candidate UGC presentation interface provided by one embodiment of the present application;
FIG. 12 is a block diagram of a device for setting UGC elements based on a block chain according to an embodiment of the present application;
FIG. 13 is a block diagram of a block chain based UGC element setting apparatus provided in another embodiment of the present application;
FIG. 14 is a block diagram of a block chain based UGC element setting apparatus provided in another embodiment of the present application;
FIG. 15 is a block diagram of a block chain based UGC element setting apparatus according to another embodiment of the present application;
FIG. 16 is a block diagram of a server according to an embodiment of the present application;
fig. 17 is a block diagram of a terminal according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
First, a block chain technique according to an embodiment of the present application will be described.
The blockchain system is a data sharing system, i.e. a system for sharing data between nodes. Referring to fig. 1, a block chain system 100 according to an embodiment of the present application is shown. As shown in fig. 1, the blockchain system 100 may include a plurality of nodes 101 (also referred to as "blockchain nodes"), each node 101 may receive input information during normal operation and maintain shared data within the blockchain system 100 based on the received input information. In order to ensure the information intercommunication in the blockchain system 100, there may be a direct or indirect information connection between each node 101 in the blockchain system 100, and the nodes 101 may perform information transmission through the information connection. For example, when an input message is received by any node in the blockchain system 100, other nodes in the blockchain system 100 acquire the input message according to the consensus algorithm, and store the input message as data in the shared data, so that the data stored in all nodes in the blockchain system 100 are consistent.
Each node 101 in the blockchain system 100 has a node identifier corresponding thereto, and each node 101 in the blockchain system 100 may store node identifiers of other nodes in the blockchain system 100, so that the generated block is broadcast to other nodes in the blockchain system according to the node identifiers of other nodes. Each node may maintain a node identifier list as shown in the following table, and store the node name and the node identifier in the node identifier list correspondingly. The node identifier may be an IP (Internet Protocol) address and any other information that can be used to identify the node, and table 1 only illustrates the IP address as an example.
TABLE 1
Node name | Node identification |
Node 1 | 117.114.151.174 |
Node 2 | 117.116.189.145 |
… | … |
Node N | 119.123.789.258 |
Each node 101 in the blockchain system 100 stores one identical blockchain.
Please refer to fig. 2, which illustrates an alternative block structure according to an embodiment of the present application. As shown in fig. 2, the block chain is composed of a plurality of blocks, the block chain 200 is composed of a plurality of blocks 201, the starting block includes a block header and a block body, the block header stores an input information characteristic value, a version number, a timestamp and a difficulty value, and the block body stores input information; the next block of the starting block takes the starting block as a parent block, the next block also comprises a block head and a block main body, the block head stores the input information characteristic value of the current block, the block head characteristic value of the parent block, the version number, the timestamp and the difficulty value, and so on, so that the block data stored in each block in the block chain is associated with the block data stored in the parent block, and the safety of the input information in the block is ensured.
When each block 201 in the block chain 200 is generated, the node where the block chain is located receives input information, checks the input information, stores the input information into a memory pool after the check is completed, and updates a hash tree for recording the input information; and then, updating the updating time stamp to the time when the input information is received, trying different random numbers, and calculating the characteristic value for multiple times, so that the calculated characteristic value can meet the following formula:
SHA256(SHA256(version+prev_hash+merkle_root+ntime+nbits+x))<TARGET
wherein SHA256 is a characteristic value algorithm used for calculating a characteristic value; version (version number) is version information of related block protocols in the block chain; prev _ hash is a block header characteristic value of a parent block of the current block; merkle _ root is a characteristic value of the input information; ntime is the update time of the update timestamp; nbits is the current difficulty, is a fixed value within a period of time, and is determined again after exceeding a fixed time period; x is a random number; TARGET is a feature threshold, which can be determined from nbits.
Therefore, when the random number meeting the formula is obtained through calculation, the information can be correspondingly stored, and the block header and the block main body are generated to obtain the current block. And then, the node where the block chain is located respectively sends the newly generated blocks to other nodes in the block chain system where the newly generated blocks are located according to the node identifications of the other nodes in the block chain system, the newly generated blocks are verified by the other nodes, and the newly generated blocks are added to the block chain stored in the newly generated blocks after the verification is completed.
Referring to fig. 3, a schematic diagram of a system architecture according to an embodiment of the present application is shown. As shown in fig. 3, the system architecture may include: a blockchain system 10, a game server 20, and a terminal 30.
The blockchain system 10 includes n blockchain link points 11, n being an integer greater than 1. The blockchain node 11 may be any computer device with data processing and storage capabilities, such as a server, a user terminal, etc. The respective block chain nodes 11 can communicate with each other directly or indirectly, so as to share and synchronize data.
In the embodiment of the present application, each blockchain node 11 is configured with a blockchain 12, and for the description of the structure of the blockchain 12, reference is made to the above, and details are not described here. In an embodiment of the present application, the blockchain 12 may be used to store the UGC elements submitted by the users of the game application, and related information of the UGC elements, such as voting results.
The game server 20 is a background server for the game application and is used for providing background services for the game application. The game server 20 may be one server, a server cluster composed of a plurality of servers, or a cloud computing service center. In addition, the game server 20 may establish a communication connection with at least one blockchain node 11 in the blockchain system 10, so as to transmit and receive data with the blockchain node 11 through the communication connection. In some other possible embodiments, the game server 20 may also communicate with other blockchain nodes in the blockchain system 10 as the blockchain node 11 in the blockchain system 10.
The terminal 30 may be an electronic device such as a mobile phone, a tablet Computer, a game console, a wearable device, a PC (Personal Computer), and the like. The terminal 30 may have installed therein a client that runs the above-described game application. The terminal 30 and the game server 20 can communicate with each other via a network.
In the embodiment of the present application, the type of the game application is not limited, such as a MOBA (Multiplayer Online Battle Arena) type game application, a shooting type game application, an LBS game application, a puzzle solving type game application based on geographic service, and the like.
In the embodiment of the application, the game application program supports the user to submit the UGC element, and the UGC element refers to the content independently authored or produced by the user. In one example, where the gaming application is an LBS game, the UGC element may be POI location coordinates.
Referring to fig. 4, a flowchart of a block chain based UGC element setting method according to an embodiment of the present application is shown. The execution subject of the method may be the game server 20 in the system architecture shown in fig. 3 described above. The method can comprise the following steps (401-403):
The block chain system comprises n block chain nodes, each block chain node is provided with a block chain, and n is an integer larger than 1.
A target blockchain node in the blockchain system may send its stored voting results for at least one candidate UGC element in the blockchain to the game server. The target blockchain node may be any one of the blockchain nodes in the blockchain system. For example, the game server sends a candidate UGC acquisition request to the target blockchain node, wherein the candidate UGC acquisition request is used for requesting to acquire the candidate UGC elements stored in the blockchain; and after receiving the candidate UGC acquisition request, the target block chain node acquires at least one candidate UGC element and the voting result of each candidate UGC element from the block chain according to the candidate UGC acquisition request, and sends the voting result of the at least one candidate UGC element and each candidate UGC element to the game server. Of course, in some other possible embodiments, the target blockchain node may also actively transmit the at least one candidate UGC element and the voting results of each candidate UGC element to the game server, e.g., the target blockchain node periodically transmits the at least one candidate UGC element and the voting results of each candidate UGC element to the game server.
At least one candidate UGC element can be included in the blockchain stored by the blockchain system, and the voting result corresponding to each candidate UGC element. The candidate UGC element refers to a UGC element for a user to select to be configured into a gaming application. In the embodiment of the application, the user can select the candidate UGC element by means of voting, and the higher the number of votes obtained by the candidate UGC element is, the higher the possibility that the candidate UGC element is configured into the game application is.
And the voting result of the candidate UGC element is used for representing the recommendation degree of the user to the candidate UGC element. For example, the voting results can include a total number of votes obtained by the candidate UGC element. Easily understood, the total vote quantity of a candidate UGC element is in positive correlation with the recommendation degree of the user to the candidate UGC element, namely, the more the total vote quantity of the candidate UGC element is, the more recommended the user to the candidate UGC element is; conversely, a smaller total number of votes for a candidate UGC element indicates that the user is less recommended for the candidate UGC element. In addition, one user account can vote once or for multiple times for the same candidate UGC element, which can be designed by combining practical situations, and the embodiment of the application is not limited to this.
Additionally, forms of voting for candidate UGC elements include, but are not limited to, praise, send a flower, and the like. Optionally, virtual resources of the user account, such as credits, virtual items, etc., may be consumed in voting for the candidate UGC element. Alternatively, the total number of votes obtained for a candidate UGC element can be expressed as the popularity of the candidate UGC element. Illustratively, the user account consumes 1 credit for approving one candidate UGC element every time, the credit is 0, and the candidate UGC element cannot approve, and the popularity is increased by 1 for approving one candidate UGC element every time.
And 402, selecting a target UGC element from the at least one candidate UGC element according to the voting result of the at least one candidate UGC element.
The target UGC element refers to a candidate UGC element selected for configuration into the gaming application. The target UGC element may be one or more of the candidate UGC elements described above. Optionally, when the voting result of the candidate UGC element meets a preset requirement, the candidate UGC element is selected as the target UGC element. For example, the preset requirement may be that the total number of votes for the candidate UGC element is greater than a preset value. In one example, if the candidate UGC element is more than 1000 hot, the candidate UGC element is chosen as the target UGC element.
In step 403, the target UGC element is configured into the game application.
After selecting the target UGC element, the game server configures the target UGC element into the game application program to become a component of the game content.
In some possible embodiments, the presentation form of the target UGC element configured into the game application program in the game interface can be different from the presentation form of the same kind of element preset by the game in the game interface. In the game interface, the target UGC element and the same kind of element preset by the game may be in different visual presentation forms, for example, the target UGC element and the same kind of element preset by the game may be in different display styles, different display colors, and the like; for another example, when the target UGC element and the same kind of element preset in the game are subjected to preset operations (such as clicking, long-pressing and the like) of the game application program, the corresponding sound effects are different.
When the target UGC element is presented in the game interface, the related information of the target UGC element can be displayed in the game interface. For example, the relevant information may include, but is not limited to, at least one of: the identity information of the user account for the target UGC element is uploaded (e.g., avatar, nickname, age, gender, birthday, occupation, region of life, etc.), the time of upload of the target UGC element, the location or region of upload, the time the target UGC element is configured into the gaming application, etc. The user corresponding to the user account of the uploading target UGC element can choose to make all or part of the identity information of the user invisible to other users in the operation options provided by the game application program.
In the game interface, the related information of the target UGC element can be automatically displayed nearby the target UGC element in the form of words or pictures; the related information of the target UGC element can be displayed in the game interface in the form of characters or pictures after the user performs related operation (such as clicking, long pressing and the like) on the target UGC element.
In some possible embodiments, after the game server has configured the target UGC element into the game application, the virtual resource that uploaded the user account for the target UGC element is incremented by a first value. Wherein the virtual resource is available to vote on the candidate UGC element. The first value may be set by a person skilled in the relevant art according to actual use requirements, and is not limited in this embodiment of the present application.
Taking the virtual resource as the integral of the user account as an example, the mode of acquiring the integral by the user account can be a fixed integral distributed to each user account by the game application program; or the uploaded UGC element can be used as a target UGC element, and reward points are obtained after the element is configured in a game application program; the candidate UGC elements of the votes thereof can be used as target UGC elements, and reward points are obtained after the candidate UGC elements are configured in the game application program, or reward points are obtained after other tasks are completed in the game application program, and the like, which is not limited in the embodiment of the application.
To sum up, in the technical solution provided in the embodiment of the present application, a voting result of a candidate UGC element is obtained from a block link stored in a block link system, and a target UGC element is automatically selected according to the voting result, and the target UGC element is configured in a game application program, and since the block link storage has non-tamper-property, security of information storage is ensured, so that a game server can automatically select the target UGC element configured in the game application program, on one hand, configuration efficiency of the UGC element is improved, and cost of manual auditing is saved, and on the other hand, since the target UGC element configured in the game application program is selected by a user through voting and is not selected by a specific person, selection of the UGC element is more objective, and public trust is improved.
In an alternative embodiment provided based on the embodiment of fig. 4, as shown in fig. 5, the upload and voting process of UGC elements may include the following steps:
Wherein the UGC upload request is for requesting addition of a second UGC element in the game application.
In the embodiment of the application, the client generates the UGC uploading request according to the second UGC element, and then sends the UGC uploading request to the game server.
The UGC upload request may include the second UGC element, identity information (such as a head portrait, a nickname, an age, a gender, a birthday, a profession, a living area, and the like) of a user account for uploading the second UGC element, information such as an upload time, an upload place or area of the second UGC element, and the like.
Before the client generates the UGC uploading request according to the second UGC element, the user can select or customize the second UGC element in an operation interface provided by the game application program. For example, in an LBS game, the UGC element is the POI location coordinates. Referring to fig. 6, a schematic view of a game interface of the LBS game provided in an embodiment of the present application is shown. As shown in fig. 6, POI position coordinates 60 are UGC elements.
The user can select the uploaded POI position coordinates in an operation interface provided by the game application program, and can also input the uploaded POI position coordinates in a text form in an input interface provided by the operation interface.
And 502, detecting whether the second UGC element meets a preset condition.
And after receiving the UGC uploading request sent by the client, the game server acquires the information carried in the UGC uploading request. The game server stores preset conditions, and whether the second UGC element meets the preset conditions or not can be detected according to the preset conditions.
In a specific embodiment, the second UGC element is a POI position coordinate, and the method for detecting whether the second UGC element meets the preset condition includes: calculating a distance value between the second UGC element and each candidate UGC element stored in the blockchain system; if the candidate UGC element with the distance value smaller than the preset threshold value does not exist in the block chain, determining that the second UGC element meets the preset condition; and if the candidate UGC elements with the distance values smaller than the preset threshold exist in the block chain, determining that the second UGC elements do not meet the preset condition. Because the displayable elements are limited in the game interface, the icons representing the POI position coordinates have a certain size, if the adopted POI position coordinates are too dense, the icons corresponding to the POI position coordinates displayed in the game interface may overlap, so that the game interface is too messy, other important game elements are shielded, and the number of times of misoperation of a user is easily increased, thereby affecting the game experience of the user, and therefore, the density of the POI position coordinates configured in the game application program needs to be limited. The preset threshold may be 20 meters, 30 meters, 40 meters, 50 meters, 100 meters, 150 meters. The preset condition and the preset threshold may be set by a relevant technician according to an actual use requirement, which is not limited in the embodiment of the present application.
In step 503, if the second UGC element meets the preset condition, the second UGC element is added to the block chain as a candidate UGC element.
If the second UGC element meets the preset condition, the second UGC element is a UGC element meeting the basic requirement and can be configured in the game application program. However, if the second UGC is directly configured in the game application program, the recommendation degree of the user for the second UGC element is not high, which will cause waste of game resources. Therefore, the second UGC element meeting the preset condition is used as a candidate UGC element to be added into the block chain, and the candidate UGC element and the related information corresponding to the candidate UGC element are stored in the block chain. And storing the candidate UGC element and the related information corresponding to the candidate UGC element into the block chain, so that the candidate UGC element and the related information corresponding to the candidate UGC element cannot be tampered, and the safety of information storage is ensured.
Referring to fig. 7, a schematic diagram of a method for storing candidate UGC elements according to an embodiment of the present application is shown. As shown in fig. 7, after the client sends the second UGC element to the game server, the game server detects whether the second UGC element meets a preset condition, and if the second UGC element meets the preset condition, the second UGC element is added to the block chain as a candidate UGC element.
In some possible embodiments, the step specifically includes: and sending data storage requests to the n block chain nodes, wherein the data storage requests are used for requesting to add the second UGC element as a candidate UGC element to the block chain. Wherein the n block link points are used to add a target block in the block chain after reaching consensus on the data storage request, the target block comprising a second UGC element.
After the block chain system acquires the data storage request sent by the game server, the block chain link points endorse and consensus sort the data storage request to confirm that the data storage request is a legal request. The n blockchain nodes agree on the data storage request, namely confirm that the data storage request is a legal request, and then store the second UGC element in the blockchain. Optionally, the block chain may store an information text of the second UGC element; the abstract of the second UGC element can be obtained through irreversible encryption algorithm operation, the second UGC element corresponding to the abstract of the second UGC element is stored in a database, and the database can be a local database or a cloud database.
And the candidate UGC acquisition request is used for requesting to acquire the candidate UGC elements stored in the block chain.
The user may send a candidate UGC acquisition request to the game server at the query portal through the client. The query entry is used for acquiring information stored in the block chain, and specifically shows that the client sends a request to the game server and receives information returned by the game server.
And 505, acquiring at least one candidate UGC element and a voting result of each candidate UGC element from the block chain according to the candidate UGC acquisition request.
After receiving the candidate UGC acquisition request, the game server sends the candidate UGC acquisition request to a block chain node serving as a submission node, the submission node broadcasts the candidate UGC acquisition request to other nodes in a block chain system, and after endorsement and consensus of the candidate UGC acquisition request is achieved by the block chain node, the game server sends at least one UGC element and the voting results of the candidate UGC elements to the game server.
And after obtaining the voting results of the at least one candidate UGC element and each candidate UGC element sent by the blockchain system, the game server sends the voting results of the at least one candidate UGC element and each candidate UGC element to the client. So far, the user obtains a request through the candidate UGC sent by the client to obtain feedback, and the user can check at least one candidate UGC element and the voting result of each candidate UGC element in the client.
In some possible embodiments, for steps 504 through 506 above, the candidate UGC get request comprises a candidate UGC element get request and a candidate UGC vote result get request. The candidate UGC element acquisition request is used for requesting to acquire the candidate UGC elements stored in the block chain; the candidate UGC voting result acquisition request is used for requesting to acquire the voting result corresponding to the candidate UGC element stored in the block chain.
Wherein the candidate UGC element acquisition request and the candidate UGC voting result acquisition request can be simultaneously transmitted to the game server; or sending a request for obtaining the candidate UGC elements and then sending a request for obtaining the voting result of the candidate UGC elements; it is also possible to send only candidate UGC element acquisition requests.
And step 507, receiving the UGC voting request sent by the client.
The UGC voting request is used for requesting voting on a first UGC element stored in the blockchain, and the UGC voting request may include the first UGC element and related information of the first UGC element, user account information corresponding to a client sending the UGC voting request, time of sending the UGC voting request, and the like.
After the client acquires the first UGC element serving as the candidate UGC element, the user can vote for the first UGC element by sending a UGC voting request to the game server.
And step 508, updating the voting result of the first UGC element stored in the block chain according to the UGC voting request.
After the game server acquires the UGC voting request, the UGC voting request is sent to one block chain node serving as a submission node, the submission node broadcasts the UGC voting request to other block chain nodes, and after the block chain node endorses the UGC voting request and achieves consensus, the block chain system updates the voting result of the first UGC element stored in the block chain according to the UGC voting request. The voting result of the first UGC element is stored in the block chain, so that the voting result of the first UGC element cannot be tampered, and the safety of information storage and the credibility of the voting result are guaranteed.
Please refer to fig. 8, which illustrates a schematic diagram of a method for obtaining a candidate UGC element according to an embodiment of the present application. As shown in fig. 8, the blockchain system sends the candidate UGC elements and the voting results of the candidate UGC elements to the game server, the game server selects the target UGC element from the voting results of the candidate UGC elements, configures the target UGC element into the game application, and sends bonus points to the corresponding client for the user account to which the target UGC element is uploaded.
In summary, in the technical scheme provided by the embodiment of the application, the UGC elements uploaded by the user are detected, and are preliminarily screened, so that repeated or similar candidate UGC elements are avoided, and the quality of the candidate UGC elements is improved; the target UGC elements configured in the game application program are selected according to the voting results of the user, the user can inquire the candidate UGC elements stored in the block chain and the voting results corresponding to the candidate UGC elements, the information stored in the block chain is made to be public and transparent, and the fairness of the selection process of the target UGC elements is enhanced.
Referring to fig. 9, a flowchart of a block chain based UGC element setting method according to another embodiment of the present application is shown. The executing agent of the method may be a client of the game application described above. The method may include the following steps (901-903):
and step 901, displaying a candidate UGC display interface.
The candidate UGC display interface comprises at least one candidate UGC element, and the candidate UGC element is stored in the block chain.
The user can obtain the candidate UGC elements and the voting results of the candidate UGC elements through the candidate UGC display interface, and the candidate UGC elements can be presented in the candidate UGC display interface in a text or picture mode.
Please refer to fig. 10, which illustrates a schematic diagram of a UGC upload interface according to an embodiment of the present application. As shown in fig. 10, the UGC uploading interface includes an operation entry 1010 for uploading the UGC element, and an operation control 1020 for triggering display of the candidate UGC presentation interface.
Referring to fig. 11, a schematic diagram of a candidate UGC presentation interface provided in an embodiment of the present application is shown. As shown in fig. 11, the candidate UGC display interface includes candidate UGC elements 1110 and like control 1120 corresponding to each candidate UGC element, where the like control 1120 is used to vote for the corresponding candidate UGC element.
At step 902, a voting instruction corresponding to a first UGC element of the at least one candidate UGC element is obtained.
After the user votes for the first UGC element in the voting interface provided by the client, the client can acquire a voting instruction for voting for the first UGC element of the user. Wherein the voting manner may be to like the first UGC element.
The UGC voting request is used for requesting voting on the first UGC element, wherein each candidate UGC element is configured into the game application program according to the voting result.
After the user votes for the first UGC element in the client, the client may generate a UGC voting request and send the UGC voting request to the game server.
In some possible embodiments, the method further comprises the steps of:
1. displaying a UGC uploading interface, wherein the UGC uploading interface is a user interface for uploading UGC elements;
2. acquiring a second UGC element submitted in a UGC uploading interface;
3. and sending a UGC uploading request to the server.
Wherein the UGC upload request is for requesting addition of a second UGC element in the game application.
In some possible embodiments, the UGC upload interface may include an operation control for triggering display of the candidate UGC presentation interface. The method further comprises the step of displaying a candidate UGC display interface, and the method specifically comprises the following steps:
1. when a trigger signal corresponding to the operation control is received, sending a candidate UGC acquisition request to a server;
and the candidate UGC obtaining request is used for requesting to obtain the candidate UGC elements stored in the block chain.
2. Receiving at least one candidate UGC element sent by a server and a voting result of each candidate UGC element;
3. and displaying at least one candidate UGC element and the voting result of each candidate UGC element in the candidate UGC display interface.
In summary, in the technical solution provided in the embodiment of the present application, the voting instruction of the user is obtained by displaying the candidate UGC display interface, the information of the game server is received, and the request or the instruction is sent to the game server, so that the user can visually and conveniently obtain the candidate UGC elements and the voting results of the candidate UGC elements through the client, and can vote for the candidate UGC elements. The candidate UGC elements displayed in the client interface and the voting results of all the candidate UGC elements are stored in the block chain and cannot be tampered, so that the information displayed in the interface has public credibility.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Referring to fig. 12, a block diagram of a device for setting UGC elements based on a block chain according to an embodiment of the present application is shown. The device has the function of realizing the UGC element setting method example based on the block chain at the server side, and the function can be realized by hardware or by executing corresponding software by hardware. The device may be the server described above, or may be provided in the server. As shown in fig. 12, the apparatus 1200 includes: a result obtaining module 1210, an element selecting module 1220 and an element configuring module 1230.
The result obtaining module 1210 is configured to obtain a voting result of at least one candidate UGC element from a blockchain stored in a blockchain system, where the blockchain system includes n blockchain nodes, each blockchain node is configured with the blockchain, and n is an integer greater than 1.
The element selecting module 1220 is configured to select a target UGC element from the at least one candidate UGC element according to the voting result of the at least one candidate UGC element.
The element configuration module 1230 is configured to configure the target UGC element into a game application.
In an exemplary embodiment, as shown in fig. 13, the apparatus 1200 further comprises: a request receiving module 1240 and a result updating module 1250.
The request receiving module 1240 is configured to receive a UGC voting request sent by a client, where the UGC voting request is used to request to vote for a first UGC element stored in the block chain;
the result updating module 1250 is configured to update the voting result of the first UGC element stored in the block chain according to the UGC voting request.
In an exemplary embodiment, as shown in fig. 13, the apparatus 1200 further comprises: an element sending module 1260.
The request receiving module 1240 is further configured to receive a candidate UGC obtaining request sent by the client, where the candidate UGC obtaining request is used to request to obtain the candidate UGC elements stored in the block chain.
The result obtaining module 1210 is further configured to obtain the at least one candidate UGC element and the voting result of each candidate UGC element from the block chain according to the candidate UGC obtaining request.
The element sending module 1260 is configured to send the at least one candidate UGC element and a voting result of each candidate UGC element to the client.
In an exemplary embodiment, as shown in fig. 13, the apparatus 1200 further comprises: a condition detection module 1270 and an element addition module 1280.
The request receiving module 1240 is further configured to receive a UGC upload request sent by a client, where the UGC upload request is used to request that a second UGC element is added to the game application program.
The condition detecting module 1270 is configured to detect whether the second UGC element meets a preset condition.
The element adding module 1280 is configured to, if the second UGC element meets the preset condition, add the second UGC element as the candidate UGC element to the block chain.
In an exemplary embodiment, the condition detecting module 1270 is configured to calculate a distance value between the second UGC element and each of the candidate UGC elements stored in the blockchain; and if the candidate UGC element with the distance value smaller than a preset threshold value does not exist in the block chain, determining that the second UGC element meets the preset condition.
In an exemplary embodiment, as shown in fig. 13, the apparatus 1200 further comprises: request sending module 1290.
The request sending module 1290 is configured to send a data storage request to the n block nodes, the data storage request requesting that the second UGC element be added to the blockchain as the candidate UGC element.
Wherein the n block link points are used to add a target block in the block chain after reaching consensus on the data storage request, the target block comprising the second UGC element.
In an exemplary embodiment, as shown in fig. 13, the apparatus 1200 further comprises: resource increase module 1295.
The resource increasing module 1295 is configured to increase the virtual resource of the uploaded user account by a first value.
Wherein the virtual resource is to vote for the candidate UGC element.
In summary, in the technical scheme provided in the embodiment of the present application, a voting result of a candidate UGC element is obtained from a block chain stored in a block chain system, and a target UGC element is automatically selected according to the voting result, and the target UGC element is configured in a game application program.
Referring to fig. 14, fig. 14 is a block diagram of a device for setting UGC elements based on a blockchain according to another embodiment of the present application. The device has the function of realizing the UGC element setting method example based on the block chain at the terminal side, and the function can be realized by hardware or by executing corresponding software by hardware. The apparatus may be the terminal described above, or may be provided in the terminal. As shown in fig. 14, the apparatus 1400 includes: an interface display module 1410, an instruction acquisition module 1420, and a request sending module 1430.
The interface display module 1410 is configured to display a candidate UGC display interface, where the candidate UGC display interface includes at least one candidate UGC element, and the candidate UGC element is stored in a block chain.
The instruction retrieving module 1420 is configured to retrieve a voting instruction corresponding to a first UGC element of the at least one candidate UGC element.
The request sending module 1430 is configured to send a UGC voting request to a server, where the UGC voting request is used to request voting on the first UGC element.
Wherein each of the candidate UGC elements is configured into a game application according to a voting result.
In an exemplary embodiment, referring to fig. 15, the apparatus 1400 further comprises: an element acquisition module 1440.
The interface display module 1410 is further configured to display a UGC upload interface, where the UGC upload interface is a user interface for uploading UGC elements.
The element obtaining module 1440 is configured to obtain a second UGC element submitted in the UGC uploading interface.
The request sending module 1430 is further configured to send a UGC upload request to the server, where the UGC upload request is used to request that the second UGC element is added to the game application.
In an exemplary embodiment, the UGC upload interface includes an operation control for triggering display of the candidate UGC presentation interface, and the interface display module 1410 is configured to:
when a trigger signal corresponding to the operation control is received, sending a candidate UGC obtaining request to the server, wherein the candidate UGC obtaining request is used for requesting to obtain the candidate UGC elements stored in the block chain;
receiving the at least one candidate UGC element and the voting result of each candidate UGC element sent by the server;
and displaying the at least one candidate UGC element and the voting result of each candidate UGC element in the candidate UGC display interface.
In summary, in the technical solution provided in the embodiment of the present application, the voting instruction of the user is obtained by displaying the candidate UGC display interface, the information of the game server is received, and the request or the instruction is sent to the game server, so that the user can visually and conveniently obtain the candidate UGC elements and the voting results of the candidate UGC elements through the client, and can vote for the candidate UGC elements. The candidate UGC elements displayed in the client interface and the voting results of all the candidate UGC elements are stored in the block chain and cannot be tampered, so that the information displayed in the interface has public credibility.
It should be noted that, when the apparatus provided in the foregoing embodiment implements the functions thereof, only the division of the functional modules is illustrated, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the apparatus may be divided into different functional modules to implement all or part of the functions described above. In addition, the apparatus and method embodiments provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments for details, which are not described herein again.
Referring to fig. 16, a block diagram of a server according to an embodiment of the present application is shown. The server is configured to implement the server-side block chain-based UGC element setting method provided in the above embodiment. Specifically, the method comprises the following steps:
the server 1600 includes a CPU (Central Processing Unit) 1601, a system Memory 1604 including a RAM (Random Access Memory) 1602 and a ROM (Read-Only Memory) 1603, and a system bus 1605 connecting the system Memory 1604 and the Central Processing Unit 1601. The server 1600 also includes a basic I/O (Input/Output) system 1606, which facilitates information transfer between various devices within the computer, and a mass storage device 1607 for storing an operating system 1613, application programs 1614, and other program modules 1612.
The basic input/output system 1606 includes a display 1608 for displaying information and an input device 1609 such as a mouse, keyboard, etc. for a user to input information. Wherein the display 1608 and input device 1609 are connected to the central processing unit 1601 by way of an input-output controller 1610 which is connected to the system bus 1605. The basic input/output system 1606 may also include an input/output controller 1610 for receiving and processing input from a number of other devices, such as a keyboard, mouse, or electronic stylus. Similarly, an input-output controller 1610 may also provide output to a display screen, a printer, or other type of output device.
The mass storage device 1607 is connected to the central processing unit 1601 by a mass storage controller (not shown) connected to the system bus 1605. The mass storage device 1607 and its associated computer-readable media provide non-volatile storage for the server 1600. That is, the mass storage device 1607 may include a computer readable medium (not shown) such as a hard disk or CD-ROM (Compact disk Read-Only Memory) drive.
Without loss of generality, the computer-readable media may comprise computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes RAM, ROM, EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash Memory or other solid state Memory technology, CD-ROM, DVD (Digital Video Disc) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices. Of course, those skilled in the art will appreciate that the computer storage media is not limited to the foregoing. The system memory 1604 and mass storage device 1607 described above may be collectively referred to as memory.
The server 1600 may also operate with remote computers connected to a network via a network, such as the internet, according to various embodiments of the present application. That is, the server 1600 may be connected to the network 1612 through the network interface unit 1611 coupled to the system bus 1605, or the network interface unit 1611 may be utilized to connect to other types of networks and remote computer systems (not shown).
The memory also includes a computer program stored in the memory and configured to be executed by the one or more processors to implement the above-described blockchain-based UGC element setting method.
Referring to fig. 17, a block diagram of a terminal 1700 according to an embodiment of the present application is shown. The terminal 1700 may be an electronic device such as a mobile phone, a tablet computer, a game console, an electronic book reader, a multimedia player, a wearable device, a PC, etc. The terminal is configured to implement the terminal-side block chain-based UGC element setting method provided in the above embodiment. The terminal may be the terminal 30 in the implementation environment shown in fig. 3. Specifically, the method comprises the following steps:
in general, terminal 1700 includes: a processor 1701 and a memory 1702.
The processor 1701 may include one or more processing cores, such as 4-core processors, 8-core processors, and the like. The processor 1701 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 1701 may also include a main processor, which is a processor for Processing data in an awake state, also called a Central Processing Unit (CPU), and a coprocessor; a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 1701 may be integrated with a GPU (Graphics Processing Unit) that is responsible for rendering and rendering content that the display screen needs to display. In some embodiments, the processor 1701 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
The memory 1702 may include one or more computer-readable storage media, which may be non-transitory. Memory 1702 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 1702 is used to store a computer program and is configured to be executed by one or more processors to implement the blockchain based UGC element setting method described above.
In some embodiments, terminal 1700 may also optionally include: a peripheral interface 1703 and at least one peripheral. The processor 1701, the memory 1702 and the peripheral interface 1703 may be connected by buses or signal lines. Various peripheral devices may be connected to peripheral interface 1703 by a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 1704, a touch display screen 1705, a camera 1706, an audio circuit 1707, a positioning component 1708, and a power source 1709.
Those skilled in the art will appreciate that the architecture shown in fig. 17 is not intended to be limiting with respect to terminal 1700, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be employed.
In an exemplary embodiment, there is also provided a computer-readable storage medium having stored therein a computer program which, when executed by a processor of a server, implements the above-described server-side block chain-based UGC element setting method.
In an exemplary embodiment, there is also provided a computer-readable storage medium having stored therein a computer program which, when executed by a processor of a terminal, implements the above-described terminal-side block chain-based UGC element setting method.
In an exemplary embodiment, there is also provided a computer program product for implementing the above-described server-side block chain-based UGC element setting method when executed by a processor of a server.
In an exemplary embodiment, there is also provided a computer program product for implementing the above-described terminal-side UGC element setting method based on a block chain when the computer program product is executed by a processor of a terminal.
It should be understood that reference herein to "a plurality" means two or more. In addition, the step numbers described herein only show an exemplary possible execution sequence among the steps, and in some other embodiments, the steps may also be executed out of the numbering sequence, for example, two steps with different numbers are executed simultaneously, or two steps with different numbers are executed in a reverse order to the illustrated sequence, which is not limited in this application.
The above description is only exemplary of the present application and should not be taken as limiting the present application, and any modifications, equivalents, improvements and the like that are made within the spirit and principle of the present application should be included in the protection scope of the present application.
Claims (12)
1. A user original content UGC element setting method based on a blockchain is applied to a game server corresponding to a game application program, the game server is in communication connection with at least one blockchain link point in a blockchain system, and the method comprises the following steps:
receiving a UGC uploading request sent by a first client, wherein the UGC uploading request is used for requesting to add a second POI position coordinate in a game application program, the game application program is a location-based service LBS game, and the first client is the client of the game application program;
under the condition that the second POI position coordinates meet preset conditions, adding the second POI position coordinates serving as candidate POI position coordinates into the block chain;
receiving a UGC approval request sent by a second client, wherein the UGC approval request is used for requesting approval to a first POI position coordinate in at least one candidate POI position coordinate stored in the block chain, the UGC approval request is sent to a server by the second client according to an approval instruction for the first POI position coordinate in a voting interface, and the second client is a client of the game application program;
updating the approval result of the first POI position coordinate stored in the block chain according to the UGC approval request;
acquiring a like result of the at least one candidate POI position coordinate from a block chain stored in a block chain system, where the block chain system includes n block chain nodes, each of the block chain nodes is configured with the block chain, and n is an integer greater than 1;
determining candidate POI position coordinates with the total praise quantity larger than a preset numerical value as target POI position coordinates according to the praise result of the at least one candidate POI position coordinate;
configuring the target POI position coordinates into the game application program, wherein when the target POI position coordinates are presented in the game interface, the game interface of the game application program displays related information of the target POI position coordinates, the related information comprises at least one of identity information of a user account for uploading the target POI position coordinates, uploading time of the target POI position coordinates, uploading place or area and time for configuring the target POI position coordinates into the game application program, and the related information is automatically displayed nearby the target POI position coordinates in a text or picture mode, or after receiving related operation on the target POI position coordinates, the related information is displayed nearby the target POI position coordinates in a text or picture mode;
adding a first numerical value to the virtual resource of the user account which uploads the position coordinates of the target POI; and the virtual resource is used for agreeing on the candidate POI position coordinates.
2. The method of claim 1, wherein before receiving the request for UGC approval sent by the second client, further comprising:
receiving a candidate UGC acquisition request sent by the second client, wherein the candidate UGC acquisition request is used for requesting to acquire the candidate POI position coordinates stored in the block chain;
acquiring the at least one candidate POI position coordinate and a like result of each candidate POI position coordinate from the block chain according to the candidate UGC acquisition request;
and sending the at least one candidate POI position coordinate and the approval result of each candidate POI position coordinate to the second client.
3. The method of claim 1, further comprising:
calculating a distance value between the second POI position coordinate and each candidate POI position coordinate stored in the block chain;
and if the candidate POI position coordinates with the distance value smaller than a preset threshold value do not exist in the block chain, determining that the second POI position coordinates meet the preset condition.
4. The method of claim 1, wherein said adding the second POI location coordinates as the candidate POI location coordinates into the block chain comprises:
sending a data storage request to the n block link points, the data storage request requesting that the second POI location coordinates be added to the block chain as the candidate POI location coordinates;
wherein the n block link points are used to add a target block in the block chain after consensus on the data storage request is reached, the target block comprising the second POI position coordinates.
5. A user original content UGC element setting method based on a blockchain is applied to a client of a game application program, the game application program corresponds to a server, and the server is in communication connection with at least one blockchain link point in a blockchain system, and the method comprises the following steps:
displaying a candidate UGC display interface, wherein the candidate UGC display interface comprises at least one candidate POI position coordinate, and the candidate POI position coordinate is obtained by adding a second POI position coordinate serving as a candidate POI position coordinate to the block chain when the second POI position coordinate in the UGC uploading request meets a preset condition after the server receives a UGC uploading request sent by a client, wherein the UGC uploading request is used for requesting to add the second POI position coordinate in the game application program, and the game application program is a location-based service LBS game;
obtaining a like instruction corresponding to a first POI location coordinate of the at least one candidate POI location coordinate;
sending a UGC approval request to the server, wherein the UGC approval request is used for requesting approval of the first POI position coordinate, and the UGC approval request is used for updating an approval result of the first POI position coordinate stored in the block chain;
the game application program comprises a game application program and a plurality of candidate POI position coordinates, wherein each candidate POI position coordinate is configured into the game application program according to a result of approval, when a game interface of the game application program presents a target POI position coordinate, relevant information of the target POI position coordinate is displayed, the target POI position coordinate is a position coordinate configured into the game application program in the candidate POI position coordinates, the total approval number of the target POI position coordinate is larger than a preset value, the relevant information comprises at least one of identity information of a user account for uploading the target POI position coordinate, uploading time of the target POI position coordinate, uploading place or region and time for configuring the target POI position coordinate into the game application program, and the relevant information is automatically displayed nearby the target POI position coordinate in a text or picture mode, or after relevant operation on the target POI position coordinate is received, the relevant information is displayed nearby the target POI position coordinate in a text or picture mode; and adding a first numerical value to virtual resources of the user account for uploading the position coordinates of the target POI, wherein the virtual resources are used for agreeing on the position coordinates of the candidate POI.
6. The method of claim 5, further comprising:
displaying a UGC uploading interface, wherein the UGC uploading interface is a user interface used for uploading POI position coordinates;
acquiring a second POI position coordinate submitted in the UGC uploading interface;
sending a UGC upload request to the server, the UGC upload request requesting that the second POI position coordinates be added to the game application program.
7. The method according to claim 6, wherein the UGC uploading interface comprises an operation control for triggering display of the candidate UGC presentation interface;
the displaying of the candidate UGC presentation interface comprises:
when a trigger signal corresponding to the operation control is received, sending a candidate UGC acquisition request to the server, wherein the candidate UGC acquisition request is used for requesting to acquire the candidate POI position coordinates stored in the block chain;
receiving the at least one candidate POI position coordinate and the approval result of each candidate POI position coordinate sent by the server;
and displaying the at least one candidate POI position coordinate and the like result of each candidate POI position coordinate in the candidate UGC display interface.
8. A user original content UGC element setting device based on a blockchain is applied to a game server corresponding to a game application program, the game server is in communication connection with at least one blockchain link point in a blockchain system, and the device comprises:
the request receiving module is used for receiving a UGC uploading request sent by a first client, wherein the UGC uploading request is used for requesting to add a second POI position coordinate in a game application program, the game application program is a location-based service LBS game, and the first client is the client of the game application program;
the condition detection module is used for adding the second POI position coordinate serving as a candidate POI position coordinate into the block chain under the condition that the second POI position coordinate meets a preset condition;
the request receiving module is further configured to receive a UGC approval request sent by a second client, where the UGC approval request is used to request approval for a first POI location coordinate in at least one candidate POI location coordinate stored in the block chain, the UGC approval request is sent by the second client to a server according to an approval instruction for the first POI location coordinate in a voting interface, and the second client is a client of the game application program;
a result updating module, configured to update a like result of the first POI location coordinate stored in the block chain according to the UGC like request;
a result obtaining module, configured to obtain a result of the approval of the at least one candidate POI location coordinate from a block chain stored in a block chain system, where the block chain system includes n block chain nodes, each block chain node is configured with the block chain, and n is an integer greater than 1;
the element selection module is used for determining candidate POI position coordinates of which the total number of praise is greater than a preset value as target POI position coordinates according to the praise result of the at least one candidate POI position coordinate;
the element configuration module is configured to configure the target POI position coordinates into a game application program, when the target POI position coordinates are presented in a game interface, the game interface of the game application program displays relevant information of the target POI position coordinates, where the relevant information includes at least one of identity information of a user account uploading the target POI position coordinates, uploading time of the target POI position coordinates, uploading location or area, and time when the target POI position coordinates are configured into the game application program, and the relevant information is automatically displayed in the vicinity of the target POI position coordinates in a text or picture form, or after receiving a relevant operation on the target POI position coordinates, the relevant information is displayed in the vicinity of the target POI position coordinates in a text or picture form;
and the resource increasing module is used for increasing a first numerical value to virtual resources of a user account for uploading the position coordinates of the target POI, wherein the virtual resources are used for praise to the position coordinates of the candidate POI.
9. A user original content UGC element setting device based on a blockchain is applied to a client side of a game application program, the game application program corresponds to a server, the server is in point communication connection with at least one blockchain link in a blockchain system, and the device comprises:
the terminal comprises an interface display module and a processing module, wherein the interface display module is used for displaying a candidate UGC display interface, the candidate UGC display interface comprises at least one candidate POI position coordinate, and the candidate POI position coordinate is obtained by adding a second POI position coordinate serving as a candidate POI position coordinate to the block chain when the second POI position coordinate in the UGC uploading request meets a preset condition after the server receives a UGC uploading request sent by a client side, wherein the UGC uploading request is used for requesting to add the second POI position coordinate in the game application program, and the game application program is a location-based service LBS game;
the instruction acquisition module is used for acquiring a like instruction corresponding to a first POI position coordinate in the at least one candidate POI position coordinate;
a request sending module, configured to send a UGC approval request to the server, where the UGC approval request is used to request approval for the first POI location coordinate, and the UGC approval request is used to update an approval result of the first POI location coordinate stored in the block chain;
the game application program comprises a game application program and a plurality of candidate POI position coordinates, wherein each candidate POI position coordinate is configured into the game application program according to a result of approval, when a game interface of the game application program presents a target POI position coordinate, relevant information of the target POI position coordinate is displayed, the target POI position coordinate is a position coordinate configured into the game application program in the candidate POI position coordinates, the total approval number of the target POI position coordinate is larger than a preset value, the relevant information comprises at least one of identity information of a user account for uploading the target POI position coordinate, uploading time of the target POI position coordinate, uploading place or region and time for configuring the target POI position coordinate into the game application program, and the relevant information is automatically displayed nearby the target POI position coordinate in a text or picture mode, or after relevant operation on the target POI position coordinate is received, the relevant information is displayed nearby the target POI position coordinate in a text or picture mode; and adding a first numerical value to virtual resources of the user account for uploading the position coordinates of the target POI, wherein the virtual resources are used for agreeing on the position coordinates of the candidate POI.
10. A server, characterized in that the server comprises a processor and a memory, wherein a computer program is stored in the memory, and the computer program is loaded by the processor and executed to realize the block chain based user original content UGC element setting method according to any one of claims 1 to 4.
11. A terminal characterized in that it comprises a processor and a memory, in which a computer program is stored, which computer program is loaded and executed by the processor to implement the user original content UGC element setting method based on blockchain according to any one of claims 5 to 7.
12. A computer-readable storage medium, characterized in that a computer program is stored in the storage medium, which is loaded and executed by a processor to implement the block chain-based user original content UGC element setting method of any one of claims 1 to 4, or to implement the block chain-based UGC element setting method of any one of claims 5 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910919282.8A CN110585714B (en) | 2019-09-26 | 2019-09-26 | UGC element setting method, device and equipment based on block chain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910919282.8A CN110585714B (en) | 2019-09-26 | 2019-09-26 | UGC element setting method, device and equipment based on block chain |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110585714A CN110585714A (en) | 2019-12-20 |
CN110585714B true CN110585714B (en) | 2022-11-08 |
Family
ID=68863835
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910919282.8A Active CN110585714B (en) | 2019-09-26 | 2019-09-26 | UGC element setting method, device and equipment based on block chain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110585714B (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109481936A (en) * | 2018-10-26 | 2019-03-19 | 咪咕文化科技有限公司 | Block chain accounting node selection method and device and computer readable storage medium |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105787287B (en) * | 2016-05-06 | 2018-08-10 | 广州爱九游信息技术有限公司 | A kind of system, unit and method generating list data |
CN108173805B (en) * | 2017-11-24 | 2020-12-01 | 西安电子科技大学 | Block chain-based distributed anonymous area collaborative construction method with privacy preservation function |
KR102240120B1 (en) * | 2018-03-06 | 2021-04-13 | 아메리코프 인베스트먼트스 엘엘씨 | Customized view of limited information recorded on the blockchain |
CN109304033B (en) * | 2018-08-31 | 2021-10-01 | 杭州复杂美科技有限公司 | Computer game system, method, equipment and storage medium |
CN109981281B (en) * | 2019-01-14 | 2021-11-26 | 北京领主科技有限公司 | Method and device for determining candidate elements based on block chain proposal random consensus |
KR102030171B1 (en) * | 2019-03-11 | 2019-10-08 | 넷마블 주식회사 | Method to manage decenteralized game |
-
2019
- 2019-09-26 CN CN201910919282.8A patent/CN110585714B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109481936A (en) * | 2018-10-26 | 2019-03-19 | 咪咕文化科技有限公司 | Block chain accounting node selection method and device and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110585714A (en) | 2019-12-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20210337036A1 (en) | Method and device for allocating augmented reality-based virtual objects | |
US10985853B2 (en) | Method and system for real-time broadcast audience engagement | |
US9526989B2 (en) | Method and apparatus for receiving game streaming data, and method and server for transmitting game streaming data | |
US20130311566A1 (en) | Method and apparatus for creating rule-based interaction of portable client devices at a live event | |
JP5735672B1 (en) | Content distribution system, distribution program, and distribution method | |
CN104769589B (en) | Communication terminal, information processing device, communication method, information processing method, program, and communication system | |
CN110728558B (en) | Virtual package transmitting method, device, equipment and storage medium | |
CN111259019A (en) | Resource allocation method, device, equipment and storage medium | |
CN112511849A (en) | Game display method, device, equipment, system and storage medium | |
CN110490590B (en) | Activity record query method, device, equipment and storage medium based on block chain | |
CN111798223A (en) | Data collection method and device, storage medium and electronic equipment | |
JP2023504956A (en) | Performance detection method, device, electronic device and computer readable medium | |
CN115527090A (en) | Model training method, device, server and storage medium | |
JP7403715B2 (en) | Data processing methods, devices, equipment, storage media | |
CN110585714B (en) | UGC element setting method, device and equipment based on block chain | |
CN113515336B (en) | Live room joining method, creation method, device, equipment and storage medium | |
CN111885139B (en) | Content sharing method, device and system, mobile terminal and server | |
JP2015115057A (en) | Content delivery server, program, and method | |
CN112184277B (en) | Virtual article package transmitting and receiving method, device, equipment and storage medium | |
JP2017152032A (en) | Control method for information processor, information processor, control program, control method for terminal, and terminal control program | |
CN110912863B (en) | Identity clue information acquisition method and device, computer equipment and storage medium | |
CN109726026B (en) | Interactive data processing method, device, equipment and storage medium | |
JP2017107255A (en) | Control method for information processing apparatus, information processing apparatus and control program, and terminal control method and terminal control program | |
KR20210015449A (en) | Method, system, and computer program stored on non-transitory computer readable record medium for monitoring message | |
US20170171331A1 (en) | Method and electronic device for pushing videos between different clients |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 40016172 Country of ref document: HK |
|
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |