CN108434727A - electronic card processing method and system - Google Patents
electronic card processing method and system Download PDFInfo
- Publication number
- CN108434727A CN108434727A CN201810258066.9A CN201810258066A CN108434727A CN 108434727 A CN108434727 A CN 108434727A CN 201810258066 A CN201810258066 A CN 201810258066A CN 108434727 A CN108434727 A CN 108434727A
- Authority
- CN
- China
- Prior art keywords
- player terminal
- encrypted
- electronic
- electronic card
- board
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/30—Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers
- A63F13/33—Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers using wide area network [WAN] connections
- A63F13/335—Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers using wide area network [WAN] connections using Internet
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/70—Game security or game management aspects
- A63F13/75—Enforcing rules, e.g. detecting foul play or generating lists of cheating players
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/80—Special adaptations for executing a specific game genre or game mode
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F2300/00—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
- A63F2300/40—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterised by details of platform network
- A63F2300/407—Data transfer via internet
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F2300/00—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
- A63F2300/50—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers
- A63F2300/55—Details of game data or player data management
- A63F2300/5586—Details of game data or player data management for enforcing rights or rules, e.g. to prevent foul play
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F2300/00—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
- A63F2300/80—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game specially adapted for executing a specific type of game
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Business, Economics & Management (AREA)
- Computer Security & Cryptography (AREA)
- General Business, Economics & Management (AREA)
- Storage Device Security (AREA)
Abstract
The present invention provides a kind of electronic card processing method and systems, are related to field of computer technology.The electronic card processing method includes:First player terminal is shuffled using the whole secondary electronic card of pre-stored shuffling algorithm pair first, the whole secondary electronic card of second after being shuffled;First player terminal is encrypted using the first key and pre-stored first Encryption Algorithm generated at random, pair electronic card whole to second, obtains the first encrypted electronic board;First encrypted electronic board is sent to the second player terminal by the first player terminal;Second player terminal is shuffled using pre-stored shuffling algorithm pair the first encrypted electronic board, the whole secondary electronic card of the third after being shuffled;Second player terminal is encrypted using the second key and pre-stored second Encryption Algorithm generated at random, pair electronic card whole to third, obtains the second encrypted electronic board.The safety that the electronic card processing method and system can ensure the fairness shuffled and shuffle.
Description
Technical field
The present invention relates to field of computer technology, in particular to a kind of electronic card processing method and system.
Background technology
With popularizing for computer technology, more and more users utilize computer to carry out canaster.Traditional playing card
Game is the operations such as completion is shuffled using playing card platform as third-party platform.But third-party platform carries out the behaviour such as shuffle
If work, there will be the possibility of platform cheating, broken to tour around play balance.
Invention content
In view of this, an embodiment of the present invention provides a kind of electronic card processing method and systems.
To achieve the goals above, the technical solution adopted by the present invention is as follows:
In a first aspect, an embodiment of the present invention provides a kind of electronic card processing method, the method includes:First player is whole
End is shuffled using the whole secondary electronic card of pre-stored shuffling algorithm pair first, the whole secondary electronic card of second after being shuffled;
First player terminal is using the first key and pre-stored first Encryption Algorithm generated at random, to the described second whole pair
Electronic card is encrypted, and obtains the first encrypted electronic board;The first encrypted electronic board is sent to by first player terminal
Second player terminal;Second player terminal washes the first encrypted electronic board using pre-stored shuffling algorithm
Board, the whole secondary electronic card of third after being shuffled;Second player terminal is using the second key generated at random and deposits in advance
Second Encryption Algorithm of storage, pair electronic card whole to the third obtain the second encrypted electronic board according to being encrypted.
Second aspect, an embodiment of the present invention provides a kind of electronic card processing system, the electronic card processing system includes
First player terminal and the second player terminal, first player terminal are connect with second player terminal, wherein described
First player terminal is used to shuffle using the whole secondary electronic card of pre-stored shuffling algorithm pair first, and the after being shuffled
Two whole secondary electronic cards;First player terminal is additionally operable to utilize the first key and pre-stored first encryption generated at random
Algorithm, pair electronic card whole to described second are encrypted, and obtain the first encrypted electronic board;First player terminal be additionally operable to by
The first encrypted electronic board is sent to the second player terminal;Second player terminal is for utilizing pre-stored calculation of shuffling
Method shuffles to the first encrypted electronic board, the whole secondary electronic card of the third after being shuffled;Second player terminal is also
For using the second key and pre-stored second Encryption Algorithm generated at random, pair electronic card whole to the third to be according to progress
Encryption, obtains the second encrypted electronic board.
The third aspect, an embodiment of the present invention provides a kind of electronic card processing methods, are applied to the first player terminal, described
Method includes:It is shuffled using the whole secondary electronic card of pre-stored shuffling algorithm pair first, the whole pair of second after being shuffled
Electronic card;Using the first key and pre-stored first Encryption Algorithm generated at random, it is whole to described second pair electronic card into
Row encryption, obtains the first encrypted electronic board;The first encrypted electronic board is sent to the second player terminal, so that described second
Player terminal shuffles to the first encrypted electronic board using pre-stored shuffling algorithm, and the third after being shuffled is whole
Secondary electronic card, and utilize the second key and pre-stored second Encryption Algorithm generated at random, pair electronics whole to the third
Board obtains the second encrypted electronic board according to being encrypted.
Fourth aspect, an embodiment of the present invention provides a kind of electronic card processing methods, are applied to the second player terminal, described
Method includes:Receive the first encrypted electronic board of the first player terminal transmission, wherein the first encrypted electronic board is first object for appreciation
Family's terminal is shuffled using the whole secondary electronic card of pre-stored shuffling algorithm pair first, the whole secondary electronics of second after being shuffled
Bridge queen, using the first key and pre-stored first Encryption Algorithm generated at random, pair electronic card whole to described second carries out
Encryption, the first obtained encrypted electronic board;It is shuffled to the first encrypted electronic board using pre-stored shuffling algorithm,
The whole secondary electronic card of third after being shuffled;It is right using the second key and pre-stored second Encryption Algorithm generated at random
The whole secondary electronic card of the third obtains the second encrypted electronic board according to being encrypted.
5th aspect, the present invention provides a kind of electronic card processing units, are applied to the first player terminal, described device packet
It includes:First shuffles module, the first encrypting module and the first sending module, wherein described first shuffles module for using in advance
The whole secondary electronic card of shuffling algorithm pair first first stored is shuffled, the whole secondary electronic card of second after being shuffled;Described first
Encrypting module is used to shuffle using the whole secondary electronic card of pre-stored shuffling algorithm pair first, and second after being shuffled is whole
Secondary electronic card;First sending module is used to the first encrypted electronic board being sent to the second player terminal, so that described
Second player terminal shuffles to the first encrypted electronic board using pre-stored shuffling algorithm, and after being shuffled
Three whole secondary electronic cards, and using the second key and pre-stored second Encryption Algorithm generated at random, to the whole pair of the third
Electronic card obtains the second encrypted electronic board according to being encrypted.
6th aspect, an embodiment of the present invention provides a kind of electronic card processing units, are applied to the second player terminal, described
Device includes:First receiving module, second are shuffled module and the second encrypting module, wherein first receiving module is used for
Receive the first encrypted electronic board of the first player terminal transmission, wherein the first encrypted electronic board is first player terminal profit
It is shuffled with the whole secondary electronic card of pre-stored shuffling algorithm pair first, after the whole secondary electronic card of second after being shuffled, profit
With the first key and pre-stored first Encryption Algorithm generated at random, pair electronic card whole to described second is encrypted, obtains
The the first encrypted electronic board arrived;Described second shuffle module for using pre-stored shuffling algorithm it is electric to first encryption
Sub- board is shuffled, the whole secondary electronic card of the third after being shuffled;Second encrypting module is used to utilize the generated at random
Two keys and pre-stored second Encryption Algorithm, pair electronic card whole to the third obtain the second encryption electricity according to being encrypted
Sub- board..
Electronic card processing method and system provided in an embodiment of the present invention are utilized pre-stored by the first player terminal
The whole secondary electronic card of shuffling algorithm pair first is shuffled, the whole secondary electronic card of second after being shuffled, and the first player terminal is sharp again
With the first key and pre-stored first Encryption Algorithm generated at random, pair electronic card whole to second is encrypted, and obtains the
One encrypted electronic board, then the first player terminal the first encrypted electronic board is sent to the second player terminal, the second player terminal
It is shuffled using pre-stored shuffling algorithm pair the first encrypted electronic board, the whole secondary electronic card of the third after being shuffled, most
The second player terminal utilizes the second key and pre-stored second Encryption Algorithm generated at random, pair electronic card whole to third afterwards
According to being encrypted, the second encrypted electronic board is obtained.The electronic card processing method and system are carried out by participating in the terminal of game
Shuffle, and to shuffle result encryption, to ensure that the fairness shuffled and safety, avoid third-party platform cheating can
Energy.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment cited below particularly, and coordinate
Appended attached drawing, is described in detail below.
Description of the drawings
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
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
The every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Fig. 1 shows the schematic diagram that multiple player terminals provided in an embodiment of the present invention interact;
Fig. 2 shows the structure diagrams of player terminal provided in an embodiment of the present invention;
Fig. 3 shows a kind of flow chart of electronic card processing method provided in an embodiment of the present invention;
Fig. 4 shows another flow chart of electronic card processing method provided in an embodiment of the present invention.
Specific implementation mode
Below in conjunction with attached drawing in the embodiment of the present invention, technical solution in the embodiment of the present invention carries out clear, complete
Ground describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Usually exist
The component of the embodiment of the present invention described and illustrated in attached drawing can be arranged and be designed with a variety of different configurations herein.Cause
This, the detailed description of the embodiment of the present invention to providing in the accompanying drawings is not intended to limit claimed invention below
Range, but it is merely representative of the selected embodiment of the present invention.Based on the embodiment of the present invention, those skilled in the art are not doing
The every other embodiment obtained under the premise of going out creative work, shall fall within the protection scope of the present invention.
It should be noted that:Similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined, then it further need not be defined and explained in subsequent attached drawing in a attached drawing.Meanwhile the present invention's
In description, term " first ", " second " etc. are only used for distinguishing description, are not understood to indicate or imply relative importance.
Fig. 1 shows the schematic diagram that multiple player terminals provided in an embodiment of the present invention interact.The multiple player
Terminal 100 is directly communicatively coupled by network, with into row data communication or interaction.The player terminal 100 can be
People's computer (personal computer, PC), tablet computer, smart mobile phone, personal digital assistant (personal digital
Assistant, PDA) etc..Player terminal 100 in Fig. 1 is only to illustrate, and is not intended as specifically limiting.
Fig. 2 shows a kind of structure diagrams can be applied to the server in the embodiment of the present invention.As shown in Fig. 2, player
Terminal 100 includes memory 102, storage control 104, and one or more (one is only shown in figure) processors 106, peripheral hardware connect
Mouth 108, radio-frequency module 110, audio-frequency module 112, display unit 114 etc..These components pass through one or more communication bus/letter
Number line 116 mutually communicates.
Memory 102 can be used for storing software program and module, such as the electronic card processing method in the embodiment of the present invention
And the corresponding program instruction/module of device, processor 106 are stored in software program and mould in memory 102 by operation
Block, to perform various functions application and data processing, such as electronic card processing method provided in an embodiment of the present invention.
Memory 102 may include high speed random access memory, may also include nonvolatile memory, such as one or more magnetic
Property storage device, flash memory or other non-volatile solid state memories.Processor 106 and other possible components are to storage
The access of device 102 can carry out under the control of storage control 104.
Peripheral Interface 108 couples various input/output devices to processor 106 and memory 102.In some implementations
In example, Peripheral Interface 108, processor 106 and storage control 104 can be realized in one single chip.In some other reality
In example, they can be realized by independent chip respectively.
Radio-frequency module 110 is used to receive and transmit electromagnetic wave, realizes the mutual conversion of electromagnetic wave and electric signal, thus with
Communication network or other equipment are communicated.
Audio-frequency module 112 provides a user audio interface, may include that one or more microphones, one or more raises
Sound device and voicefrequency circuit.
Display unit 114 provides a display interface between player terminal 100 and user.Specifically, display unit 114
Show that video output, the content of these videos output may include word, figure, video and its arbitrary combination to user.
It is appreciated that structure shown in Fig. 2 is only to illustrate, player terminal 100 may also include it is more than shown in Fig. 2 or
Less component, or with the configuration different from shown in Fig. 2.Each component shown in Fig. 2 may be used hardware, software or its
Combination is realized.
First embodiment
As Fig. 3 shows the flow chart of electronic card processing method provided in an embodiment of the present invention.Fig. 3 is referred to, the electronics
Board processing method includes:
Step S110:First player terminal is shuffled using the whole secondary electronic card of pre-stored shuffling algorithm pair first,
The second whole secondary electronic card after being shuffled.
In embodiments of the present invention, when snipsnapsnorum starts, first joined jointly by each player terminal for participating in game
With shuffle.
First, the first player terminal first reads pre-stored shuffling algorithm.Wherein, shuffling algorithm can be using random
One whole secondary electronic card is upset sequence by number at random.Certainly, the specific algorithm type of shuffling algorithm is not in embodiments of the present invention
Can be any existing shuffling algorithm as restriction.
To which the first player terminal can be shuffled the first initial whole secondary electronic card using shuffling algorithm, and be obtained
The second whole secondary electronic card to after shuffling.
Step S120:First player terminal is calculated using the first key and pre-stored first encryption generated at random
Method, pair electronic card whole to described second are encrypted, and obtain the first encrypted electronic board.
After obtaining the second whole secondary electronic card, to avoid follow-up second player terminal from knowing shuffling for the first player terminal
As a result, the first player terminal is caused to be shuffled failure.Therefore, result of shuffling can be encrypted in the first player terminal, i.e., will wash
The whole secondary electronic card (the second whole secondary electronic card) of bridge queen is encrypted.
In embodiments of the present invention, the first player terminal can read pre-stored for electronic card to be encrypted
Encryption Algorithm.Wherein, the first Encryption Algorithm can be DES (Data Encryption Standard) Encryption Algorithm, can also
For AES (Advanced Encryption Standard) Encryption Algorithm, or RSA (Rivest Shamir
Adleman) Encryption Algorithm, specific algorithm types are not intended as limiting in embodiments of the present invention.
To which the first player terminal can obtain the first encrypted electronic board by after the first whole secondary electronic card encryption.
Step S130:The first encrypted electronic board is sent to the second player terminal by first player terminal.
Result of shuffling is encrypted in the first player terminal and then is shuffled by the second player terminal.Therefore,
Encrypted result i.e. the first encrypted electronic board is sent to the second player terminal by one player terminal again so that the second player terminal again into
Row is shuffled.
Step S140:Second player terminal using pre-stored shuffling algorithm to the first encrypted electronic board into
Row is shuffled, the whole secondary electronic card of the third after being shuffled.
Second player terminal can recycle pre- after the first encrypted electronic board for receiving the transmission of the first player terminal
Shuffling algorithm pair the first encrypted electronic board first stored is shuffled.Wherein, the method shuffled can be with the side in step S110
Method is identical.
To which the second electronic card can shuffle to the first encrypted electronic board, to obtain the whole secondary electronic card of third.
It is understood that since the result (the second whole secondary electronic card) that the first player terminal shuffles to it is added
It is close, to which the second player terminal is when being shuffled, it can not know shuffling as a result, cannot also wash for the first player terminal
It practises fraud when board.In addition, the second player terminal is also shuffled after the first player terminal is shuffled, it is also possible to prevent the first player
Terminal causes subsequent game unfair stacking the cards.
Step S150:Second player terminal is calculated using the second key and pre-stored second encryption generated at random
Method, pair electronic card whole to the third obtain the second encrypted electronic board according to being encrypted.
For second player terminal after being shuffled, the second player terminal can utilize the second key for generating at random and in advance
Second Encryption Algorithm of storage adds the whole secondary electronic card of the above-mentioned result shuffled i.e. third that the second player terminal carries out
It is close, to obtain the second encrypted electronic board.
In embodiments of the present invention, the second Encryption Algorithm can be that DES (Data Encryption Standard) is encrypted
Algorithm, or AES (Advanced Encryption Standard) Encryption Algorithm, or RSA (Rivest
Shamir Adleman) Encryption Algorithm, specific algorithm types are not intended as limiting in embodiments of the present invention.
After this step, the flow of shuffling to whole secondary electronic card is just completed, the follow-up canaster that carries out can profit
It is played with the second encrypted electronic board.During entirely shuffling, the not participation of third-party platform, but participate in the object for appreciation of game
Family's terminal is shuffled and jointly to result encryption of shuffling, to ensure that the safety shuffled.
In embodiments of the present invention, to ensure to ensure the playing card that each player cannot obtain other players in canaster
The information of board can again be encrypted every sheet playing card by the player terminal of each player.
Therefore, Fig. 4 is referred to, which can also include:
Step S160:The second encrypted electronic board is sent to first player terminal by second player terminal.
First, the second encrypted electronic board can be sent to the first player terminal by the second player terminal, so that the first player
All electronic cards in terminal-pair the second encrypted electronic board are encrypted.
In embodiments of the present invention, the first whole secondary electronic card may include N electronic cards, to pass through step S110-
Also include N electronic cards in the second encrypted electronic board obtained after the processing of step S150.
Step S170:First player terminal is calculated using the first key and pre-stored first encryption
It is close using the first electronic card generated at random after the second encrypted electronic board is decrypted in corresponding first decipherment algorithm of method
Key is respectively encrypted the N electronic cards, obtains third encrypted electronic board.
Then, the first player terminal can utilize above-mentioned first key and pre-stored first decipherment algorithm pair second
Encrypted electronic board is decrypted, it is to be understood that the first key that the first player terminal is used when being encrypted using step S120,
And the corresponding decipherment algorithm of the first Encryption Algorithm used when step S120 encryptions, the second encrypted electronic board is decrypted,
To obtain decrypted result.In addition, since the encrypted result of the second player terminal not being decrypted, to the first player terminal
It can not obtain result of shuffling.
Then, the first player terminal is again respectively encrypted N electronic cards, obtains third encrypted electronic board.
In embodiments of the present invention, the N electronic cards are carried out respectively using the first electronic card key generated at random
Encryption, obtains third encrypted electronic board, including:
First player terminal generates N number of first electronic card key at random;
The N electronic cards are encrypted using N number of first electronic card key and first Encryption Algorithm, are obtained
Third encrypted electronic board, wherein N number of first electronic card key is corresponded with the N electronic cards.
It is understood that the quantity due to electronic card is N, can generate at random N number of for encrypting individual electronic card
The first electronic card key.For example, when 54 electronic cards, generate at random Ka1, Ka2 ..., Ka54,54 keys in total.
Then, it is encrypted using every electronic card of the first Encryption Algorithm and above-mentioned first electronic card key pair.Wherein,
N number of first electronic card key is corresponded with N electronic cards, i.e., a first electronic card key pair answers an electronic card.
For example, there is 54 electronic cards, number be respectively K1, K2 ..., K54, then above-mentioned first electronic card key:Ka1、
Ka2 ..., Ka54, can be Ka1 correspondings with the electronic card that number is K1, Ka2 is corresponding with the electronic card for being K2 is numbered, Ka3 and
The electronic card that number is K3 corresponds to ... ..., and Ka54 is corresponding with the electronic card that number is K54.
To which the first player terminal can complete the encryption to every electronic card, obtain third encrypted electronic board.
Step S180:The third encrypted electronic board is sent to second player terminal by first player terminal.
Step S190:Second player terminal is calculated using second key and pre-stored second encryption
It is close using the second electronic card generated at random after the third encrypted electronic board is decrypted in corresponding second decipherment algorithm of method
Key is respectively encrypted the N electronic cards, obtains the 4th encrypted electronic board.
Second player terminal can utilize above-mentioned second key and pre-stored second decipherment algorithm to encrypt third
Electronic card is decrypted, it is to be understood that the second key that the second player terminal is used when being encrypted using step S150, and
Corresponding second decipherment algorithm of the second Encryption Algorithm used when step S150 encryptions, is decrypted third encrypted electronic board,
To obtain decrypted result.In addition, since third encrypted electronic board by the first player terminal is encrypted every electronic card, institute
The information of electronic card cannot be obtained with the second player terminal.
Then, the second player terminal is again respectively encrypted N electronic cards, obtains the 4th encrypted electronic board.
In embodiments of the present invention, the N electronic cards are carried out respectively using the second electronic card key generated at random
Encryption, obtains the 4th encrypted electronic board, including:
Second player terminal generates N number of second electronic card key at random;
The N electronic cards are encrypted using N number of second electronic card key and second Encryption Algorithm, are obtained
4th encrypted electronic board, wherein N number of second electronic card key is corresponded with the N electronic cards.
It is understood that the quantity due to electronic card is N, can generate at random N number of for encrypting individual electronic card
The second electronic card key.For example, when 54 electronic cards, generate at random Kb1, Kb2 ..., Kb54,54 keys in total.
Then, it is encrypted using every electronic card of the second Encryption Algorithm and above-mentioned second electronic card key pair.Wherein,
N number of second electronic card key is corresponded with N electronic cards, i.e., a second electronic card key pair answers an electronic card.
For example, there is 54 electronic cards, number be respectively K1, K2 ..., K54, then above-mentioned second electronic card key:Kb1、
Kb2 ..., Kb54, can be Kb1 correspondings with the electronic card that number is K1, Kb2 is corresponding with the electronic card for being K2 is numbered, Kb3 and
The electronic card that number is K3 corresponds to ... ..., and Kb54 is corresponding with the electronic card that number is K54.
To which the second player terminal can complete the encryption to every electronic card, obtain the 4th encrypted electronic board.
In addition, it is necessary to explanation, since step S150 has been completed the process shuffled, so in the first player terminal
And second player terminal every electronic card is encrypted during, the sequence of N electronic cards does not change, that is, presses
Every electronic card is encrypted in sequence according to N in the second encrypted electronic board electronic cards.
After step S190, then participate in the player of game player terminal be completed to whole secondary electronic card shuffle with
And the encryption to every electronic card.In whole process, the not participation of third-party platform, each player terminal be involved in shuffle and
Ciphering process, in addition, every electronic card is encrypted, is also ensured to player in subsequent game to ensure that safety
Card secrecy, so that fair play is further promoted.
It is then possible to carry out the process of dealing out the cards etc. again to carry out canaster.Therefore, in embodiments of the present invention, the electronics
Board processing method can also include:
The 4th encrypted electronic board is sent to first player terminal by second player terminal;Described first plays
Family's terminal extracts m cards in one's hand from the N of the 4th encrypted electronic board electronic cards;Second player terminal is from the described 4th
The n cards in one's hand in addition to the m cards in one's hand are extracted in the N of encrypted electronic board electronic cards;First player terminal is by the n
The corresponding first electronic card key of card in one's hand is sent to second player terminal, so that second player terminal is to described
N cards in one's hand are decrypted, to obtain the card information of the n cards in one's hand;The m is opened cards in one's hand pair by second player terminal
The the second electronic card key answered is sent to first player terminal, so that first player terminal is to the m bottoms
Board is decrypted, to obtain the card information of the m cards in one's hand.
It is understood that the above process be participate in game the first player terminal and the second player terminal successively from whole
Card in one's hand is extracted in secondary board, the electronic card key of card in one's hand that other side extracts then is issued into other side, is made to can be to the electronics of extraction
Board is decrypted, to obtain the information of electronic card.In addition, since card in one's hand can only be that the player held knows in game process
Road, other players due to the not card in one's hand of opposing players encryption key, so the letter of the card in one's hand of opposing players cannot be obtained
Breath.
For example, the first player terminal is taken, number is K1 and the electronic card of K2 is as card in one's hand, then the second player terminal is by K1
It is sent to the second player terminal with the second electronic card key Kb1 and Kb2 of K2, while the second player terminal does not have the of K1 and K2
As soon as electronic card key can not also obtain the information of the card in one's hand of K1 and K2.
In embodiments of the present invention, second player terminal is close by the m corresponding second electronic cards of card in one's hand
Key is sent to after first player terminal, and the method further includes:
First player terminal extracts a open boards from the 4th encrypted electronic board, wherein a open
Board is one or multiple electricity in the electronic card in the N electronic cards in addition to the m cards in one's hand and the n cards in one's hand
Sub- board;Second player terminal extracts b open boards from the 4th encrypted electronic board, wherein the b opens open boards and is
One in electronic card in the N electronic cards in addition to the m cards in one's hand, the n cards in one's hand and a open boards
Or multiple electronic cards;First player terminal is close by the first electronic card of a open boards and the b open boards
Key is sent to second player terminal, so that second player terminal is to a open boards and the b open boards
Decryption, to obtain the card information of the Zhang Gongkai boards and the b open boards;Second player terminal is by a
Second electronic card key of Zhang Gongkai boards and the b open boards is sent to first player terminal, so that described first
Player terminal is to a open boards and the b open board decryption, to obtain a open boards and the b
The card information of open board.
It is understood that usually in canaster, it is also necessary to which the open board of hair gives each player.Therefore, game is participated in
The first player terminal and the second player terminal can extract open board, the open board then extracted and other side successively
The electronic card key of the open board of extraction is sent to other side, can also to which other side can obtain the information of the open board of oneself
Obtain the information of the open board of other side.
For example, the first player terminal is drawn into the electronic card of K3 and K4 as open board, then the first player terminal and the
Two player terminals can send mutually it to the encrypted electronic card key of the electronic card of K3 and K4, to the first player terminal and
Second player terminal can obtain the information of the electronic card of K3 and K4, realize the purpose of open board.
In embodiments of the present invention, the number of player for participating in game is not intended as limiting, i.e., the number of player terminal is simultaneously
Can be 2, or 3 not as restriction, or more, but can be carried out according to above-mentioned step
It shuffles, encrypt, deal out the cards.
For example, when player's number is 3, i.e., there are three when player terminal, whole process can be:
Player terminal 1 is upset deck using random number at random, that is, is shuffled.Then player generates a key at random,
For T1, complete decks are encrypted.Encrypted complete decks are sent to player terminal 2 later;Player terminal 2 uses and player terminal
1 identical method completion is shuffled and is encrypted, and player terminal 3 is then sent to, and wherein key is T2;Player terminal 3 uses and object for appreciation
Family's 1 identical method of terminal completion is shuffled and is encrypted, and player terminal 1 is then sent to.Wherein key is T3.Process of shuffling knot
The sequence of beam, board has been fixed, and is not changed subsequently.
Then, player terminal 1 decrypts the board after washing using T1, then generates N number of random number and (is respectively as key
T11 ... T1N), every one card is encrypted using a key.Encrypted board is sent to player terminal 2 later;It plays
Family's terminal 2 uses method identical with player terminal 1, first T2 is used to decrypt complete decks, then generates N number of random number as key
(being respectively T21 ... T2N), every one card is encrypted using a key.Encrypted board is sent to player later
Terminal 3;Player terminal 3 uses method identical with player terminal 1, first T3 is used to decrypt complete decks, then generates N number of random number
As key (being respectively T31 ... T3N), every one card is encrypted using a key.Encrypted board is sent out later
Give player terminal 1.So far, the ciphering process of board has terminated, and per N, a board has used the n-th of each player terminal close at this time
Key is encrypted.Such as one card, it has used T11, T21, T31 to be encrypted, has only taken these three keys simultaneously
Decryption processing could be done to board.
Then, all player terminals take card in one's hand, such as player terminal 1 to take C1 and C2 from complete decks successively, then player
The cipher key T 21 and T22 of C1 and C2 are sent to all player terminals by terminal 2;Player terminal 3 is by the cipher key T 31 and T32 of C1 and C2
All player terminals are sent to, player terminal 1 possesses all keys of C1 and C2, and decryption obtains original board.Player terminal 2 simultaneously
With player terminal 3 due to there is no the key of player terminal 1 that can not see the card in one's hand of player terminal 1.For open board, it is assumed that C7,
C8 is open board, then all player terminals disclose the key for broadcasting one's own C7 and C8, and such all player terminals are all gathered around
All keys for having C7 and C8 can see this two boards of C7 and C8.When needing open card in one's hand, card in one's hand owner needs public affairs
Open the one's own key of the card in one's hand.Such as C1 and C2, then the cipher key T 11 and T12 of the open C1 and C2 of player terminal 1.
In addition, in order to avoid player drop by the wayside cause game that can not carry out the problem of, it is assumed that open board has N, each
Player terminal needs the key by N boards to be divided into two parts to be respectively issued to other two player terminal.When the player terminal exits,
It is left two parts of cipher key combinations of player terminal that two player terminals can will move out together, so as to be solved to board
It is close.
For example, when player terminal has 4, playing card have 52 (number 1~52 respectively represents a sheet playing card), open
Board has 2, and card in one's hand has altogether 8 (each player 2 opens).Player terminal 1 is distributed to object for appreciation by the electronic card key for being 11~12 is numbered
The electronic card key of number 13~14 is distributed to player terminal 3 and player terminal by family's terminal 2 and player terminal 3, player terminal 2
4, and so on.If no player exits, the playing card that hair number is 9~10 when sending out open board, player forms an alliance and can not also see
To the playing card.When player terminal 1 is dropped by the wayside, (lack player terminal 1 since the playing card of number 9~10 can not be decrypted
Key), therefore send out open board and need to send out the playing card that number is 11~12.
It is to be illustrated to electronic card processing method provided in an embodiment of the present invention so that holdem is played as an example below.
Holdem is played a total of 52 boards, it is assumed that is respectively C1 ... C52, it is assumed that player terminal has 3, respectively
P1、P2、P3.Game process is as follows:
P1 shuffles and generates key KA and encrypted to board, is sent to P2 later;Board after P2 washes P1 is shuffled and is given birth to again
Board is encrypted at key KB, is sent to P3 later;P3 shuffles to boards of the P2 after washed and generates key KC and encrypted to board again, it
After be sent to P1.So far, process of shuffling is completed.
Then, P1 decrypts washed board using KA, then generates that a board one is close to encrypt board, and key is respectively
KA1……KA52;P2 decrypts the encrypted boards of P1 using KB, then generates that a board one is close to encrypt board, key difference
For KB1 ... KB52;P3 decrypts the encrypted boards of P2 using KC, then generates that a board one is close to encrypt board, key point
It Wei not KC1 ... KC52.
Then card in one's hand, then is successively sent out, P1 takes C1 and C2, and P2 takes C3 and C4, and P3 takes C5 and C6.P1 discloses C3~C6
Key, P2 discloses the key of C1, C2, C5, C6, and P3 discloses the key of C1~C4.P1 possesses all players of C1 and C2 later
Key, decryption obtain original board.P2 and P3 and P1 is similarly.Simultaneously in order to solve the problems, such as that player drops by the wayside, P1 is by KA12
Each key of~KA16 is divided into two parts, and a part issues P2, and a part issues P3.P2 is by each of KB17~KB21
A key is all divided into two parts, and a part gives P1, a part to give P2.Each key of KC22~KC26 is divided into two by P3
Point, a part is sent to P1, and a part gives P3.
Then sequence sends out open board, altogether five C7~C11, and all players disclose the key of broadcast C7~C11, institute
The original board of C7~C11 can be seen by having player.
When showing on hard, P1 discloses the key KA1 and KA2 of C1 and C2, and P2 discloses the key KB3 and KB4 of C3 and C4, and P3 is disclosed
The key KC5 and KC6 of C5 and C6.All players can see the card in one's hand of all players at this time, calculate winner later.
If in the open board of hair, P1 goes offline or moves back by force, and P1 not yet discloses key KA7~KA11 of C7~C11, can not
Continue to play based on C7~C11, open board C12~C16 is sent out again at this time, because P2 and P3 respectively possess KA12~KA16
Key half, can obtain complete KA12~KA16 by piecing together, so as to decrypt board C12~C16 obtain it is original
Board.
The electronic card processing method that first embodiment of the invention provides may be implemented so the game for participating in canaster is whole
End is shuffled and result of shuffling is encrypted, and ensures the fairness shuffled and safety.In addition, each player terminal needle
Every board is encrypted every board using the method for a key, ensures the fairness subsequently dealt out the cards and safety.Also,
It is divided into the more parts of methods being distributed using key, solves the problem of that player drops by the wayside game and can not carry out.Moreover, this hair
The electronic card processing method that bright first embodiment provides distributes the method for the key of different boards using player, after solution player forms an alliance
The unfair problem of open board is seen in advance.
Second embodiment
Second embodiment of the invention provides a kind of electronic card processing system, and the electronic card processing system includes the first object for appreciation
Family's terminal and the second player terminal, first player terminal are connect with second player terminal.Wherein, it described first plays
Family's terminal is used to shuffle using the whole secondary electronic card of pre-stored shuffling algorithm pair first, the whole pair of second after being shuffled
Electronic card;First player terminal is additionally operable to using the first key and pre-stored first Encryption Algorithm generated at random,
Pair electronic card whole to described second is encrypted, and obtains the first encrypted electronic board;First player terminal is additionally operable to will be described
First encrypted electronic board is sent to the second player terminal;Second player terminal is used to utilize pre-stored shuffling algorithm pair
The first encrypted electronic board is shuffled, the whole secondary electronic card of the third after being shuffled;Second player terminal is additionally operable to
Using the second key and pre-stored second Encryption Algorithm generated at random, pair electronic card whole to the third is according to adding
It is close, obtain the second encrypted electronic board.
In embodiments of the present invention, second player terminal is additionally operable to the second encrypted electronic board being sent to described
First player terminal;First player terminal is additionally operable to utilize the first key and pre-stored first encryption
After the second encrypted electronic board is decrypted in corresponding first decipherment algorithm of algorithm, the first electronic card generated at random is utilized
Key is respectively encrypted the N electronic cards, obtains third encrypted electronic board;First player terminal is additionally operable to institute
It states third encrypted electronic board and is sent to second player terminal;Second player terminal is additionally operable to utilize second key
And the third encrypted electronic board is decrypted in corresponding second decipherment algorithm of pre-stored second Encryption Algorithm
Afterwards, the N electronic cards are encrypted respectively using the second electronic card key generated at random, obtain the 4th encrypted electronic
Board.
In embodiments of the present invention, first player terminal utilizes the second electronic card key generated at random respectively to institute
It states N electronic cards to be encrypted, obtains the 4th encrypted electronic board, including:
First player terminal generates N number of first electronic card key at random;
The N electronic cards are encrypted using N number of first electronic card key and first Encryption Algorithm, are obtained
Third encrypted electronic board, wherein N number of first electronic card key is corresponded with the N electronic cards.
In embodiments of the present invention, second player terminal utilizes the second electronic card key generated at random respectively to institute
It states N electronic cards to be encrypted, obtains the 4th encrypted electronic board, including:
Second player terminal generates N number of second electronic card key at random;
The N electronic cards are encrypted using N number of second electronic card key and second Encryption Algorithm, are obtained
4th encrypted electronic board, wherein N number of second electronic card key is corresponded with the N electronic cards.
It should be noted that the electronic card processing system that second embodiment of the invention provides carries for first embodiment of the invention
The corresponding system of electronic card processing method of confession, other particular contents can participate in the electronic card of first embodiment of the invention offer
Processing method, this is no longer going to repeat them.
3rd embodiment
Third embodiment of the invention provides a kind of electronic card processing method, is applied to the first player terminal, the method
Including:
It is shuffled using the whole secondary electronic card of pre-stored shuffling algorithm pair first, the whole secondary electricity of second after being shuffled
Sub- board;
Using the first key and pre-stored first Encryption Algorithm generated at random, it is whole to described second pair electronic card into
Row encryption, obtains the first encrypted electronic board;
The first encrypted electronic board is sent to the second player terminal, is deposited in advance so that second player terminal utilizes
The shuffling algorithm of storage shuffles to the first encrypted electronic board, the whole secondary electronic card of the third after being shuffled, and using with
The second key and pre-stored second Encryption Algorithm that machine generates, pair electronic card whole to the third are obtained according to being encrypted
Second encrypted electronic board.
It should be noted that the electronic card processing method that third embodiment of the invention provides carries for first embodiment of the invention
The method that corresponding first player terminal of electronic card processing method of confession executes, other particular contents can participate in the present invention first
The electronic card processing method that embodiment provides, this is no longer going to repeat them.
Fourth embodiment
Fourth embodiment of the invention provides a kind of electronic card processing method, is applied to the second player terminal, the method
Including:
Receive the first encrypted electronic board of the first player terminal transmission, wherein the first encrypted electronic board is first object for appreciation
Family's terminal is shuffled using the whole secondary electronic card of pre-stored shuffling algorithm pair first, the whole secondary electronics of second after being shuffled
Bridge queen, using the first key and pre-stored first Encryption Algorithm generated at random, pair electronic card whole to described second carries out
Encryption, the first obtained encrypted electronic board;
It is shuffled to the first encrypted electronic board using pre-stored shuffling algorithm, the third after being shuffled is whole
Secondary electronic card;
Using the second key and pre-stored second Encryption Algorithm generated at random, pair electronic card evidence whole to the third
It is encrypted, obtains the second encrypted electronic board.
It should be noted that the electronic card processing method that third embodiment of the invention provides carries for first embodiment of the invention
The method that corresponding second player terminal of electronic card processing method of confession executes, other particular contents can participate in the present invention first
The electronic card processing method that embodiment provides, this is no longer going to repeat them.
In conclusion electronic card processing method provided in an embodiment of the present invention and system, are utilized by the first player terminal
The whole secondary electronic card of pre-stored shuffling algorithm pair first is shuffled, and the whole secondary electronic card of second after being shuffled, first plays
Family's terminal recycles the first key generated at random and pre-stored first Encryption Algorithm, pair electronic card whole to second to add
It is close, the first encrypted electronic board is obtained, then the first encrypted electronic board is sent to the second player terminal by the first player terminal, and second
Player terminal is shuffled using pre-stored shuffling algorithm pair the first encrypted electronic board, the whole secondary electricity of the third after being shuffled
Sub- board, the second last player terminal are whole to third using the second key and pre-stored second Encryption Algorithm generated at random
Secondary electronic card obtains the second encrypted electronic board according to being encrypted.The end that the electronic card processing method and system pass through participation game
End is shuffled, and to result encryption of shuffling, to ensure that the fairness shuffled and safety, avoids third-party platform
The possibility of cheating.
It should be noted that each embodiment in this specification is described in a progressive manner, each embodiment weight
Point explanation is all difference from other examples, and the same or similar parts between the embodiments can be referred to each other.
For device class embodiment, since it is basically similar to the method embodiment, so fairly simple, the related place ginseng of description
See the part explanation of embodiment of the method.
In several embodiments provided herein, it should be understood that disclosed device and method can also pass through it
Its mode is realized.The apparatus embodiments described above are merely exemplary, for example, the flow chart and block diagram in attached drawing are aobvious
The device of multiple embodiments according to the present invention, architectural framework in the cards, the work(of method and computer program product are shown
It can and operate.In this regard, each box in flowchart or block diagram can represent one of a module, section or code
Point, a part for the module, section or code includes one or more for implementing the specified logical function executable
Instruction.It should also be noted that at some as in the realization method replaced, the function of being marked in box can also be attached to be different from
The sequence marked in figure occurs.For example, two continuous boxes can essentially be basically executed in parallel, they also may be used sometimes
To execute in the opposite order, this is depended on the functions involved.It is also noted that each of block diagram and or flow chart
The combination of box in box and block diagram and or flow chart, function or the dedicated of action are based on as defined in execution
The system of hardware is realized, or can be realized using a combination of dedicated hardware and computer instructions.
In addition, each function module in each embodiment of the present invention can integrate to form an independent portion
Point, can also be modules individualism, can also two or more modules be integrated to form an independent part.
It, can be with if the function is realized and when sold or used as an independent product in the form of software function module
It is stored in a computer read/write memory medium.Based on this understanding, technical scheme of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be expressed in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic disc or CD.It needs
Illustrate, herein, relational terms such as first and second and the like be used merely to by an entity or operation with
Another entity or operation distinguish, and without necessarily requiring or implying between these entities or operation, there are any this realities
The relationship or sequence on border.Moreover, the terms "include", "comprise" or its any other variant are intended to the packet of nonexcludability
Contain, so that the process, method, article or equipment including a series of elements includes not only those elements, but also includes
Other elements that are not explicitly listed, or further include for elements inherent to such a process, method, article, or device.
In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including the element
Process, method, article or equipment in there is also other identical elements.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, any made by repair
Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.It should be noted that:Similar label and letter exist
Similar terms are indicated in following attached drawing, therefore, once being defined in a certain Xiang Yi attached drawing, are then not required in subsequent attached drawing
It is further defined and is explained.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (10)
1. a kind of electronic card processing method, which is characterized in that the method includes:
First player terminal is shuffled using the whole secondary electronic card of pre-stored shuffling algorithm pair first, and the after being shuffled
Two whole secondary electronic cards;
First player terminal is using the first key and pre-stored first Encryption Algorithm generated at random, to described second
Whole pair electronic card is encrypted, and obtains the first encrypted electronic board;
The first encrypted electronic board is sent to the second player terminal by first player terminal;
Second player terminal shuffles to the first encrypted electronic board using pre-stored shuffling algorithm, is washed
The whole secondary electronic card of third of bridge queen;
Second player terminal is using the second key and pre-stored second Encryption Algorithm generated at random, to the third
Whole pair electronic card obtains the second encrypted electronic board according to being encrypted.
2. described according to the method described in claim 1, it is characterized in that, the first whole secondary electronic card includes N electronic cards
Second player terminal utilizes the second key and pre-stored second Encryption Algorithm generated at random, pair electronics whole to the third
Board is according to being encrypted, and after obtaining the second encrypted electronic board, the method further includes:
The second encrypted electronic board is sent to first player terminal by second player terminal;
First player terminal utilizes the first key and pre-stored first Encryption Algorithm corresponding first
After the second encrypted electronic board is decrypted in decipherment algorithm, using the first electronic card key generated at random respectively to described
N electronic cards are encrypted, and obtain third encrypted electronic board;
The third encrypted electronic board is sent to second player terminal by first player terminal;
Second player terminal utilizes second key and pre-stored second Encryption Algorithm corresponding second
After the third encrypted electronic board is decrypted in decipherment algorithm, using the second electronic card key generated at random respectively to described
N electronic cards are encrypted, and obtain the 4th encrypted electronic board.
3. according to the method described in claim 2, it is characterized in that, using the first electronic card key generated at random respectively to institute
It states N electronic cards to be encrypted, obtains third encrypted electronic board, including:
First player terminal generates N number of first electronic card key at random;
The N electronic cards are encrypted using N number of first electronic card key and first Encryption Algorithm, obtain third
Encrypted electronic board, wherein N number of first electronic card key is corresponded with the N electronic cards.
4. according to the method described in claim 2, it is characterized in that, using the second electronic card key generated at random respectively to institute
It states N electronic cards to be encrypted, obtains the 4th encrypted electronic board, including:
Second player terminal generates N number of second electronic card key at random;
The N electronic cards are encrypted using N number of second electronic card key and second Encryption Algorithm, obtain the 4th
Encrypted electronic board, wherein N number of second electronic card key is corresponded with the N electronic cards.
5. according to the method described in claim 2, it is characterized in that, second player terminal using second key and
After the third encrypted electronic board is decrypted in corresponding second decipherment algorithm of pre-stored second Encryption Algorithm, point
Other that the N electronic cards are encrypted, after obtaining the 4th encrypted electronic board, the method further includes:
The 4th encrypted electronic board is sent to first player terminal by second player terminal;
First player terminal extracts m cards in one's hand from the N of the 4th encrypted electronic board electronic cards;
Second player terminal extracts n in addition to the m cards in one's hand from the N of the 4th encrypted electronic board electronic cards
Card in one's hand;
The n corresponding first electronic card keys of card in one's hand are sent to the second player end by first player terminal
End, so that the n cards in one's hand are decrypted in second player terminal, to obtain the card information of the n cards in one's hand;
The m corresponding second electronic card keys of card in one's hand are sent to the first player end by second player terminal
End, so that the m cards in one's hand are decrypted in first player terminal, to obtain the card information of the m cards in one's hand.
6. according to the method described in claim 5, it is characterized in that, second player terminal is corresponding by the m cards in one's hand
The second electronic card key is sent to after first player terminal, and the method further includes:
First player terminal extracts a open boards from the 4th encrypted electronic board, wherein a opens open boards and is
One or multiple electronics in electronic card in the N electronic cards in addition to the m cards in one's hand and the n cards in one's hand
Board;
Second player terminal extracts b open boards from the 4th encrypted electronic board, wherein the b opens open boards and is
One in electronic card in the N electronic cards in addition to the m cards in one's hand, the n cards in one's hand and a open boards
Or multiple electronic cards;
First electronic card key of a open boards and the b open boards is sent to institute by first player terminal
The second player terminal is stated, so that second player terminal decrypts a open boards and the b open boards, to
Obtain the card information of the Zhang Gongkai boards and the b open boards;
Second electronic card key of a open boards and the b open boards is sent to institute by second player terminal
The first player terminal is stated, so that first player terminal decrypts a open boards and the b open boards, to
Obtain the card information of a open boards and the b open boards.
7. a kind of electronic card processing system, which is characterized in that the electronic card processing system includes the first player terminal and the
Two player terminals, first player terminal are connect with second player terminal, wherein
First player terminal is used to shuffle using the whole secondary electronic card of pre-stored shuffling algorithm pair first, is washed
The second whole secondary electronic card of bridge queen;
First player terminal is additionally operable to using the first key and pre-stored first Encryption Algorithm generated at random, to institute
It states the second whole secondary electronic card to be encrypted, obtains the first encrypted electronic board;
First player terminal is additionally operable to the first encrypted electronic board being sent to the second player terminal;
Second player terminal is obtained for being shuffled to the first encrypted electronic board using pre-stored shuffling algorithm
The whole secondary electronic card of third to after shuffling;
Second player terminal is additionally operable to using the second key and pre-stored second Encryption Algorithm generated at random, to institute
The whole secondary electronic card of third is stated according to being encrypted, obtains the second encrypted electronic board.
8. system according to claim 7, which is characterized in that the described first whole secondary electronic card includes N electronic cards,
Second player terminal is additionally operable to the second encrypted electronic board being sent to first player terminal;
First player terminal is additionally operable to correspond to using the first key and pre-stored first Encryption Algorithm
The first decipherment algorithm the second encrypted electronic board is decrypted after, utilize generate at random the first electronic card key difference
The N electronic cards are encrypted, third encrypted electronic board is obtained;
First player terminal is additionally operable to the third encrypted electronic board being sent to second player terminal;
Second player terminal is additionally operable to correspond to using second key and pre-stored second Encryption Algorithm
The second decipherment algorithm the third encrypted electronic board is decrypted after, utilize generate at random the second electronic card key difference
The N electronic cards are encrypted, the 4th encrypted electronic board is obtained.
9. a kind of electronic card processing method, which is characterized in that it is applied to the first player terminal, the method includes:
It is shuffled using the whole secondary electronic card of pre-stored shuffling algorithm pair first, the whole secondary electronics of second after being shuffled
Board;
Using the first key and pre-stored first Encryption Algorithm generated at random, pair electronic card whole to described second adds
It is close, obtain the first encrypted electronic board;
The first encrypted electronic board is sent to the second player terminal, so that second player terminal is using pre-stored
Shuffling algorithm shuffles to the first encrypted electronic board, the whole secondary electronic card of the third after being shuffled, and utilizes random life
At the second key and pre-stored second Encryption Algorithm, pair electronic card whole to the third obtain second according to being encrypted
Encrypted electronic board.
10. a kind of electronic card processing method, which is characterized in that it is applied to the second player terminal, the method includes:
Receive the first encrypted electronic board of the first player terminal transmission, wherein the first encrypted electronic board is that first player is whole
End is shuffled using the whole secondary electronic card of pre-stored shuffling algorithm pair first, the whole secondary electronic card of second after being shuffled
Afterwards, using the first key and pre-stored first Encryption Algorithm generated at random, pair electronic card whole to described second adds
The first encrypted electronic board that is close, obtaining;
It is shuffled to the first encrypted electronic board using pre-stored shuffling algorithm, the whole secondary electricity of the third after being shuffled
Sub- board;
Using the second key and pre-stored second Encryption Algorithm generated at random, pair electronic card whole to the third is according to progress
Encryption, obtains the second encrypted electronic board.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810258066.9A CN108434727A (en) | 2018-03-27 | 2018-03-27 | electronic card processing method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810258066.9A CN108434727A (en) | 2018-03-27 | 2018-03-27 | electronic card processing method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108434727A true CN108434727A (en) | 2018-08-24 |
Family
ID=63196847
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810258066.9A Pending CN108434727A (en) | 2018-03-27 | 2018-03-27 | electronic card processing method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108434727A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111420405A (en) * | 2020-03-11 | 2020-07-17 | 陈磊磊 | Block chain technology-based decentralized card game method and system |
EP3936203A4 (en) * | 2019-05-22 | 2022-06-22 | Hangzhou Fuzamei Technology Co. Ltd | Dealing method, game method, device, and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1293584A (en) * | 1999-01-28 | 2001-05-02 | 世雅企业股份有限公司 | Network game system, game device terminal used in it and storage medium |
WO2002085475A2 (en) * | 2001-04-11 | 2002-10-31 | Fxtop | Selection of cards for a long-distance game |
US20060111179A1 (en) * | 2004-11-25 | 2006-05-25 | Aruze Corp. | Gaming system and gaming machine |
CN101901296A (en) * | 2009-05-25 | 2010-12-01 | 灰熊(北京)科技有限公司 | Method for shuffling through system random number |
CN103341263A (en) * | 2001-02-21 | 2013-10-09 | 美国扑克牌公司 | Method, apparatus and article for evaluating card games, such as blackjack |
CN106411880A (en) * | 2016-09-27 | 2017-02-15 | 北京奇虎科技有限公司 | Security encryption and decryption methods and devices for game data |
-
2018
- 2018-03-27 CN CN201810258066.9A patent/CN108434727A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1293584A (en) * | 1999-01-28 | 2001-05-02 | 世雅企业股份有限公司 | Network game system, game device terminal used in it and storage medium |
CN103341263A (en) * | 2001-02-21 | 2013-10-09 | 美国扑克牌公司 | Method, apparatus and article for evaluating card games, such as blackjack |
WO2002085475A2 (en) * | 2001-04-11 | 2002-10-31 | Fxtop | Selection of cards for a long-distance game |
US20060111179A1 (en) * | 2004-11-25 | 2006-05-25 | Aruze Corp. | Gaming system and gaming machine |
CN101901296A (en) * | 2009-05-25 | 2010-12-01 | 灰熊(北京)科技有限公司 | Method for shuffling through system random number |
CN106411880A (en) * | 2016-09-27 | 2017-02-15 | 北京奇虎科技有限公司 | Security encryption and decryption methods and devices for game data |
Non-Patent Citations (1)
Title |
---|
佟晓筠: "《电子商务安全及案例》", 31 January 2010, 中国铁道出版社 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3936203A4 (en) * | 2019-05-22 | 2022-06-22 | Hangzhou Fuzamei Technology Co. Ltd | Dealing method, game method, device, and storage medium |
CN111420405A (en) * | 2020-03-11 | 2020-07-17 | 陈磊磊 | Block chain technology-based decentralized card game method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107682141A (en) | Data ciphering method and system for data transfer | |
Guillou et al. | A “paradoxical” indentity-based signature scheme resulting from zero-knowledge | |
Ueda et al. | Secure implementations of a random bisection cut | |
CN104393999B (en) | Authentication method and system of a kind of main equipment to its slave | |
US20080096665A1 (en) | System and a method for a reality role playing game genre | |
CN109360091A (en) | A kind of arbitrary object choosing method and device based on block chain | |
Ueda et al. | How to implement a random bisection cut | |
CN104168271A (en) | Interactive system, server, clients and interactive method | |
CN107545414A (en) | Anonymous deal method, apparatus and computer-readable recording medium | |
CN104281787B (en) | System and method for implementing encrypted content in gaming | |
CN109513207A (en) | Processing method, device, storage medium, processor and the server of game asset | |
CN110462622A (en) | Collusion resistant can verify that method with the client-server system and its use of the token game of provable justice | |
CN108434727A (en) | electronic card processing method and system | |
CN101378816B (en) | Game state presenting device, game state presenting method | |
CN1953794A (en) | Collectible display device | |
CN109005424A (en) | The control method of object, apparatus and system, storage medium, electronic device | |
CN114239031A (en) | Processing method and processing device for user privacy data | |
CN109102890A (en) | Distributed medical detection service platform, system and its terminal | |
WO2013062116A1 (en) | Game server device, server control method, and server control program | |
CN111249746B (en) | Method and device for acquiring virtual prop, storage medium and electronic device | |
CN105283231B (en) | Game machine, the control method for the game machine | |
CN110075510A (en) | Playing card dealing method, method for gaming, equipment and storage medium | |
Hamey | Teaching secure communication protocols using a game representation | |
CN106254215B (en) | Data processing method and device | |
CN109600631A (en) | The encryption of video file and announcement method and apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: Room 311501, Unit 1, Building 5, Courtyard 1, Futong East Street, Chaoyang District, Beijing Applicant after: Beijing Zhichuangyu Information Technology Co., Ltd. Address before: Room 311501, Unit 1, Building 5, Courtyard 1, Futong East Street, Chaoyang District, Beijing Applicant before: Beijing Knows Chuangyu Information Technology Co.,Ltd. |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180824 |