Multiple determination method and device, electronic equipment and storage medium

By determining the winning multiplier based on the number of wild cards and the hand type information, the problem of inaccurate winning multiplier determination in electronic mahjong is solved, improving accuracy and user experience.

CN116173514BActive Publication Date: 2026-04-21BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
Filing Date
2023-02-20
Publication Date
2026-04-21

AI Technical Summary

Technical Problem

In electronic mahjong games, when there is no template in the template that matches the hand information or the match is incorrect, it is impossible to accurately determine the winning multiplier.

Method used

The hand type information is determined by the number of wild cards corresponding to the hand information. In the case of a fully unfolded hand, the first possible winning hand type is used to determine the winning multiplier. In the case of a non-fully unfolded hand, the predicted second possible winning hand type and its combination are used to determine the winning multiplier.

Benefits of technology

It improves the accuracy of determining the winning hand multiplier, reduces template matching failures, and optimizes the user experience of electronic mahjong.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116173514B_ABST
    Figure CN116173514B_ABST
Patent Text Reader

Abstract

This disclosure relates to the field of computer technology, and more particularly to a method, apparatus, electronic device, and storage medium for determining multipliers. The method for determining multipliers includes: acquiring hand type information corresponding to hand information; when the hand type information indicates that the hand information is a fully unfolded hand, determining a first winning multiplier corresponding to the hand information based on at least one first possible winning hand type; when the hand type information indicates that the hand information is not a fully unfolded hand, determining a first winning multiplier corresponding to the hand information based on a second winning multiplier corresponding to at least one second possible winning hand type and a combination of winning hand types corresponding to the at least one second possible winning hand type, wherein the at least one second possible winning hand type is predicted based on the hand information. Using this disclosure can improve the accuracy of multiplier determination.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of computer technology, and in particular to a method, apparatus, electronic device, and storage medium for determining multiples. Background Technology

[0002] With the development of science and technology, the continuous advancement of electronic devices has brought great convenience to users' lives and work. Among these advancements, electronic mahjong has become a popular choice, allowing users to enjoy entertainment without leaving home. In electronic mahjong, for example, when the current hand's information matches a certain template, the winning hand value and maximum score can be directly determined. When the hand information includes wild cards, the maximum winning multiplier can be determined by comparing the remaining hand information with a preset template. Therefore, if there is no template matching the current hand information or a mismatch occurs, the winning multiplier cannot be determined, leading to inaccurate multiplier calculations. Summary of the Invention

[0003] This disclosure provides a method, apparatus, electronic device, and storage medium for determining the multiplier, to at least solve the problem in related technologies where the multiplier for winning hands cannot be determined, leading to inaccurate determination of the winning multiplier. The technical solution of this disclosure is as follows:

[0004] According to a first aspect of the present disclosure, a method for determining a multiple is provided, comprising:

[0005] The hand type information is determined based on the number of wild cards corresponding to the hand information;

[0006] When the hand information indicates that the hand information is a fully unfolded hand, the first winning multiplier corresponding to the hand information is determined based on at least one first winning hand type corresponding to the hand information;

[0007] When the hand information indicates that the hand information is not a fully unfolded hand, the first winning multiplier corresponding to the hand information is determined based on the second winning multiplier corresponding to at least one second winning hand type and the winning hand combination corresponding to the at least one second winning hand type, wherein the at least one second winning hand type is predicted based on the hand information.

[0008] Optionally, determining the first winning multiplier corresponding to the hand information based on at least one first possible winning hand type includes:

[0009] Obtain at least one first possible winning hand type corresponding to the aforementioned hand information;

[0010] Obtain the third winning hand multiplier corresponding to any one of the at least one first winning hand types;

[0011] The largest of the at least one third winning multiplier shall be taken as the first winning multiplier corresponding to the hand information.

[0012] Optionally, determining the first winning multiplier corresponding to the hand information based on the second winning multiplier corresponding to at least one second winning hand type and the winning hand type combination corresponding to the at least one second winning hand type includes:

[0013] Based on the hand information, predict at least one set of possible winning patterns corresponding to the hand information, wherein any set of possible winning patterns in the at least one set of possible winning patterns includes at least one second possible winning pattern;

[0014] Based on the mutual exclusion information corresponding to the at least one set of possible winning hands, determine the winning hand combination corresponding to the at least one set of possible winning hands;

[0015] The first winning multiplier corresponding to the hand information is determined based on the second winning multiplier corresponding to at least one second winning hand pattern in the winning hand pattern combination.

[0016] Optionally, determining the winning hand combinations corresponding to the at least one set of possible winning hand combinations based on the mutual exclusion information corresponding to the at least one set of possible winning hand combinations includes:

[0017] Arrange the at least one second possible winning hand in descending order of the second winning hand multiplier corresponding to the at least one second possible winning hand in any set of possible winning hand, and obtain the at least one possible winning hand set after arrangement.

[0018] Based on the at least one set of possible winning hands and the mutual exclusion information corresponding to the at least one set of possible winning hands, determine the winning hand combination corresponding to the at least one set of possible winning hands.

[0019] Optionally, determining the first winning multiplier corresponding to the hand information based on the second winning multiplier corresponding to at least one second winning hand pattern in the winning hand pattern combination includes:

