CN104683222A - Instant data interaction method, device and system - Google Patents

Instant data interaction method, device and system Download PDF

Info

Publication number
CN104683222A
CN104683222A CN201510126547.0A CN201510126547A CN104683222A CN 104683222 A CN104683222 A CN 104683222A CN 201510126547 A CN201510126547 A CN 201510126547A CN 104683222 A CN104683222 A CN 104683222A
Authority
CN
China
Prior art keywords
client
server
information
sends
interactive
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510126547.0A
Other languages
Chinese (zh)
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.)
Beijing Symphysis Mutual Aid Investment Consultation Ltd
Original Assignee
Beijing Symphysis Mutual Aid Investment Consultation 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 Beijing Symphysis Mutual Aid Investment Consultation Ltd filed Critical Beijing Symphysis Mutual Aid Investment Consultation Ltd
Priority to CN201510126547.0A priority Critical patent/CN104683222A/en
Publication of CN104683222A publication Critical patent/CN104683222A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to the field of communication, in particular to an instant data interaction method, device and system. The instant data interaction method is applied to a system which at least comprises a first client, a second client and a server, and comprises the following steps: transmitting a matching instruction to the server from the first client so as to enable the server to be matched with a corresponding second client according to the matching instruction and preset matching rules, and receiving matching result information transmitted from the server; establishing linkage between the first client and the second client according to the matching result information; through the linkage, transmitting interaction information to the second client from the first client, and/or receiving interaction information transmitted from the second client through the first client. By adopting the instant data interaction method, the requirements of instant interaction of users when playing games can be met.

Description

