-
公开(公告)号:US10553062B2
公开(公告)日:2020-02-04
申请号:US15915904
申请日:2018-03-08
Applicant: Huawei Technologies Co., Ltd.
Abstract: A method for generating target winning numbers is provided. The method implemented by a first node includes: receiving, in a first period of time, n encrypted random parameters sent by n second nodes in a system, where n is a positive integer; receiving, in a second period of time, n mapping relationships and n keys that are sent by the n second nodes, where each mapping relationship is a one-to-one mapping relationship between an encrypted random parameter and a key; and decrypting, in a third period of time, the n encrypted random parameters by using the n mapping relationships and the n keys, to obtain a target random parameter set, and generating target winning numbers by using the target random parameter set, so that each node can generate the winning numbers and verify impartiality of the winning numbers, thereby increasing randomness of a random parameter.