[0020] When the winning hand combinations include mutually exclusive winning hand sub-combinations and non-mutually exclusive winning hand combinations, the target second winning hand combination in the mutually exclusive winning hand sub-combinations is determined in descending order of the multipliers.

[0021] The first winning multiplier corresponding to the hand information is determined based on the second winning multiplier corresponding to the target second winning hand type and the second winning multiplier corresponding to at least one second winning hand type in the non-mutually exclusive winning hand type sub-combination.

[0022] Optionally, the method further includes:

[0023] When at least one second possible winning hand pattern included in the at least one possible winning hand pattern set is a preset winning hand pattern, the first winning hand multiplier corresponding to the hand information is determined based on the hand information and the fourth winning hand multiplier corresponding to the preset winning hand pattern.

[0024] Optionally, the method further includes:

[0025] Display the first winning multiplier corresponding to the hand information.

[0026] According to a second aspect of the present disclosure, a multiple determination apparatus is provided, comprising:

[0027] The information acquisition unit is configured to determine the hand type information corresponding to the hand information based on the number of wild cards corresponding to the hand information;

[0028] The multiplier determination unit is configured to, when the hand type information indicates that the hand information is a fully unfolded hand type, determine the first winning multiplier corresponding to the hand information based on at least one first winning hand type corresponding to the hand information;

[0029] The multiplier determination unit is further configured to, when the hand type information indicates that the hand information is a non-fully unfolded hand type, determine the first winning multiplier corresponding to the hand information based on the second winning multiplier corresponding to at least one second winning hand type and the winning hand type combination corresponding to the at least one second winning hand type, wherein the at least one second winning hand type is predicted based on the hand information.

[0030] Optionally, the multiplier determination unit includes a winning hand pattern acquisition subunit and a multiplier determination subunit. The multiplier determination unit is configured to determine the first winning multiplier corresponding to the hand information based on at least one first winning hand pattern corresponding to the hand information:

[0031] The scoring pattern acquisition subunit is configured to acquire at least one first possible winning scoring pattern corresponding to the hand information;

[0032] The multiplier determination subunit is configured to perform the operation of obtaining the third winning multiplier corresponding to any one of the at least one first winning hand patterns;

[0033] The multiplier determination subunit is configured to use the largest multiplier among the at least one third winning multiplier as the first winning multiplier corresponding to the hand information.

[0034] Optionally, the multiplier determination subunit is configured to, when performing the operation of determining the first winning multiplier corresponding to the hand information based on the second winning multiplier corresponding to at least one second winning hand type and the winning hand type combination corresponding to the at least one second winning hand type, specifically configured to perform the following:

[0035] Based on the hand information, predict at least one set of possible winning patterns corresponding to the hand information, wherein any set of possible winning patterns in the at least one set of possible winning patterns includes at least one second possible winning pattern;

[0036] Based on the mutual exclusion information corresponding to the at least one set of possible winning hands, determine the winning hand combination corresponding to the at least one set of possible winning hands;

[0037] The first winning multiplier corresponding to the hand information is determined based on the second winning multiplier corresponding to at least one second winning hand pattern in the winning hand pattern combination.

[0038] Optionally, the multiplier determination subunit is configured to, when performing the task of determining the winning hand combination corresponding to the at least one set of winning hand patterns based on the mutual exclusion information corresponding to the at least one set of winning hand patterns, specifically be configured to perform:

[0039] Arrange the at least one second possible winning hand in descending order of the second winning hand multiplier corresponding to the at least one second possible winning hand in any set of possible winning hand, and obtain the at least one possible winning hand set after arrangement.

[0040] Based on the at least one set of possible winning hands and the mutual exclusion information corresponding to the at least one set of possible winning hands, determine the winning hand combination corresponding to the at least one set of possible winning hands.

[0041] Optionally, the multiplier determination subunit is configured to perform the following: determining the first winning multiplier corresponding to the hand information based on the second winning multiplier corresponding to at least one second possible winning hand pattern in the winning hand pattern combination, including:

[0042] When the winning hand combinations include mutually exclusive winning hand sub-combinations and non-mutually exclusive winning hand combinations, the target second winning hand combination in the mutually exclusive winning hand sub-combinations is determined in descending order of the multipliers.

[0043] The first winning multiplier corresponding to the hand information is determined based on the second winning multiplier corresponding to the target second winning hand type and the second winning multiplier corresponding to at least one second winning hand type in the non-mutually exclusive winning hand type sub-combination.

[0044] Optionally, the multiplier determination subunit is further configured to perform the following operation: when at least one second possible winning hand pattern included in the at least one possible winning hand pattern set is a preset winning hand pattern, determine the first winning hand multiplier corresponding to the hand information based on the hand information and the fourth winning hand multiplier corresponding to the preset winning hand pattern.

[0045] Optionally, the device further includes a multiplier display unit configured to perform:

[0046] Display the first winning multiplier corresponding to the hand information.

[0047] According to a third aspect of the present disclosure, an electronic device is provided, comprising:

[0048] processor;

[0049] Memory used to store the processor's executable instructions;

[0050] The processor is configured to execute the instructions to implement the multiple determination method described in any one of the preceding aspects.

[0051] According to a fourth aspect of this application, a storage medium is provided that, when instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to perform the multiple determination method described in any of the preceding aspects.

