CN101146097A - A method and system for realizing data interaction - Google Patents

A method and system for realizing data interaction Download PDF

Info

Publication number
CN101146097A
CN101146097A CNA200610127576XA CN200610127576A CN101146097A CN 101146097 A CN101146097 A CN 101146097A CN A200610127576X A CNA200610127576X A CN A200610127576XA CN 200610127576 A CN200610127576 A CN 200610127576A CN 101146097 A CN101146097 A CN 101146097A
Authority
CN
China
Prior art keywords
visitor
virtual space
server
information
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.)
Granted
Application number
CNA200610127576XA
Other languages
Chinese (zh)
Other versions
CN101146097B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN200610127576XA priority Critical patent/CN101146097B/en
Publication of CN101146097A publication Critical patent/CN101146097A/en
Application granted granted Critical
Publication of CN101146097B publication Critical patent/CN101146097B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method and a system of realizing data exchange. A client side generates a visitor image layer in a virtual space, according to the visitor's operation and sends out a virtual space access request with a virtual space mark and the visitor information to a server, which stores the corresponding relationship between the virtual space mark and the visitor information and provides the visitor client side with the visitor information. The visitor client side displays the visitor image layer in the virtual space according to the visitor information. And the visitor can sends speech data to the Web server by the client side, which can request data refresh to the server, in order to obtain the visitor and the speech data in the same virtual space at present and facilitate the visitor to acquire the situation and the speech data of other visitors accessing in the same virtual space. The proposal provided by the invention can increase online guests' participation and interactivity in the virtual space.

Description

