CN110647715B - Ranking list voting processing method and device - Google Patents

Ranking list voting processing method and device Download PDF

Info

Publication number
CN110647715B
CN110647715B CN201911064875.7A CN201911064875A CN110647715B CN 110647715 B CN110647715 B CN 110647715B CN 201911064875 A CN201911064875 A CN 201911064875A CN 110647715 B CN110647715 B CN 110647715B
Authority
CN
China
Prior art keywords
ranking list
client
option
ranking
clients
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
Application number
CN201911064875.7A
Other languages
Chinese (zh)
Other versions
CN110647715A (en
Inventor
周海京
张哲�
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shuzi Qianbao Beijing Technology Co ltd
Original Assignee
Shuzi Qianbao Beijing Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shuzi Qianbao Beijing Technology Co ltd filed Critical Shuzi Qianbao Beijing Technology Co ltd
Priority to CN201911064875.7A priority Critical patent/CN110647715B/en
Publication of CN110647715A publication Critical patent/CN110647715A/en
Application granted granted Critical
Publication of CN110647715B publication Critical patent/CN110647715B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/986Document structures and storage, e.g. HTML extensions
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C13/00Voting apparatus

Abstract

The disclosure provides a ranking list voting processing method and device, and relates to the technical field of data processing. According to the ranking list voting processing method and device, the blockchain intelligent contract is stored in the server side in advance, so that the server side executes a request for creating the ranking list sent by the client side based on the blockchain intelligent contract, creates a corresponding ranking list, receives the voting numbers sent by the plurality of clients and used for voting on the plurality of ranking list options, ranks the plurality of ranking list options, and distributes the quota from the total quota pool to the client side used for voting on the ranking list options with set ranking according to the ranking of the plurality of ranking list options and the total quota in the total quota pool, and voting fairness is improved.

Description

Ranking list voting processing method and device
Technical Field
The disclosure relates to the technical field of data processing, in particular to a ranking list voting processing method and device.
Background
With the development of technology, online voting gradually replaces offline voting, online voting is convenient to popularize, more users can participate, and the number of votes does not need to be counted manually, but most of the existing ranking list is published on a centralized platform, and fairness is required to be improved.
Disclosure of Invention
Based on the above study, the present disclosure provides a ranking list voting processing method and apparatus.
In a first aspect, the present disclosure provides a ranking list voting processing method, applied to a server, where the server stores a blockchain intelligent contract in advance, the server is communicatively connected to a plurality of clients based on the blockchain intelligent contract, and executes requests sent by the clients based on the blockchain intelligent contract, and the method includes:
receiving a ranking list creation request sent by any one of the plurality of clients, creating a corresponding ranking list, and adding a limit included in the ranking list creation request to a total limit pool; the method comprises the steps that a request for creating a ranking list comprises a limit of the created ranking list and a plurality of option contents, and the created ranking list comprises a plurality of ranking list options corresponding to the plurality of option contents;
receiving the number of votes sent by the clients and voting the ranking list options, and counting to obtain the number of votes respectively obtained by each ranking list option in the ranking list options;
ranking the multiple ranking list options according to the number of tickets respectively obtained by each ranking list option in the multiple ranking list options;
and distributing the amount from the total amount pool to the client side voting for the ranking list options with set ranking according to the ranking of the ranking list options and the total amount in the total amount pool.
In an optional implementation manner, the step of receiving the number of votes sent by the plurality of clients and voting the plurality of ranking list options, and counting the number of votes obtained by each ranking list option in the plurality of ranking list options includes:
acquiring voting weight of each client;
obtaining the voteable number of each client according to the voting weight of each client;
receiving the voting number of votes sent by the clients and voting the ranking list options; wherein the number of votes cast by each client for the multiple ranking list options is no greater than the voteable number of the client;
and counting to obtain the number of tickets respectively obtained by each ranking list option in the plurality of ranking list options.
In an alternative embodiment, the step of obtaining the voting weight of each client includes:
for each client of the plurality of clients, obtaining the acceptance of other clients of the plurality of clients to the client;
and obtaining the voting weight of each client according to the acceptance degree of each client in the plurality of clients.
In an optional implementation manner, after receiving a request for creating a ranking list sent by any one of the plurality of clients, creating a corresponding ranking list, and adding a quota included in the request for creating a ranking list to a total quota pool, the method further includes:
receiving a ranking list option adding request sent by any one of the plurality of clients, wherein the ranking list option adding request comprises a limit corresponding to a ranking list option to be added and option content to be added;
obtaining a ranking list option to be added according to the content of the option to be added of the ranking list option adding request, adding the ranking list option to the ranking list, and adding the amount included in the ranking list option adding request to a total amount pool.
In an optional implementation manner, after receiving a request for creating a ranking list sent by any one of the plurality of clients, creating a corresponding ranking list, and adding a quota included in the request for creating a ranking list to a total quota pool, the method further includes:
receiving an information release request sent by any one of the plurality of clients, wherein the information release request comprises information release content and information release limit;
and displaying the information release content in the ranking list, and adding the amount included in the information release request to a total amount pool.
In an alternative embodiment, the method further comprises:
and according to the total amount in the total amount pool, performing amount distribution on the client side which sends the request for creating the ranking list.
In a second aspect, the present disclosure provides a ranking list voting processing device, applied to a server, where a blockchain intelligent contract is stored in advance in the server, the server is communicatively connected to a plurality of clients based on the blockchain intelligent contract, and executes requests sent by the clients based on the blockchain intelligent contract, and the device includes:
the system comprises a ranking list creation module, a ranking list creation module and a ranking list management module, wherein the ranking list creation module is used for receiving a ranking list creation request sent by any one of a plurality of clients, creating a corresponding ranking list, and adding a quota contained in the ranking list creation request to a total quota pool, wherein the ranking list creation request comprises the quota of the created ranking list and a plurality of option contents, and the created ranking list comprises a plurality of ranking list options corresponding to the plurality of option contents;
the information processing module is used for receiving the number of votes sent by the clients and voting the ranking list options, and counting to obtain the number of votes respectively obtained by each ranking list option in the ranking list options;
the option ranking module is used for ranking the multiple ranking list options according to the number of tickets respectively obtained by each ranking list option in the multiple ranking list options;
and the credit allocation module is used for allocating the credit from the total credit pool to the client voting for the ranking list options with set ranking according to the ranking of the ranking list options and the total credit in the total credit pool.
In an alternative embodiment, the information processing module is configured to:
acquiring voting weight of each client;
obtaining the voteable number of each client according to the voting weight of each client;
receiving the number of votes sent by the clients and used for voting the ranking list options, wherein the number of votes which are sent by each client and used for voting the ranking list options is not larger than the voteable number of the client;
and counting to obtain the number of tickets respectively obtained by each ranking list option in the plurality of ranking list options.
In an alternative embodiment, the information processing module is configured to:
for each client of the plurality of clients, obtaining the acceptance of other clients of the plurality of clients to the client;
and obtaining the voting weight of each client according to the acceptance degree of each client in the plurality of clients.
In an alternative implementation, the apparatus further includes a leaderboard option adding module;
the ranking list option adding module is used for:
receiving a ranking list option adding request sent by any one of the plurality of clients, wherein the ranking list option adding request comprises a limit corresponding to a ranking list option to be added and option content to be added;
obtaining a ranking list option to be added according to the content of the option to be added of the ranking list option adding request, adding the ranking list option to the ranking list, and adding the amount included in the ranking list option adding request to a total amount pool.
According to the ranking list voting processing method and device, the blockchain intelligent contract is stored in the server side in advance, so that the server side executes a request for creating the ranking list sent by the client side based on the blockchain intelligent contract, creates a corresponding ranking list, receives the number of votes sent by the plurality of client sides and used for voting on the plurality of ranking list options, ranks the plurality of ranking list options, distributes the quota from the total quota pool to the client side used for voting on the ranking list options with set ranking according to the ranking of the plurality of ranking list options and the total quota in the total quota pool, and the whole process is public and transparent, so that the fairness of voting is improved.
Drawings
For a clearer description of the technical solutions of the present disclosure, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present disclosure and should not be considered as limiting the scope, and that other related drawings may be obtained according to these drawings without inventive effort for a person of ordinary skill in the art.
Fig. 1 is an interaction schematic diagram of a server and at least one client provided in the present disclosure.
Fig. 2 is a schematic flow chart of a ranking list voting processing method provided in the present disclosure.
Fig. 3 is another flow chart of the ranking list voting processing method provided in the present disclosure.
Fig. 4 is a schematic flow chart of a ranking list voting processing method provided in the present disclosure.
Fig. 5 is a schematic flow chart of a ranking list voting processing method provided in the present disclosure.
Fig. 6 is a schematic flow chart of a ranking list voting processing method provided in the present disclosure.
Fig. 7 is a block diagram of a ranking list voting processing device provided in the present disclosure.
Icon: 100-a server side; 10-ranking list voting processing device; 11-creating a ranking list module; 12-an information processing module; 13-an option ranking module; 14-a credit allocation module; 15-a ranking list option adding module; 200-client.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the present disclosure more apparent, the technical solutions in the present disclosure will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are some, but not all, embodiments of the present disclosure. The components of the present disclosure, as generally described and illustrated in the figures herein, may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present disclosure provided in the accompanying drawings is not intended to limit the scope of the disclosure, as claimed, but is merely representative of selected embodiments of the disclosure. All other embodiments, which can be made by one of ordinary skill in the art without inventive effort, based on the embodiments in this disclosure are intended to be within the scope of this disclosure.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures.
In the description of the present disclosure, it should be noted that, if the terms "upper", "lower", "inner", "outer", etc. indicate an azimuth or a positional relationship based on the azimuth or the positional relationship shown in the drawings, or the azimuth or the positional relationship in which the inventive product is conventionally put in use, this is merely for convenience of description and simplification of description, and does not indicate or imply that the apparatus or element referred to must have a specific azimuth, be configured and operated in a specific azimuth, and thus should not be construed as limiting the present disclosure.
Furthermore, the terms "first," "second," and the like, if any, are used merely for distinguishing between descriptions and not for indicating or implying a relative importance.
It should be noted that features of embodiments of the present disclosure may be combined with each other without conflict.
With the development of technology, online voting gradually replaces offline voting, online voting is convenient to popularize, more users can participate, and the number of votes does not need to be counted manually, however, most of the existing ranking list is issued on a centralized platform and depends on third party management, so that the data of the user voting on the ranking list is easy to maliciously change, the common user cannot verify whether the voting is correctly recorded, and the whole process is not public and transparent.
Based on the above study, the present disclosure provides a ranking list voting processing method to improve the above-mentioned problems.
Referring to fig. 1 in combination, the ranking list voting processing method provided in the present disclosure is applied to a server 100, where the server 100 may communicate with at least one client 200 through a network to implement data communication or interaction between the server 100 and the client 200.
The server 100 may be, but is not limited to, a web server, an ftp (file transfer protocol ) server, etc. The client 200 may be, but is not limited to, a smart phone, a personal computer (personal computer, PC), a tablet, a personal digital assistant (personal digital assistant, PDA), a mobile internet device (mobile Internet device, MID), etc. The network may be, but is not limited to, a wired network or a wireless network. The client 200 may download applications required for installation from the server 100 through a network, such as a browser (IE browser, UC browser, 360 browser, QQ browser, etc.), or other various applications. The client 200 may directly communicate and interact with the server 100 through an installed application.
Referring to fig. 2 in combination, fig. 2 is a flowchart of a ranking list voting processing method provided in the present disclosure, and the flowchart shown in fig. 2 is described in detail below.
Step S100: and receiving a ranking list creation request sent by any client 200 in the plurality of clients 200, creating a corresponding ranking list, and adding the amount included in the ranking list creation request to a total amount pool.
The server 100 stores a blockchain smart contract in advance, and the server 100 is communicatively connected to the plurality of clients 200 based on the blockchain smart contract and executes requests issued by the plurality of clients 200 based on the blockchain smart contract. Wherein a smart contract is a computer protocol intended to propagate, verify or execute contracts in an informative manner, allowing trusted interactions to be made without third parties, which interactions are traceable and irreversible.
As an optional implementation manner, the blockchain intelligent contract provided in the present disclosure includes a protocol for creating a leaderboard, if a certain client 200 wants to apply for creating a leaderboard, the client 200 needs to send a request for creating a leaderboard to the server 100 according to the protocol for creating a leaderboard in the blockchain intelligent contract, and after receiving the request for creating a leaderboard sent by the client 200, the server 100 determines whether the request for creating a leaderboard sent by the client 200 conforms to the protocol for creating a leaderboard in the blockchain intelligent contract, for example, determines whether the amount in the request for creating a leaderboard and the option content conform to the protocol for creating a leaderboard in the blockchain intelligent contract, if so, creates a leaderboard according to the request for creating a leaderboard, and meanwhile, stores the created leaderboard information in the blockchain, and if not conforms to the request for creating a leaderboard.
As an optional implementation manner, the ranking list information of the ranking list created in the present disclosure includes the ID of the ranking list, each ranking list is provided with a unique ID, and each client 200 may obtain the relevant information of the corresponding ranking list according to the ID.
For example, if a client 200 wants to rank the cost performance of a mobile phone, the client 200 initiates a request for creating a ranking list to the server 100 based on the protocol for creating the ranking list after acquiring the protocol for creating the ranking list in the intelligent contract, where the request includes a quota a for creating the ranking list of the mobile phone and option contents of the brand of the mobile phone, and after receiving the request, the server 100 determines whether the request conforms to the protocol for creating the ranking list based on the blockchain intelligent contract, if so, creates the ranking list according to the request, adds the quota a to the total quota pool, and saves the created ranking list information to the blockchain. The created ranking list options correspond to the option content of the mobile phone brands, namely the types of the mobile phone brands, such as Huacheng, xiaomill and other mobile phone brands. If each client 200 wants to view the information of the leaderboard, the related information is obtained from the blockchain according to the ID of the leaderboard.
Step S20: and receiving the number of votes sent by the clients 200 for voting the ranking list options, and counting to obtain the number of votes respectively obtained by each ranking list option in the ranking list options.
The blockchain includes a plurality of nodes, each of which is backed up with the same data, and each client 200 can be understood as each node on the blockchain. Therefore, after the service side 100 creates the ranking list, the ranking list can be checked and voted by all the clients 200, and the voting information of each client 200 will generate corresponding data to be stored in the blockchain, so as to ensure the transparency of disclosure of the whole process.
As an alternative implementation, the disclosure may assign the same number of votes to each client 200, each client 200 votes on the ranking list options based on its own number of votes, each client 200 may have only a single vote or may have multiple votes, i.e., each client 200 may vote for only one ranking list option or may vote for multiple ranking list options. The present disclosure is not limited and may be set according to actual conditions.
As an optional implementation manner, the present disclosure may further allocate a vote count to each client 200 according to the vote weight of each client 200, specifically please refer to fig. 3 in combination, the step of receiving the vote counts sent by the plurality of clients 200 for voting the plurality of ranking list options, and counting to obtain the vote counts obtained by each ranking list option in the plurality of ranking list options includes steps S21 to S24.
Step S21: and acquiring the voting weight of each client 200.
Further, referring to fig. 4 in combination, the step of obtaining the voting weight of each client 200 includes steps S211 to S212.
Step S211: for each client 200 of the plurality of clients 200, a degree of acceptance of the client 200 by other clients 200 of the plurality of clients 200 is obtained.
Step S212: and assigning a voting weight of each client 200 according to the approval degree of each client 200 in the plurality of clients 200.
The voting weight of each client 200 is related to the acceptance received by each client 200, and the acceptance received by each client 200 is determined by a relationship network formed by the relevant attention of each client 200.
For example, assuming that client B, client C, and client D all focus on client a only, then client B, client C, and client D all recognize client a, then the voting weight VP (a) of client a will be the sum of the voting weights of client B, client C, and client D, namely:
VP(A)=VP(B)+VP(C)+VP(D);
wherein VP (B) represents the voting weight of the client B, VP (C) represents the voting weight of the client C, and VP (D) represents the voting weight of the client D.
Assume that: the client B also pays attention to the client B1, the client B2 and the client B3, i.e. the client B recognizes the client a, the client B1, the client B2 and the client B3 at the same time;
the client C also pays attention to the client C1, the client C2, the client C3 and the client C4, i.e. the client C can recognize the client a, the client C1, the client C2, the client C3 and the client C4 at the same time;
the client D also pays attention to the client D1 and the client D2, that is, the client D recognizes the client a, the client D1 and the client D2 at the same time;
if the sum of the approval of each client is 1, the client B has 1/4 approval assigned to the client A, the client C has 1/5 approval assigned to the client A, and the client D has 1/3 approval assigned to the client A, i.e. the approval is divided equally according to the attention number of each client.
Based on the bisection of the acceptance, the voting weight of the client a is VP (a) as follows:
VP(A)=VP(B)1/4+VP(C)1/5+VP(D)1/3;
optionally, to avoid the voting weight of the client initially participating in the voting being 0, affecting the voting, the present disclosure calculates the voting weight of the client initially participating in the voting by the following formula:
VP(M)=(VP(1)/V 1 +VP(2)/V2+VP(3)/V3+...+VP(n)/Vn)Q+(1-Q)/N;
wherein VP (M) is the voting weight of the client side which participates in voting initially, VP (N) is the voting weight of the client side N, 1/Vn is the acceptance degree of the client side N to the client side which participates in voting initially, vn is less than or equal to L, L and Q are preset correction parameters, and N is the total number of the client sides which participate in voting.
After the voting weight of each client 200 is obtained, step S22 is performed.
Step S22: and obtaining the voteable number of each client 200 according to the voting weight of each client 200.
After the voting weight of each client 200 is obtained, the number of votes may be allocated according to the voting weight of each client 200, and the higher the voting weight of the client 200, the higher the obtained number of votes.
As an alternative embodiment, in the present disclosure, the voteable number may be allocated proportionally according to the voting weight of each client 200, or may be allocated according to the calculation result of the relationship matrix according to the voting weight of each client 200, which is not limited and may be set according to practical situations.
Step S23: and receiving the number of votes sent by the clients 200 for voting on the ranking list options.
Wherein the number of votes cast by each client 200 for the plurality of leaderboard options is no greater than the voteable number of clients 200.
Optionally, the blockchain intelligent contract provided by the present disclosure further includes a voting protocol, based on the voting protocol of the blockchain intelligent contract, the votes owned by each client 200 can only be used once, and after each client 200 casts the number of votes owned by itself to the ranking list option, the server 100 associates each client 200 with the number of votes cast by each client 200 and the ranking list option cast, and records the associated votes in the blockchain, so as to ensure that the voting process of each client 200 can be tracked.
Step S24: and counting to obtain the number of tickets respectively obtained by each ranking list option in the plurality of ranking list options.
After receiving the number of votes sent by each client 200 for voting on a plurality of ranking list options, the number of votes obtained by each ranking list option is counted, so as to obtain the number of votes obtained by each ranking list option.
After obtaining the number of tickets obtained by each ranking list option, steps S30 to S40 are performed.
Step S30: and ranking the multiple ranking list options according to the number of tickets respectively obtained by each ranking list option in the multiple ranking list options.
Step S40: and distributing the amount from the total amount pool to the client 200 voting for the ranking list options according to the ranking of the ranking list options and the total amount in the total amount pool.
After the number of tickets obtained by each of the ranking list options is obtained, ranking the ranking list options according to the number of tickets, for example, ranking from more to less according to the number of tickets, or ranking from less to more according to the number of tickets, thereby obtaining the ranking of each ranking list option.
After the ranking of each ranking list option is obtained, information of the clients 200 voting for the ranking list option set according to the blockchain intelligent contract is obtained, and the ranking list is allocated to the clients 200 voting for the ranking list option set according to the total ranking in the total ranking list pool. The set ranking may be the kth name, or the first K name, where K is a positive integer.
For example, the client a and the client B vote for the ranking list option a, the client C votes for the ranking list option B, and the client D votes for the ranking list option C, where the ranking list option a has the largest number of votes, the first name is obtained, the ranking list option B has the second name, the ranking list option C has the third name, and assuming that the ranking is the first name, information of the clients voting for the ranking list option a, that is, the client a and the client B, is obtained, and then a credit is allocated from the total credit pool to the client a and the client B based on the blockchain intelligent contract.
Since in practical applications, on the one hand, the approval of the ranking list options by each client 200 may change continuously, for example, the client a approves the ranking list option a in a certain period of time, and after a period of time, the client a does not approve the ranking list option a but approves the ranking list option b based on the practical situation. On the other hand, the degree of attention received by each client 200 is also changed, and the acceptance degree of each client 200 is also changed.
Therefore, in order to improve fairness and accuracy of voting, in order to more truly reflect ranking information presented by a ranking list, the present disclosure may periodically obtain a voting weight of each client 200, update the voteable number of each client 200 according to the obtained voting weight of each client 200, and periodically receive the number of votes for voting on ranking list options sent by each client 200, thereby periodically ranking each ranking list option.
As an alternative implementation, since the present disclosure ranks the leaderboard options periodically, the set ranking of the leaderboard options may also be set to the ranking that varies the most over the period. For example, in the previous period, the number of votes for each of the ranking list options by each of the clients 200 is received, ranking is performed on each of the ranking list options, the ranking is sequentially obtained as ranking list option a, ranking list option b, ranking list option c, ranking list option d, and in the next period, after updating the voteable number of each of the clients 200, the number of votes for each of the ranking list options by each of the clients 200 is received, ranking is performed on each of the ranking list options, the ranking is sequentially obtained as ranking list option d, ranking list option a, ranking list option b, ranking list option c, and the ranking list option d is the ranking with the largest change in period, information of the clients 200 voting the ranking list option d is obtained, and the ranking list option d is assigned to the clients 200 voting the ranking list d according to the ranking list option of the ranking list pool.
As an alternative embodiment, in the present disclosure, the setting ranking may also be the top K names (e.g., top 3 names) with the greatest variation in the period, and the credits are allocated from the total pool of credits according to the set ratio (e.g., 7:2:1).
According to the ranking list voting processing method provided by the disclosure, the blockchain intelligent contract is stored in advance in the server 100, so that the server 100 executes a request for creating a ranking list sent by the client 200 based on the blockchain intelligent contract, creates a corresponding ranking list, receives the number of votes sent by the plurality of clients 200 for voting on a plurality of ranking list options, ranks the plurality of ranking list options, and distributes the quota from the total quota pool to the client 200 for voting on the ranking list options with set ranking according to the ranking of the plurality of ranking list options and the total quota in the total quota pool.
Further, referring to fig. 5 in combination, after receiving a request for creating a ranking list sent by any one client 200 of the plurality of clients 200, creating a corresponding ranking list, and adding a quota included in the request for creating a ranking list to a total quota pool, the method further includes steps S50 to S51.
Step S50: and receiving a ranking list option adding request sent by any client 200 in the plurality of clients 200, wherein the ranking list option adding request comprises a limit corresponding to a ranking list option to be added and option content to be added.
Step S51: obtaining a ranking list option to be added according to the content of the option to be added of the ranking list option adding request, adding the ranking list option to the ranking list, and adding the amount included in the ranking list option adding request to a total amount pool.
As an optional implementation manner, after the server side 100 creates the leaderboard, if a certain client side 200 obtains the information of the leaderboard and wants to add the leaderboard option, the client side 200 also sends a leaderboard option adding request to the server side 100 based on the leaderboard option adding protocol in the blockchain smart contract, and the server side 100 determines whether the leaderboard option adding request sent by the client side 200 meets the leaderboard option adding protocol of the blockchain smart contract, for example, determines whether the amount in the leaderboard option adding request and the content of the options to be added meet the leaderboard option adding protocol of the blockchain smart contract, if yes, obtains the leaderboard option to be added according to the leaderboard option adding request, adds the leaderboard option to the server side 100 based on the leaderboard option adding request sent by the client side 200, if the leaderboard option adding request does not meet the information of the leaderboard, and if the leaderboard option adding request does not meet the amount in the leaderboard chain smart contract.
After the amount included in the leaderboard option adding request is added to the total amount pool, the amount included in the leaderboard option adding request is also used for the distribution of the subsequent amount.
Further, referring to fig. 6 in combination, after receiving a request for creating a ranking list sent by any one client 200 of the plurality of clients 200, creating a corresponding ranking list, and adding a quota included in the request for creating a ranking list to a total quota pool, the method further includes steps S60 to S61.
Step S60: an information release request issued by any one client 200 of the plurality of clients 200 is received.
Step S61: and displaying the information release content in the ranking list, and adding the amount included in the information release request to a total amount pool.
The information release request comprises information release content and information release limit;
as an alternative embodiment, the blockchain smart contract provided in the present disclosure includes an information publishing protocol, after the server side 100 creates a leaderboard, if a certain client side 200 obtains information of the leaderboard and wants to publish the information on the leaderboard, the client side 200 also sends an information publishing request to the server side 100 based on the information publishing protocol of the blockchain smart contract, and the server side 100 determines whether the information publishing request sent by the client side 200 accords with the information publishing protocol of the blockchain smart contract after receiving the information publishing request sent by the client side 200, for example, determines whether the credit in the information publishing request and the information publishing content to be published accord with the information publishing protocol of the blockchain smart contract, if so, the information publishing content is displayed on the leaderboard according to the information publishing request, and adds the credit included in the information publishing request to the total credit pool, and stores the information publishing content in the blockchain, if not so, the information publishing content is not displayed on the leaderboard.
As an alternative embodiment, the information release content included in the information release request may be advertisement information, video information, article information, picture information, and the like, and the disclosure is not particularly limited.
After the credit included in the information release request is added to the total credit pool, the credit included in the information release request is also used for distribution of the subsequent credit.
As an optional implementation manner, in order to increase the enthusiasm of the client 200, the disclosure may further allocate a credit to the client 200 that issues the request for creating a leaderboard according to the total credit in the total credit pool.
In this disclosure, the server 100 may allocate a certain proportion (e.g., 1:1 or 1:2) of the clients 200 that issue requests to create a ranking list and the clients 200 that vote for ranking list options.
In summary, according to the ranking list voting processing method provided by the disclosure, by storing the blockchain intelligent contract in the server 100 in advance, the server 100 executes various requests sent by the client 200 based on the blockchain intelligent contract, the whole process is reliable and traceable, and fairness in a ranking list to voting process is improved.
On the basis of the foregoing, referring to fig. 7 in combination, the disclosure provides a ranking list voting processing device 10, which is applied to a server 100, wherein the server 100 stores a blockchain smart contract in advance, the server 100 is communicatively connected with a plurality of clients 200 based on the blockchain smart contract, and executes requests sent by the clients 200 based on the blockchain smart contract, and the device includes:
the ranking list creation module 11 is configured to receive a ranking list creation request sent by any one client 200 of the plurality of clients 200, create a corresponding ranking list, and add a quota included in the ranking list creation request to a total quota pool, where the ranking list creation request includes a quota of the created ranking list and a plurality of option contents, and the created ranking list includes a plurality of ranking list options corresponding to the plurality of option contents.
The information processing module 12 is configured to receive the number of votes sent by the plurality of clients 200 for voting on the plurality of ranking list options, and calculate the number of votes obtained by each ranking list option in the plurality of ranking list options.
And the option ranking module 13 is used for ranking the multiple ranking list options according to the number of tickets respectively obtained by each ranking list option in the multiple ranking list options.
A credit allocation module 14 for allocating credit to each of the plurality of leaderboard options according to the ranking of the plurality of leaderboard options and the total credit in the total credit pool, and distributing the amount from the total amount pool to the client 200 voting for ranking list options with set ranking names.
In an alternative embodiment, the information processing module 12 is configured to:
and acquiring the voting weight of each client 200.
And obtaining the voteable number of each client 200 according to the voting weight of each client 200.
And receiving the number of votes sent by the clients 200 for voting the plurality of ranking list options, wherein the number of votes for each client for the plurality of ranking list options is not greater than the voteable number of the client.
And counting to obtain the number of tickets respectively obtained by each ranking list option in the plurality of ranking list options.
In an alternative embodiment, the information processing module 12 is configured to:
for each client 200 of the plurality of clients 200, a degree of acceptance of the client 200 by other clients 200 of the plurality of clients 200 is obtained.
And obtaining the voting weight of each client 200 according to the acceptance degree of each client 200 in the plurality of clients 200.
In an alternative embodiment, the apparatus further includes a leaderboard option adding module 15.
The ranking list option adding module 15 is configured to:
and receiving a ranking list option adding request sent by any client 200 in the plurality of clients 200, wherein the ranking list option adding request comprises a limit corresponding to a ranking list option to be added and option content to be added.
Obtaining a ranking list option to be added according to the content of the option to be added of the ranking list option adding request, adding the ranking list option to the ranking list, and adding the amount included in the ranking list option adding request to a total amount pool.
In summary, the method and the device for processing the ranking list voting provided by the present disclosure store the blockchain intelligent contract in advance at the server, so that the server executes the request for creating the ranking list sent by the client based on the blockchain intelligent contract, creates the corresponding ranking list, receives the number of votes sent by the plurality of clients for voting on the plurality of ranking list options, ranks the plurality of ranking list options, and distributes the quota from the total quota pool to the client voting on the ranking list options with set ranking according to the ranking of the plurality of ranking list options and the total quota in the total quota pool.
The foregoing is merely specific embodiments of the disclosure, but the protection scope of the disclosure is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the disclosure are intended to be covered by the protection scope of the disclosure. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.

Claims (6)

1. A ranking list voting processing method, which is applied to a server, wherein the server stores a blockchain intelligent contract in advance, the server is in communication connection with a plurality of clients based on the blockchain intelligent contract, and executes requests sent by the clients based on the blockchain intelligent contract, the method comprises:
receiving a ranking list creation request sent by any one of the plurality of clients, creating a corresponding ranking list, and adding a limit included in the ranking list creation request to a total limit pool; the method comprises the steps that a request for creating a ranking list comprises a limit of the created ranking list and a plurality of option contents, and the created ranking list comprises a plurality of ranking list options corresponding to the plurality of option contents;
for each client of the plurality of clients, obtaining the acceptance of other clients of the plurality of clients to the client; according to the acceptance of each client in the plurality of clients, voting weight of each client is obtained;
receiving the number of votes sent by the clients and voting the ranking list options, and counting to obtain the number of votes respectively obtained by each ranking list option in the ranking list options, wherein the method comprises the following steps:
obtaining the voteable number of each client according to the voting weight of each client;
receiving the voting number of votes sent by the clients and voting the ranking list options; wherein the number of votes cast by each client for the multiple ranking list options is no greater than the voteable number of the client;
counting to obtain the ticket number respectively obtained by each ranking list option in the plurality of ranking list options;
ranking the multiple ranking list options according to the number of tickets respectively obtained by each ranking list option in the multiple ranking list options;
and distributing the amount from the total amount pool to the client side voting for the ranking list options with set ranking according to the ranking of the ranking list options and the total amount in the total amount pool.
2. The method of claim 1, wherein after receiving a request for creating a leaderboard from any one of the plurality of clients, creating a corresponding leaderboard, and adding a credit included in the request for creating a leaderboard to a total credit pool, the method further comprises:
receiving a ranking list option adding request sent by any one of the plurality of clients, wherein the ranking list option adding request comprises a limit corresponding to a ranking list option to be added and option content to be added;
obtaining a ranking list option to be added according to the content of the option to be added of the ranking list option adding request, adding the ranking list option to the ranking list, and adding the amount included in the ranking list option adding request to a total amount pool.
3. The method of claim 1, wherein after receiving a request for creating a leaderboard from any one of the plurality of clients, creating a corresponding leaderboard, and adding a credit included in the request for creating a leaderboard to a total credit pool, the method further comprises:
receiving an information release request sent by any one of the plurality of clients, wherein the information release request comprises information release content and information release limit;
and displaying the information release content in the ranking list, and adding the amount included in the information release request to a total amount pool.
4. The leaderboard vote processing method of claim 1, further comprising:
and according to the total amount in the total amount pool, performing amount distribution on the client side which sends the request for creating the ranking list.
5. A ranking list voting processing device, which is applied to a server, wherein the server stores a blockchain intelligent contract in advance, the server is in communication connection with a plurality of clients based on the blockchain intelligent contract, and executes requests sent by the clients based on the blockchain intelligent contract, the device comprising:
the system comprises a ranking list creation module, a ranking list creation module and a ranking list management module, wherein the ranking list creation module is used for receiving a ranking list creation request sent by any one of a plurality of clients, creating a corresponding ranking list, and adding a quota contained in the ranking list creation request to a total quota pool, wherein the ranking list creation request comprises the quota of the created ranking list and a plurality of option contents, and the created ranking list comprises a plurality of ranking list options corresponding to the plurality of option contents;
the information processing module is used for obtaining the acceptance of other clients in the plurality of clients to each client in the plurality of clients; according to the acceptance of each client in the plurality of clients, voting weight of each client is obtained;
the information processing module is further configured to receive the number of votes sent by the plurality of clients and voting the plurality of ranking list options, and calculate the number of votes obtained by each ranking list option in the plurality of ranking list options, where the method includes:
obtaining the voteable number of each client according to the voting weight of each client;
receiving the voting number of votes sent by the clients and voting the ranking list options; wherein the number of votes cast by each client for the multiple ranking list options is no greater than the voteable number of the client;
counting to obtain the ticket number respectively obtained by each ranking list option in the plurality of ranking list options;
the option ranking module is used for ranking the multiple ranking list options according to the number of tickets respectively obtained by each ranking list option in the multiple ranking list options;
and the credit allocation module is used for allocating the credit from the total credit pool to the client voting for the ranking list options with set ranking according to the ranking of the ranking list options and the total credit in the total credit pool.
6. The leaderboard vote processing apparatus of claim 5, further comprising a leaderboard option adding module;
the ranking list option adding module is used for:
receiving a ranking list option adding request sent by any one of the plurality of clients, wherein the ranking list option adding request comprises a limit corresponding to a ranking list option to be added and option content to be added;
obtaining a ranking list option to be added according to the content of the option to be added of the ranking list option adding request, adding the ranking list option to the ranking list, and adding the amount included in the ranking list option adding request to a total amount pool.
CN201911064875.7A 2019-11-01 2019-11-01 Ranking list voting processing method and device Active CN110647715B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911064875.7A CN110647715B (en) 2019-11-01 2019-11-01 Ranking list voting processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911064875.7A CN110647715B (en) 2019-11-01 2019-11-01 Ranking list voting processing method and device

Publications (2)

Publication Number Publication Date
CN110647715A CN110647715A (en) 2020-01-03
CN110647715B true CN110647715B (en) 2023-04-21

Family

ID=68995455

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911064875.7A Active CN110647715B (en) 2019-11-01 2019-11-01 Ranking list voting processing method and device

Country Status (1)

Country Link
CN (1) CN110647715B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112699415A (en) * 2020-12-23 2021-04-23 广州汉全信息科技股份有限公司 Intelligent contract ordering method and device, computer equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011160175A2 (en) * 2010-06-25 2011-12-29 Doshmosh Pty Limited A computer based ballot system and process
CN109801146A (en) * 2019-01-18 2019-05-24 北京工业大学 A kind of resource service recommended method and system based on Demand perference

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150310687A1 (en) * 2012-12-06 2015-10-29 CrowdzSpeak Inc. Synchronous and Asynchronous Electronic Voting Terminal System and Network
CN105468589A (en) * 2014-06-17 2016-04-06 小米科技有限责任公司 Ranking list generation method and apparatus
CN108536706A (en) * 2017-03-02 2018-09-14 广州市动景计算机科技有限公司 List generation method, apparatus and system
CN108053137A (en) * 2017-12-27 2018-05-18 邵美 A kind of block chain intelligence contract sort method
CN108765683A (en) * 2018-05-23 2018-11-06 栾友祥 A kind of ballot system based on block chain technology
CN109919605A (en) * 2019-03-08 2019-06-21 刘净 The block catenary system and method for virtual coin are issued using Transaction Information as sole criterion
CN110097678A (en) * 2019-03-13 2019-08-06 深圳壹账通智能科技有限公司 Voting method, device, computer equipment and storage medium based on block chain
CN110348911A (en) * 2019-07-18 2019-10-18 数字钱包(北京)科技有限公司 Advertisement placement method, apparatus and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011160175A2 (en) * 2010-06-25 2011-12-29 Doshmosh Pty Limited A computer based ballot system and process
CN109801146A (en) * 2019-01-18 2019-05-24 北京工业大学 A kind of resource service recommended method and system based on Demand perference

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"Emotion classification from speech using evaluator reliability-weighted combination of ranked lists";Kartik Audhkhasi等;《2011 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP)》;第1-4页 *
"加权投票采样学习在用户信用评级中的应用";陈念等;《计算机工程与应用》;第259-263页 *

Also Published As

Publication number Publication date
CN110647715A (en) 2020-01-03

Similar Documents

Publication Publication Date Title
US7945470B1 (en) Facilitating performance of submitted tasks by mobile task performers
CN104660669B (en) The method and system of a host is selected from multiple main frames for application model component
KR20220084197A (en) Policy-based resource management and allocation system
CN1526109A (en) Method and apparatus for segmented peer-to-peer computing
US20220222590A1 (en) Blockchain-based room inventory management system and method
JP2004185589A (en) Point linkage system
CN110457288B (en) Data model construction method, device, equipment and computer readable storage medium
CN102185926A (en) Cloud computing resource management system and method
CN108520329B (en) Accurate automatic allocation method and device for second-hand house clients based on broker portrait
CN109152061A (en) Channel agility method, apparatus, server and storage medium
CN1669034A (en) Network service system and point commuting system
CN109816446A (en) A kind of cross-platform advertisement data processing method and device
CN103634349A (en) Method and device for obtaining dynamic message
CN109891839A (en) System and method for the incoming network flow request that throttles
CN110647715B (en) Ranking list voting processing method and device
US20130066828A1 (en) Scale-out system to acquire event data
CN113283778B (en) Layered convergence federal learning method based on security evaluation
CN110196949A (en) Information-pushing method, device, electronic equipment and computer-readable medium
CN104735134B (en) A kind of method and apparatus serviced for providing calculating
CN108112268A (en) Management and the relevant load balancer of automatic expanded set
CN103970742A (en) System for displaying credit data of service providers on computer platform
CN109241704A (en) The gray scale dissemination method and device of new script
CN111694672B (en) Resource allocation method, task submission method, device, electronic equipment and medium
KR20070108108A (en) System and method using scrap
WO2021038945A1 (en) Digital currency exchange device, digital currency exchange method, and digital currency exchange system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant