CN105007273B - A kind of method and relevant device of data processing - Google Patents

A kind of method and relevant device of data processing Download PDF

Info

Publication number
CN105007273B
CN105007273B CN201510442184.1A CN201510442184A CN105007273B CN 105007273 B CN105007273 B CN 105007273B CN 201510442184 A CN201510442184 A CN 201510442184A CN 105007273 B CN105007273 B CN 105007273B
Authority
CN
China
Prior art keywords
scanning result
stage property
result information
application stage
client
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510442184.1A
Other languages
Chinese (zh)
Other versions
CN105007273A (en
Inventor
潘奕中
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Huaduo Network Technology Co Ltd
Original Assignee
Guangzhou Huaduo Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Huaduo Network Technology Co Ltd filed Critical Guangzhou Huaduo Network Technology Co Ltd
Priority to CN201510442184.1A priority Critical patent/CN105007273B/en
Publication of CN105007273A publication Critical patent/CN105007273A/en
Application granted granted Critical
Publication of CN105007273B publication Critical patent/CN105007273B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • H04L63/126Applying verification of the received information the source of the received data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0869Network architectures or network communication protocols for network security for authentication of entities for achieving mutual authentication

Abstract

The embodiment of the invention discloses a kind of method of data processing and relevant device, method includes:Front-end server receives the first scanning result information transmitted by the client based on rich media applications platform and encrypts to it, and encrypted first scanning result information is sent to background server, wherein, the first scanning result information includes that the first application stage property identifies;Encrypted first scanning result information is decrypted in background server, to obtain the second scanning result information, and the second scanning result information is sent to front-end server;The second application stage property in the second scanning result information received is identified and is matched with the first application stage property mark by front-end server, and when matching is identical, and notice background server generates and records business datum corresponding with the second application stage property mark.Using the present invention, it is ensured that avoid operation flow entanglement occurs for the safety and accuracy of data.

Description

A kind of method and relevant device of data processing
Technical field
The present invention relates to field of communication technology more particularly to the methods and relevant device of a kind of data processing.
Background technique
When transmitting data in current rich media applications platform, before the operation data of user can be sent to by client Server is held, then background server is forwarded to by front-end server, and the operation data pair with user is generated by background server The business datum answered is to complete corresponding operation flow.For example, two users are respectively by respective client in rich media applications Chess game is carried out in platform, then the operation data of user object chess can be sent to front-end server by client, then by Front-end server is forwarded to background server, at this point, background server can be generated according to the operation data of the user object chess Corresponding business datum, if the business datum may include location information after chess piece is operated, to the status information of square chess Etc..
But during front-end server sends the operation data of user to background server, if operation data is non- Method is distorted, then background server will receive the operation data after being tampered, and be generated according to the operation data after being tampered The business datum of mistake, this will cause operation flow that entanglement occurs, seriously affect the safety and accuracy of data.
Summary of the invention
The embodiment of the present invention provides the method and relevant device of a kind of data processing, it is ensured that the safety and standard of data To avoid operation flow entanglement occurs for true property.
First aspect present invention provides a kind of method of data processing, including:
Front-end server receives the first scanning result information transmitted by the client based on rich media applications platform;Its In, the first scanning result information includes that the first application stage property identifies, and the first application stage property mark is by the client End is identified by scanning device scanning using the unique patterns of stage property obtained;
The front-end server encrypts the first scanning result information, and by encrypted first scanning result Information is sent to background server;
The encrypted first scanning result information is decrypted in the background server, to obtain the second scanning knot Fruit information, and the second scanning result information is sent to the front-end server;Wherein, the second scanning result information It is identified including the second application stage property;
The front-end server is by second in the second scanning result information received using stage property mark and institute The first application stage property mark is stated to be matched;
When it is identical that the second application stage property, which is identified with the first application stage property mark matching, the front end services Device notifies the background server to generate and records business datum corresponding with the second application stage property mark.
Second aspect of the present invention provides a kind of method of data processing, including:
Front-end server receives the first scanning result information transmitted by the client based on rich media applications platform;Its In, the first scanning result information includes that the first application stage property identifies, and the first application stage property mark is by the client End is identified by scanning device scanning using the unique patterns of stage property obtained;
The front-end server encrypts the first scanning result information, and by encrypted first scanning result Information is sent to background server, so that the background server solves the encrypted first scanning result information It is close, to obtain the second scanning result information;Wherein, the second scanning result information includes that the second application stage property identifies;
The front-end server receives the second scanning result information that the background server is sent, and by described the Two application stage properties are identified to be 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 services Device notifies the background server to generate and records business datum corresponding with the second application stage property mark.
Third aspect present invention provides a kind of method of data processing, including:
The encrypted first scanning result information that background server receiving front-end server is sent to;It is described encrypted First scanning result information is to be swept as the front-end server to transmitted by the client based on rich media applications platform first Retouch what result information was encrypted, and the first scanning result information includes that the first application stage property identifies, described first It is obtained using the unique patterns mark of stage property by scanning device scanning by the client using stage property mark;
The encrypted first scanning result information is decrypted in the background server, to obtain the second scanning knot Fruit information, and the second scanning result information is sent to the front-end server, so that the front-end server will receive To the second scanning result information in second application stage property mark with it is described first application stage property mark matched;
When it is identical that the second application stage property, which is identified with the first application stage property mark matching, the background service Device receives the notification message that the front-end server is sent, and generates and record and second application according to the notification message Stage property identifies corresponding business datum.
Fourth aspect present invention provides a kind of front-end server, including:
Scanning result receiving module, for receiving the first scanning knot transmitted by the client based on rich media applications platform Fruit information;Wherein, the first scanning result information include first application stage property identify, it is described first application stage property mark be by The client is identified by scanning device scanning using the unique patterns of stage property obtained;
Encrypting module, for being encrypted to the first scanning result information, and by encrypted first scanning result Information is sent to background server, so that the background server solves the encrypted first scanning result information It is close, to obtain the second scanning result information;Wherein, the second scanning result information includes that the second application stage property identifies;
Matching module, the second scanning result information sent for receiving the background server, and by described the Two application stage properties are identified to be matched with the first application stage property mark;
Notification module, for being identical when the second application stage property is identified with the first application stage property mark matching When, it notifies the background server to generate and records business datum corresponding with the second application stage property mark.
Fifth aspect present invention provides a kind of background server, including:
Encrypted result receiving module, the encrypted first scanning result information being sent to for receiving front-end server; The encrypted first scanning result information is by the front-end server to the client institute based on rich media applications platform What the first scanning result information sent was encrypted, and the first scanning result information includes first using stage property mark Know, the first application stage property mark is to identify institute using the unique patterns of stage property by scanning device scanning by the client It obtains;
Decryption sending module is swept for the encrypted first scanning result information to be decrypted with obtaining second Result information is retouched, and the second scanning result information is sent to the front-end server, so that the front-end server will Second in the second scanning result information received identifies progress using stage property mark and the first application stage property Match;
Logging modle is generated, for matching when the second application stage property is identified with the first application stage property mark as phase Meanwhile the notification message that the front-end server is sent is received, and generate and record and described second according to the notification message Corresponding business datum is identified using stage property.
Sixth aspect present invention provides a kind of system of data processing, including front-end server provided by fourth aspect With background server provided by the 5th aspect.
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.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of flow diagram of the method for data processing provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of the method for another data processing provided in an embodiment of the present invention;
Fig. 3 is the flow diagram of the method for another data processing provided in an embodiment of the present invention;
Fig. 4 is the flow diagram of the method for another data processing provided in an embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of front-end server provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of matching module provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram of another front-end server provided in an embodiment of the present invention;
Fig. 8 is a kind of structural schematic diagram of background server provided in an embodiment of the present invention;
Fig. 9 is a kind of structural schematic diagram for decrypting sending module provided in an embodiment of the present invention;
Figure 10 is a kind of structural schematic diagram of the system of data processing provided in an embodiment of the present invention;
Figure 11 is the structural schematic diagram of another front-end server provided in an embodiment of the present invention;
Figure 12 is the structural schematic diagram of another background server provided in an embodiment of the present invention.
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.

Claims (8)

1. a kind of method of data processing, which is characterized in that including:
Front-end server receives the first scanning result information transmitted by the client based on rich media applications platform;Wherein, institute Stating the first scanning result information includes that the first application stage property identifies, and the first application stage property mark is passed through by the client Scanning device scanning is obtained using the unique patterns mark of stage property;
The front-end server encrypts the first scanning result information, and by encrypted first scanning result information It is sent to background server, so that the encrypted first scanning result information is decrypted in the background server, with Obtain the second scanning result information;Wherein, the second scanning result information includes that the second application stage property identifies;
The front-end server receives the second scanning result information that the background server is sent, and described second is answered It is matched with stage property mark 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 server is logical Know that the background server generates and records business datum corresponding with the second application stage property mark;
The front-end server receives the business datum for carrying the second channel information that the background server is sent;Institute Stating the second scanning result information further includes the second channel information locating for the client;
The front-end server generates application stage property graph text information corresponding with the client according to the business datum, and Application stage property graph text information corresponding with multiple sub- clients;The multiple sub- client is in the second channel letter There is incidence relation on breath and with the client;
The front-end server by each application stage property graph text information generated be respectively sent to the corresponding client with And the multiple sub- client.
2. the method as described in claim 1, which is characterized in that the first scanning result information further includes the client institute First channel information at place, the second scanning result information further includes the second channel information locating for the client;
Then the front-end server receives the second scanning result information that the background server is sent, and by described second It is matched using stage property mark with the first application stage property mark, including:
The front-end server receives the second scanning result information that the background server is sent, and the institute that will be received The second channel information is stated to be matched with first channel information;
When second channel information is identical with first channel information matching, 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.
3. a kind of method of data processing, which is characterized in that including:
The encrypted first scanning result information that background server receiving front-end server is sent to;Described encrypted first Scanning result information is to be tied as the front-end server to the first scanning transmitted by the client based on rich media applications platform Fruit information is encrypted, and the first scanning result information includes that the first application stage property identifies, first application Stage property mark 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 in the background server, to obtain the second scanning result letter Breath, and be sent to the front-end server for the second scanning result information, so that the front-end server will receive The second application stage property in the second scanning result information is identified to be 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 background server is connect The notification message that the front-end server is sent is received, and generates and records according to the notification message and apply stage property with described second Identify corresponding business datum;
The background server sends the business datum for carrying the second channel information to the front-end server, so that institute State front-end server and corresponding with client application stage property graph text information generated according to the business datum, and with it is multiple The corresponding application stage property graph text information of sub- client, and each application stage property graph text information generated is respectively sent to The corresponding client and the multiple sub- client;The second scanning result information further includes locating for the client The second channel information;The multiple sub- client is on second channel information and has with the client and is associated with Relationship.
4. method as claimed in claim 3, which is characterized in that the background server ties encrypted first scanning Fruit information is decrypted, and to obtain the second scanning result information, and the second scanning result information is sent to the front end Server so that the front-end server by the second scanning result information received second application stage property mark with The first application stage property mark is matched, including:
The encrypted first scanning result information is decrypted in the background server, to obtain the second scanning result letter Breath, and the second scanning result information is encrypted;
Encrypted second scanning result information is sent to the front-end server by the background server, so that the front end Encrypted second scanning result information is decrypted in server, and by second in the second scanning result information after decryption It is matched using stage property mark with the first application stage property mark.
5. a kind of front-end server, which is characterized in that including:
Scanning result receiving module, for receiving 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;
Encrypting module, for being encrypted to the first scanning result information, and by encrypted first scanning result information It is sent to background server, so that the encrypted first scanning result information is decrypted in the background server, with Obtain the second scanning result information;Wherein, the second scanning result information includes that the second application stage property identifies;
Matching module, the second scanning result information sent for receiving the background server, and described second is answered It is matched with stage property mark with the first application stage property mark;
Notification module, for leading to when it is identical that the second application stage property, which is identified with the first application stage property mark matching, Know that the background server generates and records business datum corresponding with the second application stage property mark;
Business datum receiving module, the business for carrying the second channel information sent for receiving the background server Data;The second scanning result information further includes the second channel information locating for the client;
Graph text information generation module is believed for generating application stage property picture and text corresponding with the client according to the business datum Breath, and application stage property graph text information corresponding with multiple sub- clients;The multiple sub- client is in described There is incidence relation on two channel informations and with the client;
Graph text information sending module, for each application stage property graph text information generated to be respectively sent to the corresponding visitor Family end and the multiple sub- client.
6. front-end server as claimed in claim 5, which is characterized in that the first scanning result information further includes the visitor First channel information locating for the end of family, the second scanning result information further include the letter of the second channel locating for the client Breath;
Then the matching module includes:
First matching unit, the second scanning result information sent for receiving the background server, and will receive Second channel information matched with first channel information;
Second matching unit is used for when second channel information is identical with first channel information matching, will be described Second application stage property is identified to be matched with the first application stage property mark.
7. a kind of background server, which is characterized in that including:
Encrypted result receiving module, the encrypted first scanning result information being sent to for receiving front-end server;It is described Encrypted first scanning result information is as the front-end server to transmitted by the client based on rich media applications platform The first scanning result information encrypted, and the first scanning result information includes that the first application stage property identifies, The first application stage property mark is obtained by scanning device scanning using the unique patterns mark of stage property by the client ?;
Sending module is decrypted, for the encrypted first scanning result information to be decrypted, to obtain the second scanning knot Fruit information, and the second scanning result information is sent to the front-end server, so that the front-end server will receive To the second scanning result information in second application stage property mark with it is described first application stage property mark matched;
Logging modle is generated, for being identical when the second application stage property is identified with the first application stage property mark matching When, the notification message that the front-end server is sent is received, and generate and record according to the notification message and answer with described second Corresponding business datum is identified with stage property;
The decryption sending module, is also used to send and carries the business datum of the second channel information to the front end services Device, so that the front-end server generates application stage property graph text information corresponding with the client according to the business datum, And application stage property graph text information corresponding with multiple sub- clients, and by each application stage property graph text information generated It is respectively sent to the corresponding client and the multiple sub- client;The second scanning result information further includes described Second channel information locating for client;The multiple sub- client be on second channel information and with the client End has incidence relation.
8. background server as claimed in claim 7, which is characterized in that the decryption sending module includes:
Encryption/decryption element, for the encrypted first scanning result information to be decrypted, to obtain the second scanning result Information, and the second scanning result information is encrypted;
Encrypted result transmission unit, 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 the second scanning result information after decryption In second application stage property mark with it is described first application stage property mark matched.
CN201510442184.1A 2015-07-24 2015-07-24 A kind of method and relevant device of data processing Active CN105007273B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510442184.1A CN105007273B (en) 2015-07-24 2015-07-24 A kind of method and relevant device of data processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510442184.1A CN105007273B (en) 2015-07-24 2015-07-24 A kind of method and relevant device of data processing

Publications (2)

Publication Number Publication Date
CN105007273A CN105007273A (en) 2015-10-28
CN105007273B true CN105007273B (en) 2018-11-20

Family

ID=54379794

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510442184.1A Active CN105007273B (en) 2015-07-24 2015-07-24 A kind of method and relevant device of data processing

Country Status (1)

Country Link
CN (1) CN105007273B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112581049B (en) * 2019-09-29 2024-03-12 上海蔚兔科技有限公司 Internet logistics system, method and device
CN111600939B (en) * 2020-04-30 2023-10-10 长桥科技香港公司 Data transparent transmission method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101123018A (en) * 2006-08-09 2008-02-13 天津市津南区凯达电子有限公司 Method for charging using IC card
CN101640682A (en) * 2009-06-04 2010-02-03 深圳市汇海科技开发有限公司 Method for improving safety of Web service
CN101854241A (en) * 2009-03-30 2010-10-06 上海聚力传媒技术有限公司 Method and device for verifying data block transmitted in network
CN101873331A (en) * 2010-07-07 2010-10-27 中国工商银行股份有限公司 Safety authentication method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101123018A (en) * 2006-08-09 2008-02-13 天津市津南区凯达电子有限公司 Method for charging using IC card
CN101854241A (en) * 2009-03-30 2010-10-06 上海聚力传媒技术有限公司 Method and device for verifying data block transmitted in network
CN101640682A (en) * 2009-06-04 2010-02-03 深圳市汇海科技开发有限公司 Method for improving safety of Web service
CN101873331A (en) * 2010-07-07 2010-10-27 中国工商银行股份有限公司 Safety authentication method and system

Also Published As

Publication number Publication date
CN105007273A (en) 2015-10-28

Similar Documents

Publication Publication Date Title
CN107454441B (en) A kind of method, live streaming Platform Server and the computer readable storage medium of detection direct broadcasting room brush popularity behavior
CN108206972B (en) Direct broadcasting room popularity processing method, device, server and storage medium
CN109413096B (en) A kind of login method and device more applied
CN108476133A (en) The key carried out by the believable third party in part exchanges
CN105007527B (en) Data live broadcasting method and device
US9100714B2 (en) Audience-measuring method
CN110519268B (en) Voting method, device, equipment, system and storage medium based on block chain
US20040049681A1 (en) Time stamping and time stamp validity verification system, method and device in a digital broadcasting environment
CN105721903B (en) The online method and system for playing video
CN106100830B (en) A kind of method and apparatus that seed key being written in NFC dynamic token
US10158493B2 (en) Solution for generating and issuing security codes with guaranteed issuer authenticity and origin
CN103929411B (en) Information displaying method, terminal, safety server and system
US8327150B2 (en) System, method and program for managing information
WO2019071859A1 (en) Method and apparatus for preventing gift swiping on live broadcast platform
CN108092976A (en) Device-fingerprint building method and device
CN106817346A (en) Data transmission method and device and electronic equipment
CN104104657A (en) Information validation method, server, terminal and system
CN108881966A (en) A kind of information processing method and relevant device
CN107786884A (en) Processing method, server, first terminal and the storage medium of barrage data
CN104168117B (en) A kind of speech digit endorsement method
CN105959105A (en) Data transmission method and data transmission device
CN105007273B (en) A kind of method and relevant device of data processing
CN110025955A (en) Information processing method, terminal, computer readable storage medium and computer equipment
CN110011998A (en) A kind of prepare more part teledata of identity-based holds verification method
US9705915B2 (en) Techniques for reliable network authentication

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 510000, Guangdong Province, Guangzhou, Panyu District Town, Huambo business district, Wanda Plaza, block B1, 28 floor

Applicant after: Guangzhou Huaduo Network Technology Co., Ltd.

Address before: 510655, Guangzhou, Whampoa Avenue, No. 2, creative industrial park, building 3-08,

Applicant before: Guangzhou Huaduo Network Technology Co., Ltd.

CB02 Change of applicant information
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20151028

Assignee: GUANGZHOU HUYA INFORMATION TECHNOLOGY Co.,Ltd.

Assignor: Guangzhou Huaduo Network Technology Co., Ltd.

Contract record no.: 2018990000088

Denomination of invention: Data processing method and related device

License type: Common License

Record date: 20180413

EE01 Entry into force of recordation of patent licensing contract
GR01 Patent grant
GR01 Patent grant