A kind of method and system of realizing data interaction
Technical field
The present invention relates to instant messaging, be meant a kind of method and system of realizing data interaction especially.
Background technology
In the increasingly mature modern life of the communication technology, instant messaging has become one of indispensable means of communication of a lot of people.When carrying out instant messaging, the user sends to the client of reception then by the inputting interface input communication content that client provides by network, receive that the client of Content of Communication is shown Content of Communication, realizes the instant messaging between the client.
Along with the continuous development of instant messaging, for example home chat has appearred based on the chat mechanism under the various patterns.Home chat is meant that the promoter sets up an independently Virtual Space, and this promoter is called this independently owner in the Virtual Space.Owner can be provided with the image of self in the Virtual Space, and position that should image place in the Virtual Space, for example, owner's client can generate a layer by script, the virtual image that will show owner's image information then places in this layer, and this is placed on the correct position of Virtual Space.Layer is meant a kind of element of display message in World Wide Web (Web) page, can control the show state of layer, size, position etc. by script.The user can dynamically change the position attribution of this layer by using mouse drag virtual image place layer.
At present, owner can put various article in the Virtual Space, and owner also can be provided with the good friend, and good friend's image is arbitrarily placed the optional position of Virtual Space, and the good friend is a virtual image only, is not the client of real existence.But for the visitor in accesses virtual space, owing to there is not data interactive method in the existing scheme at chat Virtual Space, home, make and do not have any information of visitor in the Virtual Space, the visitor can't see other visitors that visiting same Virtual Space, more can't initiate instant chat with these visitors, make the visitor in the Virtual Space of home chat, sensation on the spot in person be arranged, reduced interactive between online online friend's property of participation and the online online friend.
Summary of the invention
In view of this, the invention provides a kind of method and system of realizing data interaction, make online online friend in the Virtual Space of home chat, have sensation on the spot in person.
The method of realization data interaction provided by the invention may further comprise the steps:
A, client generate visitor's image layer according to operating in of visitor in the Virtual Space, and enter request to server transmission Virtual Space, and this Virtual Space enters and carries Virtual Space sign and visitor's information in the request;
Corresponding relation between B, server stores Virtual Space sign and the visitor's information;
C, server provide the visitor information to described visitor's client, and visitor's client demonstrates visitor's image layer in the Virtual Space according to visitor's information.
After the described step C, further comprise: visitor's user end to server sends speaking request, carry Virtual Space sign, user ID and speech data in this speaking request, the corresponding relation between server stores Virtual Space sign, user ID and the speech data.
After the described step C, further comprise: visitor's user end to server sends the Refresh Data request, carry Virtual Space sign and user ID in this Refresh Data request, server provides the visitor information to visitor's client, and visitor's client demonstrates visitor's image in the Virtual Space according to visitor's information.
Be provided with the Refresh Data time span in described visitor's client; Described visitor's user end to server sends the Refresh Data request, for: visitor's client periodically sends the Refresh Data request according to the Refresh Data time span to server.
Described visitor's information comprises: the positional information of user ID and visitor's image layer; The client of visitor described in the step C demonstrates visitor's image layer in the Virtual Space according to visitor's information, be: visitor's client positional information according to user ID and visitor's image layer, in the Virtual Space corresponding to the described visitor's of position display of this positional information image layer.
Described visitor's information comprises: visitor's speech data; Described step C further comprises: visitor's client shows described visitor's speech data according to user ID with the form of emitting alveolar layer on the position of visitor's image layer.
This method further comprises: data length effective time is set in the server, judge that whether the time span of making a speech between the data generation moment and the current time is greater than data length effective time, if then server abandons this speech data, otherwise, finish current flow process.
When being provided with the Refresh Data time span in visitor's client, described data length effective time is more than or equal to the Refresh Data time span.
After the described step C, further comprise: when server determines that visitor's client withdraws from the Virtual Space, delete this visitor's information.
Described server determines that visitor's client withdraws from the Virtual Space, for: server determines not receive satisfied the imposing a condition of condition of visitor's client data refresh requests; Or server is received from the Virtual Space of visitor's client and is withdrawed from request.
The system of realization data interaction provided by the invention comprises: client is used for sending the Virtual Space that carries Virtual Space sign and visitor's information to server and enters request, and the visitor's information that provides according to server, show the image layer of visitor in the Virtual Space to the visitor, also be used for sending the Refresh Data request to server, and the visitor's information that provides according to server, show the information of other visitors in the Virtual Space to the visitor; The Virtual Space that server is used to receive from client enters request, corresponding relation between storing virtual space identification and the visitor's information, and provide the visitor information to client, also be used for according to from the Refresh Data request of client, provide visitor's information in the Virtual Space of storage to client.
Described client: the speech data that are further used for sending the visitor to server; Described server is further used for storing the speech data from client.
Described server comprises: Web server and at least one data server, wherein, Web server is used for entering request according to the Virtual Space from client, provide Virtual Space sign and visitor's information to data server, and provide visitor's information from data server to client, also be used for according to Refresh Data request, provide the Virtual Space sign to data server from client; At least one data server is used for storing from the Virtual Space sign and the corresponding relation between visitor's information of Web server or visitor's information of this Virtual Space is provided to Web server according to the Virtual Space sign.
Among the present invention, client generates visitor's image layer according to operating in of visitor in the Virtual Space, and send the Virtual Space carry Virtual Space sign and visitor's information to server and enter request, corresponding relation between server stores Virtual Space sign and the visitor's information, server provides the visitor information to this visitor's client, visitor's client demonstrates visitor's image layer in the Virtual Space according to visitor's information, make the visitor to see to visit other visitors of same Virtual Space, give a kind of sensation on the spot in person of visitor, strengthen visitor's property of participation.
In addition, the visitor can send the speech data of self by user end to server, visitor's client also can be to the server requests Refresh Data, to obtain current visitor and speech data of visiting same Virtual Space, make the visitor in time know situation and the speech data with other visitors of its same Virtual Space of visit, strengthen online online friend interactive in the Virtual Space.
Description of drawings
Fig. 1 shows the structural representation of the system that the present invention is based on;
Fig. 2 shows that visitor's client enters the Virtual Space flow chart among the present invention;
Fig. 3 shows visitor's client-requested speech flow chart among the present invention;
Fig. 4 shows visitor's client-requested refresh data flow chart among the present invention;
Fig. 5 A shows that visitor's client withdraws from the Virtual Space flow chart unusually among the present invention;
Fig. 5 B shows that visitor's client initiatively withdraws from the Virtual Space flow chart among the present invention.
Embodiment
Fig. 1 shows the structural representation of the system that the present invention is based on, as shown in Figure 1, this system comprises Web application layer, Web service layer and data access layer, wherein, the Web application layer is used for sending the Virtual Space that carries Virtual Space sign and visitor's information to the Web service layer and enters request, and the visitor's information that provides according to the Web service layer, show the image layer of visitor in the Virtual Space to the visitor; The Web service layer is used for providing Virtual Space sign and visitor's information according to entering request from the Virtual Space of Web application layer to data access layer, and provides visitor's information from data access layer to the Web application layer; Data access layer is used to store from the Virtual Space sign of Web service layer and the corresponding relation between visitor's information or to the Web service layer provides the visitor information.
After the Virtual Space information of data access layer storage from the Web service layer, be further used for responding to Web service layer return.
The Web application layer is further used for sending to the Web service layer visitor's speech data; The Web service layer is further used for providing speech data from the Web application layer to data access layer; Data access layer is further used for the speech data are stored.
The Web application layer is further used for sending the Refresh Data request to the Web service layer, and the visitor's information that provides according to the Web service layer, shows the vivid information of other visitors in the Virtual Space to the visitor; The Web service layer is further used for obtaining the visitor's information in the Virtual Space of storing in the data access layer, and offering the Web application layer according to the Refresh Data request from the Web application layer.The Web service layer obtains visitor's information in the Virtual Space of storing in the data access layer and can be Web service course data access layer the Virtual Space sign is provided, and data access course Web service layer provides the visitor in the respective virtual space information.
If further include each visitor's who has entered the Virtual Space speech data in visitor's information, then the Web application layer is further used for showing to the visitor other visitors' speech data.
When the Web service layer was further used for determining that the visitor withdraws from the Virtual Space, the notification data server was deleted this visitor's information in the Virtual Space.
Data access layer is further used for according to the time speech data of each visitor in the Virtual Space being eliminated.
Above-described Web application layer is a client, and the Web service layer is a Web server, and data access layer is at least one data server.The Virtual Space sign that can will visit according to the user of client is determined the Web server that links to each other with this client.Data server and Web server can be arranged in same server.
When comprising a plurality of data server in the system, Web server is further used for determining to store according to the Virtual Space sign data server of this Virtual Space information.Data server can adopt the mode of shared drive to carry out data access, is about to disk access and becomes memory access; Also can still adopt other access modes such as database that data are carried out access.
Among the present invention, client generates visitor's image layer according to operating in of visitor in the Virtual Space, and send the Virtual Space to server and enter request, this Virtual Space enters and carries Virtual Space sign and visitor's information in the request, the corresponding relation between server stores Virtual Space sign and the visitor's information; Server provides the visitor information to visitor's client, and visitor's client demonstrates visitor's image layer in the Virtual Space according to visitor's information.Described server can comprise Web server and data server.
Fig. 2 shows that visitor's client enters the Virtual Space flow chart among the present invention, and as shown in Figure 2, the processing procedure that visitor's client enters the Virtual Space may further comprise the steps:
Step 201: the visitor that need enter the Virtual Space operates client, and client generates layer on a certain position of Virtual Space, and the vivid information with this visitor places in this layer then, and visitor's vivid information is corresponding with this visitor's user ID.Below client that the visitor is used abbreviate visitor's client as.Client can generate the layer of placing visitor's image information by script.
Step 202: visitor's client sends the Virtual Space to Web server and enters request, Virtual Space sign and visitor's information are gone into to carry in the request in this Virtual Space, and this visitor's information comprises the positional information that is used for identifying visitor's user ID and image that the visitor is provided with in the Virtual Space layer as QQ number etc.The positional information of described visitor's image layer can be the set of vertex position information and left end point positional information.
After step 203:Web server receives that the Virtual Space enters request, provide Virtual Space sign and visitor's information to data server; Owing to safeguard information that each visitor who visits a Virtual Space is arranged in the data server, be Virtual Space information, this Virtual Space information comprises Virtual Space sign and each visitor's information of visiting this Virtual Space, visitor's information comprises the positional information of user ID and visitor's image layer again, therefore, data server can identify according to the Virtual Space, with visitor's information stores on position corresponding to Virtual Space sign, i.e. corresponding relation between data server storing virtual space identification and the visitor's information.
Owing to can comprise a plurality of data servers in the system, the information in different virtual space can be stored in identical data server, also can be stored in different data servers, for example, the information stores that is designated 1 to 100 Virtual Space is in data server A, the information stores that is designated 101 to 200 Virtual Space is in data server B, also can adopt other more the hashing algorithm of science Virtual Space information is distributed in each data server.Can store Virtual Space sign in the Web server and store corresponding relation between the data server of respective virtual spatial information, like this, Web server can be at first determine to store the data server of this Virtual Space information according to the Virtual Space sign, and then visitor's information is offered this data server stores.
After data server is finished operation to visitor's information, can respond to Web server return, if data server successfully with visitor's information stores on position corresponding to Virtual Space sign, then return success response to Web server, if data server not successfully with visitor's information stores on position corresponding to Virtual Space sign, then return failure response to Web server.
Step 204: because the visitor described in the step 201 is for initially entering the Virtual Space, after this visitor enters the Virtual Space, the information of visiting other visitors of this Virtual Space when also needing client to this visitor to be provided at it to enter the Virtual Space, therefore, Web server provides the Virtual Space sign to data server, obtain the information of each visitor in the respective virtual space of storing in the data server, Web server provides visitor's information from data server to visitor's client then.Visitor's information herein can comprise this visitor who initially enters the Virtual Space.
Similarly, if comprise a plurality of data servers in the system, Web server can at first determine to store the data server of respective virtual spatial information according to the Virtual Space sign, and then provide Virtual Space sign to the corresponding data server, obtain the information of each visitor in the respective virtual space of storing in the data server.
Step 205: owing to include the positional information of user ID and visitor's image layer in visitor's information, therefore, after visitor's client is received visitor's information that Web server provides, can demonstrate the image of each visitor in this Virtual Space according to the relevant position of visitor's information in the Virtual Space.
If data server further includes each visitor's who has entered the Virtual Space speech data in visitor's information that Web server provides, then just enter the image that not only demonstrates each visitor on visitor's client of Virtual Space, also can on the position of visitor's image layer, demonstrate corresponding visitor's speech data.
For the data content of avoiding storing in the data server too much, data server can be eliminated the speech data of each visitor in the Virtual Space according to the time, specific implementation can be: data length effective time is set, data server judges that whether the time span of making a speech between the data generation moment and the current time is greater than data length effective time, if, then data server abandons this speech data, otherwise, finish current flow process, if promptly the time span between the speech data generation moment and the current time is less than or equal to data length effective time, then data server still keeps this speech data; If the time span between the speech data generation moment and the current time is greater than data length effective time, then data server abandons this speech data.Entered like this, just that the speech data that show on visitor's client of Virtual Space only generate constantly for it and the time span between the current time is less than or equal to those speech data of data length effective time.For example, data length effective time is one hour, if current time is 3:00pm, the speech data of then storing in the data server are the speech data that generate in this hour of 2:00pm to 3:00pm, the speech data that generate before the 2:00pm are all abandoned by data server, at this moment, if Web server provides speech data from data server to the visitor's client in the accesses virtual space just, then provide the speech data that generate in this hour of 2:00pm to 3:00pm.
If the visitor described in the step 201 is the visitor in first accesses virtual space, then step 204~step 205 can be omitted.
The visitor is in the process in accesses virtual space, can change its position of image layer in the Virtual Space, at this moment, visitor's client provides Virtual Space sign and visitor's information to Web server, this visitor's information comprises the positional information of the visitor's image layer after user ID and the change, offers data server by Web server then and stores.
Fig. 3 shows visitor's client-requested speech flow chart among the present invention, and as shown in Figure 3, the processing procedure of visitor's client-requested speech may further comprise the steps:
Step 301: after the visitor enters the Virtual Space, in the time of need in the Virtual Space, making a speech, import the speech data by input equipment to client, visitor's client sends speaking request to Web server, carry Virtual Space sign and visitor's information in this speaking request, include user ID and this visitor's speech data in this visitor's information.
After step 302:Web server is received speaking request, Virtual Space sign and visitor's information are offered data server, data server is stored visitor's information, i.e. corresponding relation between data server storing virtual space identification, user ID and the speech data.
Similarly, if comprise a plurality of data servers in the system, further carry the Virtual Space sign in this speaking request, Web server can be at first determine to store the data server of respective virtual spatial information according to the Virtual Space sign, and then visitor's information is offered this data server stores.
After data server is finished operation to visitor's information, can respond to Web server return, if data server successfully with visitor's information stores on position corresponding to Virtual Space sign, then return success response to Web server, if data server not successfully with visitor's information stores on position corresponding to Virtual Space sign, then return failure response to Web server.
Because visitor's client among the present invention and the data interaction between the Web server are asynchronizations, like this, visitor's client needn't be waited for the processing of Web server, therefore, just the speech data the visitor in accesses virtual space are not to be presented at once on other visitor's clients, but in visitor's client when the Web server request msg refreshes, just can be presented on visitor's client, concrete handling process as shown in Figure 4:
Step 401: be provided with the Refresh Data time span in visitor's client, visitor's client periodically sends the Refresh Data request to Web server according to the Refresh Data time span, be that Cycle Length is the Refresh Data time span, specific implementation can be: in visitor's client timer is set, the time span of this timer is the Refresh Data time span, timer is to constantly, visitor's client sends the Refresh Data request to Web server, carry Virtual Space sign and user ID in this Refresh Data request, restart timer then and carry out timing.
After step 402:Web server is received the Refresh Data request, provide the Virtual Space sign to data server, specifically can be Web server and send the Refresh Data request that carries the Virtual Space sign to data server, provide the information of each visitor in the respective virtual space of its storage according to Virtual Space sign to Web server in the data server, this visitor's information comprises the positional information of user ID and visitor's image layer, if the visitor has speech in the Virtual Space, then this visitor's information further comprises corresponding visitor's speech data, and Web server provides visitor's information from data server according to user ID to visitor's client then.Visitor's information herein can comprise the visitor's that request msg refreshes information.During the same Virtual Space of a plurality of guest access, the information from each visitor of data server that Web server provides to visitor's client can adopt the form of tabulation.
Similarly, if comprise a plurality of data servers in the system, Web server can at first determine to store the data server of respective virtual spatial information according to the Virtual Space sign, and then provide Virtual Space sign to the corresponding data server, obtain the information of each visitor in the respective virtual space of storing in this data server.
Step 403: owing to include the positional information of user ID and visitor's image layer in visitor's information, therefore, after visitor's client is received visitor's information that Web server provides, can demonstrate each visitor's image according to the relevant position of visitor's information in the Virtual Space; If the visitor has speech in the Virtual Space, then visitor's client further demonstrates this visitor's speech data on corresponding visitor's image.When visitor's client shows visitor's speech data, can adopt the mode of bubbling to show.Bubbling is meant the layer that shows chat message, can emit alveolar layer to show and hides by the control of emitting alveolar layer is made, and reaches the display effect of bubbling.Owing to emit alveolar layer to be presented at the fixed position of visitor's image layer, after the position of visitor's image layer is determined like this, show that the make a speech position that emits alveolar layer of data of this visitor is also just and then definite.
Because the data interaction between visitor's client and the Web server is asynchronization, the information that newly enters the visitor of Virtual Space is not to be presented at once on the visitor's client that enters the Virtual Space, but the Refresh Data by visitor's client can show the visitor's information that makes new advances and enter the Virtual Space, not only comprise each visitor's who has entered the Virtual Space information in visitor's information that to be Web server get access to by data server, comprise that also the last request msg of this visitor's client flushes to this section period that current request msg this time refreshes, be the visitor's information that enters the Virtual Space in the Refresh Data time span.Refresh Data adopts asynchronous mode, has visitor's client regularly to carry out on the backstage according to the Refresh Data time span, the basic perception of Guest User less than, last visitor's client is analyzed the data of receiving, is presented in the Virtual Space then.Like this, pass through Refresh Data, both can demonstrate the speech data of visitor in the Virtual Space on visitor's client, can showing again makes new advances enters the visitor of Virtual Space, make the visitor who has entered the Virtual Space in time understand the situation in the Virtual Space, obtain sensation on the spot in person, strengthen visitor's property of participation.
Above-described Refresh Data can only be to just refreshing that visitor's information in accesses virtual space is carried out, other information in the Virtual Space are not refreshed, for example, the background information of the Virtual Space that the visitor is being visited, Item Information that owner puts in the Virtual Space etc. do not refresh.
The front is mentioned data server and can be eliminated the speech data of each visitor in the Virtual Space according to the time, in data server, be provided with data length effective time, Refresh Data time span in conjunction with visitor's client-requested Refresh Data, data length effective time in the data server should be not less than the Refresh Data time span of visitor's client, be data length effective time more than or equal to the Refresh Data time span, can get access to the whole Virtual Spaces information in its accesses virtual steric course to guarantee visitor's client.
Fig. 5 A shows that visitor's client withdraws from the Virtual Space flow chart unusually among the present invention, and shown in Fig. 5 A, whether data server can still be monitored at the state in accesses virtual space the visitor, and concrete processing procedure may further comprise the steps:
Step 501A: data server is judged whether the condition do not receive visitor's client data refresh requests satisfies and is imposed a condition, if then continue execution in step 502A; Otherwise, finish current flow process.Imposing a condition can be setting-up time length, and promptly data server judges whether not receive the Refresh Data request of visitor's client in setting-up time length, if then continue execution in step 502A; Otherwise, finish current flow process.Described setting-up time length is the integral multiple of the Refresh Data time span of visitor's client as setting-up time length, as 5 times greater than the Refresh Data time span of visitor's client.If the Refresh Data request of for a long time not receiving visitor's client, then data server is regarded the visitor as and is withdrawed from the Virtual Space.
Step 502A: data server is deleted this visitor's information in the respective virtual space.
Fig. 5 B shows that visitor's client initiatively withdraws from the Virtual Space flow chart among the present invention, and shown in Fig. 5 B, the visitor can initiatively withdraw from the Virtual Space, concrete process steps following steps:
Step 501B~step 503B: the visitor that need enter the Virtual Space operates client and withdraws from the Virtual Space, and visitor's client is destroyed visitor's image layer.Visitor's client sends the Virtual Space to Web server and withdraws from request, and this Virtual Space is withdrawed from and carried Virtual Space sign and user ID in the request.
After step 504B:Web server receives that request is withdrawed from the Virtual Space, provide Virtual Space sign and user ID to data server, specifically can be Web server transmits this Virtual Space to data server and withdraws from request, delete this visitor's information with the notification data server in the respective virtual space, data server is deleted this visitor's information in the respective virtual space.
Similarly, if comprise a plurality of data servers in the system, Web server can at first determine to store the data server of respective virtual spatial information according to the Virtual Space sign, and then provide Virtual Space sign and user ID to the corresponding data server, notify this data server in the respective virtual space, to delete this visitor's information.
After the visitor withdraws from the Virtual Space, when visitor's client-requested Refresh Data just in the accesses virtual space, owing to no longer stored those visitors' that withdrawed from the Virtual Space information in the data server, therefore, when just the visitor's client in the accesses virtual space demonstrates each visitor's image and makes a speech data according to the relevant position of visitor's information in the Virtual Space, withdrawed from from visitor's information of Virtual Space, and removed this visitor's of performance image layer no longer show.
Above scheme can adopt the data interaction asynchronization between AJAX (Asynchronous JavaScript and XML) technology realization user client and the server, the AJAX technology is the integrated use of multiple technologies, comprises JavaScript, XHTML and CSS, DOM, XML and XSTL, XMLHttpRequest.In the above scheme, the data interaction between user client and the server also can adopt the method for synchronization to realize.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (13)

1. method that realizes data interaction is characterized in that the method includes the steps of:
A, client generate visitor's image layer according to operating in of visitor in the Virtual Space, and enter request to server transmission Virtual Space, and this Virtual Space enters and carries Virtual Space sign and visitor's information in the request;
Corresponding relation between B, server stores Virtual Space sign and the visitor's information;
C, server provide the visitor information to described visitor's client, and visitor's client demonstrates visitor's image layer in the Virtual Space according to visitor's information.
2. method according to claim 1, it is characterized in that, after the described step C, further comprise: visitor's user end to server sends speaking request, carry Virtual Space sign, user ID and speech data in this speaking request, the corresponding relation between server stores Virtual Space sign, user ID and the speech data.
3. method according to claim 1, it is characterized in that, after the described step C, further comprise: visitor's user end to server sends the Refresh Data request, carry Virtual Space sign and user ID in this Refresh Data request, server provides the visitor information to visitor's client, and visitor's client demonstrates visitor's image in the Virtual Space according to visitor's information.
4. method according to claim 3 is characterized in that,
Be provided with the Refresh Data time span in described visitor's client;
Described visitor's user end to server sends the Refresh Data request, for: visitor's client periodically sends the Refresh Data request according to the Refresh Data time span to server.
5. according to claim 1 or 3 described methods, it is characterized in that,
Described visitor's information comprises: the positional information of user ID and visitor's image layer;
The client of visitor described in the step C demonstrates visitor's image layer in the Virtual Space according to visitor's information, be: visitor's client positional information according to user ID and visitor's image layer, in the Virtual Space corresponding to the described visitor's of position display of this positional information image layer.
6. method according to claim 5 is characterized in that, described visitor's information comprises: visitor's speech data;
Described step C further comprises: visitor's client shows described visitor's speech data according to user ID with the form of emitting alveolar layer on the position of visitor's image layer.
7. according to claim 1 or 4 described methods, it is characterized in that, this method further comprises: data length effective time is set in the server, judge that whether the time span of making a speech between the data generation moment and the current time is greater than data length effective time, if, then server abandons this speech data, otherwise, finish current flow process.
8. method according to claim 7 is characterized in that, when being provided with the Refresh Data time span in visitor's client, described data length effective time is more than or equal to the Refresh Data time span.
9. method according to claim 1 is characterized in that, after the described step C, further comprises: when server determines that visitor's client withdraws from the Virtual Space, delete this visitor's information.
10. method according to claim 9 is characterized in that, described server determines that visitor's client withdraws from the Virtual Space, for: server determines not receive satisfied the imposing a condition of condition of visitor's client data refresh requests; Or server is received from the Virtual Space of visitor's client and is withdrawed from request.
11. a system that realizes data interaction is characterized in that, this system comprises:
Client, be used for sending the Virtual Space that carries Virtual Space sign and visitor's information and enter request to server, and the visitor's information that provides according to server, show the image layer of visitor in the Virtual Space to the visitor, also be used for sending the Refresh Data request to server, and the visitor's information that provides according to server, show the information of other visitors in the Virtual Space to the visitor;
Server, the Virtual Space that is used to receive from client enters request, corresponding relation between storing virtual space identification and the visitor's information, and provide the visitor information to client, also be used for according to from the Refresh Data request of client, provide visitor's information in the Virtual Space of storage to client.
12. system according to claim 11 is characterized in that,
Described client: the speech data that are further used for sending the visitor to server;
Described server is further used for storing the speech data from client.
13., it is characterized in that described server comprises according to claim 11 or 12 described systems: Web server and at least one data server,
Web server, be used for entering request according to Virtual Space from client, provide Virtual Space sign and visitor's information to data server, and provide visitor's information from data server to client, also be used for according to Refresh Data request, provide the Virtual Space sign to data server from client;
At least one data server is used for storing from the Virtual Space sign and the corresponding relation between visitor's information of Web server or visitor's information of this Virtual Space is provided to Web server according to the Virtual Space sign.
CN200610127576XA 2006-09-14 2006-09-14 A method and system for realizing data interaction Active CN101146097B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200610127576XA CN101146097B (en) 2006-09-14 2006-09-14 A method and system for realizing data interaction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200610127576XA CN101146097B (en) 2006-09-14 2006-09-14 A method and system for realizing data interaction

