Method and device for extracting object

The invention discloses a method and device for extracting an object, and relates to the technical field of computers. A specific embodiment of the method comprises the following steps of setting a numerical interval corresponding to each object according to an extraction probability configured for...

Full description

Saved in:
Bibliographic Details
Main Author SUN JIYE
Format Patent
LanguageChinese
English
Published 02.07.2019
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:The invention discloses a method and device for extracting an object, and relates to the technical field of computers. A specific embodiment of the method comprises the following steps of setting a numerical interval corresponding to each object according to an extraction probability configured for each object; generating a random number, and searching a numerical interval to which the random number belongs; and outputting the information of the object corresponding to the numerical interval to which the random number belongs. According to the embodiment, under the conditions of high concurrency and a large number of objects, the cost of the object extraction activity can be conveniently and accurately estimated, the object in the current extraction can be efficiently, rapidly and timely calculated, in addition, the extraction probability can be simply and conveniently configured, and the extraction probability is visual. 本发明公开了一种抽取对象的方法和装置,涉及计算机技术领域。该方法的一具体实施方式包括:根据为各对象配置的抽中概率设置各对象对应的数值区间;生成随机数,并查找所述随机数所属的数值
Bibliography:Application Number: CN201711338207