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.
Referring to Figure 1, be a kind of data processing provided in an embodiment of the present invention method flow diagram, the method
May include:
S101, front-end server receive the letter of the first scanning result transmitted by the client based on rich media applications platform
Breath;
Specifically, front-end server receives the letter of the first scanning result transmitted by the client based on rich media applications platform
Breath.Wherein, the first scanning result information includes that the first application stage property identifies, and the first application stage property mark is by described
Client is obtained using the unique patterns mark of stage property by scanning device scanning, and the unique patterns mark can be two
Tie up code or bar code.Wherein, the client based on rich media applications platform can be including set group chat, net cast,
The rich media client that the functions such as channel K song, game on line, online video display are integrated.For example, being playing cards, the paper using stage property
Unique patterns on board are identified as two dimensional code, and scanning device generates the first application stage property and identifies after being scanned to the two dimensional code,
And the first application stage property mark is sent to the client, then the front-end server is forwarded to by the client,
The first application stage property mark can be the board face information of the playing cards, if the playing cards are " square 9 ", then first application
Stage property mark can be the character information of " square 9 ".
S102, the front-end server encrypt the first scanning result information, and encrypted first is swept
It retouches result information and is sent to background server;
Specifically, after the front-end server receives the first scanning result information, it can be to first scanning
Result information is encrypted, and encrypted first scanning result information is sent to background server.By to described first
Scanning result information is encrypted, and can be taken in the front-end server to the backstage to avoid the first scanning result information
It is illegally distorted in the transmission process of device of being engaged in.Wherein, the algorithm encrypted to the first scanning result information can be DES
(Data Encryption Standard, data encryption standards) or IDEA (International Data Encryption
Algorithm, international data encryption algorithm) or AES (Advanced Encryption Standard, Advanced Encryption Standard) or
Other existing Encryption Algorithm.
S103, the encrypted first scanning result information is decrypted in the background server, to obtain second
Scanning result information, and the second scanning result information is sent to the front-end server;
Specifically, after the background server receives the encrypted first scanning result information, it can be to described
Encrypted first scanning result information is decrypted, to obtain the second scanning result information, wherein second scanning result
Information includes that the second application stage property identifies;The second scanning result information is sent back the front end again by the background server
Server.
S104, the front-end server identify the second application stage property in the second scanning result information received
It is matched with the first application stage property mark;
Specifically, second in the second scanning result information received by the front-end server extraction applies road
Tool mark, and the second application stage property mark is applied into stage property mark with first in local the first scanning result information
Knowledge matched, with detect it is described first application stage property mark with it is described second application stage property identify whether it is identical.
S105, when it is identical that the second application stage property, which is identified with the first application stage property mark matching, before described
End server notifies the background server to generate and records business datum corresponding with the second application stage property mark;
Specifically, when the front-end server detects that the second application stage property mark applies stage property mark with described first
When to know matching be identical, illustrate the second application stage property mark that the background server decrypts be accurately, it is therefore, described
Front-end server can notify the background server to generate and record business number corresponding with the second application stage property mark
According to.For example, if first is identified as " square 9 " using stage property, and the front-end server detects that the second application stage property identifies
For " square 9 ", then the front-end server can send a notification message to the background server, so that the background service
The second application stage property mark that device can learn that decryption is obtained according to the notification message is accurately, at this point, the backstage takes
Being engaged in device can be by the second application stage property identity map to corresponding user information, and records the business number comprising the mapping relations
According to it is " square 9 " that the mapping relations, which can be expressed as the board that the corresponding user client of the user information is dealt into, and is responsible for hair
The user of board can be the client being previously mentioned in S101.By carrying out encrypted transmission to the first scanning result information
It is possible to prevente effectively from data are illegally distorted, and again by the front-end server verify the first scanning result information and
Whether the second scanning result information is identical, it is ensured that the background server is only obtaining accurate second scanning result
Corresponding business datum is just generated and recorded when information, avoids illegally being distorted in data or to encrypted first scanning result
The business datum of meeting generation error when information decryption error.
Front-end server in the embodiment of the present invention first encrypts the first scanning result information that client is sent, then
Encrypted first scanning result information is sent to background server, background server is decrypted it to obtain second and sweep
Result information is retouched, and the second scanning result information is sent back into front-end server, front-end server detects the first scanning knot
When the first application stage property mark in fruit information and the second application stage property mark matching in the second scanning result information are identical,
Front-end server can notify background server to generate and record business datum corresponding with the second application stage property mark;Thus may be used
See, data can be effectively prevented illegally is distorted by carrying out encryption to the first scanning result information, to guarantee the safety of data
Property, and identified by comparing first using stage property mark and the second application stage property, it is ensured that background server is only obtaining
Corresponding business datum could be generated when identifying to accurate second application stage property, to ensure that the accuracy of data.
Fig. 2 is referred to, is the flow diagram of the method for another data processing provided in an embodiment of the present invention, the side
Method may include:
S201, front-end server receive the letter of the first scanning result transmitted by the client based on rich media applications platform
Breath;
Specifically, front-end server receives the letter of the first scanning result transmitted by the client based on rich media applications platform
Breath.Wherein, the first scanning result information includes that the first application stage property identifies, and the first application stage property mark is by described
Client is obtained using the unique patterns mark of stage property by scanning device scanning, and the unique patterns mark can be two
Tie up code or bar code.Wherein, the client based on rich media applications platform can be including set group chat, net cast,
The rich media client that the functions such as channel K song, game on line, online video display are integrated;Wherein, the client can be based on
Client is broadcast, main broadcaster's client has live streaming initiative, such as the initiative that there is main broadcaster's client video to upload, and video uploads
It can be the video of game live streaming, the video of performance, video of education content etc. video uploads.For example, being paper using stage property
Board, the unique patterns on the playing cards are identified as two dimensional code, and scanning device generates first using road after being scanned to the two dimensional code
Tool mark, and the first application stage property mark is sent to the client, then the front end is forwarded to by the client
Server, the first application stage property mark can be the board face information of the playing cards, if the playing cards are " square 9 ", then described
First application stage property mark can be the character information of " square 9 ".
The first scanning result information further includes the first channel information locating for the client, wherein channel is simple
For be exactly a kind of Virtual Space (or virtual room), the spectator client in the Virtual Space can not only watch main broadcaster
The live content of client, can also and main broadcaster's client carry out the interaction of voice or text, first channel information can be with
For the ID (identification, identity number) number of channel.When there are multiple clients for being respectively at different channel,
The front-end server can receive the scanning result information that each client for being respectively at different channel is sent, i.e., described
Front-end server can receive multiple scanning result information, and the channel information in each scanning result information is different, because
This, can distinguish each scanning result information by channel information is to belong to the client of which channel.
S202, the front-end server encrypt the first scanning result information, and encrypted first is swept
It retouches result information and is sent to background server;
Specifically, after the front-end server receives the first scanning result information, it can be to first scanning
Result information is encrypted, and encrypted first scanning result information is sent to background server.By to described first
Scanning result information is encrypted, and can be taken in the front-end server to the backstage to avoid the first scanning result information
It is illegally distorted in the transmission process of device of being engaged in.Wherein, the algorithm encrypted to the first scanning result information can be DES
Or IDEA or AES or other existing Encryption Algorithm.
S203, the encrypted first scanning result information is decrypted in the background server, to obtain second
Scanning result information, and the second scanning result information is encrypted;
Encrypted second scanning result information is sent to the front-end server by S204, the background server, with
The front-end server is decrypted to encrypted second scanning result information;
Specifically, the encrypted first scanning result information is decrypted in the background server, to obtain
The second scanning result information is stated, in order to further ensure the transmission safety of the second scanning result information, the background service
Device can encrypt the second scanning result information, then by encrypted second scanning result information be sent to it is described before
Server is held, the front-end server obtains the second scanning result information after it is decrypted.By to described second
Scanning result information is encrypted, and can be taken in the background server to the front end to avoid the second scanning result information
It is illegally distorted in the transmission process of device of being engaged in.
S205, the front-end server receive the second scanning result information that the background server is sent, and will
Second channel information received is matched with first channel information;
Specifically, the second scanning result information further includes the second channel information locating for the client.Before described
After encrypted second scanning result information is decrypted in end server, it can extract in the second scanning result information
Second channel information, and by second channel information and local the first scanning result information in the first channel information phase
Match, whether is the scanning result letter in the same channel to detect the first scanning result information and the second scanning result information
Whether breath, that is, detect the first scanning result information and the second scanning result information from the same client.
S206, when second channel information is identical with first channel information matching, the front-end server
Further the second application stage property is identified and is matched with the first application stage property mark;
Specifically, when the front-end server in S205 step detects second channel information and first frequency
When road information matches are identical, illustrate the first scanning result information and the second scanning result information from same
Client, at this point, the front-end server further identifies the second application stage property mark and the first application stage property
It is matched.When the front-end server in S205 step detects second channel information and first channel information
When matching is not identical, illustrate the first scanning result information and the second scanning result information not from same
Client illustrates the second scanning result information inaccuracy that the background server obtains, at this point, the front-end server can
To retransmit encrypted first scanning result information to the background server, return to the background server newly
The second scanning result information, to verify the second frequency in first channel information and the second new scanning result information again
Whether road information is identical;Further, if the front-end server detects second channel information and first channel
Information matches are that different number reaches preset threshold, then the front-end server can notify the client to retransmit
The first new scanning result information is to the front-end server, in order to which the front-end server believes the first new scanning result
Breath carries out encryption and encrypted the first new scanning result information is sent to the background server.
S207, when it is identical that the second application stage property, which is identified with the first application stage property mark matching, before described
End server notifies the background server to generate and records business datum corresponding with the second application stage property mark;
Specifically, when the front-end server detects that the second application stage property mark applies stage property mark with described first
When to know matching be identical, illustrate the second application stage property mark that the background server decrypts be accurately, it is therefore, described
Front-end server can notify the background server to generate and record business number corresponding with the second application stage property mark
According to.
After the background server generates and records the business datum, the background server can will carry described
The business datum of second channel information is sent to the front-end server, and the front-end server is according to the business datum
Generate corresponding with client application stage property graph text information, and application stage property figure corresponding with multiple sub- clients
Literary information;The multiple sub- client is on second channel information and has incidence relation with the client;Institute
It states front-end server and each application stage property graph text information generated is respectively sent to the corresponding client and described
Multiple sub- clients.By taking Card Games as an example, the client can broadcast client based on, and the multiple sub- client can be
Two dimensional code on playing cards can be placed on scanning device when main broadcaster user deals out the cards by the spectator client for participating in ludic activity
On be scanned, scanning device the first application stage property mark generated is sent to main broadcaster's client, then will by main broadcaster's client
It is encapsulated as the first scanning result information, and sends front-end server for the first scanning result information, then pass through front end services
Device carries out encryption and verifying learns that the second scanning result information obtained in background server is accurately, then background server
Corresponding business datum can be generated according to the application stage property mark of second in the second scanning result information, such as second applies road
Tool is identified as " square 9 ", then corresponding business datum can be the mapping relations of " square 9 " and spectator client A, i.e. spectators visitor
The board that family end A is dealt into is " square 9 ", and the second channel information and the mapping relations are sent front end services by background server
Device, it is square 9 that the corresponding application stage property graph text information of the spectator client A on the second channel information, which can be generated, in front-end server
Playing card front pattern, and generate the second channel information on other spectator clients and the corresponding application of main broadcaster's client
Stage property graph text information is playing card reverse side pattern, and front-end server will be sent to sight again for the playing card front elevation case of square 9
Many customer end As, other spectator clients and main broadcaster visitor playing card reverse side pattern being sent respectively on the second channel information
Family end.
When the front-end server detects that the second application stage property mark is matched with the first application stage property mark
When being not identical, illustrate the second scanning result information inaccuracy that the background server obtains, at this point, the front-end server
Encrypted first scanning result information can be retransmitted to the background server, return to the background server
The second new scanning result information, verified in the first application stage property mark and the second new scanning result information again
Second application stage property identifies whether identical;Further, if the front-end server detects that the second application stage property identifies
It is matched with the first application stage property mark and reaches preset threshold for different number, then the front-end server can notify
The client retransmits the first new scanning result information to the front-end server, in order to the front-end server pair
The first new scanning result information carries out encryption and encrypted the first new scanning result information is sent to the backstage clothes
Business device.
Front-end server in the embodiment of the present invention first encrypts the first scanning result information that client is sent, then
Encrypted first scanning result information is sent to background server, background server is decrypted it to obtain second and sweep
Result information is retouched, and the second scanning result information is sent back into front-end server, front-end server detects the first scanning knot
When the first application stage property mark in fruit information and the second application stage property mark matching in the second scanning result information are identical,
Front-end server can notify background server to generate and record business datum corresponding with the second application stage property mark;Thus may be used
See, data can be effectively prevented illegally is distorted by carrying out encryption to the first scanning result information, to guarantee the safety of data
Property, and identified by comparing first using stage property mark and the second application stage property, it is ensured that background server is only obtaining
Corresponding business datum could be generated when identifying to accurate second application stage property, to ensure that the accuracy of data.
Fig. 3 is referred to, is the flow diagram of the method for another data processing provided in an embodiment of the present invention, the side
Method may include:
S301, front-end server receive the letter of the first scanning result transmitted by the client based on rich media applications platform
Breath;Wherein, the first scanning result information includes that the first application stage property identifies, and the first application stage property mark is by described
Client is identified by scanning device scanning using the unique patterns of stage property obtained;
Specifically, front-end server receives the letter of the first scanning result transmitted by the client based on rich media applications platform
Breath.Wherein, the first scanning result information includes that the first application stage property identifies, and the first application stage property mark is by described
Client is obtained using the unique patterns mark of stage property by scanning device scanning, and the unique patterns mark can be two
Tie up code or bar code.Wherein, the client based on rich media applications platform can be including set group chat, net cast,
The rich media client that the functions such as channel K song, game on line, online video display are integrated;Wherein, the client can be based on
Client is broadcast, main broadcaster's client has live streaming initiative, such as the initiative that there is main broadcaster's client video to upload, and video uploads
It can be the video of game live streaming, the video of performance, video of education content etc. video uploads.For example, being paper using stage property
Board, the unique patterns on the playing cards are identified as two dimensional code, and scanning device generates first using road after being scanned to the two dimensional code
Tool mark, and the first application stage property mark is sent to the client, then the front end is forwarded to by the client
Server, the first application stage property mark can be the board face information of the playing cards, if the playing cards are " square 9 ", then described
First application stage property mark can be the character information of " square 9 ".
The first scanning result information further includes the first channel information locating for the client, wherein channel is simple
For be exactly a kind of Virtual Space (or virtual room), the spectator client in the Virtual Space can not only watch main broadcaster
The live content of client, can also and main broadcaster's client carry out the interaction of voice or text, first channel information can be with
For the ID number of channel.When there are multiple clients for being respectively at different channel, the front-end server can receive each
The scanning result information that a client for being respectively at different channel is sent, i.e., the described front-end server can receive multiple sweep
Result information is retouched, the channel information in each scanning result information is different, therefore, can distinguish respectively by channel information
A scanning result information is to belong to the client of which channel.
S302, the front-end server encrypt the first scanning result information, and encrypted first is swept
Retouch result information and be sent to background server so that the background server to the encrypted first scanning result information into
Row decryption, to obtain the second scanning result information;Wherein, the second scanning result information includes that the second application stage property identifies;
Specifically, after the front-end server receives the first scanning result information, it can be to first scanning
Result information is encrypted, and encrypted first scanning result information is sent to background server.By to described first
Scanning result information is encrypted, and can be taken in the front-end server to the backstage to avoid the first scanning result information
It is illegally distorted in the transmission process of device of being engaged in.Wherein, the algorithm encrypted to the first scanning result information can be DES
Or IDEA or AES or other existing Encryption Algorithm.The background server is to the encrypted first scanning result information
It is decrypted, to obtain the second scanning result information, in order to further ensure the transmission of the second scanning result information
Safety, the background server can encrypt the second scanning result information, then encrypted second scanning is tied
Fruit information is sent to the front-end server, and the front-end server obtains the second scanning result letter after it is decrypted
Breath.It, can be to avoid the second scanning result information on the backstage by being encrypted to the second scanning result information
Server is illegally distorted into the transmission process of the front-end server.
S303, the front-end server receive the second scanning result information that the background server is sent, and will
The second application stage property is identified to be matched with the first application stage property mark;
Specifically, the second scanning result information further includes the second channel information locating for the client.Before described
After encrypted second scanning result information is decrypted in end server, it can extract in the second scanning result information
Second channel information, and by second channel information and local the first scanning result information in the first channel information phase
Match, whether is the scanning result letter in the same channel to detect the first scanning result information and the second scanning result information
Whether breath, that is, detect the first scanning result information and the second scanning result information from the same client.When the front end
When server detects that the matching of second channel information and first channel information is identical, illustrate that first scanning is tied
Fruit information and the second scanning result information are from the same client, at this point, the front-end server is further by institute
The second application stage property mark is stated to be matched with the first application stage property mark.
It is not identical when the front-end server detects that second channel information is matched with first channel information
When, illustrate that the first scanning result information and the second scanning result information not from the same client, that is, are said
The second scanning result information inaccuracy that the bright background server obtains, at this point, the front-end server can retransmit
Encrypted first scanning result information makes the background server return to the second new scanning to the background server
Result information, whether to verify the second channel information in first channel information and the second new scanning result information again
It is identical;Further, it is if the front-end server detects that second channel information is matched with first channel information
Different number reaches preset threshold, then the front-end server can notify the client to retransmit new first and sweep
Result information is retouched to the front-end server, in order to which the front-end server encrypts the first new scanning result information
And encrypted the first new scanning result information is sent to the background server.
S304, when it is identical that the second application stage property, which is identified with the first application stage property mark matching, before described
End server notifies the background server to generate and records business datum corresponding with the second application stage property mark;
Specifically, when the front-end server detects that the second application stage property mark applies stage property mark with described first
When to know matching be identical, illustrate the second application stage property mark that the background server decrypts be accurately, it is therefore, described
Front-end server can notify the background server to generate and record business number corresponding with the second application stage property mark
According to.
After the background server generates and records the business datum, the background server can will carry described
The business datum of second channel information is sent to the front-end server, and the front-end server is according to the business datum
Generate corresponding with client application stage property graph text information, and application stage property figure corresponding with multiple sub- clients
Literary information;The multiple sub- client is on second channel information and has incidence relation with the client;Institute
It states front-end server and each application stage property graph text information generated is respectively sent to the corresponding client and described
Multiple sub- clients.By taking Card Games as an example, the client can broadcast client based on, and the multiple sub- client can be
Two dimensional code on playing cards can be placed on scanning device when main broadcaster user deals out the cards by the spectator client for participating in ludic activity
On be scanned, scanning device the first application stage property mark generated is sent to main broadcaster's client, then will by main broadcaster's client
It is encapsulated as the first scanning result information, and sends front-end server for the first scanning result information, then pass through front end services
Device carries out encryption and verifying learns that the second scanning result information obtained in background server is accurately, then background server
Corresponding business datum can be generated according to the application stage property mark of second in the second scanning result information, such as second applies road
Tool is identified as " square 9 ", then corresponding business datum can be the mapping relations of " square 9 " and spectator client A, i.e. spectators visitor
The board that family end A is dealt into is " square 9 ", and the second channel information and the mapping relations are sent front end services by background server
Device, it is square 9 that the corresponding application stage property graph text information of the spectator client A on the second channel information, which can be generated, in front-end server
Playing card front pattern, and generate the second channel information on other spectator clients and the corresponding application of main broadcaster's client
Stage property graph text information is playing card reverse side pattern, and front-end server will be sent to sight again for the playing card front elevation case of square 9
Many customer end As, other spectator clients and main broadcaster visitor playing card reverse side pattern being sent respectively on the second channel information
Family end.
When the front-end server detects that the second application stage property mark is matched with the first application stage property mark
When being not identical, illustrate the second scanning result information inaccuracy that the background server obtains, at this point, the front-end server
Encrypted first scanning result information can be retransmitted to the background server, return to the background server
The second new scanning result information, verified in the first application stage property mark and the second new scanning result information again
Second application stage property identifies whether identical;Further, if the front-end server detects that the second application stage property identifies
It is matched with the first application stage property mark and reaches preset threshold for different number, then the front-end server can notify
The client retransmits the first new scanning result information to the front-end server, in order to the front-end server pair
The first new scanning result information carries out encryption and encrypted the first new scanning result information is sent to the backstage clothes
Business device.
Front-end server in the embodiment of the present invention first encrypts the first scanning result information that client is sent, then
Encrypted first scanning result information is sent to background server, background server is decrypted it to obtain second and sweep
Result information is retouched, and the second scanning result information is sent back into front-end server, front-end server detects the first scanning knot
When the first application stage property mark in fruit information and the second application stage property mark matching in the second scanning result information are identical,
Front-end server can notify background server to generate and record business datum corresponding with the second application stage property mark;Thus may be used
See, data can be effectively prevented illegally is distorted by carrying out encryption to the first scanning result information, to guarantee the safety of data
Property, and identified by comparing first using stage property mark and the second application stage property, it is ensured that background server is only obtaining
Corresponding business datum could be generated when identifying to accurate second application stage property, to ensure that the accuracy of data.
Fig. 4 is referred to, is the flow diagram of the method for another data processing provided in an embodiment of the present invention, the side
Method may include:
S401, the encrypted first scanning result information that background server receiving front-end server is sent to;It is described to add
The first scanning result information after close is as the front-end server to transmitted by the client based on rich media applications platform
What the first scanning result information was encrypted, and the first scanning result information includes that the first application stage property identifies, institute
Stating the first application stage property mark is obtained by scanning device scanning using the unique patterns mark of stage property by the client
's;
Specifically, front-end server receives the letter of the first scanning result transmitted by the client based on rich media applications platform
Breath.Wherein, the first scanning result information includes that the first application stage property identifies, and the first application stage property mark is by described
Client is obtained using the unique patterns mark of stage property by scanning device scanning, and the unique patterns mark can be two
Tie up code or bar code.Wherein, the client based on rich media applications platform can be including set group chat, net cast,
The rich media client that the functions such as channel K song, game on line, online video display are integrated;Wherein, the client can be based on
Client is broadcast, main broadcaster's client has live streaming initiative, such as the initiative that there is main broadcaster's client video to upload, and video uploads
It can be the video of game live streaming, the video of performance, video of education content etc. video uploads.For example, being paper using stage property
Board, the unique patterns on the playing cards are identified as two dimensional code, and scanning device generates first using road after being scanned to the two dimensional code
Tool mark, and the first application stage property mark is sent to the client, then the front end is forwarded to by the client
Server, the first application stage property mark can be the board face information of the playing cards, if the playing cards are " square 9 ", then described
First application stage property mark can be the character information of " square 9 ".
The first scanning result information further includes the first channel information locating for the client, wherein channel is simple
For be exactly a kind of Virtual Space (or virtual room), the spectator client in the Virtual Space can not only watch main broadcaster
The live content of client, can also and main broadcaster's client carry out the interaction of voice or text, first channel information can be with
For the ID number of channel.When there are multiple clients for being respectively at different channel, the front-end server can receive each
The scanning result information that a client for being respectively at different channel is sent, i.e., the described front-end server can receive multiple sweep
Result information is retouched, the channel information in each scanning result information is different, therefore, can distinguish respectively by channel information
A scanning result information is to belong to the client of which channel.
It, can be to the first scanning result information after the front-end server receives the first scanning result information
It is encrypted, at this point, the background server can receive the encrypted first scanning knot that the front-end server is sent
Fruit information.It, can be to avoid the first scanning result information described by being encrypted to the first scanning result information
Front-end server is illegally distorted into the transmission process of the background server.Wherein, to the first scanning result information
The algorithm encrypted can be DES or IDEA or AES or other existing Encryption Algorithm.
S402, the encrypted first scanning result information is decrypted in the background server, to obtain second
Scanning result information, and the second scanning result information is sent to the front-end server, so that the front-end server
The second application stage property mark in the second scanning result information received is carried out with the first application stage property mark
Matching;
Specifically, the encrypted first scanning result information is decrypted in the background server, to obtain
The second scanning result information is stated, in order to further ensure the transmission safety of the second scanning result information, the background service
Device can encrypt the second scanning result information, then by encrypted second scanning result information be sent to it is described before
Server is held, the front-end server obtains the second scanning result information after it is decrypted.By to described second
Scanning result information is encrypted, and can be taken in the background server to the front end to avoid the second scanning result information
It is illegally distorted in the transmission process of device of being engaged in.
The second scanning result information further includes the second channel information locating for the client.The front-end server
After encrypted second scanning result information is decrypted, the second channel in the second scanning result information can be extracted
Information, and second channel information and the first channel information in the first local scanning result information are matched, with inspection
It surveys whether the first scanning result information and the second scanning result information are the scanning result information in the same channel, that is, detects
Whether the first scanning result information and the second scanning result information are from the same client.When the front-end server detects
When to the matching of second channel information and first channel information being identical, illustrate the first scanning result information and institute
The second scanning result information is stated from the same client, at this point, the front-end server is further applied described second
Stage property mark is matched with the first application stage property mark.
S403, when it is identical that the second application stage property, which is identified with the first application stage property mark matching, after described
Platform server receives the notification message that the front-end server is sent, and according to the notification message generates and record and described the
Two application stage properties identify corresponding business datum;
Specifically, when the front-end server detects that the second application stage property mark applies stage property mark with described first
When to know matching be identical, illustrate the second application stage property mark that the background server decrypts be accurately, it is therefore, described
Front-end server can notify the background server to generate and record business number corresponding with the second application stage property mark
According to.For example, if first is identified as " square 9 " using stage property, and the front-end server detects that the second application stage property identifies
For " square 9 ", then the front-end server can send a notification message to the background server, so that the background service
The second application stage property mark that device can learn that decryption is obtained according to the notification message is accurately, at this point, the backstage takes
Being engaged in device can be by the second application stage property identity map to corresponding user information, and records the business number comprising the mapping relations
According to it is " square 9 " that the mapping relations, which can be expressed as the board that the corresponding user client of the user information is dealt into, and is responsible for hair
The user of board can be the client being previously mentioned in S401.By carrying out encrypted transmission to the first scanning result information
It is possible to prevente effectively from data are illegally distorted, and again by the front-end server verify the first scanning result information and
Whether the second scanning result information is identical, it is ensured that the background server is only obtaining accurate second scanning result
Corresponding business datum is just generated and recorded when information, avoids illegally being distorted in data or to encrypted first scanning result
The business datum of meeting generation error when information decryption error.
Front-end server in the embodiment of the present invention first encrypts the first scanning result information that client is sent, then
Encrypted first scanning result information is sent to background server, background server is decrypted it to obtain second and sweep
Result information is retouched, and the second scanning result information is sent back into front-end server, front-end server detects the first scanning knot
When the first application stage property mark in fruit information and the second application stage property mark matching in the second scanning result information are identical,
Front-end server can notify background server to generate and record business datum corresponding with the second application stage property mark;Thus may be used
See, data can be effectively prevented illegally is distorted by carrying out encryption to the first scanning result information, to guarantee the safety of data
Property, and identified by comparing first using stage property mark and the second application stage property, it is ensured that background server is only obtaining
Corresponding business datum could be generated when identifying to accurate second application stage property, to ensure that the accuracy of data.
Fig. 5 is referred to, is a kind of structural schematic diagram of front-end server 1 provided in an embodiment of the present invention, the front end clothes
Business device 1 may include:Scanning result receiving module 11, encrypting module 12, matching module 13, notification module 14;
The scanning result receiving module 11, for receiving first transmitted by the client based on rich media applications platform
Scanning result information;Wherein, the first scanning result information includes that the first application stage property identifies, and described first applies stage property mark
Knowledge is obtained using the unique patterns mark of stage property by scanning device scanning by the client;
Specifically, the scanning result receiving module 11 receives transmitted by the client based on rich media applications platform the
One scanning result information.Wherein, the first scanning result information includes that the first application stage property identifies, and described first applies stage property
Mark is to identify obtained, the unique patterns using the unique patterns of stage property by scanning device scanning by the client
Mark can be two dimensional code or bar code.Wherein, the client based on rich media applications platform can be including collecting gregarious
Merely, the rich media client that the functions such as net cast, channel K song, game on line, online video display are integrated.For example, using stage property
For playing cards, the unique patterns on the playing cards are identified as two dimensional code, and scanning device generates first after being scanned to the two dimensional code and answers
It is identified with stage property, and the first application stage property mark is sent to the client, then by the scanning result receiving module
11, which receive the first application stage property that the client is forwarded, identifies, and the first application stage property mark can be the playing cards
Board face information, if the playing cards be " square 9 ", then it is described first application stage property mark can be " square 9 " character information.
The encrypting module 12 for encrypting to the first scanning result information, and encrypted first is swept
Retouch result information and be sent to background server so that the background server to the encrypted first scanning result information into
Row decryption, to obtain the second scanning result information;Wherein, the second scanning result information includes that the second application stage property identifies;
Specifically, after the scanning result receiving module 11 receives the first scanning result information, the encryption mould
Block 12 can encrypt the first scanning result information, and encrypted first scanning result information is sent to backstage
Server.It, can be to avoid the first scanning result information described by being encrypted to the first scanning result information
Front-end server 1 is illegally distorted into the transmission process of the background server.Wherein, to the first scanning result information
The algorithm encrypted can be DES or IDEA or AES or other existing Encryption Algorithm.The background server adds to described
The first scanning result information after close is decrypted, to obtain the second scanning result information.
The matching module 13, the second scanning result information sent for receiving the background server, and will
The second application stage property is identified to be matched with the first application stage property mark;
The notification module 14, for being when the second application stage property identifies to match with the first application stage property mark
When identical, notify the background server to generate and record business datum corresponding with the second application stage property mark;
Specifically, when the matching module 13 detects that the second application stage property mark applies stage property mark with described first
When to know matching be identical, illustrate the second application stage property mark that the background server decrypts be accurately, it is therefore, described
Notification module 14 can notify the background server to generate and record business number corresponding with the second application stage property mark
According to.For example, if first is identified as " square 9 " using stage property, and the matching module 13 detects that the second application stage property identifies
For " square 9 ", then the notification module 14 can send a notification message to the background server, so that the background service
The second application stage property mark that device can learn that decryption is obtained according to the notification message is accurately, at this point, the backstage takes
Being engaged in device can be by the second application stage property identity map to corresponding user information, and records the business number comprising the mapping relations
According to it is " square 9 " that the mapping relations, which can be expressed as the board that the corresponding user client of the user information is dealt into,.By to institute
It states the first scanning result information and carries out encrypted transmission it is possible to prevente effectively from data are illegally distorted, and are taken again by the front end
Business device 1 verifies the first scanning result information and whether the second scanning result information is identical, it is ensured that the backstage
Server only just generates and records corresponding business datum when obtaining accurate second scanning result information, avoids in data quilt
Illegally distort or when to encrypted first scanning result information decryption error can generation error business datum.
Further, then Fig. 6 is referred to, is a kind of structural schematic diagram of matching module 13 provided in an embodiment of the present invention,
The matching module 13 may include:First matching unit 131, the second matching unit 132;
First matching unit 131, the second scanning result information sent for receiving the background server,
And second channel information received is matched with first channel information;
Specifically, the first scanning result information further includes the first channel information locating for the client, wherein frequency
Road is briefly exactly a kind of Virtual Space (or virtual room), and the spectator client in the Virtual Space can not only be seen
It sees the live content of main broadcaster's client, the interaction of voice or text, the first channel letter can also be carried out with main broadcaster's client
Breath can be the ID number of channel.When there are multiple clients for being respectively at different channel, the front-end server 1 can be connect
The scanning result information that each client for being respectively at different channel is sent is received, i.e., the described front-end server 1 can receive
To multiple scanning result information, the channel information in each scanning result information is different, therefore, can be with by channel information
Distinguishing each scanning result information is to belong to the client of which channel.Similarly, the second scanning result information also
Including the first channel information locating for the client, therefore, swept in receive the background server transmission described second
After retouching result information, first matching unit 131 can be by first channel information and second scanning received
Second channel information in result information is matched, to detect the first scanning result information and the second scanning result information
Whether it is the scanning result information in the same channel, that is, detects the first scanning result information and the second scanning result information is
It is no from the same client.
Second matching unit 132, for being matched with first channel information when second channel information as phase
Meanwhile the second application stage property being identified and is matched with the first application stage property mark;
Specifically, when first matching unit 131 is matched to second channel information and first channel information
When being identical, illustrate the first scanning result information and the second scanning result information from the same client, this
When, second matching unit 132 further carries out the second application stage property mark and the first application stage property mark
Matching.
Front-end server 1 in the embodiment of the present invention first encrypts the first scanning result information that client is sent,
Encrypted first scanning result information is sent to background server again, background server is decrypted it to obtain second
Scanning result information, and the second scanning result information is sent back into front-end server 1, front-end server 1 detects that first sweeps
Retouching the first application stage property mark in result information and the second application stage property mark matching in the second scanning result information is phase
Meanwhile front-end server 1 can notify background server to generate and record business datum corresponding with the second application stage property mark;
It can be seen that data can be effectively prevented illegally being distorted by carrying out encryption to the first scanning result information, to guarantee data
Safety, and by comparing first application stage property mark and second application stage property identify, it is ensured that background server only
Corresponding business datum could be generated when obtaining accurate second application stage property mark by having, to ensure that the accurate of data
Property.
Fig. 7 is referred to again, is the structural schematic diagram of another front-end server 1 provided in an embodiment of the present invention, before described
End server 1 may include scanning result receiving module 11, encrypting module 12, matching module in above-mentioned Fig. 5 corresponding embodiment
13, notification module 14, further, the front-end server 1 can also include:Module 15 is retransmitted in prompt, business datum receives
Module 16, graph text information generation module 17, graph text information sending module 18;
Module 15 is retransmitted in the prompt, for when the second application stage property mark and the first application stage property mark
When with being not identical, miscue information is sent to the background server, and retransmit encrypted first scanning result
Information is to the background server;
Specifically, when the matching module 13 detects that the second application stage property mark applies stage property mark with described first
When knowledge matching is not identical, illustrate the second scanning result information inaccuracy that the background server obtains, at this point, the prompt
Encrypted first scanning result information can be retransmitted to the background server by retransmitting module 15, make the background service
Device returns to the second new scanning result information, is tied with verifying the first application stage property mark again with the second new scanning
The second application stage property in fruit information identifies whether identical;Further, if the matching module 13 detects that described second answers
It is matched with stage property mark with the first application stage property mark and reaches preset threshold for different number, then the prompt is retransmitted
Module 15 can notify that the client retransmits the first new scanning result information to the front-end server 1, in order to
The front-end server 1 carries out encryption to the first new scanning result information and by encrypted the first new scanning result information
It is sent to the background server.
The business datum receiving module 16 carries second channel for receive that the background server sends
The business datum of information;
The graph text information generation module 17, for generating application corresponding with the client according to the business datum
Stage property graph text information, and application stage property graph text information corresponding with multiple sub- clients;The multiple sub- client is equal
There is incidence relation on second channel information and with the client;
The graph text information sending module 18, for each application stage property graph text information generated to be respectively sent to pair
The client and the multiple sub- client answered;
Specifically, the notification module 14 notifies the background server to generate and records to apply stage property mark with described second
After knowing corresponding business datum, the business datum receiving module 16 can receive the carrying of the background server transmission
State the business datum of the second channel information, the graph text information generation module 17 according to the business datum generate with it is described
The corresponding application stage property graph text information of client, and application stage property graph text information corresponding with multiple sub- clients;Institute
Multiple sub- clients are stated to be on second channel information and there is incidence relation with the client;The graph text information
Each application stage property graph text information generated is respectively sent to the corresponding client and described more by sending module 18
A sub- client.For example, broadcasting client based on the client, the multiple sub- client can be the sight of participation ludic activity
Many clients, second is identified as " square 9 " using stage property, then corresponding business datum can be " square 9 " and spectator client A
Mapping relations, i.e. the board that spectator client A is dealt into is " square 9 ", and background server is by the second channel information and the mapping
Relationship is sent to front-end server 1, and the spectators client on the second channel information can be generated in the graph text information generation module 17
The corresponding playing card front pattern using stage property graph text information for square 9 of A is held, and generates other sights on the second channel information
Many clients and the corresponding application stage property graph text information of main broadcaster's client are playing card reverse side pattern, the graph text information hair
It send module 18 that will be sent to spectator client A again for the playing card front elevation case of square 9, playing card reverse side pattern is sent respectively
To other spectator clients and main broadcaster's client on the second channel information.
Front-end server 1 in the embodiment of the present invention first encrypts the first scanning result information that client is sent,
Encrypted first scanning result information is sent to background server again, background server is decrypted it to obtain second
Scanning result information, and the second scanning result information is sent back into front-end server 1, front-end server 1 detects that first sweeps
Retouching the first application stage property mark in result information and the second application stage property mark matching in the second scanning result information is phase
Meanwhile front-end server 1 can notify background server to generate and record business datum corresponding with the second application stage property mark;
It can be seen that data can be effectively prevented illegally being distorted by carrying out encryption to the first scanning result information, to guarantee data
Safety, and by comparing first application stage property mark and second application stage property identify, it is ensured that background server only
Corresponding business datum could be generated when obtaining accurate second application stage property mark by having, to ensure that the accurate of data
Property.
Fig. 8 is referred to, is a kind of structural schematic diagram of background server 2 provided in an embodiment of the present invention, the backstage clothes
Business device 2 may include:Encrypted result receiving module 21, generates logging modle 23 at decryption sending module 22;
The encrypted result receiving module 21, encrypted first scanning result being sent to for receiving front-end server
Information;The encrypted first scanning result information is by the front-end server to the client based on rich media applications platform
The first transmitted scanning result information of end is encrypted, and the first scanning result information includes first using road
Tool mark, the first application stage property mark are to apply the unique patterns mark of stage property by scanning device scanning by the client
Know obtained;
Specifically, the front-end server receives the first scanning result information, and first scanning result is believed
Ceasing the specific implementation process encrypted may refer in above-mentioned Fig. 5 corresponding embodiment to scanning result receiving module and encryption mould
The specific descriptions of block, are not discussed here.After the front-end server encrypts the first scanning result information,
The encrypted result receiving module 21 can receive the encrypted first scanning result information that the front-end server is sent.It is logical
It crosses and the first scanning result information is encrypted, it can be to avoid the first scanning result information in the front-end server
It is illegally distorted into the transmission process of the background server 2.Wherein, the first scanning result information is encrypted
Algorithm can be DES or IDEA or AES or other existing Encryption Algorithm.
The decryption sending module 22, for the encrypted first scanning result information to be decrypted, to obtain
Second scanning result information, and the second scanning result information is sent to the front-end server, so that the front end takes
Business device is by the second application stage property mark in the second scanning result information received with described first using stage property mark
It is matched;
The generation logging modle 23, for when the second application stage property mark and the first application stage property mark
When with being identical, the notification message that the front-end server is sent is received, and according to notification message generation and record and institute
It states the second application stage property and identifies corresponding business datum;
Specifically, when the front-end server detects that the second application stage property mark applies stage property mark with described first
When to know matching be identical, illustrate the background server 2 decrypt the second obtained application stage property mark be accurately, therefore, institute
State and generate logging modle 23 and can receive the notification message that the front-end server is sent, and generated according to the notification message and
Record business datum corresponding with the second application stage property mark.
Optionally, the encrypted result receiving module 21 is also used to when the second application stage property mark and described first
When using stage property mark matching being not identical, receive the miscue information that the front-end server is sent, and receive it is described before
The encrypted first scanning result information for holding server to retransmit, and the second new scanning result information is returned to institute
Front-end server is stated, so that the front-end server is verified the first application stage property mark again and believes with the second new scanning result
The second application stage property in breath identifies whether identical.
Further, then Fig. 9 is referred to, is a kind of structural representation for decrypting sending module 22 provided in an embodiment of the present invention
Figure, the decryption sending module 22 may include:Encryption/decryption element 221, encrypted result transmission unit 222;
The encryption/decryption element 221, for the encrypted first scanning result information to be decrypted, to obtain
Two scanning result information, and the second scanning result information is encrypted;
The encrypted result transmission unit 222, for encrypted second scanning result information to be sent to the front end
Server, so that encrypted second scanning result information is decrypted in the front-end server, and by second after decryption
The second application stage property in scanning result information is identified to be matched with the first application stage property mark;
It, can be to avoid the second scanning result information described by being encrypted to the second scanning result information
Background server 2 is illegally distorted into the transmission process of the front-end server.
Front-end server in the embodiment of the present invention first encrypts the first scanning result information that client is sent, then
Encrypted first scanning result information is sent to background server 2, background server 2 is decrypted it to obtain second
Scanning result information, and the second scanning result information is sent back into front-end server, front-end server detects the first scanning
The first application stage property mark in result information and the second application stage property mark matching in the second scanning result information are identical
When, front-end server can notify background server 2 to generate and record business datum corresponding with the second application stage property mark;By
This by carrying out encryption to the first scanning result information as it can be seen that can be effectively prevented data and illegally distorted, to guarantee data
Safety, and identified by comparing the first application stage property mark and the second application stage property, it is ensured that background server 2 only has
Corresponding business datum could be generated when obtaining accurate second application stage property mark, to ensure that the accuracy of data.
Referring to Figure 10, it is a kind of structural schematic diagram of the system of data processing provided in an embodiment of the present invention.Such as Figure 10
Shown, which may include front-end server 100 and background server 200, wherein the front end services end 100 passes through mutual
Networking is connect with the background server 200;Before described in the structure at the front end services end 100, function and Fig. 5 to Fig. 7
Hold structure, the function of server 1 identical;It is taken from the background described in the structure of the background server 200, function and Fig. 8 to Fig. 9
Structure, the function of business device 2 are identical;The embodiment of the present invention does not repeat.
Referring to Figure 11, it is the structural schematic diagram of another front-end server provided in an embodiment of the present invention;The front end
Server 1000 may include processor 1001, communication interface 1002 and memory 1003 (in the front-end server 1000
The quantity of processor 1001 can be one or more, take a processor as an example in Figure 11).Some embodiments of the present invention
In, processor 1001, communication interface 1002 and memory 1003 can be connected by communication bus or other modes, wherein Figure 11
For being connected by communication bus.
Wherein, the communication interface 1002, for being communicated with client and background server;
The memory 1003 is for storing program;
The processor 1001 is for executing described program, to realize
Receive the first scanning result information transmitted by the client based on rich media applications platform;Wherein, described first
Scanning result information includes that the first application stage property identifies, and the first application stage property mark is to be set by the client by scanning
Standby scanning is obtained using the unique patterns mark of stage property;
The first scanning result information is encrypted, and encrypted first scanning result information is sent to backstage
Server is swept so that the encrypted first scanning result information is decrypted in the background server with obtaining second
Retouch result information;Wherein, the second scanning result information includes that the second application stage property identifies;
The second scanning result information that the background server is sent is received, and the second application stage property is identified
It is matched with the first application stage property mark;
When it is identical that the second application stage property, which is identified with the first application stage property mark matching, the backstage is notified
Server generates and records business datum corresponding with the second application stage property mark.
Wherein, the first scanning result information further includes the first channel information locating for the client, and described second
Scanning result information further includes the second channel information locating for the client;
Then the processor 1001 is specifically used for:
Receive the second scanning result information that the background server is sent, and second channel that will be received
Information is matched with first channel information;
When second channel information is identical with first channel information matching, further described second is applied
Stage property mark is matched with the first application stage property mark.
Wherein, the processor 1001 is also used to:
When it is described second application stage property mark with it is described first application stage property mark match be it is not identical when, transmission mistake mention
Show that information to the background server, and retransmits encrypted first scanning result information to the background server.
Wherein, the processor 1001 is also used to:
Receive the business datum for carrying second channel information that the background server is sent;
Application stage property graph text information corresponding with the client is generated according to the business datum, and objective with multiple sons
The corresponding application stage property graph text information in family end;The multiple sub- client be on second channel information and with institute
Client is stated with incidence relation;
Each application stage property graph text information generated is respectively sent to the corresponding client and the multiple
Sub- client.
Front-end server 1000 in the embodiment of the present invention is first added the first scanning result information that client is sent
It is close, then encrypted first scanning result information is sent to background server, background server is decrypted it to obtain
Second scanning result information, and the second scanning result information is sent back into front-end server 1000, front-end server 1000 is examined
It measures the first application stage property mark in the first scanning result information and second in the second scanning result information and applies stage property mark
Know matching be it is identical when, front-end server 1000 background server can be notified to generate and record and second application stage property identify pair
The business datum answered;It can be seen that data can be effectively prevented illegally being usurped by carrying out encryption to the first scanning result information
Change, to guarantee the safety of data, and identified by comparing the first application stage property mark and the second application stage property, it is ensured that
Background server only could generate corresponding business datum when obtaining accurate second application stage property mark, to ensure that
The accuracy of data.
Referring to Figure 12, it is the structural schematic diagram of another background server provided in an embodiment of the present invention;The backstage
Server 2000 may include processor 2001, communication interface 2002 and memory 2003 (in the background server 2000
The quantity of processor 2001 can be one or more, take a processor as an example in Figure 12).Some embodiments of the present invention
In, processor 2001, communication interface 2002 and memory 2003 can be connected by communication bus or other modes, wherein Figure 12
For being connected by communication bus.
Wherein, the communication interface 2002, for being communicated with front-end server;
The memory 2003 is for storing program;
The processor 2001 is for executing described program, to realize
The encrypted first scanning result information that receiving front-end server is sent to;The encrypted first scanning knot
Fruit information is as the front-end server to the first scanning result information transmitted by the client based on rich media applications platform
It is encrypted, and the first scanning result information includes that the first application stage property identifies, described first applies stage property mark
Knowledge is obtained using the unique patterns mark of stage property by scanning device scanning by the client;
The encrypted first scanning result information is decrypted, to obtain the second scanning result information, and by institute
It states the second scanning result information and is sent to the front-end server, so that the front-end server is swept receive described second
The the second application stage property mark retouched in result information is matched with the first application stage property mark;
When it is identical that the second application stage property, which is identified with the first application stage property mark matching, the front end is received
The notification message that server is sent, and according to notification message generation and record corresponding with the second application stage property mark
Business datum.
Wherein, the processor 2001 is specifically used for:
The encrypted first scanning result information is decrypted, to obtain the second scanning result information, and to institute
The second scanning result information is stated to be encrypted;
Encrypted second scanning result information is sent to the front-end server, so that the front-end server is to adding
The second scanning result information after close is decrypted, and second in the second scanning result information after decryption is applied stage property mark
Know and is matched with the first application stage property mark.
Wherein, the processor 2001 is also used to:
When it is described second application stage property mark with it is described first application stage property mark match be it is not identical when, reception it is described before
The miscue information for holding server to send, and receive encrypted first scanning result that the front-end server retransmits
Information.
Front-end server in the embodiment of the present invention first encrypts the first scanning result information that client is sent, then
Encrypted first scanning result information is sent to background server 2000, background server 2000 is decrypted it to obtain
Front-end server is sent back to the second scanning result information, and by the second scanning result information, front-end server detects
The first application stage property mark in one scanning result information and the second application stage property mark matching in the second scanning result information
When being identical, front-end server can notify background server 2000 to generate and record industry corresponding with the second application stage property mark
Business data;It can be seen that data can be effectively prevented illegally being distorted by carrying out encryption to the first scanning result information, to protect
The safety of data is demonstrate,proved, and is identified by comparing the first application stage property mark and the second application stage property, it is ensured that backstage takes
Business device 2000 only could generate corresponding business datum when obtaining accurate second application stage property mark, to ensure that number
According to accuracy.
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..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly
It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.