A kind of instant data interactive method, device and system
Technical field
The present invention relates to the communications field, in particular to the instant data interactive method of one and interactive system.
Background technology
At present, mobile phone games are generally divided into three kinds, and the first is the single-play game that can depart from network completely, such as " defendance radish ", " plant Great War corpse " etc., and these single-play game can not carry out the mutual of information with other player completely.The second is similar to single-play game, fight in, unit carries out, but after fight terminates, can by the rank of related player, grading information show to user; Such as " Great War of whole people's aircraft ", " thunderclap opportunity of combat " etc., the client of these game only can carry out concrete data interaction with server, the related data of user is all preserved in the server, server can by the relevant information of user related with it, rank, grading information show to user, this game does not have the direct communication between player and player yet.The third is online game, the requirement of real-time of this game is high, server is needed constantly the related data of other users to be sent to client, such as, in client, in scope shown by interface, 10 players should be had, all relevant informations of these 10 players will be sent to all clients of this bounds of display by server respectively, this game requires that the real-time of transfer of data is high, volume of transmitted data is large, is generally rely on the fast wireless network of the transmission speeds such as WiFi, 4G.Such as, but the network speed that this game needs, network transmission efficiency are higher, thus when having departed from the wireless networks such as WiFi, 4G, cannot play, the game such as " clan's war ", " I is MT ".
And for comparatively simple interactive game, interaction between player and player is all when playing beginning, the data information (comprising title, No. ID, Position Approximate etc.) of the other side is obtained by server, when game over, the game information (game points etc.) of a other side is obtained again by server, in the process of game, player and player are again without mutual.Thus current mobile phone games cannot meet the immediate interactive demand of user in game process.
Summary of the invention
In view of this, the object of the embodiment of the present invention is to provide a kind of instant data interactive method, Apparatus and system, can meet the immediate interactive demand of user in game process.
First aspect, embodiments provide a kind of instant data interactive method, be applied to the system at least comprising the first client, the second client and server, described method comprises:
Described first client sends matching instruction to described server, to make described server mate the second corresponding client according to described matching instruction and default matched rule, and receives the matching result information of described server transmission;
Described first client, according to described matching result information, sets up linking between described second client;
By described link, the first client sends interactive information to described second client, and/or the interactive information that described second client of described first client reception sends.
In conjunction with first aspect, embodiments provide the first possible execution mode of first aspect, described first client, according to described matching result information, is set up linking between described second client and is specifically comprised:
Described first client, according to described matching result information, sends linking request to described second client;
Described first client receives the response message that described second client responds described linking request;
Described first client sets up linking between described second client.
In conjunction with first aspect, embodiments provide the second possible execution mode of first aspect, described in be linked as socket long-chain and connect or based on the end-to-end link of xmpp.
In conjunction with first aspect, embodiments provide the third possible execution mode of first aspect, also comprise:
Described first client receives the configuration information that described server sends according to described matching instruction;
Described first client sends interactive information to described second client and specifically comprises: described first client sends interactive information according to described configuration information to described second client;
The interactive information that described second client of described reception sends comprises: receive the interactive information that described second client sends according to described configuration information.
In conjunction with first aspect, embodiments provide the 4th kind of possible execution mode of first aspect, described first client sends interactive information to described second client, and/or also comprises after receiving interactive information that described second client sends:
First client, according to described interactive information, generates data interaction result and sends to described server.
Second aspect, the embodiment of the present invention also provides a kind of instant data interaction device, comprise: matching module, for sending matching instruction to server, to make described server mate the second corresponding client according to described matching instruction and default matched rule, and receive the matching result information of described server transmission;
Establish the link module, for according to described matching result information, set up linking between described second client;
Transmission/reception module, for by described link, sends interactive information to described second client, and/or receives the interactive information that described second client sends.
In conjunction with second aspect, embodiments provide the first possible execution mode of second aspect, described in establish the link module and comprise:
Linking request submodule, for according to described matching result information, sends linking request to described second client;
Request response receives submodule, for receiving the response message that described second client responds described linking request;
Link submodule, for setting up linking between described second client.
In conjunction with second aspect, embodiments provide the execution mode that the second of second aspect is possible, described in be linked as socket long-chain and connect.
In conjunction with second aspect, embodiments provide the third possible execution mode of second aspect, described matching module, also for receiving the configuration information that described server sends according to described matching instruction;
Described transmission/reception module, also for sending interactive information according to described configuration information to described second client; And/or, receive the interactive information that described second client sends according to described configuration information.
The third aspect, the embodiment of the present invention also provides a kind of instant data interaction system, at least comprise two as in above-mentioned embodiment the instant data interaction device that provides, and server;
Described server, for according to the matching instruction of described instant data interaction device transmission and the instant data interaction device in opposite end of default matched rule coupling correspondence, generates matching result information feed back to described instant data interaction device.
The instant data interactive method that the embodiment of the present invention provides, device and system, number realize the first client and the second client carry out data interaction before, first client can send matching instruction to server, after server receives this matching instruction, according to the matched rule that this matching instruction and server are preset, mate, after being the second client the match is successful, the matching result information of the second client that the match is successful can be sent to the first client.First client, after receiving this matching result information, sets up the link between the second client according to this matching result information.Then use the link of setting up between the first client and the second client, the first client sends interactive information to the second client, and accepts the interactive information that the second client sends.Like this, as long as maintain the link of the first client and the second client, even the first client and the second client at any time to sending interactive information each other, also can meet the immediate interactive demand of user in game in the process of game.
For making above-mentioned purpose of the present invention, feature and advantage become apparent, preferred embodiment cited below particularly, and coordinate appended accompanying drawing, be described in detail below.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment below, be to be understood that, the following drawings illustrate only some embodiment of the present invention, therefore the restriction to scope should be counted as, for those of ordinary skill in the art, under the prerequisite not paying creative work, other relevant accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 shows the flow chart of a kind of instant data interactive method that the embodiment of the present invention provides;
Fig. 2 shows the flow chart of the instant data interactive method of another kind that the embodiment of the present invention provides;
Fig. 3 shows the flow chart of the third instant data interactive method that the embodiment of the present invention provides;
Flow chart when the timely data interactive method that Fig. 4 shows the embodiment of the present invention to be provided is applied in gaming;
Fig. 5 shows the structural representation of a kind of instant data interaction device that the embodiment of the present invention provides;
Fig. 6 shows the structural representation of a kind of instant data interaction system that the embodiment of the present invention provides;
Illustrate:
S101-S104: the step of instant data interaction;
S201-S203: the first client, according to described matching result information, sets up the step linked between described second client;
S301: the step of instant data interaction;
111-first client; 112-second client; 113-server; 114-matching module; 115-establishes the link module; 116-transmission/reception module; 117-matching module; 118-linking request submodule; 119-request response receives submodule; 120-links submodule; The instant data interaction device of 121-.
Embodiment
Below in conjunction with accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.The assembly of the embodiment of the present invention describing and illustrate in usual accompanying drawing herein can be arranged with various different configuration and design.Therefore, below to the detailed description of the embodiments of the invention provided in the accompanying drawings and the claimed scope of the present invention of not intended to be limiting, but selected embodiment of the present invention is only represented.Based on embodiments of the invention, the every other embodiment that those skilled in the art obtain under the prerequisite not making creative work, all belongs to the scope of protection of the invention.
Along with the development of terminal technology, the more dependence terminal equipment that people's life is more next.These terminal equipments are when carrying out data interaction, all need first interactive information to be sent to server, then another one terminal is transmitted to by server, because server is when forwarding interactive information, have the regular hour to incur loss through delay, no matter this just causes between terminal is the data interaction of what form, all has more serious time delay phenomenon, make instantaneity when carrying out data interaction between terminal inadequate, the demand of user to instantaneity cannot be met.Based on this, this application provides a kind of instant data interactive method, device and system, to realize the higher data interaction of instantaneity between client.For ease of understanding the present embodiment, first the instant data interactive method of the one disclosed in the embodiment of the present invention is described in detail, the method is applied in the system of the first client and the second client and the server at least comprised, the executive agent of the method is client, in addition, first client and the second client can be various mobile terminal, as mobile phone, panel computer, PDA (Personal Digital Assistant, palmtop PC) etc., also can be non-moving terminal, as computer etc.The instantaneity of the information interaction of terminal can be improved by the method.In addition, instant data interactive method, device and system that the application provides, can be applied in field of play incessantly, can also be applied in other application needing to improve information interaction instantaneity, software or system.
Shown in Figure 1, the invention provides a kind of instant data interactive method, the method comprises:
S101: described first client, to described server transmission matching instruction, to make described server mate the second corresponding client according to described matching instruction and default matched rule, and receives the matching result information of described server transmission;
When specific implementation, the first user end to server sends matching instruction, together with namely requiring that this first client mates with other client by server, carries out the instruction of follow-up data interaction to enable the first client with other clients.After server receives this matching instruction, according to the matched rule preset in server, the second client meeting matching condition is mated with the first client, and the matching result information of the second client is sent to the first client, the identity informations such as the identity ID of client in second, IP address, concrete title can be comprised in this matching result information, first client, according to these identity informations, can be linked to the second client.
Wherein, the matched rule preset can be:
One: the interaction demand having target:
Namely wherein the first client proposes matching instruction for specific second client, and the title, identity ID etc. that include this specific second client in this matching instruction can allow the part identity information of server identification second client, server is after receiving this matching instruction, can according to the identity information comprised in this matching instruction, other identity informations that can be linked to the second client are obtained from the database of self, as the IP address etc. of the second client, then send to the second client the message that the first client wants to carry out with it data interaction, if the second client is agreed to carry out data interaction between the first client, then agreement instruction can be sent to server by the second client, after server receives the agreement instruction of the second client, matching result information can be sent to the first client, the identity information (as IP address etc.) that the first client can be allowed can be linked to second visitor's end is contained in this matching result information.Such as the first client is wanted to send a certain file (can be text, picture, video etc.) to the second client, but the first client can not directly link with the first client, the second client is only had to agree to receive this file, server just can send the matching result information of the second client to the first client, then the first client is according to this matching result information, sets up linking between the second client.
Application in gaming, the such as player of the first client wants the player to the second client challenge or invite, need the request first sending challenge second client player to server, this request can be sent to the second client by server, the player of the second client is only had to agree to this challenge request, the IP address of the second client just can be sent to the first client by server, thus the first client can according to the matching result information of the second client, set up linking between the second client, first client and the second client enter challenge pattern jointly.
Two, aimless interaction demand:
Namely the first client proposes data interaction request, but do not point out specific target, only has fuzzy matching condition (namely including the feature that the client of mating with it possess in matching instruction), as long as there are other clients to meet this matching condition, namely enter in the list of server matches, the client entering list of matches can be one, also can be multiple, server sends the message of data interaction request to the single or multiple client in list of matches, until receive the response of wherein some or multiple client, can the match is successful by the client of this response and the first client, and by matching result information (the i.e. identity information of the second client of the client (i.e. the second client) of this response, such as identity ID, IP address etc. can allow the first client be linked to the second client) be sent to the first client.Thus the first client according to this matching result information, can set up linking between the second client.
Application in gaming, the player of such as the first client proposes to promise to fight with demand, the condition required is that the grade of other players is within the scope of a certain special value, as long as have the grade player be in this number range to respond this promise to fight with demand, the matching result information of this response player just can be sent to the player promised to fight with by server, thus the player of the first client can establish the link with the player of response, enters next step fight.
In addition, this aimless interaction demand can also be:
Second user end to server sends matching instruction, and within a certain period of time, do not meet the client end response of matched rule, the matching instruction that this second client sends enters wait; After certain hour (or while the second user end to server sends matching instruction), the first client is had again also to send matching instruction to server, now, second client meets the coupling requirement that the first client proposes, server can the match is successful by the second client and the first client, and the matching result information of the second client is sent to the first client or the second client, set up linking between its with the second client by the first client, or set up the connection between itself and the first client by the second client.
Application in gaming, the such as player of the first client proposes the demand of competing for speed at random, and meanwhile (can be that section is interior sometime), the player of the second client also proposes the demand of competing for speed at random, server just can mate both, after the match is successful, the first client or the second client can establish the link with the opposing party of mating, and enter race games.
S102: described first client, according to described matching result information, sets up linking between described second client;
When specific implementation, because the first client have received the matching result information that server sends, the information that the first client and the second client can be made to establish the link is included in matching result information, thus the first client is according to these information, sets up linking between the second client.In addition, consider that the real-time of carrying out data interaction between the first client and the second client is higher, directly set up the link between the first client and the second client, interactive information is directly sent to the second client by the first client, and interactive information is directly sent to the first client by the second client, when carrying out data interaction between the first client and the second client, depart from server to will delivering of mutual data be carried out, improve the instantaneity of data interaction.
Link between first client and the second client can be: long-chain connects.
Connect by the long-chain set up between the first client and the second client, as long as the data interaction between the first client and the second client does not complete, long-chain between first client and the second client connects and just can not interrupt, before long-chain connects and is not terminated, as long as carry out data interaction between the two, do not need the authentication carrying out both sides again, only need in the process of data interaction, realize repeatedly shaking hands between the first client and the second client, thus carry out data interaction, ensure that the real-time of data interaction.
In addition, the link between the first client and the second client specifically comprises: socket long-chain connects.Establishing after the long-chain between the first client and the second client connects, owing to being that the real time data that will directly carry out between the first client and the second client is mutual, and the number of times of data interaction is not once, but within certain a period of time, data interaction repeatedly may be had, therefore in order to ensure that link is not interrupted (after the link interruption of the first client and the second client, then need again to mate), use socket carries out the link between the first client and the second client.The long-chain of Socket connects has multiple advantage, its link process is: establish the link → transfer of data → maintenance link (heartbeat) → transfer of data → maintenance link (heartbeat) →... ... → close link, like this, in the process that Socket long-chain connects, the first client and the second client can carry out instant data interaction at any time.
In addition, the link between the first client and the second client can also be the end-to-end link based on xmpp, and xmpp has oneself instant information communication agreement, can realize the high-speed transfer of data.
In addition, shown in Figure 2, described first client, according to described matching result information, is set up linking between described second client and is specifically comprised:
S201: described first client, according to described matching result information, sends linking request to described second client;
When specific implementation, can include the information such as the identity ID of the second client, IP address, concrete title in matching result information, the first client, according to these information, can be linked to the second client.Concrete, the information that the first client can be allowed to be linked to the second client, after receiving this matching result information, can parse, then by the first client from this matching result information, first client, according to this information, sends linking request to the second client.
S202: described first client receives the response message that described second client responds described linking request;
When specific implementation, due to before setting up the first client and the second client, server sent to the second client the message that the first client wants to carry out with it data interaction, in this message, the identity informations such as the identity ID of the first client, title, IP address can be included, second client is receiving this message, and after having agreed to that the first client carries out with it the request of data interaction, can wait state be in, namely wait for that the first client sends linking request to it.General, the identity information of the first client can be included in this linking request, when this identity information parses by the second client from linking request, a comparison is done with the identity information of the first client comprised in the message that server sends before, if consistent, then agree to establish the link with the first client; If do not agreed to, then link cannot be set up, and can effectively prevent other client from using the identity of the first client and the second client to establish the link like this.
S203: described first client sets up linking between described second client.
Concrete process of establishing sees above the specific descriptions stated S102, repeats no more here.
After the first client establishes the link between the first client, also comprise:
S103: by described link, the first client sends interactive information to described second client, and/or the interactive information that described second client of described first client reception sends.
When specific implementation, the interactive information that the first client sends to the second client, or the interactive information that the second client received by it sends are after the first client and the second client establish the link.This interactive information, when receiving the interactive information that the second client sends, can be resolved to the form that oneself can identify by the first client; Send to the second client the response that it receives interactive information simultaneously.And the interactive information that it sends, can be resolved in the second client the form that the second client can identify, the second client also can send to the first client the response that it receives interactive information simultaneously.Like this, by the link between this first client and second client, the data interaction between the first client and the second client is completed.
In addition, consider that the first client and the second client are when carrying out data interaction, carry out under the interactive mode also necessarily approved at server, namely, data interaction between first client and the second client can not be arbitrary, therefore, shown in Figure 3, first user end to server also comprises when sending matching instruction:
S301: described first client receives described server according to described matching instruction, the configuration information sent;
When specific implementation, S301 and S101 synchronously carries out; Except including when server is after receiving the matching instruction that the first client sends in matching instruction, through the dissection process to matching instruction, obtain the data type that the first client wants to carry out data interaction.Server wants the data type of carrying out data interaction according to the first client that it obtains, and the configuration information mated with this data type is sent to the first client.Meanwhile, after the second client has agreed to carry out data interaction with the first client, identical configuration information can be sent to the second client by server.
This configuration information pre-sets, server can also connect a database, when server obtains after the first client wants to carry out the data type of data interaction from matching instruction, according to this data type, from database, obtain the configuration information mated with this data type, and this configuration information is sent to the first client.
This configuration information can be various, be applied in concrete game, such as the first client proposes the requirement that vehicle is competed for speed, this configuration information can be the road information of competing for speed, concrete information of vehicles etc., establish link between the first client and the second client after, first client and the second client all can show the road interface of competing for speed to user, on this road interface, show the vehicle of expression first client and expression the second client, in the process of competing for speed, first client can by its vehicle position, the contents such as the speed of a motor vehicle send to the second client every Preset Time, and second visitor's end is also by the position at its vehicle place, the contents such as the speed of a motor vehicle send to the first client every Preset Time, realize in game process, data interaction between first client and the second client, enhance the interactive of in game process the first client and the second client.In addition, when answer is competed for speed, configuration information can also be concrete topic information.This topic information can have multiple, establish link between the first client and the second client after, first client and the second client all can to user's object numberings in order, order shows concrete topic information, after the first client or the second client obtain the answer result of player, this answer result can be sent to the other side, enhance in answer process, interactive between the first client and the second client.
In the matching result information of the second client, set up with the second client between link after,
Described first client sends interactive information according to described configuration information to described second client;
First client receives the interactive information that described second client sends according to described configuration information.
Above-mentioned detailed process is shown in the description of above-mentioned S301, does not repeat them here.
In addition, because the data interaction between the first client and the second client is all the configuration informations sent based on server, therefore, consider that server will carry out concrete backup to the data interaction situation between the first client and the second client, thus, send interactive information in described first client to described second client, and/or the first client receive the interactive information that sends of described second client after also comprise:
S104: the first client, according to described interactive information, generates data interaction result and sends to described server.
When specific implementation, concrete data interaction result is general following several:
One: after the data interaction between the first client and the second client completes, the link of setting up between the first client and the second client can be disconnected.After it has been broken, the first client or the second client want notification server, and the data interaction between itself and another client completes, and can prepare to carry out data interaction next time.Now, in data interaction result, comprise the ready message of the first client or the second client, after server receives this ready message, include in can carry out in the scope of data interaction with other clients by the first client or the second client.If do not receive this ready message, then think that the first client and the second client are also in data interaction state, server does not allow other client and this two clients to carry out data interaction.
Be applied in concrete game, such as when the user of the first client and the second client is in race games time, there is the 3rd user end to server to send and will carry out the requirement of race games with the first client, because the race games between the first client and the second client does not also terminate, thus server can return in the first client user prompting just in gaming to the 3rd server, does not allow the 3rd client and the first client to play.
Two: the first client and the second client carry out data interaction after, first client and/or the second client are wanted to preserve carrying out mutual data between the two, now, in data interaction result, include the interactive information of the first client and the second client, after server receives this interactive information, by it preservation, be generally preserve to be in the database that server connects.If the first client and the second client are wanted to inquire about this interactive information, only need the request sending inquiry to server, relevant interactive information just can extract by server from database, then sends to the first client or second client of inquiry.
Meanwhile, know that in order to allow the first client and the second client it sends to the serviced device reception of the data interaction result of server, server also can send response message to the first client or the second client.
In addition, in order to instant data interactive method provided by the present invention is better described, shown in Figure 4, the application also provides an embodiment of playing to be illustrated the method:
This game comprises user A (the second client), user B (the first client), server and database, carries out answer competition game between user A and user B.
Preparing the stage of game:
S401: user A sends game request (i.e. matching instruction) to server;
S402: server, according to the game request of user A, extracts exercise question from server, and exercise question is sent to user A.
S403: user B sends game request (matching instruction) to server;
S404: exercise question, according to the game request of user B, is also sent to user B by server,
Simultaneously user A and user B is carried out that the match is successful by server, and the information (the matching result information of the second client) of user A is sent to user B;
Above-mentioned S401-S404 corresponds to S101, S301.Associated description is specifically shown in the specific descriptions of S101, S301, does not repeat them here.
S405: user B after receiving the matching result information of user A, sends linking request to user A.
S406: user A after receiving this matching result information, sends response message, set up the link of both sides to user B.
Above-mentioned S405-S406 specifically corresponds to S102, S201-S202, and associated description is specifically shown in the specific descriptions of S1012, S201-S202, does not repeat them here.
The stage is carried out in game:
Its answer result (interactive information) is sent to user A by S407: user B;
S408: user A receive the answer result of user B after, send its response received to user B;
Its answer result (interactive information) is sent to user B by S409: user A;
S410: user B receive the answer result of user A after, send its response received to user A;
Above-mentioned S407-S410 specifically corresponds to S103.Associated description is specifically shown in the specific descriptions of S103, does not repeat them here.
Stage in game over:
S411: user A submits whole answers (data interaction result) of user A answer to server;
S412: whole answers of user A answer are saved in database by server;
S413: server sends response message to user A.
S414: user B submits whole answers of user B answer to server;
S415: whole answers of user B answer are saved in database by server;
S416: server sends response message to user B.
Above-mentioned S411-S416 specifically corresponds to above-mentioned S104, specifically describes the detailed description of seeing above-mentioned S104, does not repeat them here.
The instant data interactive method that the embodiment of the present invention provides, number realize the first client and the second client carry out data interaction before, first client can send matching instruction to server, after server receives this matching instruction, according to the matched rule that this matching instruction and server are preset, mate, after the match is successful, the matching result information of the second client that the match is successful can be sent to the first client.First client, after receiving this matching result information, sets up the link between the second client according to this matching result information.Then use the link of setting up between the first client and the second client, the first client sends interactive information to the second client, and accepts the interactive information that the second client sends.Like this, as long as maintain the link of the first client and the second client, even the first client and the second client at any time to sending interactive information each other, also can meet the immediate interactive demand of user in game in the process of game.
Further embodiment of this invention provides a kind of instant data interaction device, and shown in Figure 5, this device comprises:
Matching module 114, for sending matching instruction to described server 113, and receives the matched rule that described server 113 presets according to described matching instruction and server 113, the matching result information of the second client 112 that the match is successful;
Establish the link module 115, for according to described matching result information, set up linking between described second client 112;
Transmission/reception module 116, for by described link, sends interactive information to described second client 112, and/or receives the interactive information that described second client 112 sends.
The instant data interactive method that the embodiment of the present invention provides, number realize the first client 111 and the second client 112 carry out data interaction before, first client 111 can send matching instruction by matching module 114 to server 113, after server 113 receives this matching instruction, according to the matched rule that this matching instruction and server are preset, mate, after the match is successful, the matching result information of the second client 112 that the match is successful can be sent to the first client 111.First client, after receiving this matching result information, by establishing the link module 115, can set up the link between the second client 112 according to this matching result information.Then by transmission/reception module 116, use the link of setting up between the first client and the second client, the first client sends interactive information to the second client, and accepts the interactive information that the second client sends.Like this, as long as maintain the link of the first client and the second client, even the first client and the second client at any time to sending interactive information each other, also can meet the immediate interactive demand of user in game in the process of game.
In addition, establish the link module 115 to comprise:
Linking request submodule 117, for according to described matching result information, sends linking request to described second client;
Request response receives submodule 118, for receiving the response message that described second client responds described linking request;
Link submodule 119, for setting up linking between described second client.
In addition, in embodiments of the present invention, described matching module 114, also for receiving described server according to described matching instruction, the configuration information sent;
Described transmission/reception module 116, also for sending interactive information according to described configuration information to described second client; And/or, receive the interactive information that described second client sends according to described configuration information.
First client 111, second client 112 in above-described embodiment, server 113, matching module 114, establish the link module 115, transmission/reception module 116, linking request submodule 117, request response receive submodule 118, the concrete function of link submodule 119 and interactive mode, see the record of embodiment corresponding to Fig. 1-Fig. 4, can not repeat at this.
Further embodiment of this invention provides a kind of instant data interaction system, shown in Figure 6, at least wraps two instant data interaction device 121 as described in above-described embodiment, and server 113;
Described server 113, for according to the matching instruction of described instant data interaction device 121 transmission and the instant data interaction device in opposite end of default matched rule coupling correspondence, generates matching result information feed back to described instant data interaction device.
Instant data interaction device in the present embodiment and the concrete function of client and interactive mode, see the record of above-described embodiment, can not repeat at this.
The computer program of the instant data interaction device that the embodiment of the present invention provides, comprise the computer-readable recording medium storing program code, the instruction that described program code comprises can be used for performing the method described in previous methods embodiment, specific implementation see embodiment of the method, can not repeat them here.
Those skilled in the art can be well understood to, and for convenience and simplicity of description, the system of foregoing description and the specific works process of device, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
If described function using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part of the part that technical scheme of the present invention contributes to prior art in essence in other words or this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. various can be program code stored medium.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should described be as the criterion with the protection range of claim.