[0052] According to a fifth aspect of this application, a computer program product is provided, comprising a computer program that, when executed by a processor, implements the method described in any one of the preceding aspects.

[0053] The technical solutions provided by the embodiments of this disclosure have at least the following beneficial effects:

[0054] In some or related embodiments, the hand type information corresponding to the hand information is determined based on the number of wild cards corresponding to the hand information. If the hand type information indicates a fully unfolded hand, the first winning multiplier is determined based on at least one first possible winning hand type. If the hand type information indicates a non-fully unfolded hand, the first winning multiplier is determined based on the second winning multiplier corresponding to at least one second possible winning hand type and the winning hand combination corresponding to at least one second possible winning hand type. Therefore, by using the hand type information corresponding to the hand information, the multiplier can be determined using a multiplier determination method corresponding to the hand type information, eliminating the need for template matching of the hand information, reducing matching failures, and improving the accuracy of multiplier determination.

[0055] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0056] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure, and are not intended to unduly limit this disclosure.

[0057] Figure 1 This is a flowchart illustrating a method for determining a multiple according to an exemplary embodiment;

[0058] Figure 2 This is a flowchart illustrating a method for determining a multiple according to an exemplary embodiment;

[0059] Figure 3 This is a flowchart illustrating a method for determining a multiple according to an exemplary embodiment;

[0060] Figure 4 This is a block diagram illustrating a multiple determining device according to an exemplary embodiment;

[0061] Figure 5 This is a block diagram illustrating a multiple determination device according to an exemplary embodiment;

[0062] Figure 6 This is a block diagram illustrating a multiple determining device according to an exemplary embodiment;

[0063] Figure 7 This is a block diagram illustrating an electronic device according to an exemplary embodiment. Detailed Implementation

[0064] To enable those skilled in the art to better understand the technical solutions of this disclosure, the technical solutions in the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings.

[0065] It should be noted that the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this disclosure described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.

[0066] Figure 1 This is a flowchart illustrating a method for determining a multiple according to an exemplary embodiment, such as... Figure 1 As shown, this method for determining multiples can be used in scenarios involving determining multiples, and includes the following steps:

[0067] In step S11, the hand type information corresponding to the hand information is determined based on the number of wild cards corresponding to the hand information;

[0068] According to some embodiments, hand information refers to the cards dealt to each player during the dealing process in a card game. This hand information does not refer to any specific fixed information. For example, when any card in the hand information changes, the hand information may also change accordingly. For example, when the time of dealing changes, the hand information may also change accordingly.

[0069] In some embodiments, card type information refers to the card type corresponding to the hand information. For example, the card type information in this disclosure embodiment may be the card type included in an electronic mahjong game. This card type information may be, for example, the type corresponding to the hand held by any player.

[0070] Optionally, a "wild card" refers to a tile that can be used as any other tile in Mahjong. The number of wild cards refers to the number of wild cards included in the hand, and this number is not fixed. For example, the number of wild cards can change when the hand changes.

[0071] According to some embodiments, when an electronic device performs a multiplier determination method, the electronic device can determine the hand type information corresponding to the hand information based on the number of wild cards corresponding to the hand information.

[0072] In step S12, when the hand information indicates that the hand information is a fully unfolded hand, the first winning multiplier corresponding to the hand information is determined based on at least one first winning hand type corresponding to the hand information.

[0073] According to some embodiments, a fully unfolded hand refers to a hand that has no free pairs in the hand information. For example, a fully unfolded hand can be a hand where the individual pairs are directly determined. This fully unfolded hand does not specifically refer to a particular fixed hand. For example, when the hand information changes, the corresponding fully unfolded hand can also change accordingly. For example, when the time point of the hand's distribution changes, the corresponding fully unfolded hand can also change accordingly.

[0074] Easy to understand, a "winning hand pattern" refers to a hand pattern that can lead to a winning hand. A winning hand pattern is a standard used in Mahjong rules to evaluate hand combinations. The "first winning hand pattern" refers to the winning hand pattern that can be formed when the hand information is a fully unfolded hand. This "at least one first winning hand pattern" does not specifically refer to a fixed winning hand pattern. For example, when the number of winning hand patterns corresponding to at least one first winning hand pattern changes, the "at least one first winning hand pattern" can also change accordingly. For example, when the hand information changes, the "at least one first winning hand pattern" corresponding to this hand information can also change accordingly.

[0075] In some embodiments, the winning multiplier refers to the multiplier corresponding to the winning hand type that the hand information can generate. The first winning multiplier may, for example, be the winning multiplier corresponding to the hand information itself. The "first" in the first winning multiplier is only used to distinguish it from other winning multipliers and does not specifically refer to a fixed winning multiplier. For example, when the hand information changes, the first winning multiplier may also change accordingly. For example, when at least one of the first possible winning hand types corresponding to the hand information changes, the first winning multiplier may also change accordingly.

[0076] It is easy to understand that electronic devices can obtain the hand type information corresponding to the hand information. When the hand type information indicates that the hand information is a fully unfolded hand type, the first winning multiplier corresponding to the hand information is determined based on at least one first winning hand type.

[0077] In step S13, when the hand information indicates that the hand information is not a fully unfolded hand, the first winning multiplier corresponding to the hand information is determined based on the second winning multiplier corresponding to at least one second winning hand type and the winning hand combination corresponding to at least one second winning hand type.

[0078] In some embodiments, a non-fully expanded hand refers to a hand that includes free pairs. This non-fully expanded hand does not specifically refer to a particular fixed hand. For example, the non-fully expanded hand can change accordingly when the hand information changes.

[0079] It's easy to understand that the second possible winning hand type refers to the winning hand type when the hand information is not a fully unfolded hand. At least one second possible winning hand type is predicted based on the hand information. In other words, this at least one second possible winning hand type does not specifically refer to a particular fixed hand type.

[0080] Optionally, the second winning hand multiplier refers to the winning hand multiplier corresponding to the second possible winning hand pattern. Different second possible winning hand patterns correspond to different second winning hand multipliers. This second winning hand multiplier can be determined, for example, based on the probability of the second winning hand pattern appearing, or according to preset instructions.

[0081] As is easily understood, a winning hand combination refers to a winning hand combination that corresponds to at least one second possible winning hand combination. For example, when the second possible winning hand combination changes, the winning hand combination can also change accordingly.

[0082] According to some embodiments, the electronic device can acquire the hand type information corresponding to the hand information. When the hand type information indicates that the hand information is not a fully unfolded hand type, the electronic device can determine the first winning multiplier corresponding to the hand information based on the second winning multiplier corresponding to at least one second winning hand type and the winning hand type combination corresponding to at least one second winning hand type.

[0083] In some or related embodiments, the hand type information corresponding to the hand information is determined based on the number of wild cards corresponding to the hand information. If the hand type information indicates a fully unfolded hand, the first winning multiplier is determined based on at least one first possible winning hand type. If the hand type information indicates a non-fully unfolded hand, the first winning multiplier is determined based on the second winning multiplier corresponding to at least one second possible winning hand type and the winning hand combination corresponding to at least one second possible winning hand type. Therefore, by using the hand type information corresponding to the hand information, the multiplier can be determined using a multiplier determination method corresponding to the hand type information, eliminating the need for template matching of the hand information, reducing the possibility of matching failure due to insufficient winning hand templates, and improving the accuracy of multiplier determination.

[0084] Figure 2 This is a flowchart illustrating a method for determining a multiple according to an exemplary embodiment, such as... Figure 2 As shown, this multiplier determination method can be used in scenarios involving determining the multiplier of a hand, and includes the following steps:

[0085] In step S21, the hand type information corresponding to the hand information is determined based on the number of wild cards corresponding to the hand information;

[0086] The specific process is as described above and will not be repeated here.

[0087] The optional examples in the embodiments of this disclosure can be combined arbitrarily. Without contradiction, the embodiments of this disclosure can be combined with the steps of other embodiments and the optional examples in other embodiments.

[0088] In step S22, when the hand information indicates that the hand information is a fully unfolded hand, at least one first possible winning hand type corresponding to the hand information is obtained;

[0089] According to some embodiments, the first possible winning hand type refers to the winning hand type when the hand information is a fully unfolded hand. This at least one first possible winning hand type does not specifically refer to a fixed hand type. For example, when the hand information changes, the at least one first possible winning hand type can also change accordingly. For example, when the hand information is a mahjong hand, the at least one first possible winning hand type may include multiple winning hand types that the hand information allows.

[0090] In step S23, the third winning multiplier corresponding to any of the first winning hand patterns is obtained;

[0091] According to some embodiments, the third winning multiplier refers to the winning multiplier corresponding to any of the first possible winning hand patterns. This third winning multiplier does not specifically refer to a fixed winning multiplier. For example, different first possible winning hand patterns correspond to different third winning multipliers. For example, when the hand information changes, the at least one first possible winning hand pattern can also change accordingly, and the third multiplier corresponding to any first possible winning hand pattern can also change accordingly. The "third" in this third winning multiplier is only used to distinguish it from other winning multipliers.

[0092] It is easy to understand that when the electronic device obtains at least one first possible winning hand pattern, it can obtain the third winning hand multiplier corresponding to any one of the first possible winning hand patterns. For example, the electronic device can obtain the third winning hand multiplier corresponding to all possible winning hand patterns in at least one first possible winning hand pattern. That is, the electronic device can obtain at least one third winning hand multiplier.

[0093] In step S24, the largest multiple among at least one third winning multiple is taken as the first winning multiple corresponding to the hand information;

[0094] According to some embodiments, when an electronic device obtains the third winning multiplier corresponding to any of the first winning hand types, it can use the largest multiplier among the at least one third winning hand type as the first winning hand multiplier corresponding to the hand information.

[0095] In step S25, when the hand information indicates that the hand information is not a fully unfolded hand, the first winning multiplier corresponding to the hand information is determined based on the second winning multiplier corresponding to at least one second winning hand type and the winning hand combination corresponding to at least one second winning hand type.

[0096] Among them, at least one second possible winning hand type is predicted based on the hand information.

[0097] The specific process is as described above and will not be repeated here.

[0098] In some or related embodiments, the hand type information corresponding to the hand information is determined based on the number of wild cards corresponding to the hand information; when the hand type information indicates that the hand information is a fully unfolded hand, at least one first possible winning hand type is obtained; the third winning multiplier corresponding to any one of the at least one first possible winning hand type is obtained; the largest multiplier among the at least one third winning hand type is taken as the first winning multiplier corresponding to the hand information; when the hand type information indicates that the hand information is not a fully unfolded hand, the first winning multiplier corresponding to the hand information is determined based on the second winning multiplier corresponding to at least one second possible winning hand type and the combination of the winning hand types corresponding to at least one second possible winning hand type. Therefore, when the hand type information corresponding to the hand information is a fully unfolded hand, the first winning multiplier can be directly determined based on at least one third winning multiplier without the need for template matching of the hand information, reducing the possibility of matching failure due to insufficient winning hand templates, and improving the accuracy of multiplier determination.

[0099] Figure 3 This is a flowchart illustrating a method for determining a multiple according to an exemplary embodiment, such as... Figure 3 As shown, this multiplier determination method can be used in scenarios involving hand multipliers, and includes the following steps:

[0100] In step S31, the hand type information corresponding to the hand information is determined based on the number of wild cards corresponding to the hand information;

[0101] The specific process is as described above and will not be repeated here.

[0102] The optional examples in the embodiments of this disclosure can be combined arbitrarily. Without contradiction, the embodiments of this disclosure can be combined with the steps of other embodiments and the optional examples in other embodiments.

[0103] In step S32, when the hand information indicates that the hand information is a fully unfolded hand, the first winning multiplier corresponding to the hand information is determined based on at least one first winning hand type corresponding to the hand information;

[0104] The specific process is as described above and will not be repeated here.

[0105] In step S33, when the hand information indicates that the hand information is not a fully unfolded hand, the at least one set of possible winning hand types is predicted based on the hand information.

[0106] In some embodiments, a set of possible patterns refers to a collection of at least one second possible pattern. This set of possible patterns does not specifically refer to a fixed set. For example, the set of possible patterns may change as the number of possible patterns included in it changes.

[0107] Wherein, any set of at least one possible winning pattern includes at least one second possible winning pattern. The at least one possible winning pattern set may include, for example, a set of seven pairs of winning patterns, a set of non-seven pairs of winning patterns, and a set of superimposed winning patterns, etc.

[0108] In some embodiments, when the hand information indicates that the hand information is not a fully unfolded hand, the electronic device can predict at least one set of possible winning hand patterns based on the hand information.

[0109] In step S34, based on the mutual exclusion information corresponding to at least one set of possible winning hand patterns, the winning hand pattern combination corresponding to at least one set of possible winning hand patterns is determined;

[0110] According to some embodiments, mutually exclusive information refers to winning hand information that cannot exist simultaneously. This mutually exclusive information does not specifically refer to a certain fixed mutually exclusive information. For example, when A and B are second possible winning hand types, they cannot exist at the same time. That is to say, when the hand information is to win with A's second possible winning hand type, it is certain that it cannot win with B's second possible winning hand type.

[0111] As is easily understood, a winning hand combination refers to a set of at least one winning hand pattern that can be formed from the available hand information. This winning hand combination does not specifically refer to a single fixed pattern. For example, if the second winning hand pattern selected from any set of possible winning hand patterns changes based on mutually exclusive information, the winning hand combination can also change accordingly.

[0112] According to some embodiments, when an electronic device obtains at least one set of possible winning hand patterns corresponding to the hand information, it can determine the winning hand pattern combination corresponding to at least one set of possible winning hand patterns based on the mutual exclusion information corresponding to the at least one set of possible winning hand patterns.

[0113] According to some embodiments, determining the winning hand combination corresponding to at least one set of possible winning hand combinations based on the mutual exclusion information corresponding to at least one set of possible winning hand combinations includes: arranging at least one second possible winning hand combination in descending order of the second winning hand multiplier corresponding to at least one second possible winning hand combination included in any set of possible winning hand combinations, to obtain the arranged set of at least one possible winning hand combination; and determining the winning hand combination corresponding to at least one possible winning hand combination based on the arranged set of at least one possible winning hand combination and the mutual exclusion information corresponding to the at least one set of possible winning hand combinations. Determining the winning hand combination based on the multiplier and mutual exclusion information can improve the accuracy of combination determination.

[0114] In some embodiments, when obtaining at least one set of possible winning hand patterns after arrangement, the patterns can be arranged, for example, in ascending order of the second winning hand multiplier. This disclosure does not limit this approach.

[0115] In step S35, the first winning multiplier corresponding to the hand information is determined based on the second winning multiplier corresponding to at least one second winning hand pattern in the winning hand pattern combination;

[0116] According to some embodiments, when an electronic device obtains a winning hand combination, it can determine the first winning hand multiplier corresponding to the hand information based on the second winning hand multiplier corresponding to at least one second winning hand combination.

[0117] According to some embodiments, determining the first winning multiplier for the hand information based on the second winning multiplier corresponding to at least one second possible winning hand pattern in the winning hand pattern combination includes: when the winning hand pattern combination includes mutually exclusive winning hand pattern sub-combinations and non-mutually exclusive winning hand pattern sub-combinations, determining the target second possible winning hand pattern in the mutually exclusive winning hand pattern sub-combinations in descending order of multipliers; and determining the first winning multiplier for the hand information based on the second winning multiplier corresponding to the target second possible winning hand pattern and the second winning multiplier corresponding to at least one second possible winning hand pattern in the non-mutually exclusive winning hand pattern sub-combinations. Therefore, even when both mutually exclusive and non-mutually exclusive winning hand patterns are included, the target second possible winning hand pattern can be determined, which can improve the accuracy of determining the first winning multiplier.

[0118] It is easy to understand that a mutually exclusive winning hand pattern sub-combination refers to a combination that includes at least one mutually exclusive winning hand pattern. This mutually exclusive winning hand pattern sub-combination does not specifically refer to a fixed combination. For example, when the hand information changes, the mutually exclusive winning hand pattern sub-combination can also change accordingly. For example, when the mutually exclusive winning hand patterns included in a mutually exclusive winning hand pattern sub-combination change, the mutually exclusive winning hand pattern sub-combination can also change accordingly.

[0119] According to some embodiments, when at least one second possible winning hand type in at least one set of possible winning hand types is a preset winning hand type, the first winning hand multiple corresponding to the hand information is determined based on the hand information and the fourth winning hand multiple corresponding to the preset winning hand type. Therefore, when the second possible winning hand type is a preset winning hand type, the first winning hand multiple can be determined directly based on the preset winning hand type, which can improve the accuracy of determining the first winning hand multiple.

[0120] As is easy to understand, the fourth winning multiplier refers to the winning multiplier corresponding to the preset winning pattern. When the preset winning pattern changes, this fourth winning multiplier can also change accordingly. The "fourth" in this fourth winning multiplier is only used to distinguish it from the other winning multipliers.

[0121] In step S36, the first winning multiplier corresponding to the hand information is displayed.

[0122] According to some embodiments, when the first winning multiplier corresponding to the hand information is determined, the electronic device can display the first winning multiplier corresponding to the hand information.

[0123] In some or related embodiments, the hand type information corresponding to the hand information is determined based on the number of wild cards corresponding to the hand information. When the hand type information indicates that the hand information is not a fully unfolded hand, at least one set of possible winning patterns is predicted based on the hand information. Based on the mutual exclusion information corresponding to at least one set of possible winning patterns, the winning hand combination corresponding to at least one set of possible winning patterns is determined. Based on the second winning multiplier corresponding to at least one second possible winning pattern in the winning hand combination, the first winning multiplier corresponding to the hand information is determined. Therefore, when the hand type information corresponding to the hand information is not a fully unfolded hand, the first winning multiplier can be determined based on the winning hand combination corresponding to the set of possible winning patterns, without needing to perform template matching on the hand information. This reduces the possibility of matching failure due to insufficient winning templates and improves the accuracy of multiplier determination. Furthermore, by determining the winning hand combination, it is not necessary to calculate the multipliers of all possible winning patterns, which reduces the computational workload of the first winning multiplier and optimizes the multiplier determination process. Secondly, it can display the first winning multiplier corresponding to the hand information, which can reduce the time required to obtain the winning multiplier, so as to make adjustments to the hand information and improve the user experience of electronic mahjong.

[0124] Figure 4 This is a block diagram illustrating a multiple determination device according to an exemplary embodiment. (Refer to...) Figure 4 The device 400 includes an information acquisition unit 401 and a multiple determination unit 402.

[0125] The information acquisition unit 401 is configured to determine the hand type information corresponding to the hand information based on the number of wild cards corresponding to the hand information;

[0126] The multiplier determination unit 402 is configured to determine the first winning multiplier corresponding to the hand information based on at least one first winning hand type corresponding to the hand information when the hand information indicates that the hand information is a fully unfolded hand type.

[0127] The multiplier determination unit 402 is further configured to, when the hand information indicates that the hand information is not a fully unfolded hand, determine the first winning multiplier corresponding to the hand information based on the second winning multiplier corresponding to at least one second winning hand type and the winning hand combination corresponding to at least one second winning hand type, wherein the at least one second winning hand type is predicted based on the hand information.

[0128] Optional, Figure 5 This is a block diagram illustrating a multiple determination device according to an exemplary embodiment. (Refer to...) Figure 5 The multiplier determination unit 402 includes a winning hand pattern acquisition subunit 412 and a multiplier determination subunit 422. The multiplier determination unit 402 is configured to determine the first winning multiplier corresponding to the hand information based on at least one first winning hand pattern corresponding to the hand information:

[0129] The subunit 412 for obtaining the winning hand pattern is configured to obtain at least one first possible winning hand pattern corresponding to the hand information.

[0130] The multiplier determination subunit 422 is configured to perform the task of obtaining the third winning multiplier corresponding to any of the first winning hand types in at least one of the first winning hand types;

[0131] The multiplier determination subunit 422 is configured to perform the operation of taking the largest multiplier among at least one third winning multiplier as the first winning multiplier corresponding to the hand information.

[0132] Optionally, the multiplier determination subunit 422 is configured to, when performing the operation of determining the first winning multiplier corresponding to the hand information based on at least one second winning hand type and at least one winning hand type combination, specifically perform the following:

[0133] Based on the hand information, predict at least one set of possible winning hand patterns corresponding to the hand information, wherein any set of possible winning hand patterns in the at least one set of possible winning hand patterns includes at least one second possible winning hand pattern;

[0134] Based on the mutual exclusion information corresponding to at least one set of possible winning hand patterns, determine the winning hand pattern combination corresponding to at least one set of possible winning hand patterns;

[0135] The first winning multiplier corresponding to the hand information is determined based on the second winning multiplier corresponding to at least one second winning hand pattern in the winning hand pattern combination.

[0136] Optionally, the multiplier determination subunit 422 is configured to, when performing the task of determining the winning hand combination corresponding to at least one set of winning hand patterns based on the mutual exclusion information corresponding to at least one set of winning hand patterns, specifically perform the following:

[0137] Arrange at least one second possible winning hand in descending order of the second winning hand multiplier corresponding to at least one second possible winning hand in any set of possible winning hand, and obtain the set of at least one possible winning hand after arrangement.

[0138] Based on the at least one set of possible winning hands and the mutual exclusion information corresponding to the at least one set of possible winning hands, determine the winning hand combination corresponding to the at least one set of possible winning hands.

[0139] Optionally, the multiplier determination subunit 422 is configured to perform the following: determining the first winning multiplier corresponding to the hand information based on the second winning multiplier corresponding to at least one second possible winning hand pattern in the winning hand pattern combination, including:

[0140] When the winning hand combinations include mutually exclusive winning hand sub-combinations and non-mutually exclusive winning hand combinations, the target second winning hand combination in the mutually exclusive winning hand sub-combinations is determined in descending order of the multipliers.

[0141] Based on the second winning multiplier corresponding to the second winning hand type in the target second winning hand type and the second winning multiplier corresponding to at least one second winning hand type in the non-mutually exclusive winning hand type sub-combination, determine the first winning multiplier corresponding to the hand information.

[0142] Optionally, the multiplier determination subunit 422 is further configured to perform the following: when at least one second winable hand type included in at least one set of winable hand types is a preset hand type, determine the first winable hand multiplier corresponding to the hand information based on the hand information and the fourth winable hand multiplier corresponding to the preset hand type.

[0143] Optional, Figure 6 This is a block diagram illustrating a multiple determination device according to an exemplary embodiment. (Refer to...) Figure 6 The device 400 also includes a magnification display unit 403, configured to perform:

[0144] Display the first winning hand multiplier corresponding to the hand information.

[0145] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.

[0146] In summary, the apparatus provided in this embodiment of the present disclosure includes an information acquisition unit configured to determine the hand type information corresponding to the hand information based on the number of wild cards corresponding to the hand information; a multiplier determination unit configured to determine the first winning multiplier corresponding to the hand information based on at least one first possible winning hand type when the hand type information indicates that the hand information is a fully unfolded hand; and a multiplier determination unit further configured to determine the first winning multiplier corresponding to the hand information based on the second winning multiplier corresponding to at least one second possible winning hand type and the winning hand type combination corresponding to at least one second possible winning hand type when the hand type information indicates that the hand information is not a fully unfolded hand, wherein at least one second possible winning hand type is predicted based on the hand information. Therefore, by using the hand type information corresponding to the hand information, the multiplier can be determined using a multiplier determination method corresponding to the hand type information, without the need for template matching of the hand information, reducing the possibility of matching failures and improving the accuracy of multiplier determination.

[0147] Figure 7A schematic block diagram of an example electronic device 700 that can be used to implement embodiments of the present disclosure is shown. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or claimed herein.

[0148] like Figure 7 As shown, the electronic device 700 includes a computing unit 701, which can perform various appropriate actions and processes based on a computer program stored in a read-only memory (ROM) 702 or a computer program loaded from a storage unit 708 into a random access memory (RAM) 703. The RAM 703 may also store various programs and data required for the operation of the electronic device 700. The computing unit 701, ROM 702, and RAM 703 are interconnected via a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.

[0149] Multiple components in electronic device 700 are connected to I / O interface 705, including: input unit 706, such as keyboard, mouse, etc.; output unit 707, such as various types of displays, speakers, etc.; storage unit 708, such as disk, optical disk, etc.; and communication unit 709, such as network card, modem, wireless transceiver, etc. Communication unit 709 allows electronic device 700 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.

[0150] The computing unit 701 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 701 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 701 performs the various methods and processes described above, such as the multiple determination method. For example, in some embodiments, the multiple determination method may be implemented as a computer software program tangibly contained in a machine-readable medium, such as storage unit 708. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 700 via ROM 702 and / or communication unit 709. When the computer program is loaded into RAM 703 and executed by the computing unit 701, one or more steps of the multiple determination method described above may be performed. Alternatively, in other embodiments, the computing unit 701 may be configured to perform the multiple determination method by any other suitable means (e.g., by means of firmware).

[0151] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.

[0152] The program code used to implement the methods of this disclosure may be written in any combination of one or more programming languages. This program code may be provided to a processor or controller of a general-purpose computer, special-purpose computer, or other programmable data processing apparatus, such that when executed by the processor or controller, the program code causes the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The program code may be executed entirely on a machine, partially on a machine, as a standalone software package partially on a machine and partially on a remote machine, or entirely on a remote machine or server.

[0153] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0154] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the computer. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).

[0155] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or middleware components (e.g., application servers), or frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), the Internet, and blockchain networks.

[0156] Computer systems can include clients and servers. Clients and servers are generally geographically separated and typically interact via communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. A server can be a cloud server, also known as a cloud computing server or cloud host, a hosting product within the cloud computing service system that addresses the management difficulties and weak business scalability inherent in traditional physical hosts and VPS (Virtual Private Server) services. Servers can also be servers for distributed systems or servers integrated with blockchain technology.

