WO2021093590A1 - 随机数生成方法、游戏方法、设备和存储介质 - Google Patents

随机数生成方法、游戏方法、设备和存储介质 Download PDF

Info

Publication number
WO2021093590A1
WO2021093590A1 PCT/CN2020/124473 CN2020124473W WO2021093590A1 WO 2021093590 A1 WO2021093590 A1 WO 2021093590A1 CN 2020124473 W CN2020124473 W CN 2020124473W WO 2021093590 A1 WO2021093590 A1 WO 2021093590A1
Authority
WO
WIPO (PCT)
Prior art keywords
random number
data forwarding
forwarding server
forwarded
game
Prior art date
Application number
PCT/CN2020/124473
Other languages
English (en)
French (fr)
Inventor
何正军
王志文
吴思进
Original Assignee
杭州复杂美科技有限公司
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 杭州复杂美科技有限公司 filed Critical 杭州复杂美科技有限公司
Publication of WO2021093590A1 publication Critical patent/WO2021093590A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F7/00Methods or arrangements for processing data by operating upon the order or content of the data handled
    • G06F7/58Random or pseudo-random number generators
    • G06F7/588Random number generators, i.e. based on natural stochastic processes
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/70Game security or game management aspects
    • A63F13/75Enforcing rules, e.g. detecting foul play or generating lists of cheating players
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/70Game security or game management aspects
    • A63F13/77Game security or game management aspects involving data related to game devices or game servers, e.g. configuration data, software version or amount of memory
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features 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/50Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers
    • A63F2300/53Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers details of basic data processing
    • A63F2300/537Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers details of basic data processing for exchanging game data using a messaging service, e.g. e-mail, SMS, MMS