Claims (10)

1. an instant data interactive method, be applied to the system at least comprising the first client, the second client and server, it is characterized in that, described method comprises:
Described first client sends matching instruction to described server, to make described server mate the second corresponding client according to described matching instruction and default matched rule, and receives the matching result information of described server transmission;
Described first client, according to described matching result information, sets up linking between described second client;
By described link, the first client sends interactive information to described second client, and/or the interactive information that described second client of described first client reception sends.
2. instant data interactive method according to claim 1, is characterized in that,
Described first client, according to described matching result information, is set up linking between described second client and is specifically comprised:
Described first client, according to described matching result information, sends linking request to described second client;
Described first client receives the response message that described second client responds described linking request;
Described first client sets up linking between described second client.
3. instant data interactive method according to claim 1 and 2, is characterized in that, described in be linked as socket long-chain and connect.
4. instant data interactive method according to claim 1, is characterized in that, also comprise:
Described first client receives the configuration information that described server sends according to described matching instruction;
Described first client sends interactive information to described second client and specifically comprises: described first client sends interactive information according to described configuration information to described second client;
The interactive information that described second client of described first client reception sends comprises: described first client receives the interactive information that described second client sends according to described configuration information.
5. the instant data interactive method according to claim 1-4 any one, is characterized in that, described first client sends interactive information to described second client, and/or also comprises after receiving interactive information that described second client sends:
First client, according to described interactive information, generates data interaction result and sends to described server.
6. an instant data interaction device, is characterized in that, comprising:
Matching module, for sending matching instruction to server, to make described server mate the second corresponding client according to described matching instruction and default matched rule, and receives the matching result information of described server transmission;
Establish the link module, for according to described matching result information, set up linking between described second client;
Transmission/reception module, for by described link, sends interactive information to described second client, and/or receives the interactive information that described second client sends.
7. device according to claim 6, is characterized in that, described in establish the link module and comprise:
Linking request submodule, for according to described matching result information, sends linking request to described second client;
Request response receives submodule, for receiving the response message that described second client responds described linking request;
Link submodule, for setting up linking between described second client.
8. device according to claim 6, is characterized in that, described in be linked as socket long-chain and connect.
9. device according to claim 6, is characterized in that,
Described matching module, also for receiving the configuration information that described server sends according to described matching instruction;
Described transmission/reception module, also for sending interactive information according to described configuration information to described second client; And/or, receive the interactive information that described second client sends according to described configuration information.
10. an instant data interaction system, is characterized in that, at least comprises two instant data interaction device as described in claim 6-9, and server;
Described server, for according to the matching instruction of described instant data interaction device transmission and the instant data interaction device in opposite end of default matched rule coupling correspondence, generates matching result information feed back to described instant data interaction device.
CN201510126547.0A 2015-03-23 2015-03-23 Instant data interaction method, device and system Pending CN104683222A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510126547.0A CN104683222A (en) 2015-03-23 2015-03-23 Instant data interaction method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510126547.0A CN104683222A (en) 2015-03-23 2015-03-23 Instant data interaction method, device and system

Publications (1)

Publication Number Publication Date
CN104683222A true CN104683222A (en) 2015-06-03

Family

ID=53317842

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510126547.0A Pending CN104683222A (en) 2015-03-23 2015-03-23 Instant data interaction method, device and system

Country Status (1)

Country Link
CN (1) CN104683222A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106303413A (en) * 2016-08-09 2017-01-04 上海盈方微电子有限公司 The method mutual based on IPC monitoring system information and IPC monitor system
CN106487836A (en) * 2015-08-27 2017-03-08 腾讯科技(深圳)有限公司 A kind of information processing method and server
CN108781222A (en) * 2016-01-29 2018-11-09 飒乐有限公司 Multiserver automation for secure cloud verification
CN109286665A (en) * 2018-09-17 2019-01-29 北京龙拳风暴科技有限公司 The real-time long link processing method and processing device of moving game
CN112236980A (en) * 2018-06-08 2021-01-15 斯纳普公司 Generating messages for interacting with physical assets
CN112867003A (en) * 2021-04-25 2021-05-28 广州边在晓峰网络科技有限公司 Game data channel communication connection system for wireless communication
US11394676B2 (en) 2019-03-28 2022-07-19 Snap Inc. Media content response in a messaging system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101521874A (en) * 2009-04-02 2009-09-02 腾讯科技(深圳)有限公司 Method, system and client for realizing fighting alternation of stand-alone mobile phone game
CN101588284A (en) * 2009-06-23 2009-11-25 腾讯科技(深圳)有限公司 Intercommunion method, device and system in network game
CN102185862A (en) * 2011-05-13 2011-09-14 北京朗玛数联科技有限公司 Communication method, device and system of online game system
CN102710612A (en) * 2012-05-11 2012-10-03 张伟 Method and devices for achieving multilateral interactive communication application
CN103647768A (en) * 2013-12-06 2014-03-19 北京奇虎科技有限公司 Game client and realization method thereof
CN104184654A (en) * 2014-07-30 2014-12-03 小米科技有限责任公司 User ID based matching method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101521874A (en) * 2009-04-02 2009-09-02 腾讯科技(深圳)有限公司 Method, system and client for realizing fighting alternation of stand-alone mobile phone game
CN101588284A (en) * 2009-06-23 2009-11-25 腾讯科技(深圳)有限公司 Intercommunion method, device and system in network game
CN102185862A (en) * 2011-05-13 2011-09-14 北京朗玛数联科技有限公司 Communication method, device and system of online game system
CN102710612A (en) * 2012-05-11 2012-10-03 张伟 Method and devices for achieving multilateral interactive communication application
CN103647768A (en) * 2013-12-06 2014-03-19 北京奇虎科技有限公司 Game client and realization method thereof
CN104184654A (en) * 2014-07-30 2014-12-03 小米科技有限责任公司 User ID based matching method and device

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106487836B (en) * 2015-08-27 2019-12-13 腾讯科技(深圳)有限公司 Information processing method and server
CN106487836A (en) * 2015-08-27 2017-03-08 腾讯科技(深圳)有限公司 A kind of information processing method and server
US11936729B2 (en) 2016-01-29 2024-03-19 Xero Limited Multiple server automation for secure cloud reconciliation
US11399062B2 (en) 2016-01-29 2022-07-26 Xero Limited Multiple server automation for secure cloud reconciliation
CN108781222B (en) * 2016-01-29 2019-07-09 飒乐有限公司 Multiserver automation for secure cloud verification
CN108781222B9 (en) * 2016-01-29 2019-09-06 飒乐有限公司 Multiserver automation for secure cloud verification
CN108781222A (en) * 2016-01-29 2018-11-09 飒乐有限公司 Multiserver automation for secure cloud verification
US11936730B2 (en) 2016-01-29 2024-03-19 Xero Limited Multiple server automation for secure cloud reconciliation
CN106303413A (en) * 2016-08-09 2017-01-04 上海盈方微电子有限公司 The method mutual based on IPC monitoring system information and IPC monitor system
CN112236980A (en) * 2018-06-08 2021-01-15 斯纳普公司 Generating messages for interacting with physical assets
US11722444B2 (en) 2018-06-08 2023-08-08 Snap Inc. Generating interactive messages with entity assets
US11356397B2 (en) 2018-06-08 2022-06-07 Snap Inc. Generating interactive messages with entity assets
CN112236980B (en) * 2018-06-08 2022-09-16 斯纳普公司 Generating messages for interacting with physical assets
CN109286665B (en) * 2018-09-17 2021-04-20 北京龙拳风暴科技有限公司 Real-time mobile game long link processing method and device
CN109286665A (en) * 2018-09-17 2019-01-29 北京龙拳风暴科技有限公司 The real-time long link processing method and processing device of moving game
US11394676B2 (en) 2019-03-28 2022-07-19 Snap Inc. Media content response in a messaging system
CN112867003B (en) * 2021-04-25 2021-07-06 广州边在晓峰网络科技有限公司 Game data channel communication connection system for wireless communication
CN112867003A (en) * 2021-04-25 2021-05-28 广州边在晓峰网络科技有限公司 Game data channel communication connection system for wireless communication