[0157] It should be understood that the various forms of processes shown above can be used to reorder, add, or delete steps. For example, the steps described in this disclosure can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution disclosed in this disclosure can be achieved, and this is not limited herein.

[0158] The specific embodiments described above do not constitute a limitation on the scope of protection of this disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this disclosure should be included within the scope of protection of this disclosure.

Claims

1. A method for determining multiples, characterized in that, include: The hand type information is determined based on the number of wild cards corresponding to the hand information; When the hand information indicates that the hand information is a fully expanded hand, the fully expanded hand refers to a hand that does not have any free pairs. Based on at least one first possible winning hand type corresponding to the hand information, the first winning multiplier corresponding to the hand information is determined. When the hand information indicates that the hand information is not a fully expanded hand, the non-fully expanded hand refers to a hand information that includes free pairs. Determining the first winning multiplier corresponding to the hand information based on the second winning multiplier corresponding to at least one second possible winning hand type and the winning hand combination corresponding to the at least one second possible winning hand type includes: predicting at least one possible winning hand type set corresponding to the hand information based on the hand information, wherein any possible winning hand type set in the at least one possible winning hand type set includes at least one second possible winning hand type; determining the winning hand combination corresponding to the at least one possible winning hand type set based on the mutual exclusion information corresponding to the at least one possible winning hand type set; and determining the first winning multiplier corresponding to the hand information based on the second winning multiplier corresponding to at least one second possible winning hand type in the winning hand combination, wherein the at least one second possible winning hand type is predicted based on the hand information.

2. The method according to claim 1, characterized in that, The step of determining the first winning multiplier corresponding to the hand information based on at least one first possible winning hand type includes: Obtain at least one first possible winning hand type corresponding to the aforementioned hand information; Obtain the third winning hand multiplier corresponding to any one of the at least one first winning hand types; The largest of the at least one third winning multiplier shall be taken as the first winning multiplier corresponding to the hand information.

3. The method according to claim 1, characterized in that, The step of determining the winning hand combinations corresponding to the at least one set of possible winning hand combinations based on the mutual exclusion information corresponding to the at least one set of possible winning hand combinations includes: Arrange the at least one second possible winning hand in descending order of the second winning hand multiplier corresponding to the at least one second possible winning hand in any set of possible winning hand, and obtain the at least one possible winning hand set after arrangement. Based on the at least one set of possible winning hands and the mutual exclusion information corresponding to the at least one set of possible winning hands, determine the winning hand combination corresponding to the at least one set of possible winning hands.

4. The method according to claim 1, characterized in that, The step of determining the first winning multiplier corresponding to the hand information based on the second winning multiplier corresponding to at least one second winning hand pattern in the winning hand pattern combination includes: When the winning hand combinations include mutually exclusive winning hand sub-combinations and non-mutually exclusive winning hand combinations, the target second winning hand combination in the mutually exclusive winning hand sub-combinations is determined in descending order of the multipliers. The first winning multiplier corresponding to the hand information is determined based on the second winning multiplier corresponding to the target second winning hand type and the second winning multiplier corresponding to at least one second winning hand type in the non-mutually exclusive winning hand type sub-combination.

5. The method according to claim 1, characterized in that, The method further includes: When at least one second possible winning hand pattern included in the at least one possible winning hand pattern set is a preset winning hand pattern, the first winning hand multiplier corresponding to the hand information is determined based on the hand information and the fourth winning hand multiplier corresponding to the preset winning hand pattern.

6. The method according to claim 1, characterized in that, The method further includes: Display the first winning multiplier corresponding to the hand information.

7. A multiple determining device, characterized in that, include: The information acquisition unit is configured to determine the hand type information corresponding to the hand information based on the number of wild cards corresponding to the hand information; The multiplier determination unit is configured to perform the following operation when the hand information indicates that the hand information is a fully expanded hand, wherein the fully expanded hand refers to a hand without any free pairs, and determines the first winning multiplier corresponding to the hand information based on at least one first winning hand type corresponding to the hand information. The multiplier determination unit is further configured to perform the following when the hand information indicates that the hand information is a non-fully expanded hand, wherein the non-fully expanded hand refers to a hand that includes free pairs, and to determine the first winning multiplier corresponding to the hand information based on the second winning multiplier corresponding to at least one second winning hand type and the winning hand combination corresponding to the at least one second winning hand type, including: predicting at least one set of winning hand types corresponding to the hand information based on the hand information, wherein any set of winning hand types in the at least one set of winning hand types includes at least one second winning hand type; determining the winning hand combination corresponding to the at least one set of winning hand types based on the mutual exclusion information corresponding to the at least one set of winning hand types; and determining the first winning multiplier corresponding to the hand information based on the second winning multiplier corresponding to at least one second winning hand type in the winning hand combination, wherein the at least one second winning hand type is predicted based on the hand information.

8. An electronic device, characterized in that, include: processor; Memory used to store the processor's executable instructions; The processor is configured to execute the instructions to implement the multiple determination method as described in any one of claims 1 to 6.

9. A storage medium, wherein instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the multiple determination method as described in any one of claims 1 to 6.

10. A computer program product comprising a computer program that, when executed by a processor, implements the method according to any one of claims 1-6.

Citation Information

Patent Citations

  • Mahjong winning table generation method and device

    CN110124320A