Definitions

  • This application relates to the field of blockchain technology, in particular to a random number generation method, game method, equipment and storage medium.
  • the present invention provides a random number generation method suitable for the user side, and the above method includes:
  • the first random number and each second random number forwarded by the data forwarding server are sorted according to the first sorting rule to generate a third random number.
  • the present invention provides a random number generation method suitable for a data forwarding server, and the above method includes:
  • the present invention provides a game method suitable for the user side, and the above method includes:
  • a third random number is generated according to the random number generation method of the first aspect, and the first game result is generated according to the third random number;
  • the first off-chain settlement transaction is generated according to the first game result and sent to the data forwarding server, so that the data forwarding server forwards the first off-chain settlement transaction to each counterparty client in the first channel.
  • the present invention provides a game method suitable for a data forwarding server, and the above method includes:
  • the off-chain settlement transaction Receives off-chain settlement transaction, and forward the off-chain settlement transaction to each other client in the first channel; wherein, the off-chain settlement transaction is generated by the first client in response to the first user to settle the game and based on the first game result,
  • the first game result is generated by a first random number, and the first random number is generated after the start of the game according to the random number generation method of the second aspect described above.
  • the present invention also provides a device that includes one or more processors and a memory, where the memory contains instructions executable by the one or more processors to make the one or more processors execute each of the processors according to the present invention.
  • the random number generation method and game method provided by the embodiment.
  • the present invention also provides a storage medium storing a computer program, which causes the computer to execute the random number generation method and the game method provided according to the embodiments of the present invention.
  • the random number generation method, game method, device and storage medium provided by many embodiments of the present invention generate the first random number and send the first hash value of the first random number to the data forwarding server for the data forwarding server to transfer the first random number to the data forwarding server.
  • the hash value is forwarded to each opponent client in the first channel; a number of second hash values forwarded by the data forwarding server are received; after receiving the second hash value forwarded by each opponent client through the data forwarding server, the data
  • the forwarding server sends the first random number for the data forwarding server to forward the first random number to each opponent client in the first channel, so as to compare the first random number and the held number according to the pre-configured first sorting rule.
  • the second random number and a number of second random numbers forwarded by the data forwarding server are sorted to generate a third random number; each second random number forwarded by the data forwarding server is received, and the second random number forwarded by the data forwarding server corresponds to the first random number corresponding to each second random number forwarded by the data forwarding server.
  • the second random number is verified by the second hash value; the first random number and each second random number are sorted according to the first sorting rule to generate the third random number, and the random number is completely randomly generated in the Lightning Network, Ensure the interests of users.
  • FIG. 1 is a flowchart of a method for generating random numbers according to an embodiment of the present invention.
  • Fig. 2 is a flowchart of a preferred embodiment of the method shown in Fig. 1.
  • FIG. 3 is a flowchart of another random number generation method provided by an embodiment of the present invention.
  • Fig. 4 is a flowchart of a preferred embodiment of the method shown in Fig. 3.
  • Fig. 5 is a flowchart of a game method provided by an embodiment of the present invention.
  • Fig. 6 is a flowchart of a preferred embodiment of the method shown in Fig. 5.
  • Fig. 7 is a flowchart of another game method provided by an embodiment of the present invention.
  • FIG. 8 is a flowchart of a preferred embodiment of the method shown in FIG. 7.
  • FIG. 9 is a schematic structural diagram of a device provided by an embodiment of the present invention.
  • the data forwarding server of the present invention is the server in the patent document with the application number CN201911073994.9.
  • FIG. 1 is a flowchart of a method for generating random numbers according to an embodiment of the present invention.
  • the present invention provides a random number generation method suitable for the user side, and the above method includes:
  • S12 Generate a first random number, and send the first hash value of the first random number to the data forwarding server for the data forwarding server to forward the first hash value to each opponent client in the first channel; where the opponent The client terminal is the other client terminal except the current client terminal in the first channel;
  • S13 Receive a number of second hash values forwarded by the data forwarding server; where the second hash value is generated by the opponent client generating a second random number and hashing the second random number;
  • S14 After receiving the second hash value forwarded by each opponent client through the data forwarding server, send the first random number to the data forwarding server, so that the data forwarding server can forward the first random number to each channel in the first channel.
  • the counterparty client terminal is used to sort the first random number, the held second random number, and several second random numbers forwarded by the data forwarding server according to a pre-configured first sorting rule to generate a third random number;
  • S15 Receive each second random number forwarded by the data forwarding server, and verify the received second random number according to the second hash value corresponding to each second random number forwarded by the data forwarding server; wherein, the second random number is used by the opponent user
  • the terminal receives the first hash value forwarded by the current user terminal through the data forwarding server, and several second hash values forwarded by other client terminals in the first channel through the data forwarding server, and then sends it;
  • S16 Sort the first random number and each second random number forwarded by the data forwarding server according to the first sorting rule to generate a third random number.
  • the first sorting rule is to sort the hash values from small to large, and hash(rand(a)) ⁇ hash(rand(b)), taking the current client as A as an example;
  • step S12 A generates rand(a), sends hash(rand(a)) to the data forwarding server, and the data forwarding server forwards hash(rand(a)) to B; (similarly, B generates rand(b) , Send rand(b) to the data forwarding server, and the data forwarding server forwards hash(rand(b)) to A)
  • step S13 A receives the hash(rand(b)) forwarded by the data forwarding server (similarly, B receives the hash(rand(a))) forwarded by the data forwarding server;
  • step S14 after receiving the hash (rand(b)) forwarded by B through the data forwarding server, A sends rand(a) to the data forwarding server (similarly, B receives the hash forwarded by A through the data forwarding server After (rand(a)), send rand(b)) to the data forwarding server;
  • step S15 A receives the hash(rand(b)) forwarded by the data forwarding server, and verifies rand(b) according to hash(rand(b)) (similarly, B receives the hash(rand(a)) forwarded by the data forwarding server ), verify rand(a)) according to hash(rand(a));
  • step S16 if rand(b) is successfully verified according to hash(rand(b)), since the first sorting rule is to sort the hash values from small to large, and hash(rand(a)) ⁇ hash(rand(b) )), A generates the third random number rand(M) according to hash(rand(a)) and hash(rand(b)) (similarly, if rand(a) is verified successfully according to hash(rand(a)), B Generate the third random number rand(M)) according to hash(rand(a)) and hash(rand(b)).
  • the users in the first channel are user a and user b
  • the user end of a is A
  • the user end of b is B
  • the random number of a is rand(a)
  • the random number of b is rand(b )
  • the random number of b is rand(b )
  • the number of users in the first channel can also be configured as an integer greater than 2 according to actual needs, which can achieve the same technical effect (for example, the application number filed by the applicant is In the patent application of CN201911074050.3, the applicant proposed a group transaction method suitable for groups composed of multiple users to conduct lightning network transactions safely and efficiently.
  • the number of users in the first channel can be According to actual needs, it can be configured as an integer greater than 2).
  • the first sorting rule can also be configured to sort from largest to smallest.
  • the third random number rand(M) is generated according to hash(rand(b)) and hash(rand(a)), Or it can be configured with other sorting rules to achieve the same technical effect.
  • the foregoing embodiment generates random numbers completely randomly in the Lightning Network, which ensures the interests of users.
  • sending the first random number to the data forwarding server includes:
  • A judges whether hash(rand(b)) is different from hash(rand(a)):
  • Fig. 2 is a flowchart of a preferred embodiment of the method shown in Fig. 1. As shown in FIG. 2, in a preferred embodiment, after step S16, the method further includes:
  • S17 Receive the first on-chain transaction including the third random number, and send the first on-chain transaction to the blockchain node for the blockchain node to execute the first on-chain transaction and record the third random number in the block On the chain.
  • Transactions on the first chain can be generated by any client in the first channel.
  • FIG. 3 is a flowchart of another random number generation method provided by an embodiment of the present invention. As shown in FIG. 3, the present invention provides a random number generation method suitable for a data forwarding server, and the above method includes:
  • S22 Receive the hash value of the random number, and forward the hash value to other client terminals in the first channel; wherein, the random number is generated by the client terminal;
  • S24 Receive a random number, and forward the random number to other client terminals in the first channel, so as to verify the received random number according to the hash value of other client terminals forwarded by the data forwarding server, and pair according to the pre-configured first sorting rule
  • the random numbers held by the data forwarding server and several random numbers forwarded by the data forwarding server are sorted to generate the first random number; among them, the random number is forwarded by the data forwarding server through the data forwarding server after receiving the random number from other users in each first channel. After the value is hoped, it is sent to the data forwarding server.
  • Fig. 4 is a flowchart of a preferred embodiment of the method shown in Fig. 3. As shown in FIG. 4, in a preferred embodiment, after step S24, the method further includes:
  • S26 Receive the first on-chain transaction including the first random number, and send the first on-chain transaction to the blockchain node for the blockchain node to execute the first on-chain transaction and record the first random number in the block On the chain.
  • Fig. 5 is a flowchart of a game method provided by an embodiment of the present invention. As shown in FIG. 5, the present invention provides a game method suitable for the user side, and the above method includes:
  • S32 Send the first game information to the data forwarding server, so that the data forwarding server forwards the first game information to each opponent client in the first channel;
  • S33 Receive a number of second game information forwarded by the data forwarding server; wherein each second game information is sent to the data forwarding server by each opponent client respectively;
  • S35 In response to the current user's settlement of the game, generate a first off-chain settlement transaction according to the first game result and send it to the data forwarding server for the data forwarding server to forward the first off-chain settlement transaction to each opponent user in the first channel end.
  • the users in the first channel are user a and user b
  • the user terminal of a is A
  • the user terminal of b is B
  • the game is "The generated number is 1 to 99. Guess whether the generated number is greater than 50”
  • the game information of a is "guess is yes”
  • the game information of b is "guess is no”
  • the current user terminal is A as an example
  • step S32 A sends the first game information "guess is yes” to the data forwarding server, and the data forwarding server forwards the first game information to B (similarly, B sends the second game information "guess is no” to the data forwarding server. ", the data forwarding server forwards the second game information to A);
  • step S33 A receives the "guess no” forwarded by the data forwarding server (similarly, B receives the "guess yes” forwarded by the data forwarding server);
  • step S34 after the game starts, A generates a third random number according to the random number generation method shown in FIG. 1, and generates a first game result according to the third random number (similarly, B generates a random number according to the random number shown in FIG. The method generates a third random number, and generates the first game result according to the third random number);
  • step S35 assuming that the first game result is 40, a guess is correct, b guess is wrong, B responds to b to settle the game, generates the first off-chain transaction according to 40 and sends it to the data forwarding server, and the data forwarding server will first The off-chain settlement transaction is forwarded to A.
  • Fig. 6 is a flowchart of a preferred embodiment of the method shown in Fig. 5. As shown in FIG. 6, in a preferred embodiment, after step S35, the method further includes:
  • S36 In response to the current user appealing to the game result submitted by the first user, generate the first rights protection transaction and send it to the data forwarding server for the data forwarding server to send the first rights protection transaction to the blockchain node for the block
  • the chain node executes the first rights protection transaction, and if the appeal is successful, several assets of the first user will be fined.
  • the same game program as the client is configured on the blockchain node. It is assumed that the first rights protection transaction includes game information of a, game information of b, rand(a), hash(rand(a)), rand(b ), hash(rand(b));
  • step S36 in response to a appealing to the game result submitted by b, A generates a first rights protection transaction and sends it to the data forwarding server.
  • the data forwarding server sends the first rights protection transaction to the blockchain node, and the blockchain node executes it.
  • the first rights protection transaction :
  • Blockchain nodes verify rand(a) according to hash(rand(a)), and verify rand(b) according to hash(rand(b)). If both are verified successfully, then according to hash(rand(a)), hash(rand (b)) Generate the third random number rand(M); the blockchain node generates the first game result of 40 according to the above game program and rand(M); since the first game result is 40, the game information of a is " The guess is yes", the game information of b is "the guess is no", the blockchain node judges that b has dishonest behavior, that is, judges that the appeal is successful, and confiscates some of b's assets.
  • the first rights protection transaction includes the game information of a and the game information of b; the blockchain node according to the above game program, and rand(M) generates the first game result as 40; because the first game result is 40, the game information of a is "guess is yes", the game information of b is "guess is no", and the blockchain node judges whether b exists or not. Honest behavior, that is, judging that the appeal is successful, and confiscating several assets of b; if the third random number rand(M) has been recorded on the blockchain, the first rights protection transaction including the game information of a and the game information of b can achieve the same Technical effect.
  • Fig. 7 is a flowchart of another game method provided by an embodiment of the present invention. As shown in FIG. 7, the present invention provides a game method suitable for a data forwarding server, and the above method includes:
  • S42 Receive game information, and forward the game information to each other user terminal in the first channel;
  • S44 Receive the off-chain settlement transaction, and forward the off-chain settlement transaction to each other user terminal in the first channel; wherein, the off-chain settlement transaction is settled by the first user terminal in response to the first user to settle the game according to the first game result.
  • the first game result is generated by a first random number, and the first random number is generated after the game starts according to the random number generation method shown in FIG. 3.
  • FIG. 8 is a flowchart of a preferred embodiment of the method shown in FIG. 7. As shown in Figure 8, in a preferred embodiment, after S44, the method further includes:
  • S46 Receive the first rights protection transaction, and send the first rights protection transaction to the blockchain node so that the blockchain node can execute the first rights protection transaction. If the appeal is successful, several assets of the first user will be fined and confiscated; among them, the first rights protection transaction Generated by the first user terminal in response to the first user's appeal on the game result submitted by the second user.
  • FIG. 9 is a schematic structural diagram of a device provided by an embodiment of the present invention.
  • the present application also provides a device 900, including one or more central processing units (CPU) 901, which can be based on a program stored in a read-only memory (ROM) 902 or The program loaded from the storage section 908 into the random access memory (RAM) 903 executes various appropriate actions and processing.
  • CPU central processing units
  • RAM random access memory
  • various programs and data required for the operation of the device 900 are also stored.
  • the CPU 901, the ROM 902, and the RAM 903 are connected to each other through a bus 904.
  • An input/output (I/O) interface 905 is also connected to the bus 904.
  • the following components are connected to the I/O interface 905: an input section 906 including a keyboard, a mouse, etc.; an output section 907 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and speakers, etc.; a storage section 908 including a hard disk, etc. ; And a communication section 909 including a network interface card such as a LAN card, a modem, and the like. The communication section 909 performs communication processing via a network such as the Internet.
  • the drive 910 is also connected to the I/O interface 905 as needed.
  • a removable medium 911 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 910 as needed, so that the computer program read therefrom is installed into the storage portion 908 as needed.
  • the random number generation method and the game method described in any of the above embodiments can be implemented as a computer software program.
  • an embodiment of the present disclosure includes a computer program product including a computer program tangibly embodied on a machine-readable medium, the computer program including program code for executing a random number generation method and a game method.
  • the computer program may be downloaded and installed from the network through the communication part 909, and/or installed from the removable medium 911.
  • the present application also provides a computer-readable storage medium.
  • the computer-readable storage medium may be the computer-readable storage medium included in the device of the above-mentioned embodiment;
  • the computer-readable storage medium stores one or more programs, and the programs are used by one or more processors to execute the random number generation method and game method described in this application.
  • each block in the flowchart or block diagram may represent a module, program segment, or part of code, and the module, program segment, or part of code contains one or more for realizing the specified logical function Executable instructions.
  • the functions marked in the block may also occur in a different order from the order marked in the drawings. For example, two blocks shown in succession can actually be executed substantially in parallel, and they can sometimes be executed in the reverse order, depending on the functions involved.
  • each block in the block diagram and/or flowchart, and the combination of the blocks in the block diagram and/or flowchart can be implemented by a dedicated hardware-based system that performs the specified functions or operations Or it can be realized by a combination of dedicated hardware and computer instructions.
  • the units or modules involved in the embodiments described in the present application can be implemented in software or hardware.
  • the described units or modules may also be arranged in the processor.
  • each of the described units may be a software program arranged in a computer or a mobile smart device, or may be a separately configured hardware device.
  • the names of these units or modules do not constitute a limitation on the units or modules themselves under certain circumstances.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • General Business, Economics & Management (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computational Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

一种随机数生成方法、游戏方法、设备和存储介质,涉及区块链等技术领域,该方法包括:生成第一随机数,向数据转发服务器发送第一随机数的第一哈希值(S12);接收数据转发服务器转发的若干第二哈希值(S13);在收到各对手用户端通过数据转发服务器转发的第二哈希值后,向数据转发服务器发送第一随机数(S14);接收数据转发服务器转发的各第二随机数,根据数据转发服务器转发的各第二随机数相应的第二哈希值验证所接收的第二随机数(S15);根据第一排序规则对第一随机数和数据转发服务器转发的各第二随机数排序以生成第三随机数(S16)。其在闪电网络中完全随机的生成随机数,保证了用户利益。

Description

随机数生成方法、游戏方法、设备和存储介质 技术领域
本申请涉及区块链技术领域,具体涉及一种随机数生成方法、游戏方法、设备和存储介质。
背景技术
在申请人所提出的另一件申请号为CN201911073994.9的专利申请中,申请人提出了一种在闪电网络架构中的交易方法;在闪电网络的一些链下场景中(诸多一些小游戏)需要用到随机数,但是随机数由于可被预测性,使得游戏结果可被预测,导致部分用户利益受损等问题。
发明内容
鉴于现有技术中的上述缺陷或不足,期望提供一种在闪电网络中完全随机的生成随机数的随机数生成方法、游戏方法、设备和存储介质。
第一方面,本发明提供一种适用于用户端的随机数生成方法,上述方法包括:
生成第一随机数,向数据转发服务器发送第一随机数的第一哈希值,以供数据转发服务器将第一哈希值转发给第一通道内的各对手用户端;其中,对手用户端为第一通道内除去当前用户端的其它用户端;
接收数据转发服务器转发的若干第二哈希值;其中,第二哈希值由对手用户端生成第二随机数并对第二随机数进行哈希所生成;
在收到各对手用户端通过数据转发服务器转发的第二哈希值后,向数据转发服务器发送第一随机数,以供数据转发服务器将第一随机数转发给第一通道内的各对手用户端,以供根据预配置的第一排序规则对第一随机数、所持有的第二随机数、数据转发服务器转发的若干 第二随机数进行排序以生成第三随机数;
接收数据转发服务器转发的各第二随机数,根据数据转发服务器转发的各第二随机数相应的第二哈希值验证所接收的第二随机数;其中,第二随机数由对手用户端收到当前用户端通过数据转发服务器转发的第一哈希值,以及,第一通道内的其它用户端通过数据转发服务器转发的若干第二哈希值后发送;
根据第一排序规则对第一随机数和数据转发服务器转发的各第二随机数排序以生成第三随机数。
第二方面,本发明提供一种适用于数据转发服务器的随机数生成方法,上述方法包括:
接收随机数的哈希值,将哈希值转发给第一通道内的其它用户端;其中,随机数由用户端生成;
接收随机数,将随机数转发给第一通道内的其它用户端,以供根据数据转发服务器转发的其它用户端的哈希值验证所接收的随机数,根据预配置的第一排序规则对所持有的随机数、数据转发服务器转发的若干随机数进行排序以生成第一随机数;其中,随机数由用户端在收到各第一通道内的其它用户端通过数据转发服务器转发的哈希值后向数据转发服务器发送。
第三方面,本发明提供一种适用于用户端的游戏方法,上述方法包括:
向数据转发服务器发送第一游戏信息,以供数据转发服务器将第一游戏信息转发给第一通道内的各对手用户端;
接收数据转发服务器转发的若干第二游戏信息;其中,各第二游戏信息分别由各对手用户端发送至数据转发服务器;
游戏开局后根据上述第一方面的随机数生成方法生成第三随机数,根据第三随机数生成第一游戏结果;
响应于当前用户结算游戏,根据第一游戏结果生成第一链下结算交易并发送至数据转发服务器,以供数据转发服务器将第一链下结算交易转发给第一通道内的各对手用户端。
第四方面,本发明提供一种适用于数据转发服务器的游戏方法, 上述方法包括:
接收游戏信息,将游戏信息转发给第一通道内的各其它用户端;
接收链下结算交易,将链下结算交易转发给第一通道内的各其它用户端;其中,链下结算交易由第一用户端响应于第一用户结算游戏并根据第一游戏结果所生成,第一游戏结果由第一随机数所生成,第一随机数由游戏开局后根据如上述第二方面的随机数生成方法所生成。
第五方面,本发明还提供一种设备,包括一个或多个处理器和存储器,其中存储器包含可由该一个或多个处理器执行的指令以使得该一个或多个处理器执行根据本发明各实施例提供的随机数生成方法和游戏方法。
第六方面,本发明还提供一种存储有计算机程序的存储介质,该计算机程序使计算机执行根据本发明各实施例提供的随机数生成方法和游戏方法。
本发明诸多实施例提供的随机数生成方法、游戏方法、设备和存储介质通过生成第一随机数,向数据转发服务器发送第一随机数的第一哈希值,以供数据转发服务器将第一哈希值转发给第一通道内的各对手用户端;接收数据转发服务器转发的若干第二哈希值;在收到各对手用户端通过数据转发服务器转发的第二哈希值后,向数据转发服务器发送第一随机数,以供数据转发服务器将第一随机数转发给第一通道内的各对手用户端,以供根据预配置的第一排序规则对第一随机数、所持有的第二随机数、数据转发服务器转发的若干第二随机数进行排序以生成第三随机数;接收数据转发服务器转发的各第二随机数,根据数据转发服务器转发的各第二随机数相应的第二哈希值验证所接收的第二随机数;根据第一排序规则对第一随机数和各第二随机数排序以生成第三随机数的方法,在闪电网络中完全随机的生成随机数,保证了用户利益。
附图说明
通过阅读参照以下附图所作的对非限制性实施例所作的详细描 述,本申请的其它特征、目的和优点将会变得更明显:
图1为本发明一实施例提供的一种随机数生成方法的流程图。
图2为图1所示方法的一种优选实施方式的流程图。
图3为本发明一实施例提供的另一种随机数生成方法的流程图。
图4为图3所示方法的一种优选实施方式的流程图。
图5为本发明一实施例提供的一种游戏方法的流程图。
图6为图5所示方法的一种优选实施方式的流程图。
图7为本发明一实施例提供的另一种游戏方法的流程图。
图8为图7所示方法的一种优选实施方式的流程图。
图9为本发明一实施例提供的一种设备的结构示意图。
具体实施方式
下面结合附图和实施例对本申请作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释相关发明,而非对该发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与发明相关的部分。
需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本申请。
本发明的数据转发服务器为申请号CN201911073994.9的专利文件中的服务器。
图1为本发明一实施例提供的一种随机数生成方法的流程图。如图1所示,在本实施例中,本发明提供一种适用于用户端的随机数生成方法,上述方法包括:
S12:生成第一随机数,向数据转发服务器发送第一随机数的第一哈希值,以供数据转发服务器将第一哈希值转发给第一通道内的各对手用户端;其中,对手用户端为第一通道内除去当前用户端的其它用户端;
S13:接收数据转发服务器转发的若干第二哈希值;其中,第二哈希值由对手用户端生成第二随机数并对第二随机数进行哈希所生成;
S14:在收到各对手用户端通过数据转发服务器转发的第二哈希值后,向数据转发服务器发送第一随机数,以供数据转发服务器将第一随机数转发给第一通道内的各对手用户端,以供根据预配置的第一排序规则对第一随机数、所持有的第二随机数、数据转发服务器转发的若干第二随机数进行排序以生成第三随机数;
S15:接收数据转发服务器转发的各第二随机数,根据数据转发服务器转发的各第二随机数相应的第二哈希值验证所接收的第二随机数;其中,第二随机数由对手用户端收到当前用户端通过数据转发服务器转发的第一哈希值,以及,第一通道内的其它用户端通过数据转发服务器转发的若干第二哈希值后发送;
S16:根据第一排序规则对第一随机数和数据转发服务器转发的各第二随机数排序以生成第三随机数。
具体地,假设第一通道内的用户为用户a和用户b,a的用户端为A,b的用户端为B,a的随机数为rand(a),b的随机数为rand(b),第一排序规则为将哈希值从小到大排序,且hash(rand(a))<hash(rand(b)),以当前用户端为A为例;
在步骤S12中,A生成rand(a),向数据转发服务器发送hash(rand(a)),数据转发服务器将hash(rand(a))转发给B;(同理,B生成rand(b),向数据转发服务器发送rand(b),数据转发服务器将hash(rand(b))转发给A)
在步骤S13中,A接收数据转发服务器转发的hash(rand(b))(同理,B接收数据转发服务器转发的hash(rand(a)));
在步骤S14中,A在收到B通过数据转发服务器转发的hash(rand(b))后,向数据转发服务器发送rand(a)(同理,B在收到A通过数据转发服务器转发的hash(rand(a))后,向数据转发服务器发送rand(b));
在步骤S15中,A接收数据转发服务器转发的hash(rand(b)),根据hash(rand(b))验证rand(b)(同理,B接收数据转发服务器转发的hash(rand(a)),根据hash(rand(a))验证rand(a));
在步骤S16中,若根据hash(rand(b))验证rand(b)成功,由于第一 排序规则为将哈希值从小到大排序,且hash(rand(a))<hash(rand(b)),A根据hash(rand(a))、hash(rand(b))生成第三随机数rand(M)(同理,若根据hash(rand(a))验证rand(a)成功,B根据hash(rand(a))、hash(rand(b))生成第三随机数rand(M))。
上述实施例以假设第一通道内的用户为用户a和用户b,a的用户端为A,b的用户端为B,a的随机数为rand(a),b的随机数为rand(b)为例进行了详细阐述;
在更多实施例中,还可以根据实际需求将第一通道内的用户数量可根据实际需求配置为大于2的整数个,可实现相同的技术效果(例如,在申请人所提出的申请号为CN201911074050.3的专利申请中,申请人提出了一种适用于多个用户所组成的群组安全高效地进行闪电网络交易的群组交易方法,在上述机制中,第一通道内的用户数量可根据实际需求配置为大于2的整数个)。
在更多实施例中,还可以将第一排序规则配置为从大到小排序,此时第三随机数rand(M)根据hash(rand(b))、hash(rand(a))生成,或配置为其它排序规则,可实现相同的技术效果。
上述实施例在闪电网络中完全随机的生成随机数,保证了用户利益。
优选地,在收到各对手用户端通过数据转发服务器转发的第二哈希值后,向数据转发服务器发送第一随机数包括:
在收到各对手用户端通过数据转发服务器转发的第二哈希值后,验证各收到的第二哈希值是否与第一哈希值不同:
是,则向数据转发服务器发送第一随机数。
具体地,A在收到B通过数据转发服务器转发的hash(rand(b))后,判断hash(rand(b))是否与hash(rand(a))不同:
是,则向数据转发服务器发送rand(a)。
图2为图1所示方法的一种优选实施方式的流程图。如图2所示,在一优选实施例中,步骤S16后还包括:
S17:接收包括第三随机数的第一链上交易,将第一链上交易发送至区块链节点,以供区块链节点执行第一链上交易并将第三随机数记 录到区块链上。
第一链上交易可以由第一通道中的任意用户端生成。
图3为本发明一实施例提供的另一种随机数生成方法的流程图。如图3所示,本发明提供一种适用于数据转发服务器的随机数生成方法,上述方法包括:
S22:接收随机数的哈希值,将哈希值转发给第一通道内的其它用户端;其中,随机数由用户端生成;
S24:接收随机数,将随机数转发给第一通道内的其它用户端,以供根据数据转发服务器转发的其它用户端的哈希值验证所接收的随机数,根据预配置的第一排序规则对所持有的随机数、数据转发服务器转发的若干随机数进行排序以生成第一随机数;其中,随机数由用户端在收到各第一通道内的其它用户端通过数据转发服务器转发的哈希值后向数据转发服务器发送。
上述实施例的随机数生成原理可参考图1所示的方法,此处不再赘述。
图4为图3所示方法的一种优选实施方式的流程图。如图4所示,在一优选实施例中,步骤S24后还包括:
S26:接收包括第一随机数的第一链上交易,将第一链上交易发送至区块链节点,以供区块链节点执行第一链上交易并将第一随机数记录到区块链上。
图5为本发明一实施例提供的一种游戏方法的流程图。如图5所示,本发明提供一种适用于用户端的游戏方法,上述方法包括:
S32:向数据转发服务器发送第一游戏信息,以供数据转发服务器将第一游戏信息转发给第一通道内的各对手用户端;
S33:接收数据转发服务器转发的若干第二游戏信息;其中,各第二游戏信息分别由各对手用户端发送至数据转发服务器;
S34:游戏开局后根据图1所示的随机数生成方法生成第三随机数,根据第三随机数生成第一游戏结果;
S35:响应于当前用户结算游戏,根据第一游戏结果生成第一链下结算交易并发送至数据转发服务器,以供数据转发服务器将第一链下 结算交易转发给第一通道内的各对手用户端。
具体地,假设第一通道内的用户为用户a和用户b,a的用户端为A,b的用户端为B,游戏为“所生成的数字为1~99,猜测所生成的数字是否大于50”,a的游戏信息为“猜测为是”,b的游戏信息为“猜测为否”,以当前用户端为A为例;
在步骤S32中,A向数据转发服务器发送第一游戏信息“猜测为是”,数据转发服务器将第一游戏信息转发给B(同理,B向数据转发服务器发送第二游戏信息“猜测为否”,数据转发服务器将第二游戏信息转发给A);
在步骤S33中,A接收数据转发服务器转发的“猜测为否”(同理,B接收数据转发服务器转发的“猜测为是”);
在步骤S34中,游戏开局后,A根据图1所示的随机数生成方法生成第三随机数,根据第三随机数生成第一游戏结果(同理,B根据图1所示的随机数生成方法生成第三随机数,根据第三随机数生成第一游戏结果);
在步骤S35中,假设第一游戏结果为40,则a猜测正确,b猜测错误,B响应于b结算游戏,根据40生成第一链下交易并发送至数据转发服务器,数据转发服务器将第一链下结算交易转发给A。
图6为图5所示方法的一种优选实施方式的流程图。如图6所示,在一优选实施例中,步骤S35后还包括:
S36:响应于当前用户对第一用户提交的游戏结果进行申诉,生成第一维权交易并发送至数据转发服务器,以供数据转发服务器将第一维权交易发送至区块链节点,以供区块链节点执行第一维权交易,若申诉成功则罚没第一用户的若干资产。
由于第一游戏结果为40,a猜测正确,b猜测错误,B应该根据40生成第一链下交易并通过数据转发服务器转发给A;若未能及时接收到第一链下交易,a认为b存在不诚实的游戏行为;
具体地,区块链节点上配置了与用户端相同的游戏程序,假设第一维权交易包括a的游戏信息、b的游戏信息、rand(a)、hash(rand(a))、rand(b)、hash(rand(b));
在步骤S36中,A响应于a对b提交的游戏结果进行申诉,生成第一维权交易并发送至数据转发服务器,数据转发服务器将第一维权交易发送至区块链节点,区块链节点执行第一维权交易:
区块链节点根据hash(rand(a))验证rand(a),根据hash(rand(b))验证rand(b),若均验证成功,则根据hash(rand(a))、hash(rand(b))生成第三随机数rand(M);区块链节点根据上述游戏程序,以及rand(M)生成第一游戏结果为40;由于第一游戏结果为40,a的游戏信息为“猜测为是”,b的游戏信息为“猜测为否”,区块链节点判断b存在不诚实行为,即判断申诉成功,罚没b的若干资产。
在更多实施例中,若区块链上已记录有第三随机数rand(M),则第一维权交易包括a的游戏信息、b的游戏信息;区块链节点根据上述游戏程序,以及rand(M)生成第一游戏结果为40;由于第一游戏结果为40,a的游戏信息为“猜测为是”,b的游戏信息为“猜测为否”,区块链节点判断b存在不诚实行为,即判断申诉成功,罚没b的若干资产;若区块链上已记录有第三随机数rand(M),则第一维权交易包括a的游戏信息、b的游戏信息可实现相同的技术效果。
图7为本发明一实施例提供的另一种游戏方法的流程图。如图7所示,本发明提供一种适用于数据转发服务器的游戏方法,上述方法包括:
S42:接收游戏信息,将游戏信息转发给第一通道内的各其它用户端;
S44:接收链下结算交易,将链下结算交易转发给第一通道内的各其它用户端;其中,链下结算交易由第一用户端响应于第一用户结算游戏并根据第一游戏结果所生成,第一游戏结果由第一随机数所生成,第一随机数由游戏开局后根据如图3所示的随机数生成方法所生成。
上述实施例的随机数生成原理可参考图5所示的方法,此处不再赘述。
图8为图7所示方法的一种优选实施方式的流程图。如图8所示,在一优选实施例中,S44后还包括:
S46:接收第一维权交易,将第一维权交易发送至区块链节点,以 供区块链节点执行第一维权交易,若申诉成功则罚没第一用户的若干资产;其中,第一维权交易由第一用户端响应于第一用户对第二用户提交的游戏结果进行申诉所生成。
图9为本发明一实施例提供的一种设备的结构示意图。
如图9所示,作为另一方面,本申请还提供了一种设备900,包括一个或多个中央处理单元(CPU)901,其可以根据存储在只读存储器(ROM)902中的程序或者从存储部分908加载到随机访问存储器(RAM)903中的程序而执行各种适当的动作和处理。在RAM903中,还存储有设备900操作所需的各种程序和数据。CPU901、ROM902以及RAM903通过总线904彼此相连。输入/输出(I/O)接口905也连接至总线904。
以下部件连接至I/O接口905:包括键盘、鼠标等的输入部分906;包括诸如阴极射线管(CRT)、液晶显示器(LCD)等以及扬声器等的输出部分907;包括硬盘等的存储部分908;以及包括诸如LAN卡、调制解调器等的网络接口卡的通信部分909。通信部分909经由诸如因特网的网络执行通信处理。驱动器910也根据需要连接至I/O接口905。可拆卸介质911,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器910上,以便于从其上读出的计算机程序根据需要被安装入存储部分908。
特别地,根据本公开的实施例,上述任一实施例描述的随机数生成方法和游戏方法可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括有形地包含在机器可读介质上的计算机程序,所述计算机程序包含用于执行随机数生成方法和游戏方法的程序代码。在这样的实施例中,该计算机程序可以通过通信部分909从网络上被下载和安装,和/或从可拆卸介质911被安装。
作为又一方面,本申请还提供了一种计算机可读存储介质,该计算机可读存储介质可以是上述实施例的装置中所包含的计算机可读存储介质;也可以是单独存在,未装配入设备中的计算机可读存储介质。计算机可读存储介质存储有一个或者一个以上程序,该程序被一个或者一个以上的处理器用来执行描述于本申请的随机数生成方法和游戏 方法。
附图中的流程图和框图,图示了按照本发明各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这根据所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以通过执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以通过专用硬件与计算机指令的组合来实现。
描述于本申请实施例中所涉及到的单元或模块可以通过软件的方式实现,也可以通过硬件的方式来实现。所描述的单元或模块也可以设置在处理器中,例如,各所述单元可以是设置在计算机或移动智能设备中的软件程序,也可以是单独配置的硬件装置。其中,这些单元或模块的名称在某种情况下并不构成对该单元或模块本身的限定。
以上描述仅为本申请的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本申请中所涉及的发明范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离本申请构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本申请中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。

Claims (10)

  1. 一种随机数生成方法,其特征在于,适用于用户端,所述方法包括:
    生成第一随机数,向数据转发服务器发送所述第一随机数的第一哈希值,以供所述数据转发服务器将所述第一哈希值转发给第一通道内的各对手用户端;其中,所述对手用户端为所述第一通道内除去当前用户端的其它用户端;
    接收数据转发服务器转发的若干第二哈希值;其中,所述第二哈希值由所述对手用户端生成第二随机数并对所述第二随机数进行哈希所生成;
    在收到各所述对手用户端通过所述数据转发服务器转发的第二哈希值后,向所述数据转发服务器发送所述第一随机数,以供所述数据转发服务器将所述第一随机数转发给所述第一通道内的各所述对手用户端,以供根据预配置的第一排序规则对所述第一随机数、所持有的第二随机数、所述数据转发服务器转发的若干第二随机数进行排序以生成第三随机数;
    接收所述数据转发服务器转发的各第二随机数,根据所述数据转发服务器转发的各第二随机数相应的第二哈希值验证所接收的第二随机数;其中,所述第二随机数由所述对手用户端收到当前用户端通过所述数据转发服务器转发的第一哈希值,以及,所述第一通道内的其它用户端通过所述数据转发服务器转发的若干第二哈希值后发送;
    根据所述第一排序规则对所述第一随机数和所述数据转发服务器转发的各第二随机数排序以生成第三随机数。
  2. 根据权利要求1所述的方法,其特征在于,所述根据所述第一排序规则对所述第一随机数和各所述第二随机数排序以生成第三随机数后,还包括:
    接收包括所述第三随机数的第一链上交易,将所述第一链上交易发送至区块链节点,以供所述区块链节点执行所述第一链上交易并将 所述第三随机数记录到区块链上。
  3. 一种随机数生成方法,其特征在于,适用于数据转发服务器,所述方法包括:
    接收随机数的哈希值,将所述哈希值转发给第一通道内的其它用户端;其中,所述随机数由用户端生成;
    接收随机数,将所述随机数转发给第一通道内的其它用户端,以供根据所述数据转发服务器转发的其它用户端的哈希值验证所接收的随机数,根据预配置的第一排序规则对所持有的随机数、所述数据转发服务器转发的若干随机数进行排序以生成第一随机数;其中,所述随机数由用户端在收到各第一通道内的其它用户端通过所述数据转发服务器转发的哈希值后向所述数据转发服务器发送。
  4. 根据权利要求3所述的方法,其特征在于,所述接收随机数,将所述随机数转发给第一通道内的其它用户端后还包括:
    接收包括所述第一随机数的第一链上交易,将所述第一链上交易发送至区块链节点,以供所述区块链节点执行所述第一链上交易并将所述第一随机数记录到区块链上。
  5. 一种游戏方法,其特征在于,适用于用户端,所述方法包括:
    向数据转发服务器发送第一游戏信息,以供所述数据转发服务器将所述第一游戏信息转发给第一通道内的各对手用户端;
    接收所述数据转发服务器转发的若干第二游戏信息;其中,各所述第二游戏信息分别由各所述对手用户端发送至所述数据转发服务器;
    游戏开局后根据如权利要求1或2所述的随机数生成方法生成第三随机数,根据所述第三随机数生成第一游戏结果;
    响应于当前用户结算游戏,根据所述第一游戏结果生成第一链下结算交易并发送至所述数据转发服务器,以供所述数据转发服务器将所述第一链下结算交易转发给第一通道内的各对手用户端。
  6. 根据权利要求5所述的方法,其特征在于,还包括:
    响应于当前用户对第一用户提交的游戏结果进行申诉,生成第一维权交易并发送至所述数据转发服务器,以供所述数据转发服务器将所述第一维权交易发送至区块链节点,以供所述区块链节点执行所述第一维权交易,若申诉成功则罚没所述第一用户的若干资产。
  7. 一种游戏方法,其特征在于,适用于数据转发服务器,所述方法包括:
    接收游戏信息,将所述游戏信息转发给第一通道内的各其它用户端;
    接收链下结算交易,将所述链下结算交易转发给所述第一通道内的各其它用户端;其中,所述链下结算交易由第一用户端响应于第一用户结算游戏并根据第一游戏结果所生成,所述第一游戏结果由第一随机数所生成,所述第一随机数由游戏开局后根据如权利要求3所述的随机数生成方法所生成。
  8. 根据权利要求7所述的方法,其特征在于,还包括:
    接收第一维权交易,将所述第一维权交易发送至区块链节点,以供所述区块链节点执行所述第一维权交易,若申诉成功则罚没所述第一用户的若干资产;其中,所述第一维权交易由所述第一用户端响应于第一用户对第二用户提交的游戏结果进行申诉所生成。
  9. 一种设备,其特征在于,所述设备包括:
    一个或多个处理器;
    存储器,用于存储一个或多个程序,
    当所述一个或多个程序被所述一个或多个处理器执行时,使得所述一个或多个处理器执行如权利要求1-8中任一项所述的方法。
  10. 一种存储有计算机程序的存储介质,其特征在于,该程序被 处理器执行时实现如权利要求1-8中任一项所述的方法。
PCT/CN2020/124473 2019-11-14 2020-10-28 随机数生成方法、游戏方法、设备和存储介质 WO2021093590A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911110006.3 2019-11-14
CN201911110006.3A CN111008004A (zh) 2019-11-14 2019-11-14 随机数生成方法、游戏方法、设备和存储介质

Publications (1)

Publication Number Publication Date
WO2021093590A1 true WO2021093590A1 (zh) 2021-05-20

Family

ID=70112010

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/124473 WO2021093590A1 (zh) 2019-11-14 2020-10-28 随机数生成方法、游戏方法、设备和存储介质

Country Status (2)

Country Link
CN (1) CN111008004A (zh)
WO (1) WO2021093590A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111008004A (zh) * 2019-11-14 2020-04-14 杭州复杂美科技有限公司 随机数生成方法、游戏方法、设备和存储介质

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101360101A (zh) * 2008-09-09 2009-02-04 宁波三星电气股份有限公司 远程抄表系统的数据传输方法
CN101980241A (zh) * 2010-10-27 2011-02-23 北京握奇数据系统有限公司 一种射频标签认证的方法、系统及装置
CN102932318A (zh) * 2011-08-10 2013-02-13 华为技术有限公司 一种双向转发检测会话的验证方法及节点
CN103248615A (zh) * 2012-02-10 2013-08-14 中国移动通信集团公司 一种互联游戏的实现方法、终端、服务器及系统
CN103618593A (zh) * 2013-11-19 2014-03-05 南京信息工程大学 体域网中加强的传感器安全附着和密钥管理方法
CN107172016A (zh) * 2017-04-25 2017-09-15 中国联合网络通信集团有限公司 安全信任处理方法及装置
CN109064169A (zh) * 2018-07-13 2018-12-21 杭州复杂美科技有限公司 交易方法、设备和存储介质
CN111008004A (zh) * 2019-11-14 2020-04-14 杭州复杂美科技有限公司 随机数生成方法、游戏方法、设备和存储介质

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109558112B (zh) * 2018-11-14 2020-08-14 杭州复杂美科技有限公司 随机数生成方法、防作弊区块链系统、设备和存储介质
US10867474B2 (en) * 2018-12-20 2020-12-15 Min Yi Online gaming platform integrated with multiple virtual currencies
CN109727009B (zh) * 2019-01-28 2023-11-24 杭州复杂美科技有限公司 红包处理方法、设备和存储介质
CN110430045B (zh) * 2019-07-17 2021-10-01 上海朝夕网络技术有限公司 一种基于分布式共识算法的随机数生成方法

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101360101A (zh) * 2008-09-09 2009-02-04 宁波三星电气股份有限公司 远程抄表系统的数据传输方法
CN101980241A (zh) * 2010-10-27 2011-02-23 北京握奇数据系统有限公司 一种射频标签认证的方法、系统及装置
CN102932318A (zh) * 2011-08-10 2013-02-13 华为技术有限公司 一种双向转发检测会话的验证方法及节点
CN103248615A (zh) * 2012-02-10 2013-08-14 中国移动通信集团公司 一种互联游戏的实现方法、终端、服务器及系统
CN103618593A (zh) * 2013-11-19 2014-03-05 南京信息工程大学 体域网中加强的传感器安全附着和密钥管理方法
CN107172016A (zh) * 2017-04-25 2017-09-15 中国联合网络通信集团有限公司 安全信任处理方法及装置
CN109064169A (zh) * 2018-07-13 2018-12-21 杭州复杂美科技有限公司 交易方法、设备和存储介质
CN111008004A (zh) * 2019-11-14 2020-04-14 杭州复杂美科技有限公司 随机数生成方法、游戏方法、设备和存储介质

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
WU MING SHI: "How should newcomers choose a server-side development language or framework for quiz and battle-type mobile games?", 6 January 2014 (2014-01-06), XP055812283, Retrieved from the Internet <URL:https://www.zhihu.com/question/22242975> *

Also Published As

Publication number Publication date
CN111008004A (zh) 2020-04-14

Similar Documents

Publication Publication Date Title
KR102417067B1 (ko) 블록 체인 네트워크의 노드에서 수행되는 블록 생성 방법 및 장치
TWI828857B (zh) 在區塊鏈網路上實施轉移之電腦實施系統及方法
US11734260B2 (en) Methods and apparatus for a distributed database within a network
US9646029B1 (en) Methods and apparatus for a distributed database within a network
US11871485B2 (en) Verification of interactions system and method
JP6518838B6 (ja) ネットワーク内の分散データベースのための方法及び装置
Altman et al. Mining competition in a multi-cryptocurrency ecosystem at the network edge: A congestion game approach
US20200250655A1 (en) Efficient, environmental and consumer friendly consensus method for cryptographic transactions
WO2022206454A1 (zh) 提供跨链消息的方法和装置
CN112348518B (zh) 一种区块链交易证明的方法及装置
US20240031150A1 (en) Data processing method and apparatus, computer device and computer storage medium
WO2021093590A1 (zh) 随机数生成方法、游戏方法、设备和存储介质
WO2021009528A1 (en) Cryptographic pseudonym mapping method, computer system, computer program and computer-readable medium
CN110351297A (zh) 一种应用于区块链的验证方法及装置
US20200202016A1 (en) Blockchain authorization
Sun et al. Public data integrity auditing without homomorphic authenticators from indistinguishability obfuscation
CN112116473A (zh) 跨链公证人机制评价系统和平台
TW202316844A (zh) 鎖定腳本傳播技術
WO2023102574A1 (en) Methods for verifying database query results and devices thereof
KR102518634B1 (ko) 트랜잭션 처리 속도 향상이 가능한 블록체인 합의 시스템 및 방법
KR20220056036A (ko) 일반 연산 검증용 영지식 증명 서킷 기반 가상머신을 구현하기 위한 거래 수행장치
CN111290733A (zh) 结算方法、设备和存储介质
Vijayakumaran The security of the bitcoin protocol
CN114827074B (zh) 社交消息处理方法、装置、服务器、终端及介质
CN113032816B (zh) 加密文件搜索方法、装置和计算机可读介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20887914

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20887914

Country of ref document: EP

Kind code of ref document: A1