Similar Documents

Publication Publication Date Title
CN104683222A (en) Instant data interaction method, device and system
CN104702696B (en) The cross-platform instant data interactive method of one kind, device and system
CN105592364B (en) Cross-terminal screenshot picture acquisition method and device
US10874937B2 (en) Intelligent hardware interaction method and system
CN104811423B (en) The sharing method and device of location information
US20230037913A1 (en) Server-side processing method and server for actively initiating dialogue, and voice interaction system capable of initiating dialogue
CN101473341A (en) Transfer of features between gaming devices
CN112337102B (en) Live broadcast data processing method and device, electronic equipment and storage medium
WO2015135476A1 (en) Voice interaction method and apparatus
CN104639425A (en) Network expression playing method and system and service equipment
CN105553821A (en) Game battle matching method and device
CN102598725A (en) Mobile device and control method of the same
CN106507122A (en) A kind of live method, server, unmanned plane and VR equipment
CN104468845A (en) Data processing method and system
CN104283847B (en) The social service implementation method and device shared based on video
CN105323537B (en) Use the video conference of mobile platform
CN104159149A (en) Multi-user mouse based screen information interaction method, device and system
CN111773661B (en) System, method and device for team formation game based on live broadcast interface
CN103684981A (en) Instant messaging interactive method, system and server
CN105119977A (en) Method and system for information transmission based on geographic coordinates and time interval
KR101965759B1 (en) Method for providing location based game, server and device
US7042853B2 (en) Interactive two-way transfer multimedia messaging service
CN105429981A (en) Game voice transmission method, terminal, voice service module and game system
CN103685523B (en) Method and device for processing multimedia data
CN111031328B (en) Multi-platform network synchronous live broadcast control method and live broadcast system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150603