Summary of the invention
The technical problem to be solved by the embodiment of the invention is that providing a kind of based on the board class interaction side being broadcast live online
Method, electric terminal, headend equipment, server and based on the board class interaction systems being broadcast live online, solve the prior art whole
The interactivity of user and system is poor in a board class interactive process, the bad technical problem of user's viscosity of system.
In order to solve the above-mentioned technical problem, first aspect of the embodiment of the present invention discloses a kind of based on the board class being broadcast live online
Interactive approach, including:
The encoding of graphs information received is sent to front-end client by main broadcaster's client;The wherein encoding of graphs information
It is obtained for scanning device by preset figure on scanning target board and the encoding of graphs sent to main broadcaster's client is believed
Breath;
The encoding of graphs information received is sent to server by the front-end client;
The server receives and saves the encoding of graphs information;
The front-end client calls preset graphic interface element information corresponding with the encoding of graphs information, and presses
Described image interface element information is sent to the interaction in online direct broadcast band according to preset board class distribution rules and participates in client
End, so that the interaction, which participates in client, shows figure corresponding with the target board according to the graphic interface element information received
As interface.
With reference to first aspect, in the first possible implementation, main broadcaster's client compiles the figure received
Code information is sent to front-end client and includes:
Main broadcaster's client obtains the request instruction of dealing out the cards that the server is sent;
It monitors whether to receive the encoding of graphs letter that the scanning device is sent after getting the request instruction of dealing out the cards
Breath;
When monitoring result, which is, is, the encoding of graphs information is sent to the front end and takes client.
With reference to first aspect, in the second possible implementation, the figure that the front-end client will receive
Shape encoded information is sent to server:The encoding of graphs information received is subjected to encryption and is sent to server;
The server receives and saves the encoding of graphs information:The information received is decrypted, is read
Encoding of graphs information out, and saved.
With reference to first aspect, in the third possible implementation, the server receives and saves the figure and compiles
After code information, further include:Encoding of graphs information is sent to the front-end client by the server;
The front-end client is called before preset graphic interface element information corresponding with the encoding of graphs information
Further include:
The front-end client judges to terminate from the received encoding of graphs information of the server with from the main broadcaster client
Whether the encoding of graphs information of receipts is consistent;
When the judgment result is yes, the preset graphic interface member corresponding with the encoding of graphs information of the calling is executed
The step of prime information.
With reference to first aspect, in the fourth possible implementation, the figure that the front-end client will receive
Shape encoded information is sent to server after being encrypted:
Whether the format that the front-end client detects the encoding of graphs information meets preset format;
When the test results is yes, it executes after the encoding of graphs information that will be received is encrypted and is sent to clothes
The step of business device.
Perhaps second of the first possible implementation of first aspect or first aspect with reference to first aspect
The 4th kind of possible implementation perhaps the third possible implementation of first aspect or first aspect is possible
Implementation further includes in a fifth possible implementation:
Main broadcaster's client shoots the scanning device by picture pick-up device and scans target board, generates the target board quilt
The online live video data of the scanning device scanning;
The online live video data is sent to the server by main broadcaster's client;
The online live video data is sent to all clients in the online direct broadcast band by the server,
So that the client plays the online live video data in real time.
The 5th kind of possible implementation with reference to first aspect further include in a sixth possible implementation:
The server receives the present that interaction participation client is sent and gives instruction;The present gives instruction for referring to
Show to main broadcaster's client gifts;
The server gives instruction according to the present, sends present information to main broadcaster's client.
Second aspect of the embodiment of the present invention discloses a kind of electric terminal, including:
Encoded information sending module, the encoding of graphs information for will receive are sent to front-end client;It is wherein described
Encoding of graphs information is that scanning device is obtained by preset figure on scanning target board and sent to the electric terminal end
Encoding of graphs information;
So that the encoding of graphs information is sent to server by the front-end client;So that the server receives simultaneously
Save the encoding of graphs information;The front-end client calls preset graphic interface corresponding with the encoding of graphs information
Element information, and described image interface element information is sent in online direct broadcast band according to preset board class distribution rules
Interaction participates in client, is shown and the mesh so that the interaction participates in client according to the graphic interface element information received
The corresponding graphic interface of label.
In conjunction with second aspect, in the first possible implementation, the encoded information sending module includes:
Request of dealing out the cards unit, the request instruction of dealing out the cards sent for obtaining the server;
Monitoring unit, for monitoring whether that receiving the scanning device after getting the request instruction of dealing out the cards sends
Encoding of graphs information;
Information transmitting unit, for when the monitoring result of the monitoring unit, which is, is, the encoding of graphs information to be sent out
It gives the front end and takes client.
In conjunction with second aspect, in the second possible implementation, further include:
Online live video generation module scans target board for shooting the scanning device by picture pick-up device, generates
The online live video data that the target board is scanned by the scanning device;
Video data sends module, for the online live video data to be sent to the server;So that described
The online live video data is sent to all clients in the online direct broadcast band by server, so that the client
End plays the online live video data in real time.
The third aspect of the embodiment of the present invention discloses a kind of headend equipment, including:
Encoded information receiving module, for receiving the encoding of graphs information of main broadcaster's client transmission;Wherein the figure is compiled
Code information is the figure that scanning device is obtained and sent to main broadcaster's client by preset figure on scanning target board
Encoded information;
Sending module, for the encoding of graphs information received to be sent to server;So that the server connects
It receives and saves the encoding of graphs information;
Element calls sending module, for calling preset graphic interface element letter corresponding with the encoding of graphs information
Breath, and described image interface element information is sent to the ginseng of the interaction in online direct broadcast band according to preset board class distribution rules
With client, shown and the target board pair so that the interaction participates in client according to the graphic interface element information received
The graphic interface answered.
In conjunction with the third aspect, in the first possible implementation, the server receives and saves the figure and compiles
After code information, encoding of graphs information is sent to the front-end client;The headend equipment further includes:
Encoded information judgment module, for calling the preset and encoding of graphs information pair in the element calling module
Before the graphic interface element information answered, judge from the received encoding of graphs information of the server with from main broadcaster's client
Whether received encoding of graphs information is consistent;When the judgment result is yes, it is default to trigger the element calling module execution calling
Graphic interface element information corresponding with the encoding of graphs information the step of.
In conjunction with the third aspect, in the second possible implementation, further include:
Format detection module, for being sent out after the sending module is encrypted the encoding of graphs information received
Before giving server, whether the format for detecting the encoding of graphs information meets preset format;When the test results is yes,
It triggers the sending module and executes the step for being sent to server after the encoding of graphs information that will be received is encrypted
Suddenly.
Fourth aspect of the embodiment of the present invention discloses a kind of server, including:
Information reads preserving module, for receiving and saving encoding of graphs information;The information is front-end client transmission
Encoding of graphs information;Wherein the encoding of graphs information is that scanning device is obtained by preset figure on scanning target board
And it is sent to main broadcaster's client, the information of the front-end client is transmitted to by main broadcaster's client;
Information sending module, the encoding of graphs information for will read out are sent to front-end client;So that the front end
The preset graphic interface element information corresponding with the encoding of graphs information of client call, and distribute according to preset board class
Described image interface element information is sent to the interaction in online direct broadcast band and participates in client by rule, so that the interaction is joined
And client shows graphic interface corresponding with the target board according to the graphic interface element information received.
In conjunction with fourth aspect, in the first possible implementation, the information sending module is also used to according to default
Board class distribution rules, generate distribution instruction information, distribution instruction information, which is used to indicate, reads preservation mould for the information
The encoding of graphs information that block is read out is distributed to corresponding interaction and participates in client;And distribution instruction information is sent
To the front-end client, to indicate that described image interface element information is sent to online direct broadcast band by the front-end client
In corresponding interaction participate in client.
In conjunction with fourth aspect, in the second possible implementation, further include:
Live data receiving module, the online live video data sent for receiving main broadcaster's client;It is described
Line live video data shoots the scanning device by picture pick-up device for main broadcaster's client and scans target board, generates concurrent
The online live video data that the target board sent is scanned by the scanning device;
Live data sending module, for the online live video data to be sent in the online direct broadcast band
All clients, so that the client plays the online live video data in real time.
The 5th aspect of the embodiment of the present invention discloses a kind of based on the board class interaction systems being broadcast live online, including main broadcaster client
End, scanning device, front-end client, server and interaction participate in client, wherein
The encoding of graphs information received is sent to the front-end client by main broadcaster's client;The wherein figure
Encoded information is that the scanning device is obtained by preset figure on scanning target board and sent to main broadcaster's client
Encoding of graphs information;The encoding of graphs information received is sent to the server by the front-end client;It is described
Server receives and saves the encoding of graphs information;The front-end client calls the preset and encoding of graphs information pair
The graphic interface element information answered, and be sent to described image interface element information online according to preset board class distribution rules
Interaction in direct broadcast band participates in client, so that the interaction participates in client according to the graphic interface element information received
Show graphic interface corresponding with the target board.
The 6th aspect of the embodiment of the present invention discloses a kind of computer storage medium, and the computer storage medium is stored with
Program, described program include the embodiment of the present invention when executing in a first aspect, first aspect the first possible realization side
Formula perhaps first aspect second of possible implementation perhaps the third possible implementation of first aspect or
It is based on disclosed in 4th kind of possible implementation of first aspect or the 5th kind of possible implementation of first aspect
The step of board class interactive approach being broadcast live online.
Implement the embodiment of the present invention, has the advantages that:
The encoding of graphs that preset figure is obtained and sent to main broadcaster's client on target board is scanned by scanning device
The encoding of graphs information is sent to server by information, main broadcaster's client, and is finally participated in client in interaction and shown the target
The corresponding graphic interface of board, realize internet board class interaction during by the conversion of real data and virtual data with melt
It closes, solves that prior art interactivity of user and system in entire board class interactive process is poor, and user's viscosity of system is bad
The technical issues of, online live video data that main broadcaster's client can also be scanned the target board of generation by the scanning device
It is sent to server, and the client in online direct broadcast band can play the online live video data in real time, met
Experience real scene is dealt out the cards the demand of process when user carries out the interaction of board class by internet, and interaction participates in client can also be with
Main broadcaster's client carries out present and the information exchanges such as gives, and further increases the mutual of in entire board class interactive process user and system
Dynamic property, the user's viscosity for enhancing system.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
It should be noted that the term used in embodiments of the present invention is only merely for the mesh of description specific embodiment
, it is not intended to limit the invention." the one of the embodiment of the present invention and singular used in the attached claims
Kind ", " described " and "the" are also intended to including most forms, unless the context clearly indicates other meaning.It is also understood that this
Term "and/or" used herein refers to and includes one or more associated any or all possible group for listing project
It closes.
The embodiment of the invention discloses a kind of based on the board class interactive approach, relevant device and the system that are broadcast live online, solves
Prior art interactivity of user and system in the entire board class interactive process is poor, and the sticky bad technology of the user of system is asked
Topic, meet user by internet carry out board class interaction when experience real scene deal out the cards process the needs of.It carries out individually below detailed
It describes in detail bright.
It is disclosed by the embodiments of the present invention a kind of based on the board class interactive approach, the relevant device that are broadcast live online in order to be best understood from
And system, the network architecture being first applicable in below the embodiment of the present invention are described.Referring to Fig. 1, Fig. 1 is the embodiment of the present invention
A kind of disclosed network architecture schematic diagram based on the board class being broadcast live online interaction.As shown in Figure 1, the network architecture schematic diagram can
To include that front-end client, server, main broadcaster's client and multiple interactions participate in client, multiple spectator clients, wherein
Server can also be referred to as background server, component server, service of making friends device etc., and server can be by internet and more
A client is communicatively coupled.Main broadcaster's client provides online direct broadcast band, and establishes board class in the online direct broadcast band
Interactive virtual room, and the board class interactive virtual room participation of main broadcaster's client foundation can be logged by interacting participation client
The interaction of board class, the board class interactive virtual room viewing board class that spectator client can also log into the foundation of main broadcaster's client are mutual
It is dynamic;Main broadcaster's client scans preset figure on target board by the scanning device at main broadcaster end and obtains the corresponding figure of target board
It after encoded information, is equivalent to and carries out operation of dealing out the cards, which is passed through into front-end client and server, it is final to distribute
Client is participated in interaction therein, client is participated in the interaction and shows graphic interface corresponding with the target board;In addition,
Main broadcaster's client can also upload the online live video data of scanning device scanning target board in real time, and should be by server
Line live video data is sent to all clients for logging into the board class interactive virtual room, watches for client.
It should be noted that main broadcaster's client has other clients in the board class interactive virtual room accessed in its channel
There are control and initiative, and carries out real-time board class with other clients in channel and interact.In the embodiment of the present invention, Zhu Boke
Family end (i.e. main broadcaster user) typically refers to online live video data publisher, and main broadcaster user is defeated by photographic device, microphone
Enter video and voice messaging, sends online live video data, service to server after the fusion by audio/video information
Device obtains the User ID for logging on to the channel of main broadcaster user's creation, and pushes online live video data to user.The present invention is real
It applies in example, client (including main broadcaster's client or interaction participate in client or spectator client) may include set group chat, view
The Rich Media that the functions such as frequency live streaming, channel K song, game on line, online video display are integrated.In network architecture shown in Fig. 1, visitor
Family end may operate in including but not limited to mobile phone, removable computer, tablet computer, personal digital assistant (Personal
Digital Assistant, PDA), media player, smart television, smartwatch, intelligent glasses, Intelligent bracelet etc. have it is aobvious
On the user equipment of display screen.
Based on network architecture shown in FIG. 1, the embodiment of the invention discloses it is a kind of based on the board class being broadcast live online interaction
Method.Referring to Fig. 2, Fig. 2 is the flow diagram provided in an embodiment of the present invention based on the board class interactive approach being broadcast live online,
It may comprise steps of:
Step S200:The encoding of graphs information received is sent to front-end client by main broadcaster's client;
Specifically, the received encoding of graphs information of main broadcaster's client is that scanning device passes through preset figure on scanning target board
Shape and obtain and to main broadcaster's client send encoding of graphs information;Target board in the embodiment of the present invention currently carries out
The wherein one card of board class interaction, the target board are previously provided with figure corresponding with the target board, such as two dimensional code, bar code figure
Shape, by scanning, the preset figure on the target board is available to be believed scanning device to encoding of graphs corresponding with the target board
Breath, is then sent to main broadcaster's client for the encoding of graphs information;
It will be appreciated that the main broadcaster's client and scanning device in the embodiment of the present invention are the same side apparatus of network, it can
All is controlled by main broadcaster user or operated.
Step S202:The encoding of graphs information received is sent to server by the front-end client;
Specifically, for main broadcaster's client, the front-end client in the embodiment of the present invention is located at network-side and (takes
Business device end), after which receives the encoding of graphs information of main broadcaster's client transmission, by the encoding of graphs information
It is sent to server, or the encoding of graphs information can be encrypted, server is then sent to;
It should be noted that main broadcaster's client is sent to front end after being packaged to encoding of graphs information in step S200
Client, the front-end client can carry out secondary encapsulation to the encoding of graphs information received and be sent to server after encrypting;
It will be appreciated that the front-end client and the server can consult Encryption Algorithm in advance, in the front-end client
After the information of encryption is sent to server, which can be decrypted information by corresponding decipherment algorithm.
Step S204:The server receives and saves the encoding of graphs information;
Specifically, when being sent after front-end client is encrypted the encoding of graphs information, server can using pair
The information received is decrypted the decipherment algorithm answered, and then encoding of graphs information is read out in parsing, and is saved.
Step S206:The front-end client calls preset graphic interface element corresponding with the encoding of graphs information
Information, and described image interface element information is sent to according to preset board class distribution rules the interaction in online direct broadcast band
Participate in client;
Specifically, after which receives the encoding of graphs information that server is sent, the preset and figure is called
The corresponding graphic interface element information of shape encoded information, the graphic interface element information constitute corresponding image circle of target board
The element information in face, such as the target board are playing card, then graphic interface element information may include suit information and big
Small information;Board class distribution rules in the embodiment of the present invention are to be directed to different board class interactions, such as holdem, there is the Dezhou
The graphic interface element information will be sent to by the intrinsic rule of dealing out the cards of playing card, the front-end client according to the board class distribution rules
The interaction that currently dealt out the cards in online direct broadcast band participates in client.
It should be noted that the board class distribution flow in the embodiment of the present invention can be controlled execution by front-end client,
Execution can also be controlled by server.That is, if controlling execution by front-end client, then the front-end client is deposited
Board class distribution rules are contained, and record there are current dealing sequences;If controlling execution by server, then the server is stored with
Board class distribution rules, and record has current dealing sequences, and the encoding of graphs information that server will be read out in step S204
When being sent to the front-end client, transmission distribution instruction information can be carried, which indicates that information is server according to default
Board class distribution rules generate, being used to indicate the encoding of graphs information that will be read out, to be distributed to which corresponding interaction participates in objective
Family end, then then knowing that the encoding of graphs information needs in step S206 after front-end client receives distribution instruction information
It is sent to which interaction participates in client, and completes to send.
It should also be noted that, interaction participates in the online live streaming that client can be provided by logging into main broadcaster's client
The board class interactive virtual room created in channel interacts with other and participates in client progress board class interaction;System can be according to mutual
The dynamic sequencing for participating in client and entering room participates in client in the relative position information in room to set each interaction;
The relative position information can determine subsequent dealing sequences.
Step S208:The interaction participates in client and is shown and the target according to the graphic interface element information received
The corresponding graphic interface of board.
Specifically, the interaction dealt out the cards participates in the Basic Elements of Graphic User Interface information that client receives front-end client transmission
Afterwards, graphic interface corresponding with the target board can be shown according to the Basic Elements of Graphic User Interface information.
Implement the embodiment of the present invention, preset figure on target board is scanned by scanning device and is obtained and to main broadcaster client
The encoding of graphs information sent is held, which is sent to server by main broadcaster's client, and is finally participated in interaction
Client shows the corresponding graphic interface of target board, realizes real data and void during the interaction of internet board class
The conversion of quasi- data with merge, it is poor to solve prior art interactivity of user and system in entire board class interactive process, is
The bad technical problem of user's viscosity of system, improves the interactivity of user and system in entire board class interactive process, enhancing system
User's viscosity of system.
Further, another implementation provided by the invention based on the board class interactive approach being broadcast live online as shown in Figure 3
The flow diagram of example, then technical solution of the present invention is elaborated, including:
Step S300:Main broadcaster's client obtains the request instruction of dealing out the cards that server is sent;
Specifically, the present embodiment is illustrated so that server carrys out master control board class distribution flow as an example, the hair that server is sent
Board request instruction can also carry out transfer by front-end client;
Step S302:It monitors whether to receive the figure that the scanning device is sent after getting the request instruction of dealing out the cards
Shape encoded information;
Specifically, after main broadcaster's client gets the request instruction of dealing out the cards of server transmission, main broadcaster's client knows needs
Operation of dealing out the cards is carried out, so that triggering monitors whether to receive the encoding of graphs information of scanning device transmission;When monitoring result is yes
When, execute step S308.
It should be noted that specifically monitor whether the encoding of graphs information received after getting request of dealing out the cards and indicating,
I.e. before getting request of dealing out the cards and indicating, main broadcaster's client also can receive the encoding of graphs letter that scanning device sends over
Breath, but main broadcaster's client is not dealt with, and the figure of scanning device transmission is only received after getting request of dealing out the cards and indicating
Shape encoded information is just handled the encoding of graphs information, i.e. execution step S308.
Step S304:Scanning device obtains the corresponding encoding of graphs of target board by preset figure on scanning target board
Information;
Specifically, the main broadcaster user of main broadcaster's client-side, which learns, deal out the cards when operating, and can pick up target board
(board that namely will be distributed), is placed in scanning device and is scanned, so that the target is arrived in scanning device scanning
Preset figure on board, to obtain the corresponding encoding of graphs information of the target board.
Step S306:The encoding of graphs information that scanning device is sent to main broadcaster's client;
Specifically, scanning device can pre-establish binding relationship with main broadcaster's client, and establish communication connection, sweep
Main broadcaster's client can be promptly sent to for the encoding of graphs information that scanning obtains by retouching equipment.
Step S308:Encoding of graphs information is sent to front end and takes client by main broadcaster's client;
Specifically, which can be with reference to the step S200 in above-mentioned Fig. 2 embodiment, and which is not described herein again.
Step S310:Whether the format of front-end client test pattern encoded information meets preset format;
Specifically, front-end client can preset the format of encoding of graphs information, by taking playing card as an example, can be set
The format of encoding of graphs information be xy, wherein x can be A, B, C or D, y can for 1-13 any one, i.e. x can represent flower
Color, A represent square, and B represents plum blossom, and C represents heart, and D represents spade;Y can represent size, wherein 11 represent J, 12 represent Q,
13 represent K.After so front-end client receives the encoding of graphs information that main broadcaster's client is sent, whether the information format is detected
If it is not, being then not responding to the encoding of graphs information, or the figure received is prompted to compile if so, thening follow the steps S312 for xy
Code information errors etc..
It should be noted that preset figure on target board in the embodiment of the present invention, such as two dimensional code, then the two dimension
Information format in code has to comply with the format of the preset encoding of graphs information of front-end client, just simultaneously by front-end client response
It is further processed;If the information that preset figure is included on the target board is not the front-end client, preset figure is compiled
The format of code information will be unable to realize operation of dealing out the cards, ensure that target board by the detection of the format to encoding of graphs information
Authenticity, it is not easy to be forged or deliberately distort.In addition, the format of the preset encoding of graphs information of the embodiment of the present invention is not limited to
The example above can also be arranged to extended formatting according to demand, and can interact for different board classes to be configured, this hair
It is bright with no restriction.
Step S312:Front-end client is sent to server after being encrypted the encoding of graphs information received;
Step S314:The information received is decrypted server, reads out encoding of graphs information;
Step S316:The encoding of graphs information read out is sent to front-end client by server;
Specifically, step S312 to step S316 can be with specific reference to the step S202 in above-mentioned Fig. 2 embodiment to step
S204, which is not described herein again.Wherein step S316 can further include, and server records the encoding of graphs information, and
Interaction that the encoding of graphs information correspondence to be sent participates in client, in order to it is subsequent to each interaction participate in the board of client into
Row analysis, obtains analysis result.
Step S318:Front-end client judge from the received encoding of graphs information of server with it is received from main broadcaster's client
Whether encoding of graphs information is consistent;
Specifically, after front-end client receives the encoding of graphs information that server is sent, judge received from server
Encoding of graphs information with it is whether consistent from the received encoding of graphs information of main broadcaster's client in step S312, if unanimously, executing
Step S320 is not responding to the encoding of graphs information if inconsistent, or the encoding of graphs information errors for prompting this to receive
Deng.
By step S318, it can prevent the undesirable persons such as hacker from intercepting encoding of graphs information from server end and carry out
It deliberately distorts, ensure that the safety and reliability when internet carries out the interaction of board class.
Step S320:Front-end client calls preset graphic interface element letter corresponding with the encoding of graphs information
Breath;
Step S322:Graphic interface element information is sent to online by front-end client according to preset board class distribution rules
Interaction in direct broadcast band participates in client;
Step S324:It is corresponding with target board according to the graphic interface element information displaying received that interaction participates in client
Graphic interface.
Specifically, step S320 to step S324 can be corresponded to reference to the step S206 in above-mentioned Fig. 2 embodiment to step
S208, which is not described herein again.
Still further, provided in an embodiment of the present invention can also include based on the board class interactive approach being broadcast live online:Institute
It states main broadcaster's client and the scanning device scanning target board is shot by picture pick-up device, generate the target board and set by the scanning
The online live video data of standby scanning;The online live video data is sent to the service by main broadcaster's client
Device;The online live video data is sent to all clients in the online direct broadcast band by the server, so that
The client plays the online live video data in real time.
Specifically, it can be equipped with picture pick-up device in main broadcaster's client-side, shuffles and pick up target to shoot main broadcaster user
Board is placed on the whole process being scanned in scanning device, and generates online live video data in real time, which can
To pre-establish binding relationship with main broadcaster's client, and communication connection is established, picture pick-up device can will be created on line live streaming
Video data is promptly sent to main broadcaster's client, which sends service for the online live video data
Device, all clients given in online direct broadcast band by server broadcast (including interact and participate in client and spectator client
Deng), so that each client plays the online live video data in real time, i.e. interaction participates in client and is entering main broadcaster
Client establish board class interactive virtual room after, in addition to can see virtual bidge table, on bidge table display board and oneself on hand
Outside the board taken, it can display in real time main broadcaster user there are one default video window and shuffle and pick up target board and be placed on scanning
The whole process being scanned in equipment.
It is sent by the online live video data that main broadcaster's client is scanned the target board of generation by the scanning device
To server, and the client in online direct broadcast band can play the online live video data in real time, meet use
Experience real scene is dealt out the cards the demand of process when family carries out the interaction of board class by internet.
Still further, provided in an embodiment of the present invention can also include based on the board class interactive approach being broadcast live online:Institute
It states the present that server reception interaction participation client is sent and gives instruction;The present is given instruction and is used to indicate to the master
Broadcast client gifts;The server gives instruction according to the present, sends present information to main broadcaster's client.
Specifically, interaction participates in client can interact with main broadcaster's client, such as carry out text or voice-enabled chat, also
Main broadcaster's client present can be given, to support or thumb up main broadcaster's behavior of main broadcaster's client;Certain main broadcaster's client can be controlled
System interaction participates in the interactive function of client, and certain interactions is such as allowed to participate in the speech of client, and certain interactions is forbidden to participate in visitor
The speech etc. at family end;And each interaction participates in that text or voice-enabled chat can also be carried out in preset public screen region between client
Deng interaction.
Below with reference to Fig. 4, for the board class to carry out holdem interacts, the skill for embodiment that the present invention will be described in detail again
Art scheme:
Main broadcaster a notifies main broadcaster's client to establish holdem virtual interactive room, and two players of player b and player c are logical
It crosses respective interaction and participates in client into the holdem virtual interactive room, and relative position has been determined, main broadcaster a triggering is opened
After the interaction of beginning holdem, server instruction main broadcaster's client is dealt out the cards, and main broadcaster a can carry out the playing card with preset pattern
It shuffles, target playing card are picked up after shuffling is placed in scanning device and be scanned, so that the figure on scanning device scanning target board
Shape and get the corresponding encoding of graphs information of the target board, the whole process that main broadcaster a shuffles and is scanned by board is all shot
As equipment captured in real-time and it is shown to player b and player c, main broadcaster a shuffles or pays attention to board face information when being scanned by board not
It is leaked to player;The encoding of graphs information that scanning device will acquire is sent to main broadcaster's client, and main broadcaster's client is by encoding of graphs
Information is sent to front-end client, and front-end client is after detecting that the encoding of graphs information meets preset format, by the figure
Server is sent to after encoded information encryption, server is decrypted to obtain the encoding of graphs information and record to save encoding of graphs letter
Breath is first card in one's hand of player b, and then the encoding of graphs information is returned to front-end client by server, and front-end client is being sentenced
After the encoding of graphs information that disconnected server returns is consistent with the transmission of main broadcaster's client before, call and the encoding of graphs information pair
The graphic interface element information answered, such as the target board are square A, then the graphic interface element information called is to constitute square
The graphic interface element information is all sent to player b to show first according to rule of dealing out the cards by the pictorial element of A, front-end client
Open card in one's hand square A.
It will be appreciated that for second distribution of card in one's hand and distributing with the distribution of public board such as subsequent player c card in one's hand
Above-mentioned process of dealing out the cards, which is not described herein again.In addition, the process embodiment of the present invention of player wager also without be described in detail,
The present invention is with no restriction.
By implementing the embodiment of the present invention, preset figure on target board is scanned by scanning device and is obtained and to main broadcaster
The encoding of graphs information that client is sent, which is sent to server by main broadcaster's client, and is finally being interacted
It participates in client and shows the corresponding graphic interface of target board, realize real data during the interaction of internet board class
With the conversion of virtual data with merge, solve the interactivity of prior art user and system in entire board class interactive process
Difference, the bad technical problem of user's viscosity of system, main broadcaster's client can also be by the target board of generation by the scanning device
The online live video data of scanning is sent to server, and the client in online direct broadcast band can play this in real time
Online live video data, meet user by internet carry out board class interaction when experience real scene deal out the cards process the needs of,
Interaction participates in client and can also carry out present with main broadcaster's client the information exchanges such as giving, and further increases mutual in entire board class
The interactivity of user and system during dynamic, the user's viscosity for enhancing system.
For the ease of better implementing the above scheme of the embodiment of the present invention, the present invention is also corresponding, and to provide a kind of electronics whole
End, the structural schematic diagram of electric terminal provided in an embodiment of the present invention as shown in Figure 5, electric terminal 50 may include:Coding
Information sending module 500, the encoding of graphs information for will receive are sent to front-end client;The wherein encoding of graphs letter
Breath is the encoding of graphs that scanning device is obtained and sent to the electric terminal end by preset figure on scanning target board
Information;
So that the front-end client is sent to server after being encrypted the encoding of graphs information;So that the server will
The information received is decrypted, and reads out encoding of graphs information, and the encoding of graphs information read out is sent to the front end
Client;The front-end client calls preset graphic interface element information corresponding with the encoding of graphs information, and according to pre-
If board class distribution rules by the graphic interface element information be sent to the interaction in online direct broadcast band participate in client so that
The interaction participates in client and shows graphic interface corresponding with the target board according to the graphic interface element information received.
Specifically, the structural schematic diagram of the encoded information sending module of the embodiment of the present invention as shown in Figure 6, encoded information
Sending module 500 may include:Request of dealing out the cards unit 5000, monitoring unit 5002 and information transmitting unit 5004, wherein
Request of dealing out the cards unit 5000 is used to obtain the request instruction of dealing out the cards of server transmission;
Monitoring unit 5002 is for monitoring whether that receiving the scanning device after getting the request instruction of dealing out the cards sends
Encoding of graphs information;
Information transmitting unit 5004 is used to send the encoding of graphs information when the monitoring result of the monitoring unit, which is, is
Client is taken to the front end.
Further, the structural schematic diagram of another embodiment of electric terminal provided by the invention as shown in Figure 7, electronics
Terminal 50 includes outside encoded information sending module 500, can also include online live video generation module 502 and video data transmitting
Module 504 is sent, wherein
Online live video generation module 502 scans target board for shooting the scanning device by picture pick-up device, generates
The online live video data that the target board is scanned by the scanning device;
Video data sends module 504 and is used to the online live video data being sent to the server;So that the service
The online live video data is sent to all clients in the online direct broadcast band by device, so that the client is broadcast in real time
Put the online live video data.
It should be noted that the electric terminal 50 in the embodiment of the present invention includes but is not limited to personal computer, mobile electricity
Words, removable computer, tablet computer, personal digital assistant, media player, smart television, smartwatch, intelligent glasses, intelligence
Bracelet etc. has the user equipment of display screen, and electric terminal 50 can run main broadcaster's client in above method embodiment,
The function of each functional module of electric terminal 50 can be implemented according to the method in above method embodiment, be implemented
Journey is referred to the associated description of above method embodiment, and details are not described herein again.
For the ease of better implementing the above scheme of the embodiment of the present invention, the present invention is also corresponding to be provided a kind of front end and sets
Standby, the structural schematic diagram of headend equipment provided in an embodiment of the present invention, headend equipment 80 may include as shown in Figure 8:Coding
Information receiving module 800, sending module 802 and element call sending module 804, wherein
Encoded information receiving module 800 is used to receive the encoding of graphs information of main broadcaster's client transmission;Wherein the figure is compiled
Code information is that scanning device is obtained by preset figure on scanning target board and the figure sent to main broadcaster's client is compiled
Code information;
Sending module 802 is used to the encoding of graphs information received being sent to server;So that the server
Receive and save the encoding of graphs information;
Element calls sending module 804 for calling preset graphic interface element letter corresponding with the encoding of graphs information
Breath, and the graphic interface element information is sent to the interaction in online direct broadcast band according to preset board class distribution rules and is participated in
Client, so that the interaction, which participates in client, shows figure corresponding with the target board according to the graphic interface element information received
As interface.
Specifically, after the server receives and saves the encoding of graphs information, encoding of graphs information is sent to
The front-end client;The structural schematic diagram of another embodiment of headend equipment provided by the invention as shown in Figure 9, front end is set
Standby 80 include that encoded information receiving module 800, sending module 802 and element call outside sending module 804, can also include coding
Signal judgement module 806, for calling preset graphic interface corresponding with the encoding of graphs information in element calling module 804
Before element information, judge to believe from the received encoding of graphs information of the server with from the received encoding of graphs of main broadcaster's client
It whether consistent ceases;When the judgment result is yes, triggering element calling module 804, which executes, calls the preset and encoding of graphs information
The step of corresponding graphic interface element information.
Further, the structural schematic diagram of another embodiment of headend equipment provided by the invention as shown in Figure 10, it is preceding
End equipment 80 includes encoded information receiving module 800, sending module 802, element calling sending module 804 and encoded information judgement
It can also include format detection module 808, the encoding of graphs information for will be received in sending module 802 outside module 806
It is sent to before server, whether the format for detecting the encoding of graphs information meets preset format;When the test results is yes,
Triggering sending module 802 executes the step of encoding of graphs information received is sent to server by this.
It should be noted that the headend equipment 80 in the embodiment of the present invention is specifically as follows the electronic equipments such as computer, it is preceding
End equipment 80 can run the front-end client in above method embodiment, and the function of each functional module of headend equipment 80 can
According to the method specific implementation in above method embodiment, specific implementation process is referred to the correlation of above method embodiment
Description, details are not described herein again.
For the ease of better implementing the above scheme of the embodiment of the present invention, the present invention also correspondence provides a kind of service
Device, the structural schematic diagram of server provided in an embodiment of the present invention as shown in Figure 11, server 110 include:Information, which is read, protects
Storing module 1100 and information sending module 1102, wherein
Information reads preserving module 1100 for receiving and saving encoding of graphs information;The information is front-end client hair
The encoding of graphs information sent;Wherein the encoding of graphs information is that scanning device is obtained by preset figure on scanning target board
Main broadcaster's client is taken and be sent to, the information of the front-end client is transmitted to by main broadcaster's client;
Information sending module 1102 is used to the encoding of graphs information read out being sent to front-end client;So that the front end
The preset graphic interface element information corresponding with the encoding of graphs information of client call, and distribute according to preset board class and advise
The graphic interface element information is then sent to the interaction in online direct broadcast band and participates in client, so that the interaction participates in client
End shows graphic interface corresponding with the target board according to the graphic interface element information received.
Specifically, information sending module 1102 is also used to generate distribution instruction information according to preset board class distribution rules,
Distribution instruction information, which is used to indicate, is distributed to correspondence for the encoding of graphs information that information reading preserving module 1100 is read out
Interaction participate in client;And distribution instruction information is sent to the front-end client, to indicate that the front-end client should
Graphic interface element information is sent to corresponding interaction in online direct broadcast band and participates in client.
Further, the structural schematic diagram of another embodiment of server provided by the invention as shown in Figure 12, service
Device 110 includes that information is read outside preserving module 1100 and information sending module 1102, can also include live data receiving module
1104 and live data sending module 1106, wherein
Live data receiving module 1104 is used to receive the online live video data of main broadcaster's client transmission;This is online
Live video data shoots the scanning device by picture pick-up device for main broadcaster's client and scans target board, and what is generated and sent should
The online live video data that target board is scanned by the scanning device;
Live data sending module 1106 is for the online live video data to be sent in the online direct broadcast band
All clients, so that the client plays the online live video data in real time.
It should be noted that the server 110 in the embodiment of the present invention is specifically as follows the electronic equipments such as computer, service
Device 110 can run the server in above method embodiment, and the function of each functional module of server 110 can be according to above-mentioned
Method specific implementation in embodiment of the method, specific implementation process are referred to the associated description of above method embodiment, this
Place repeats no more.
Figure 13 is please referred to, Figure 13 is that the structure provided in an embodiment of the present invention based on the board class interaction systems being broadcast live online is shown
It is intended to.As shown in figure 13, should based on the board class interaction systems 130 being broadcast live online may include main broadcaster's client 1300, scanning set
Standby 1302, front-end client 1304, server 1306 and interaction participate in client 1308, wherein interaction participates in client
1308 can have it is multiple.
The encoding of graphs information received is sent to front-end client 1304 by main broadcaster's client 1300;Wherein encoding of graphs
Information is the figure that scanning device 1302 is obtained and sent to main broadcaster's client 1300 by preset figure on scanning target board
Shape encoded information;The encoding of graphs information received is sent to server 1306 by front-end client 1304;Server 1306 connects
It receives and saves the encoding of graphs information;Front-end client 1304 calls preset graphic interface corresponding with encoding of graphs information
Element information, and graphic interface element information is sent to according to preset board class distribution rules the interaction in online direct broadcast band
Client 1308 is participated in, so that interaction participates in client 1308 and shows and target board according to the graphic interface element information received
Corresponding graphic interface.
It specifically, further include picture pick-up device based on the board class interaction systems 130 being broadcast live online, it should by picture pick-up device shooting
Scanning device scans target board, generates the online live video data that the target board is scanned by the scanning device, main broadcaster's client
The online live video data is sent to the server 1306 by 1300;So that the server 1306 is by the online live video number
According to all clients being sent in the online direct broadcast band, so that the client plays the online live video number in real time
According to.
Further, main broadcaster's client 1300 may include the electric terminal 50 of Fig. 5 to Fig. 7;Front-end client 1304 can
To include headend equipment 80 of the Fig. 8 into Figure 10 embodiment;Server 1306 can be specially in Figure 11 or Figure 12 embodiment
How server 110 specifically realizes the board class interaction being broadcast live online based on the board class interaction systems 130 being broadcast live online, can be with
The corresponding description for referring to above method item embodiment, which is not described herein again.
In conclusion by scanning device scan target board on preset figure obtain and to main broadcaster's client send
The encoding of graphs information is sent to server by encoding of graphs information, main broadcaster's client, and finally participates in client exhibition in interaction
Show the corresponding graphic interface of target board, realizes real data and virtual data during the interaction of internet board class
It converts and merges, solve interactive poor, the user of system of prior art user and system in entire board class interactive process
The bad technical problem of viscosity, the online live streaming that main broadcaster's client can also be scanned the target board of generation by the scanning device
Video data is sent to server, and the client in online direct broadcast band can play the online live video number in real time
According to, meet user by internet carry out board class interaction when experience real scene deal out the cards process the needs of, interaction participate in client
Can also carry out present with main broadcaster's client and the information exchanges such as give, further increase in entire board class interactive process user with
The interactivity of system, the user's viscosity for enhancing system.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium
In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
Above disclosed is only a preferred embodiment of the present invention, cannot limit the power of the present invention with this certainly
Sharp range, those skilled in the art can understand all or part of the processes for realizing the above embodiment, and weighs according to the present invention
Benefit requires made equivalent variations, still belongs to the scope covered by the invention.