Pumping card probability determination method, device, equipment and medium in game

文档序号:1741655 发布日期:2019-11-26 浏览:23次 中文

阅读说明:本技术 游戏中抽卡概率确定方法、装置、设备和介质 (Pumping card probability determination method, device, equipment and medium in game ) 是由 柯珊虹 于 2019-08-26 设计创作,主要内容包括:本申请提供了一种游戏中抽卡概率确定方法、装置、设备和介质,本申请涉及电子游戏技术领域。该游戏中抽卡概率确定方法包括:通过在终端的处理器上执行软件应用并在终端的显示器上渲染得到图形用户界面,图形用户界面所显示的游戏界面中至少包含一抽卡界面,抽卡界面包括裁切区域,裁切区域内显示有目标模型,方法包括:响应作用于裁切区域的触控操作,根据触控操作在裁切区域内确定一裁切图形。根据目标模型和裁切图形确定抽卡概率。由于需要用户通过触控操作在裁切区域中裁切得到裁切图形,且根据裁切图形与目标模型确定抽卡概率,使得抽卡概率与用户操作相关,增强了游戏与用户的互动,进而增加游戏体验感及趣味性。(This application provides pumping card probability determination method, device, equipment and media in a kind of game, and this application involves video game technology fields.Pumping card probability determination method includes: to obtain graphic user interface by executing software application on the processor of terminal and rendering on a display of the terminal in the game, a pumping card interface is included at least in interface shown by graphic user interface, pumping card interface includes cropped area, object module is shown in cropped area, method includes: the touch control operation that response acts on cropped area, determines that one cuts figure in cropped area according to touch control operation.According to object module and cuts figure and determine pumping card probability.Due to needing user to cut to obtain in cropped area to cut figure by touch control operation, and pumping card probability is determined with object module according to figure is cut, so that pumping card probability is related to user's operation, interacting for game and user is enhanced, and then increase game experiencing sense and interest.)

1. pumping card probability determination method in a kind of game, which is characterized in that by executing software application on the processor of terminal And rendered on the display of the terminal and obtain graphic user interface, in interface shown by the graphic user interface Including at least a pumping card interface, the pumping card interface includes cropped area, and object module is shown in the cropped area, described Method includes:

Response acts on the touch control operation of the cropped area, determines that one cuts out in the cropped area according to the touch control operation Cut figure;

Pumping card probability is determined according to the object module and the figure that cuts.

2. the method according to claim 1, wherein described according to the object module and described to cut figure true Determine pumping card probability, comprising:

The similarity of figure Yu the object module is cut described in acquisition;

Pumping card probability is determined according to the similarity.

3. according to the method described in claim 2, it is characterized in that, cutting figure and the object module described in the acquisition Similarity, comprising:

The object edge track for cutting edge track and the object module of figure is cut described in acquisition;

The edge similar degree of edge track and the object edge track is cut described in determination.

4. according to the method described in claim 3, it is characterized in that, cutting edge track and the target side described in the determination The edge similar degree of edge track, comprising:

Edge track is cut described in acquisition in the first scoring values of the cropped area and the edge track that cuts in institute State the second scoring values in the region of object edge track;

According to first scoring values and second scoring values, the similarity is obtained.

5. according to the method described in claim 4, it is characterized in that, the cropped area includes: multiple blocks;Wherein, in institute It states in cropped area, the block of the object edge track covering is effective block, the unlapped area in object edge track Block is invalid block;

Edge track is cut described in the acquisition in the first scoring values of the cropped area and described cuts edge track The second scoring values in the region of the object edge track, comprising:

According to the number of the effective block for cutting the covering of edge track, described cut the unlapped invalid block in edge track Number and the cropped area total block counts, obtain first scoring values;

According to the total number of the number of the effective block for cutting the covering of edge track and effective block in the cropped area, Obtain second scoring values.

6. according to the method described in claim 4, it is characterized in that, described obtain according to first scoring values and described second Fractional value obtains the similarity, comprising:

If first scoring values are less than second scoring values, using first scoring values as described similar Degree;

If first scoring values are greater than second scoring values, using second scoring values as described similar Degree;

If first scoring values are equal to second scoring values, by first scoring values or second score Numerical value is as the similarity.

7. according to the described in any item methods of claim 2-6, which is characterized in that it is described according to the similarity, determine pumping card Probability, comprising:

According to preset baseline probability, the similarity and default floating probable range, the pumping card probability is determined.

8. any method in -6 according to claim 1, which is characterized in that the touch control operation is slide, described The touch control operation that response acts on the cropped area determines that one cuts figure in the cropped area, comprising:

The slide is responded, the starting point of the slide, the slide are obtained in the cropped area The end point of sliding trace and the slide;Wherein, the starting point is overlapped with the end point, then the sliding rail Mark is that closing track or the starting point are not overlapped with the end point, then the sliding trace and the starting point and institute The lines stated between end point form the closing track;

Figure is cut according to the determination of the closing track.

9. according to the method described in claim 8, it is characterized in that, according to the closing track determine described in cut figure, wrap It includes:

The smallest figure of area that the closing track surrounds is cut into figure as described in.

10. according to the method described in claim 8, it is characterized in that, according to the closing track determine described in cut figure, wrap It includes:

The maximum figure of area that the closing track surrounds is cut into figure as described in.

11. pumping card determine the probability device in a kind of game, which is characterized in that by executing software application on the processor of terminal And rendered on the display of the terminal and obtain graphic user interface, in interface shown by the graphic user interface Including at least a pumping card interface, the pumping card interface includes cropped area, and object module is shown in the cropped area, described Device includes:

Determining module is cut according to the touch control operation described for responding the touch control operation for acting on the cropped area Determine that one cuts figure in region;

The determining module is also used to determine pumping card probability according to the object module and the figure that cuts.

12. pumping card determine the probability equipment in a kind of game characterized by comprising processor, storage medium and bus, it is described Storage medium is stored with the executable machine readable instructions of the processor, when pumping card determine the probability equipment is run in game, By bus communication between the processor and the storage medium, the processor executes the machine readable instructions, to hold In row game as described in any one of claim 1 to 10 the step of pumping card probability determination method.

13. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program, the computer program executes pumping card in game as described in any one of claim 1 to 10 when being run by processor general Rate determines the step of method.

Technical field

The present invention relates to video game technology fields, in particular to pumping card probability determination method, dress in a kind of game It sets, equipment and medium.

Background technique

In game application, pumping card is a kind of function for promotion user game experiencing that gaming platform provides.

Current game application, the degree of scarcity of the game resource according to obtained by pumping card, provided with different pumping cards Probability.When pumping card, in preset probabilistic settings table, it is general that the corresponding pumping card of the user can be obtained according to the game attributes of user Rate determines whether the user obtains game resource then according to pumping card probability.

But pumping card probability is only related to the game attributes of user in the prior art, user game attributes correlation not In the case where change, pumping card probability is usually fixed, acquired in game resource be also fixed, long-time pumping card meeting mostly So that user is generated feeling of fatigue, causes game experiencing sense and interest insufficient.

Summary of the invention

In view of this, the purpose of the present invention is to provide pumping card probability determination method, device, equipment and medium in game, To improve sense of participation of the user in pumping card, and then increase game experiencing sense and interest.

In a first aspect, the embodiment of the present invention provides pumping card probability determination method in a kind of game, pass through the processing in terminal Software application is executed on device and is rendered on a display of the terminal obtains graphic user interface, trip shown by graphic user interface Play includes at least a pumping card interface in interface, and pumping card interface includes cropped area, and object module, method are shown in cropped area Include: the touch control operation that response acts on cropped area, determines that one cuts figure in cropped area according to touch control operation.According to It object module and cuts figure and determines pumping card probability.

In alternative embodiments, it according to object module and cuts figure and determines pumping card probability, comprising: acquisition cuts figure The similarity of shape and object module.Pumping card probability is determined according to similarity.

In alternative embodiments, the similarity for cutting figure and object module is obtained, comprising: acquisition cuts figure Cut the object edge track of edge track and object module.It is similar with the edge of object edge track that determination cuts edge track Degree.

In alternative embodiments, the edge similar degree for cutting edge track and object edge track is determined, comprising: obtain It takes and cuts edge track in the first scoring values of cropped area, and cut edge track in object edge track region The second interior scoring values.According to the first scoring values and the second scoring values, similarity is obtained.

In alternative embodiments, cropped area includes: multiple blocks;Wherein, in cropped area, object edge rail The block of mark covering is effective block, and the unlapped block in object edge track is invalid block.

Acquisition cuts edge track in the first scoring values of cropped area, and cuts edge track in object edge rail The second scoring values in mark region, comprising: according to the number for the effective block for cutting the covering of edge track, cut edge The number of the unlapped invalid block in track and total block counts of cropped area obtain the first scoring values.According to cutting edge The total number of effective block, obtains the second scoring values in the number and cropped area of the effective block of edge track covering.

In alternative embodiments, according to the first scoring values and the second scoring values, similarity is obtained, comprising: if First scoring values are less than the second scoring values, then using the first scoring values as similarity.If the first scoring values are greater than the Two scoring values, then using the second scoring values as similarity.If the first scoring values are equal to the second scoring values, by first Scoring values or the second scoring values are as similarity.

In alternative embodiments, according to similarity, pumping card probability is determined, comprising: according to preset baseline probability, phase Like degree and default floating probable range, pumping card probability is determined.

In alternative embodiments, touch control operation is slide, and response acts on the touch control operation of cropped area, In In cropped area, determine that one cuts figure, comprising: response slide, in cropped area obtain slide starting point, The sliding trace of slide and the end point of slide.Wherein, starting point is overlapped with end point, then sliding trace is envelope It closes track or starting point and is not overlapped with end point, then the lines between sliding trace and starting point and end point form closing Track.Figure is cut according to the determination of closing track.

In alternative embodiments, figure is cut according to the determination of closing track, comprising: the area for surrounding closing track The smallest figure is used as and cuts figure.

In alternative embodiments, figure is cut according to the determination of closing track, comprising: the area for surrounding closing track Maximum figure is used as and cuts figure.

Second aspect, the embodiment of the present invention provide pumping card determine the probability device in a kind of game, pass through the processing in terminal Software application is executed on device and is rendered on a display of the terminal obtains graphic user interface, trip shown by graphic user interface Play includes at least a pumping card interface in interface, and pumping card interface includes cropped area, and object module, device are shown in cropped area Include:

Determining module, it is true in cropped area according to touch control operation for responding the touch control operation for acting on cropped area Fixed one cuts figure;

Determining module is also used to according to object module and cuts figure and determine pumping card probability.

In alternative embodiments, determining module cuts the similarity of figure and object module specifically for obtaining.Root Pumping card probability is determined according to similarity.

In alternative embodiments, determining module, specifically for obtain cut figure cut edge track and target The object edge track of model.Determine the edge similar degree for cutting edge track and object edge track.

In alternative embodiments, determining module cuts edge track the first of cropped area specifically for obtaining Scoring values, and cut second scoring values of the edge track in the region of object edge track.According to the first score Numerical value and the second scoring values obtain similarity.

In alternative embodiments, cropped area includes: multiple blocks;Wherein, in cropped area, object edge rail The block of mark covering is effective block, and the unlapped block in object edge track is invalid block.

Pumping card determine the probability device in the game further include: obtain module, cut having for edge track covering for basis It imitates the number of block, cut the number of the unlapped invalid block in edge track and total block counts of cropped area, obtain the One scoring values.According to the total number of the number for the effective block for cutting the covering of edge track and effective block in cropped area, Obtain the second scoring values.

In alternative embodiments, module is obtained, if being also used to the first scoring values less than the second scoring values, is incited somebody to action First scoring values are as similarity.If the first scoring values are greater than the second scoring values, using the second scoring values as phase Like degree.If the first scoring values are equal to the second scoring values, using the first scoring values or the second scoring values as similarity.

In alternative embodiments, determining module is specifically used for according to preset baseline probability, similarity and pre- If floating probable range determines pumping card probability.

In alternative embodiments, touch control operation is slide, and determining module is specifically used for response slide, Starting point, the sliding trace of slide and the end point of slide of slide are obtained in cropped area;Wherein, Starting point is overlapped with end point, then sliding trace be closing track or starting point be not overlapped with end point, then sliding trace, with And the lines composition closing track between starting point and end point.Figure is cut according to the determination of closing track.

In alternative embodiments, determining module is made specifically for that will close the smallest figure of area that track surrounds To cut figure.

In alternative embodiments, determining module is made specifically for that will close the maximum figure of area that track surrounds To cut figure.

The third aspect, the embodiment of the present invention provide pumping card determine the probability equipment in a kind of game, comprising: processor, storage Medium and bus, storage medium is stored with the executable machine readable instructions of processor, when pumping card determine the probability equipment in game When operation, by bus communication between processor and storage medium, processor executes machine readable instructions, to execute such as aforementioned reality The step of applying pumping card probability determination method in the game of any one of mode.

Fourth aspect, the embodiment of the present invention provide a kind of computer readable storage medium, on computer readable storage medium It is stored with computer program, pumping card in the game such as any one of aforementioned embodiments is executed when computer program is run by processor The step of probability determination method.

Pumping card probability determination method, device, equipment and computer-readable storage medium in game provided in an embodiment of the present invention Matter, using response touch control operation obtain cut figure and object module determines pumping card probability, and in the prior art according to user Game attributes determine that pumping card probability is compared, due to needing user to cut to obtain in cropped area to cut figure by touch control operation Shape, and pumping card probability is determined with object module according to figure is cut, so that pumping card probability is related to user's operation, enhance game With interacting for user, and then increase game experiencing sense and interest.

To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate Appended attached drawing, is described in detail below.

Detailed description of the invention

In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.

Fig. 1 shows the application scenarios schematic diagram of pumping card probability determination method in game provided by the embodiment of the present invention;

Fig. 2 shows the application scenarios of pumping card probability determination method in another kind game provided by the embodiment of the present invention to show It is intended to;

Fig. 3 shows the flow chart of pumping card probability determination method in game provided by the embodiment of the present invention;

Fig. 4 shows the flow chart of pumping card probability determination method in another kind game provided by the embodiment of the present invention;

Fig. 5 shows the flow chart of pumping card probability determination method in another kind game provided by the embodiment of the present invention;

Fig. 6 shows the flow chart of pumping card probability determination method in another kind game provided by the embodiment of the present invention;

Fig. 7 shows the flow chart of pumping card probability determination method in another kind game provided by the embodiment of the present invention;

Fig. 8 is shown in game provided by the embodiment of the present invention in pumping card probability determination method according to the first scoring values With the second scoring values, the schematic diagram of a scenario of similarity is obtained;

Fig. 9 is shown in game provided by the embodiment of the present invention in pumping card probability determination method according to the first scoring values With the second scoring values, another schematic diagram of a scenario of similarity is obtained;

Figure 10 shows the flow chart of pumping card probability determination method in another kind game provided by the embodiment of the present invention;

Figure 11 shows the structural schematic diagram of pumping card determine the probability device in game provided by the embodiment of the present invention;

Figure 12 shows the structural representation of pumping card determine the probability device in another kind game provided by the embodiment of the present invention Figure;

Figure 13 shows the structural schematic diagram of pumping card determine the probability equipment in game provided by the embodiment of the present invention.

Specific embodiment

In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention Middle attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only It is a part of the embodiment of the present invention, instead of all the embodiments.The present invention being usually described and illustrated herein in the accompanying drawings is real The component for applying example can be arranged and be designed with a variety of different configurations.Therefore, of the invention to what is provided in the accompanying drawings below The detailed description of embodiment is not intended to limit the range of claimed invention, but is merely representative of selected reality of the invention Apply example.Based on the embodiment of the present invention, those skilled in the art institute obtained without making creative work There are other embodiments, shall fall within the protection scope of the present invention.

Fig. 1 shows the application scenarios schematic diagram of pumping card probability determination method in game provided by the embodiment of the present invention, Fig. 2 shows the application scenarios schematic diagram of pumping card probability determination method in another kind game provided by the embodiment of the present invention, Fig. 3 Show the flow chart of pumping card probability determination method in game provided by the embodiment of the present invention.

As shown in Figure 1 and Figure 2, by executing software application on the processor of terminal and rendering on a display of the terminal Graphic user interface 101 is obtained, includes at least a pumping card interface, pumping card in interface shown by graphic user interface 101 Interface includes cropped area 102, and object module 103 is shown in cropped area 102.The cropped area can be pumping card interface Part display area or the display area of whole.If part display area, which can be for example pumping card interface 50% or 90% etc., the application is not to this limitation.Wherein, software application for example can be game application.The application institute The terminal being related to can be smart phone, tablet computer etc. with touch function, and the terminal of mountable game application needs Illustrate, games are also possible to run on server, complete the relevant data processing of game by server, terminal is made The data sent for display equipment display server are formed by picture, and still, those skilled in the art will be appreciated that, this method Terminal is also possible to desktop computer, laptop etc., if terminal device does not have touch function, can be used as mouse, The control modes such as touch tablet, trace ball simulate touch control operation, to realize method provided herein.

Wherein, pumping card refers in gaming, consumes specific resource, by way of randomly selecting, obtains game internal weakness The operation of quasi- resource, for example, can be taken out by consuming the point certificate in user's game account, gold coin, diamond or limiting the resources such as stage property Virtual equipment, virtual portrait, virtual fashion or virtual skin etc. are taken, but not limited to this.

Based on above-mentioned scene, as shown in figure 3, pumping card probability determination method in game can include:

S210, response act on the touch control operation of cropped area, determine that one cuts in cropped area according to touch control operation Figure.

It, can be according to the target being shown in cropped area after user starts the operational order of pumping card in some embodiments Model is cut in cropped area by touch control operation, the virtual resource of acquisition is shown after the completion of cutting, on interface Type and quantity.

Wherein, cropped area can be adjusted according to the type of object module, which for example can be any Figure, such as humanoid textures or other shapes of textures., can be by people for example, if object module is matched with human-like textures More than type textures neck region is as cropped area, alternatively, can in graphical user interfaces, showing one can be cut The textures of material, for example, the materials such as the scraps of paper, plank, slabstone, and using the display area of textures as cropped area, cutting area Complete object module is shown in domain.It is corresponding, the touch control operation can be corresponded in the touch control operation for receiving input, In cropped area on a graphical user interface, display virtually cuts tool, for example, if virtual material is the scraps of paper, it is virtual to cut out Cutting tool can be scissors, if virtual material is plank, virtually cutting tool can be saw, herein with no restrictions.

In some embodiments, touch control operation may include slide, clicking operation, pressing operation, gesture operation etc., For example, can determine by slide in the boundary slip of object module and cut figure, or pass through clicking operation or pressing Operation determines multiple characteristic points at object module edge, and multiple characteristic point connection compositions cut figure etc., and but not limited to this.

S220, it according to object module and cuts figure and determines pumping card probability.

In some embodiments, pumping card probability can be the acquisition probability with virtual resource representated by object module, example Such as, if object module is some virtual role, pumping card probability refers to the probability for obtaining the virtual role, in pumping card, according to this Whether pumping card determine the probability is drawn, if drawing, obtains the virtual role, if not drawing, can obtain related to the virtual role Virtual item, or resource needed for obtaining pumping card or do not obtain any resource, herein with no restrictions.

Pumping card probability determination method in game provided in an embodiment of the present invention cuts figure using what response touch control operation obtained Shape and object module determine pumping card probability, due to needing user to cut to obtain in cropped area to cut figure by touch control operation Shape, and pumping card probability is determined with object module according to figure is cut, so that pumping card probability is related to user's operation, enhance game With interacting for user, and then increase game experiencing sense and interest.

Fig. 4 shows the flow chart of pumping card probability determination method in another kind game provided by the embodiment of the present invention.

In alternative embodiments, as shown in figure 4, in alternative embodiments, according to object module and cutting figure Shape determines pumping card probability, it may include:

S221, acquisition cut the similarity of figure and object module.

In some embodiments, cutting figure is to be obtained according to the touch control operation of user, therefore it can not be with target mould Type agrees with completely, here, can to cut the similarity of figure and object module, as a condition for determining pumping card probability, For example, similarity is higher, pumping card probability can be higher.

Optionally, with reference to the example in S210, tool virtually is cut to be preset if cutting tool, can will cut rail Mark amendment, close to object module, to improve the similarity for cutting figure and object module.For example, virtual material is the scraps of paper, if empty The quasi- tool that cuts is scissors, then does not correct;If virtually cutting tool is paper knife, track correct can will be cut, close to mesh Mark model.

S222, pumping card probability is determined according to similarity.

In some embodiments, preset baseline probability can be adjusted by similarity, determine pumping card probability, it can also be with After directly similarity is converted, as pumping card probability, herein with no restrictions.

In alternative embodiments, pumping card probability is determined according to similarity, it may include:

According to preset baseline probability, similarity and default floating probable range, pumping card probability is determined.

In some embodiments, pumping card probability can be determined with according to the following formula one:

Pumping card probability=baseline probability+(similarity -50) 50 × floating of ÷ probable range (formula one)

For example, floating probable range is -0.1~0.1, then pumping card probability is similar if the range of similarity is 0~100 When degree is 0, decline 0.1 on the basis of baseline probability, floats 0.1, In on the basis of when similarity is 100 in baseline probability When similarity is 50, pumping card probability is equal to baseline probability.

Optionally, baseline probability can be the material type according to shown in game attributes, S210 example, sanction when cutting At least one of factors such as duration are cut, the matched baseline probability in probabilistic settings table, for example, when other conditions are identical, In probabilistic settings table, virtual material be the matched baseline probability of plank be greater than virtual material be the matched baseline probability of the scraps of paper; Alternatively, the used time cut every time is not identical if repeatedly cut, then it is short to cut the used time, or cuts the used time close to default Used time, matched baseline probability is higher.

In the present embodiment, the similarity of figure and object module is cut by acquisition and determines that pumping card is general according to similarity Rate more efficiently links together the operation of user and pumping card probability, and the operation of user directly decides pumping card probability, increases Game experiencing sense and interest are added.

Fig. 5 shows the flow chart of pumping card probability determination method in another kind game provided by the embodiment of the present invention.In In optional embodiment, as shown in figure 5, obtaining the similarity for cutting figure and object module, it may include:

S2211, acquisition cut the object edge track for cutting edge track and object module of figure.

It, can be using the profile for cutting figure as edge track is cut, by the profile of object module in some embodiments As object edge track.

S2212, the edge similar degree for cutting edge track and object edge track is determined.

Wherein, edge similar degree is the specified coincidence degree for cutting edge track and object edge track, the degree of coincidence Higher, edge similar degree is higher.

In the present embodiment, side is obtained by cutting the object edge track for cutting edge track and object module of figure Edge similarity can more accurately assess that cut figure similar to object module as the similarity for determining pumping card probability Degree, and then be more efficiently operatively coupled to pumping card probability and user together.

Fig. 6 shows the flow chart of pumping card probability determination method in another kind game provided by the embodiment of the present invention.

In alternative embodiments, the edge similar degree for cutting edge track and object edge track is determined, comprising:

S2212a, acquisition cut edge track in the first scoring values of cropped area, and cut edge track in mesh Mark the second scoring values in the region of edge track.

Wherein, the first scoring values can be used to indicate that the scoring values for cutting edge track in cropped area, be used for Evaluation cut edge track in cropped area with the similarity of object module;Second scoring values can be used to indicate that cutting edge Scoring values of the edge track in object module, for evaluating the similarity for cutting edge rail and object module.

Fig. 7 shows the flow chart of pumping card probability determination method in another kind game provided by the embodiment of the present invention, Fig. 8 It shows in game provided by the embodiment of the present invention in pumping card probability determination method according to the first scoring values and the second score Numerical value, obtains the schematic diagram of a scenario of similarity, and Fig. 9 shows pumping card determine the probability side in game provided by the embodiment of the present invention According to the first scoring values and the second scoring values in method, another schematic diagram of a scenario of similarity is obtained.

In alternative embodiments, as shown in figure 8, cropped area 102 includes: multiple blocks;Wherein, in cropped area In 102, including object module 103, the block of the object edge track covering of object module 103 is effective block, object module The 103 unlapped block in object edge track is invalid block.Wherein it is possible to by effective block label 1, invalid block label It is 0, but not limited to this.

Based on this, edge track is cut in the first scoring values and cutting edge of cropped area as shown in fig. 7, obtaining Second scoring values of the edge track in the region of object edge track, comprising:

S2212a1, according to the number of the effective block for cutting the covering of edge track, to cut edge track unlapped invalid The number of block and total block counts of cropped area obtain the first scoring values.

In some embodiments, the first scoring values can be calculated with according to the following formula two:

First scoring values=(cut the unlapped invalid number of blocks in edge track+cut having for edge track covering Imitate number of blocks) ÷ block sum × 100 (formula two)

Wherein, the effective block quantity for cutting the covering of edge track is more, and cuts the invalid block of edge track covering Quantity is fewer, then the first scoring values are higher.

For example, the solid line representative in Fig. 9 cuts edge track, and it is 1 that acquisition, which cuts edge track overlay marks, with reference to Fig. 9 Block quantity, as the effective block quantity for cutting the covering of edge track, obtaining and cutting edge track overlay marks is 0 The quantity of block, block sum subtract the sum of effective block, then subtract the number for cutting the block that edge track overlay marks are 0 Amount is to get to cutting the unlapped invalid number of blocks in edge track.

S2212a2, according to the total of the number of the effective block for cutting the covering of edge track and effective block in cropped area Number obtains the second scoring values.

In some embodiments, the first scoring values can be calculated with according to the following formula three:

Second scoring values=cut effective block quantity ÷ effective block sum × 100 that edge track covers

(formula three)

Wherein, the effective block quantity for cutting the covering of edge track is more, then the second scoring values are higher.

For example, effective block sum is the sum of all blocks of object module covering with reference to Fig. 9, i.e., all labels are Number of blocks, then obtain cut edge track overlay marks be 1 block quantity, as cut edge track covering have Imitate number of blocks.

S2212b, according to the first scoring values and the second scoring values, obtain similarity.

In some embodiments, similarity is obtained according to the first fractional value and the second fractional value, it can be there are many mode.Example Such as, the conduct similarity that numerical value in the first scoring values and the second scoring values is big, or by the first scoring values and second The small conduct similarity of numerical value, the first scoring values and the second scoring values can also be averaged in scoring values, will be put down Mean value is as similarity, herein with no restrictions.

In alternative embodiments, according to the first scoring values and the second scoring values, similarity is obtained, comprising:

If the first scoring values are less than the second scoring values, using the first scoring values as similarity;

If the first scoring values are greater than the second scoring values, using the second scoring values as similarity;

If the first scoring values are equal to the second scoring values, using the first scoring values or the second scoring values as similar Degree.

In the present embodiment, edge track is cut in the first scoring values and cutting edge of cropped area by obtaining Second scoring values of the edge track in the region of object edge track, and according to the first scoring values and the second goals for Value obtains similarity, so that similarity is accurately calculated, and then the correlation of the pumping card probability adjusted and user's operation is more Height increases user experience.

Figure 10 shows the flow chart of pumping card probability determination method in another kind game provided by the embodiment of the present invention.

In alternative embodiments, touch control operation can be slide, and as shown in Figure 10, response, which acts on, cuts area The touch control operation in domain determines that one cuts figure in cropped area, it may include:

S211, response slide, obtain the starting point of slide, the sliding trace of slide in cropped area And the end point of slide.

Wherein, starting point is overlapped with end point, then sliding trace is that closing track or starting point are not overlapped with end point, The then lines composition closing track between sliding trace and starting point and end point.

In some embodiments, cropped area is determined according to slide, needing the track of slide is a closed orbit Therefore mark if the starting point of slide and the end point of slide are not overlapped, needs to connect the two, to form envelope Close track.

In a kind of possible embodiment, the starting point of slide can be preset starting point, for example, by target mould It is a little set as starting point in type, after user touches display, the touch track of user is linked into the starting point, then root The sliding trace of slide is obtained according to the slide of user;Likewise, the end point of slide be also possible to it is preset End point, for example, by end point is a little set as in object module, after user stops touching display, by sliding trace End be connected to the end point, wherein the starting point of slide can be overlapped with the end point of slide.

S212, figure is cut according to the determination of closing track.

In some embodiments, if overlapping region is not present in closing track, will closing track directly as cutting figure, If closing track, there are overlapping regions, different scenes when according to pumping card, different mode determinations is selected to cut figure.

In alternative embodiments, figure is cut according to the determination of closing track, comprising: the area for surrounding closing track The smallest figure is used as and cuts figure.

Wherein it is possible to which determination cuts figure in the form of imitating paper-cut, for example, if there are overlay regions in the closing track Domain then will only retain the overlapping region, as cutting figure;Multiple overlapping regions if it exists, then by multiple overlapping regions it Between there are the reservations of connection relationship that is, in the form of imitating paper-cut, other underlapped regions to be cut as figure is cut.

In alternative embodiments, figure is cut according to the determination of closing track, comprising: the area for surrounding closing track Maximum figure is used as and cuts figure.

Wherein it is possible to cut figure as this for the whole region that track is covered is closed, that is, do not consider to close in track Portion cuts track, only to close the profile of track, as the profile cut.

Figure 11 shows the structural schematic diagram of pumping card determine the probability device in game provided by the embodiment of the present invention.

As shown in figure 11, pumping card determine the probability device in game, by executing software application simultaneously on the processor of terminal Rendering obtains graphic user interface on a display of the terminal, includes at least one in interface shown by graphic user interface Pumping card interface, pumping card interface include cropped area, object module are shown in cropped area, device includes:

Determining module 301, for responding the touch control operation for acting on cropped area, according to touch control operation in cropped area Determine that one cuts figure.

Determining module 301 is also used to according to object module and cuts figure and determine pumping card probability.

In alternative embodiments, it is similar to object module to cut figure specifically for acquisition for determining module 301 Degree.Pumping card probability is determined according to similarity.

In alternative embodiments, determining module 301, specifically for obtain cut figure cut edge track and mesh Mark the object edge track of model.Determine the edge similar degree for cutting edge track and object edge track.

In alternative embodiments, determining module 301 cut edge track the of cropped area specifically for obtaining One scoring values, and cut second scoring values of the edge track in the region of object edge track.It is obtained according to first Fractional value and the second scoring values obtain similarity.

Figure 12 shows the structural representation of pumping card determine the probability device in another kind game provided by the embodiment of the present invention Figure.

In alternative embodiments, cropped area includes: multiple blocks;Wherein, in cropped area, object module covers The block of lid is effective block, and the unlapped block of object module is invalid block.

As shown in figure 12, pumping card determine the probability device in the game further include: module 302 is obtained, for according to cutting edge The number of the effective block of edge track covering, the number for cutting the unlapped invalid block in edge track and cropped area Total block counts obtain the first scoring values.According to cut edge track covering effective block number and cropped area in have The total number of block is imitated, the second scoring values are obtained.

In alternative embodiments, module 302 is obtained, if being also used to the first scoring values less than the second scoring values, Then using the first scoring values as similarity.If the first scoring values are greater than the second scoring values, the second scoring values are made For similarity.If the first scoring values are equal to the second scoring values, using the first scoring values or the second scoring values as phase Like degree.

In alternative embodiments, determining module 301, be specifically used for according to preset baseline probability, similarity and Default floating probable range, determines pumping card probability.

In alternative embodiments, touch control operation can be slide, and determining module 301 is specifically used for response and slides Dynamic operation, obtains the end of the starting point of slide, the sliding trace and slide of slide in cropped area Point;Wherein, starting point is overlapped with end point, then sliding trace is that closing track or starting point are not overlapped with end point, then is slided Lines composition closing track between track and starting point and end point.Figure is cut according to the determination of closing track.

In alternative embodiments, determining module 301, specifically for the smallest figure of area that track surrounds will be closed As cutting figure.

In alternative embodiments, determining module 301, specifically for the maximum figure of area that track surrounds will be closed As cutting figure.

The method that above-mentioned apparatus is used to execute previous embodiment offer, it is similar that the realization principle and technical effect are similar, herein not It repeats again.

The above module can be arranged to implement one or more integrated circuits of above method, such as: one Or multiple specific integrated circuits (Application Specific Integrated Circuit, abbreviation ASIC), or, one Or multi-microprocessor (digital singnal processor, abbreviation DSP), or, one or more field programmable gate Array (Field Programmable Gate Array, abbreviation FPGA) etc..For another example, when some above module passes through processing elements When the form of part scheduler program code is realized, which can be general processor, such as central processing unit (Central Processing Unit, abbreviation CPU) or it is other can be with the processor of caller code.For another example, these modules can integrate Together, it is realized in the form of system on chip (system-on-a-chip, abbreviation SOC).

Figure 13 shows the structural schematic diagram of pumping card determine the probability equipment in game provided by the embodiment of the present invention.

In alternative embodiments, as shown in figure 13, pumping card determine the probability equipment in game, comprising: processor 401, Storage medium 402 and bus 403, storage medium 402 is stored with the executable machine readable instructions of processor 401, when in game When pumping card determine the probability equipment is run, communicated between processor 401 and storage medium 402 by bus 403, processor 401 is held Row machine readable instructions, the step of to execute pumping card probability determination method in the game such as any one of aforementioned embodiments.

Pumping card determine the probability equipment can be general purpose computer, server or mobile terminal etc. in game, not limit herein System.In game pumping card determine the probability equipment for realizing the application above method embodiment.

It should be noted that processor 401 may include one or more processing cores (for example, single core processor or multicore Processor).Only as an example, processor may include central processing unit (Central Processing Unit, CPU), specially With integrated circuit (Application Specific Integrated Circuit, ASIC), dedicated instruction set processor (Application Specific Instruction-set Processor, ASIP), graphics processing unit (Graphics Processing Unit, GPU), physical processing unit (Physics Processing Unit, PPU), digital signal processor (Digital Signal Processor, DSP), field programmable gate array (Field Programmable Gate Array, FPGA), programmable logic device (Programmable Logic Device, PLD), controller, microcontroller list Member, risc (Reduced Instruction Set Computing, RISC) or microprocessor etc. or its Any combination.

Storage medium 402 may include: including mass storage, removable memory, volatile read-write memory or Read-only memory (Read-Only Memory, ROM) etc., or any combination thereof.As an example, mass storage may include Disk, CD, solid state drive etc.;Removable memory may include flash drive, floppy disk, CD, storage card, zip disk, Tape etc.;Volatile read-write memory may include random access memory (Random Access Memory, RAM);RAM can To include dynamic ram (Dynamic Random Access Memory, DRAM), Double Data Rate synchronous dynamic ram (Double Date-Rate Synchronous RAM, DDRSDRAM);Static RAM (Static Random-Access Memory, SRAM), thyristor RAM (Thyristor-Based Random Access Memory, T-RAM) and zero capacitor RAM (Zero-RAM) etc..As an example, ROM may include mask rom (Mask Read-Only Memory, MROM), can compile Journey ROM (Programmable Read-Only Memory, PROM), erasable programmable ROM (Programmable Erasable Read-only Memory, PEROM), electrically erasable ROM (Electrically Erasable Programmable read only memory, EEPROM), CD ROM (CD-ROM) and digital versatile disk [Sony] ROM etc..

For ease of description, a processor 401 is only described in pumping card determine the probability equipment in gaming.However, answering When note that pumping card determine the probability equipment can also include multiple processors 401 in game in the application, therefore retouched in the application The step of processor stated executes can also be combined by multiple processors to be executed or is individually performed.For example, if being taken out in game The processor 401 of card determine the probability equipment executes step A and step B, then it should be understood that step A and step B can also be by two Different processors is executed jointly or is individually performed in a processor.For example, first processor execute step A, second Processor executes step B or first processor and second processor executes step A and B jointly.

In alternative embodiments, the embodiment of the present invention provides a kind of computer readable storage medium, computer-readable It is stored with computer program on storage medium, executes when computer program is run by processor such as any one of aforementioned embodiments In game the step of pumping card probability determination method.

In several embodiments provided by the present invention, it should be understood that disclosed device and method can pass through it Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be tied Another system is closed or is desirably integrated into, or some features can be ignored or not executed.Another point, it is shown or discussed Mutual coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or logical of device or unit Letter connection can be electrical property, mechanical or other forms.

The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.

It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can also add the form of SFU software functional unit to realize according to formal implementation of hardware according to hardware.

The above-mentioned integrated unit being realized in the form of SFU software functional unit can store and computer-readable deposit at one In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used for so that a computer Equipment (can be personal computer, server or the network equipment etc.) or processor (English: processor) execute this hair The part steps of bright each embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (English: Read-Only Memory, abbreviation: ROM), random access memory (English: Random Access Memory, letter Claim: RAM), the various media that can store program code such as magnetic or disk.

20页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:操作处理方法、装置、移动终端及计算机可读存储介质

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类