Publications (2)

Publication Number Publication Date
CN101146097A true CN101146097A (en) 2008-03-19
CN101146097B CN101146097B (en) 2011-02-16

Family

ID=39208385

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200610127576XA Active CN101146097B (en) 2006-09-14 2006-09-14 A method and system for realizing data interaction

Country Status (1)

Country Link
CN (1) CN101146097B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102447675A (en) * 2010-09-30 2012-05-09 宏正自动科技股份有限公司 Distal end transmission method and virtual media system using the same
CN103200077A (en) * 2013-04-15 2013-07-10 腾讯科技(深圳)有限公司 Method, device and system for data interaction during voice communication
CN103414630A (en) * 2013-08-28 2013-11-27 腾讯科技(深圳)有限公司 Network interactive method and relative device and communication system
CN103607434A (en) * 2013-11-04 2014-02-26 四川长虹电器股份有限公司 Interaction method of network communication data

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040029337A (en) * 2004-03-12 2004-04-06 주식회사 로토토 A method for providing blog service which can minimize network's load by using common data module and a system thereof
KR100673600B1 (en) * 2004-07-20 2007-01-24 에스케이커뮤니케이션즈 주식회사 Apparatus and method for recommending the spot or the azit in the regional community system based on mobile blog through the mobile terminal

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102447675A (en) * 2010-09-30 2012-05-09 宏正自动科技股份有限公司 Distal end transmission method and virtual media system using the same
CN103200077A (en) * 2013-04-15 2013-07-10 腾讯科技(深圳)有限公司 Method, device and system for data interaction during voice communication
WO2014169639A1 (en) * 2013-04-15 2014-10-23 Tencent Technology (Shenzhen) Company Limited Systems and methods for data exchange in voice communication
CN103200077B (en) * 2013-04-15 2015-08-26 腾讯科技(深圳)有限公司 The method of data interaction during a kind of voice call, Apparatus and system
US9591062B2 (en) 2013-04-15 2017-03-07 Tencent Technology (Shenzhen) Company Limited Systems and methods for data exchange in voice communication
CN103414630A (en) * 2013-08-28 2013-11-27 腾讯科技(深圳)有限公司 Network interactive method and relative device and communication system
CN103607434A (en) * 2013-11-04 2014-02-26 四川长虹电器股份有限公司 Interaction method of network communication data

Also Published As

Publication number Publication date
CN101146097B (en) 2011-02-16

Similar Documents

Publication Publication Date Title
CN102932352B (en) The method that communicates and server is carried out with client
CN101394307B (en) Method, apparatus and system for on-line user amount statistic
CN108989429A (en) The method, apparatus of real-time update page data, electronic equipment
CN106161593A (en) MESSAGE POLL method and server, communication system
CN107924527A (en) Advertisement is shown in application launcher
CN104737563A (en) Group association based on network determined location
CN102904903B (en) Communication system and communication means
US11443340B2 (en) Method and digital signage player for managing distributed digital signage content
CN101146097B (en) A method and system for realizing data interaction
CN106464746A (en) Computer system to support failover in event stream processing system
CN103297291A (en) Method and system for monitoring website real-time statuses
CN103929350A (en) Information pushing method, device and system
CN107038017B (en) The method and apparatus that rendering data obtains
CN110740155B (en) Request processing method and device in distributed system
CN111935242B (en) Data transmission method, device, server and storage medium
CN102255879A (en) Method and system for realizing local cache of uncompleted input content by user
CN104363257B (en) A kind of user interface data method for refreshing and equipment
CN105376714B (en) A kind of localization method and device
CN105610849B (en) Method and device for generating sharing label and method and device for displaying attribute information
US20230055273A1 (en) Methods, systems, and media for identifying automatically refreshed advertisements
CN103559302A (en) Method, device and system for monitoring state of network media data
CN104731831B (en) The monitoring method and device of pushed information
JP2017167845A (en) Communication device, communication system, communication method and program
CN105045448B (en) The method and device of information is shown in main panel
CN104102645B (en) Multi-media information distribution method and management system based on browser technology

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant