CN1286304C - Method of realizing scene chat between customers in instant communication - Google Patents

Method of realizing scene chat between customers in instant communication Download PDF

Info

Publication number
CN1286304C
CN1286304C CNB2004100002304A CN200410000230A CN1286304C CN 1286304 C CN1286304 C CN 1286304C CN B2004100002304 A CNB2004100002304 A CN B2004100002304A CN 200410000230 A CN200410000230 A CN 200410000230A CN 1286304 C CN1286304 C CN 1286304C
Authority
CN
China
Prior art keywords
chat
scene
file
recipient
window
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.)
Expired - Lifetime
Application number
CNB2004100002304A
Other languages
Chinese (zh)
Other versions
CN1556631A (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.)
Sina Technology China Co Ltd
Original Assignee
BEIJING BRANCH OF GUIYANG LANGMA INFORMATION Technologies 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 BEIJING BRANCH OF GUIYANG LANGMA INFORMATION Technologies Co Ltd filed Critical BEIJING BRANCH OF GUIYANG LANGMA INFORMATION Technologies Co Ltd
Priority to CNB2004100002304A priority Critical patent/CN1286304C/en
Publication of CN1556631A publication Critical patent/CN1556631A/en
Application granted granted Critical
Publication of CN1286304C publication Critical patent/CN1286304C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The present invention relates to a method for realizing the scene chat between the clients of an instantaneous communication system, which belongs to the technical field of instantaneous communication systems. The method of the present invention solves the problem that the words of existing text chat content are simply displayed, and provides a method for selecting different chat scenes and building different environments according to the mood and chat topics when text chat is carried out. In the method of the present invention, a program stored in a computer is used for executing the following steps: first, a chat scene name selected by a sender and chat content input and/or selected by the sender are obtained, the data is transmitted to a receiver through a network, and after the receiver unpacks the received packet data, the receiver judges whether the scene of the current chat window is identical to the scene from the sender by comparing the chat scene names of the sender and the receiver; if the scenes are identical, the chat content is directly displayed, else, the chat content is displayed in a chat content displaying area, and a scene identical to the scene of the sender is loaded in the chat window of the receiver.

Description

A kind of method that realizes sight chat between the instantaneous communication system client
Technical field
The invention belongs to the instantaneous communication system technical field.Specifically, realized in the instant messaging chat, chat person can select chat scenario (a kind of file of the user-defined format of writing with html language for use, can comprise figure, sound), so in chat process, just can be automatically I and the other side's chat literal (chatting facial expression figure) be shown among the scene dynamically, the sight chat that is implemented in the chat process exchanges.
Background technology
Computer network, for example internet communication can carry out communication by the Internet between personal user and the personal user, comprises non-instant messaging (for example EMAIL), and instant messaging (for example instantaneous communication system).
Instantaneous communication system (Instant Messenger) is to be applied to network communications service system on the network, based on instantaneous communication system, can pass through any network condition (local area network (LAN) between the user; Wide area network; Wireless network) obtain the notice of the other side's present presence, and can carry out text, voice, the interchange of video can also collaborative work.
In instant messaging, text chat can be used the keyboard input characters in occupation of important position very between the user, clicks " transmission " then, just can send content, and be presented on the other side's the computer display.
Yet the text chat of traditional instant messaging can only show the content of simple text, has added the color and the size of literal afterwards, and some pictures.But these all only are chatting contents, and the both sides of chat and in many ways are only limited to the interchange of chat content, but do not have the environment of chat, and just as between we and the sweet heart, secret words go to express to coffee shop silently with regard to wishing certainly; And and between the good friend, perhaps select lively bar, more can set off the direct friendship of friend.
Summary of the invention
The objective of the invention is in the text chat of instant messaging, solve the problem of the simple displaying of existing text chat content literal, provide a kind of when text chat, can be according to mood, and the topic of chat, select different chat scenarios, build the method for varying environment for chat.
Another object of the present invention is to make the text chat both sides use same chat environment synchronously, and can be by carrying out action, make the chat both sides can carry out the action of same chat but scene synchronously, thereby make chat environment carry out dynamic change synchronously the chat both sides.
Another object of the present invention is that the user can oneself make scene, by the file chat, just can automatically new document scene be sent to chat correspondent.
Technical scheme provided by the invention is a kind of method that realizes sight chat between the instantaneous communication system client, it is characterized in that two instantaneous communication system clients comprise background at the text chat window, animation, when the sight of sound is chatted, as follows:
At first, transmit leg obtains sender-selected chat scenario title, and the chat content that comprises literal, picture and animation of transmit leg input and/or selection, and these information datas packings are sent by the transmit leg computer network interface;
Through the transmission of network, read by recipient's computer network interface, after the bag data that receive were unpacked, whether the scene of judging recipient's present chatting window by both sides' chat scenario title relatively was identical with scene from transmit leg;
If scene is identical, then directly the chat content of receiving dynamically is presented in the chat content viewing area of recipient's present chatting window; If scene is inequality, then chat content dynamically is presented in the chat content viewing area of recipient's present chatting window, and in recipient's chat window, loads the scene identical with transmit leg.
Show the scene actions menu of this scene in the described text chat window, after a scene action in the described scene actions menu of sender-selected execution, described scene action dynamically is presented in the scene of local chat window at first at once, by the transmit leg network interface, scene title and scene denomination of dive are arrived the recipient by Network Transmission simultaneously;
The recipient receives described information by its network interface, if both sides' chat window has loaded identical scene, then the recipient selects scene action that transmit leg sends so that its execution in its scene actions menu; If, then in recipient's chat window, load the scene identical earlier with transmit leg when both sides' chat window has loaded different scenes.
Describedly in recipient's chat window, load the scene identical and further comprise the steps: with transmit leg
At first, according to the chat scenario title in the transmit leg chat content, judge whether recipient this locality exists this chat scenario file; If have this chat scenario file, then this chat scenario be loaded into chat window; If there is no this chat scenario file inquires then whether the recipient receives this chat scenario;
If the recipient agrees to receive, then the recipient asks transmit leg that the chat scenario file is sended over by the file transfer passage, receive described document scene after, described chat scenario is loaded into chat window; If recipient's rejection, then recipient's scene does not change.
Described chat scenario file comprises resource file used in scene master file and the scene, and described each file all is stored in the computer and is called under the catalogue of directory name with scene; Described resource file comprises picture file, audio files and animation file.
Described recipient judges local whether have the chat scenario file further following steps identical with the used chat scenario of transmit leg: at first check the catalogue that whether has this scene title under the scene catalogue of TALKER installation directory, if there is described catalogue, reexamine and whether contain the scene master file under the described catalogue, if contain, then show local this scene that exists of recipient, otherwise, show the local not chat scenario file identical of recipient with the used chat scenario of transmit leg.
Described transmit leg further comprises the steps: the chat scenario file by the method that the file transfer passage sends
1) transmit leg and recipient set up the interface channel of file transfer;
2) transmit leg is packaged into a file with the chat scenario master file under the described scene catalogue and all resource file compressions of scene, sends to the recipient by the file transfer passage;
3) after the recipient receives the file of described compression, decompress, in computer, create the catalogue that is called directory name with the scene name according to the title of scene, and the All Files after will decompressing is stored under this catalogue.
Chat scenario master file of the present invention is the file that generates with HTML, it uses HTML that background image, the background color of chat are set, the font color of chat literal, the chat content viewing area, picture outside the chat content viewing area and animation, and/or the file that plays sound; Described scene master file utilizes the function of HTML to define scene and moves, when carrying out the scene action, and the described function of routine call, thus realize that picture changes, sound playing, and/or the function of animation demonstration.
The text chat window of instant messaging of the present invention is presented on the calculator display organization, described text chat window is made up of chat content input area and chat content viewing area, and described chat content viewing area is to utilize browser control part to show the chat content of described transmission or reception.
Use the method for the invention in instantaneous communication system after, the user can oneself make chat scenario, perhaps downloads other scene from the Internet, (comprises the chat background by the cyberchat environment that uses scene to change me in the text chat process.Chat animation, music etc.), also can the synchronous change chat correspondent cyberchat environment (needing the other side to agree to accept scene), thereby make text chat vivid and interesting more in the instant messaging.
Description of drawings
Fig. 1 is Computer Systems Organization figure;
Fig. 2 is the logical schematic of network transmission process;
Fig. 3 is the logical schematic of UC scene manufacturing process;
Fig. 4 loads and uses the program flow diagram of scene for the text chat window;
Fig. 5-a is the program flow diagram of the transmit leg of UC scene chat;
Fig. 5-b is the recipient's of UC scene chat program flow diagram;
Fig. 6-a uses the program flow diagram of scene action for transmit leg in the chat of UC scene;
Fig. 6-b receives the program flow diagram of scene action for recipient in the chat of UC scene;
Fig. 7 is for transmitting the program flow diagram of document scene in real time in the chat of UC scene.
Embodiment
Further specify implementation method of the present invention below in conjunction with accompanying drawing.
In an embodiment of the present invention, the method for the invention is that instantaneous communication system product UC by Lang Ma Information Technology Co., Ltd realizes that this product has been created the UC chat scenario in instantaneous communication system.
Common instantaneous communication system can be supported the text chat between the user, after the user opens the text chat window, the user can input characters, click " transmission ", can send to the other side by network, the other side can see the literal that oneself sends in the text chat window; Equally, the literal that the other side sends also can be presented in we's the chat window.
The transmission frame of common text chat window and reception display box, all be to use the RICHEDIT control to realize, so in receiving display box, the chat literal of receiving (can only be comprised content of text, font, color etc.) directly be inserted in the sink block and show.
The invention of UC chat scenario has realized being not limited between the user interchange of literal, the reception display box of the text chat window of UC itself is exactly the control of a web browser (IE), because web browser can be explained HTML(Hypertext Markup Language), and html language has been created lively Internet just, so the reception display box of the chat window of UC also can be explained html language, like this, UC document scene with the html language generation, just can be presented in the chat window of UC, thereby demonstrate various dynamic effects.
In the chat process of UC, the user can select the document scene of UC, behind the use document scene, the sink block of local chat window just can demonstrate the scene that this document scene comprises, and can comprise picture, animation, sound can simulate colourful life scene.
If the user wishes chat correspondent and oneself and uses same scene, so in the process of text chat, except the chat content of sending out me, also scene can be sent to the other side goes (if there is not this document scene to exist in the other side's computer, then can send document scene to the other side simultaneously), like this, just can reach the literal of client's chat on the basis of plain text chat, color, figure, animation, the interchange of sound, the level that the text chat rising scene between the client is chatted is in same scene, can browse identical animation background between the user, hear interesting to listen to background music, can send the literal of the five colours to the other side, and the emotion icons of animation, even can initiate to move in the scene, bring the enjoyment of scene variation to the other side.
Fig. 1 has showed a kind of general computer environment of fundamental sum, and the present invention realizes on this environment or more senior or complex environment.
As shown in Figure 1, personal computer 20 comprises a central processor CPU 21, and Installed System Memory 22, system bus 23 are used for connecting several computers and form part.Installed System Memory 22 has then comprised read-only memory (ROM) 24, random access memory (RAM) 25, basic input output system (BIOS) 26.
Personal computer also comprises input-output apparatus, for example be used for data are read in and write the hard disk drive 28 of hard disk, and the disc driver 29 that is used for reading or writing disk, be used for reading the CD drive 31 of CD in addition, these several equipment are by hard disk drive interface 33, disk drive interface 34, CD-ROM driver interface 35 links to each other with system bus 23.These drivers can provide different data, program etc. to personal computer 20 by reading corresponding media.
Other IO equipment, for example display 36, keyboard 37, mouse 38, sound card 39 all is the assembling commonly used of personal computer 20, and the picture joystick, other equipment such as audio amplifier can be used as the apolegamy of personal computer.
If personal computer need carry out network operation, for example be connected with the computer 41 and/or 46 of or many far-ends, just must possess network interface 40.Far-end computer may be other personal computers, or a station server, and a router, or a network PC, common ground are that these possible far-end computers all contain the composition roughly the same with personal computer 20.Fig. 1 comprises that also local network connects 43, and the logic signal of wide area network connection 44, as office's local area network (LAN), and enterprise's broadband networks, the Internet all is that such network is formed.
In being in LAN environment, personal computer 20 has been connected on the local area network (LAN) 43, thereby has communicated by letter with other local area network (LAN) computers 41 by local area network (LAN) by network interface 40.When using wan environment, personal computer can use modulator-demodulator 45 or other wide area network connection devices and wide area network 44 to connect generally speaking, and like this, personal computer 20 just can carry out communication with far-end computer 46.
When network data need send, data can be passed through network interface with the form of network packet, send to local area network (LAN) 43 or wide area network 44, equally, from network interface 40, also can receive the data from local area network (LAN) 43 or wide area network 44, the transmission of these data and reception are handled and are being discussed in detail with the lower part.
Fig. 2 has showed the logical schematic of the transfer of data in the practical communication process.This logic diagram has showed the data transmission procedure between local personal computer 20 and the far-end computer 46.Local personal computer 20 connects by local area network (LAN) or wide area network physical equipment 44 by computer network interface 40, and network data is not described in detail by the process that the actual physical circuit transmits herein.
UC client program module 80 is the software modules that can move on computers, during this module operation, is loaded in the internal memory 22 of computer.The UC client program module mainly comprises text chat 90 and file transfer 91 modules.
Wherein text chat module 90 is responsible for chat content, and obtaining of contents such as the title of chat scenario and scene denomination of dive packed, and sends.Be responsible for reception in the other direction, unpack, show.User A is positioned at local computer 20, remote subscriber B is positioned at far-end computer 46, when carrying out text chat, user A is by keyboard input devices 37, perhaps mouse device 38 can be imported the chat literal, perhaps select chat scenario, the chat action, the text chat module 90 of UC client program module 80 can obtain the content of user's input, and, data are packed, after the packing according to the bag transformat of UC software, to wrap data and give TCP/IP module 50, with the network address of the far-end computer 46 of remote subscriber B, the network port is assigned to the TCP/IP module, is sent by the TCP/IP module simultaneously, the TCP/IP module is the module that operating system is responsible for Network Transmission, and this module can send the data that the user need be transmitted by computer network interface 40.After the bag data of reality send to object-computer 46, can be read by TCP/IP module 50 by computer network interface 40, the TCP/IP module can be wrapped this data and be passed to text chat module 90, the text chat module is by after unpacking, in the chat window that is presented at remote subscriber B that content is correct.Conversely, user B also is like this to the transmission course of the text chat of user A transmission.
Document transmission module 91 then is responsible for the document transmission process of the whole file between the user, when user A need send file to user B, and user B is when agree receiving, the content that reads the file that needs transmission of document transmission module meeting block-by-block (512 bytes are), and pack, to wrap data and give TCP/IP module 50, the network address and the network port with the REMOTE MACHINE 46 of remote subscriber B is assigned to the TCP/IP module simultaneously, sent by computer network interface 40 by the TCP/IP module.After the packet of reality arrives far-end computer 46, can be read by TCP/IP module 50 by computer network interface 40, the TCP/IP module can be given document transmission module with the file transfer bag data that read, unpack by document transmission module, subsequently with the storage received in the file that receives.Like this, when all pieces of the transmission file of user A all were transferred to user B, whole file just transmission had been finished.
Fig. 3 has showed the manufacturing process of UC document scene.UC chat scenario file be the text chat of UC system in order to realize a kind of file of the present invention, the chat scenario file comprises employed resource file in scene master file and the scene master file, comprises picture file, audio files, animation file etc.
The core of UC chat scenario file is the scene master file, and this file is the file that is generated with HTML(Hypertext Markup Language), is the document scene of tcv through having generated suffix after encrypting.
Generating UC chat scenario file can realize by UC scene tools, can certainly directly write html source code and realize, uses the generation document scene that UC scene tools can What You See Is What You Get.
Make the process of document scene, be actually the process that generates the html file content, on the html file 100 of blank, the user in no particular order order carry out following several operation:
● the position and the size of chat content viewing area can be set: when carrying out text chat with the other side, after using the scene chat, can contain background patterns or other animations etc. in the scene, after being provided with the chat content viewing area, the literal of both sides' chat will only appear at the zone of setting in the text chat window.
● font color that the other side says and the font color of oneself saying can be set: when carrying out text chat with the other side, because the speech of oneself and the other side's speech all can be presented in the chat content viewing area of text chat window, so can show automatically all on the speech content each time of oneself one " the own pet name is said " that these several words will show with the font color that oneself that is provided with in the scene said; And on the other side's speech content each time, all can show one " the other side's pet name is said " automatically, the font color that these several words can be said with the other side who is provided with in the scene shows.In the process of chat, just can tell speech content of oneself and the other side's speech content very clearly like this.
● can increase multimedia documents such as picture, sound, background color: html language can show various pictures, and animation can play sound, and is same, and the scene of using html language to generate also can reach this effect.
When inserting picture back.gif in scene, what generate in fact is a html language code:
<img?border=″0″src=″back.gif″width=″449″height=″51″>
When background color is set, also be modification in fact to the scene html file:
<body?bgcolor=″#0000FF″>
● can increase the scene action:
The scene action is part and parcel among the present invention.
All actions in the scene, all form in accordance with regulations is stored in the html file, and for example in the scene of " spring is green ", the HMTL statement of storage scenarios action is:
<input type=hidden id=" SEND_ACTION_LIST " value=" spring rain; It is fine " 〉
<input type=" hidden " id=" it is fine " name=" it is fine " onclick=" javascript:jump (0) " 〉
<input type=" hidden " id=" spring rain " name=" spring rain " onclick=" javascript:jump (1) " 〉
These several HTML statements, represent to contain in this scene two actions: " spring rain ", the action of " day fine " scene is actually that the function code used in the html file realizes, in this function code, can carry out multiple dynamic operation, playing animation for example, stops animation plays sound, stop sound, the action of " it is fine " in the above example, is carried out in multiple behaviors such as changing background color, be exactly the code that has called " javascript:jump (0) " in fact, and in " spring is green " document scene, jump is a function, and being has following code to constitute:
  function jump(type)  {     if(type=="1")     {          cloudy0.width=0;          cloudy1.width=0;          window.clearInterval(interval);          bg_d.background="spring_rain.gif";          cat.src="raincat.gif";          cat.width=107;          cat.height=131;          bg_s.src="rain.wav";        <!-- SIPO <DP n="7"> -->        <dp n="d7"/>         bg_s.loop=-1;  }else if(type=="0")  {     cloudy0.width=120;     cloudy1.width=120;     bg_d.background=""     cat.src="cat.gif";     cat.width=76;     cat.height=99;     bg_s.src="";     bg_s.loop=0;     start();  }  }
When the text chat window uses scene, will at first read the place of the description scene action form in the scene html file, after all actions are read out, be presented in the action lists menu of text chat window, when carrying out text chat with the other side like this, can select to carry out any one action in the action lists menu, this action can at first be carried out in this locality, the scene denomination of dive can be arrived the other side by Network Transmission simultaneously, in the other side's text chat window scene, also carry out this scene action.Carry out the real process of this scene action, be invoked at the function of the html file when bearing scene exactly, just can carry out this function, so, the various statements in this function all can be carried out, thereby demonstrate the various effects when designing this action.
Fig. 4 has showed the loading of text chat window and has used the process of scene.Load certain scene in the text chat window by two kinds of situations, a kind of may be certain scene that the local user has selected this machine; Another kind may be in text chat, and the other side selects to have used certain scene, can do by myself and uses the scene identical with the other side.
The transmission of scene is transmitted in and has detailed description among Fig. 5 in the concrete text chat.
When the text chat window will load certain scene, at first can read the scene master file (suffix is the file of tcv) under the catalogue that is stored in this scene in the computer, after this file is decrypted, generate a html file, this process is the anti-process of making scene described above.
Chat content viewing area in the text chat window is a browser control part in essence.This control can be finished the function of browser, can explain and show html file, the browser control part that the html file that deciphering is generated behind the document scene is given chat window reads and shows, just the scene of before having made can be presented at the text chat window.Make the designed picture of this scene, audio files is because also be stored under the scene catalogue, so the text chat window just can demonstrate the background in the scene, picture, effects such as animation when loading HTML code.
When in the text chat window, the user sends chat content (comprising literal, picture or animation) to the other side, when perhaps receiving the other side's chat content 145, at this moment, the text chat window can be according to the form of text, picture or the animation of html language, the dynamic HTML content that loads in the browser control part of revising so just can reach the effect in the chat zone that the chat content that will receive is presented at (comprising literal, picture or animation) scene dynamically.
Fig. 5-a has showed that user A is when user B carries out text chat use chat scenario, as the flow chart of transmit leg.
When user A opens text chat window with user B 120, expression user A has begun the text chat process with user B.
User A can choose any one scene 121 that has been installed on the local computer, and concrete loading procedure and method are described in Fig. 4.After loading is finished, this scene just is presented in the chat window 123, input equipment by computer, the user can be in the input frame of text chat window input text chat content (perhaps selecting picture, animation to be inserted into input frame) 122, after input is finished, click " transmission " key 127 of text chat window, will be with text chat content (or picture, animation), and the title of scene sends to the other side (user B), and concrete scene process of transmitting is referring to the description of Fig. 2.
After information sent, the input frame of text chat window can be cleared, and user A can continue to import other guide, also can select other scenes, as above-described process, can repeat.
When user A closes chat window with user B 127, this chat process finishes.
And the other side's of text chat (user B) receiving course is described in detail in Fig. 5-b.
With reference to figure 2, can recognize that text chat information that user A sends by the process of Network Transmission to user B, just no longer describes herein.
When user B receives chat message from user A 130, at first judge whether to have opened text chat window 132 with user A, if this window is not also opened, can point out the user to open, perhaps open automatically with the chat window 133 of user A (according to the user be provided with different), after the text chat window is opened, need judge, whether the scene of user B present chatting window is with identical from the scene of user A, if scene is identical, then directly the chat content of receiving (literal, picture or animation) is shown to dynamically in the scene 145.
If scene is inequality, then check the scene whether user B this locality exists user A to send, concrete determination methods is, at first check under the scene catalogue of UC program installation directory whether have the catalogue of this scene title,, reexamine whether contain the scene master file that suffix is tcv under this catalogue if this catalogue is arranged, if contain, then show local this scene that exists of user B, otherwise, the scene that user B this locality does not have user A to send shown.
If the scene that user B this locality exists user A to send after then the text chat window of user B reloads this scene, dynamically is presented in the scene 145 with the chat content of receiving (comprising literal, picture or animation).
If the scene that user B this locality does not exist user A to send, can inquire in the text chat window then whether user B agrees to receive document scene 140, the user can select by clicking " agreement " or " refusal ", no matter clicking, the user agrees or refusal that the chat content of receiving all can be presented at (comprising literal, picture or animation) the chat content viewing area of former scene.
If user B agree to receive document scene, then will call the subprocess 160 that receives document scene from user A, subprocess 160 turns to the inlet of Fig. 7 with follow-up flow process, and detailed document scene transmission course is referring to the process introduction of Fig. 7.
When user A sent the text chat content constantly for user B, said process can repeat, and closed text chat window with user A up to user B.
Fig. 6-a has described the process of using the scene action in the text chat process.
When user A opens text chat window with user B 120, expression user A has begun the text chat process with user B.
User A can choose any one scene 121 that has been installed on the local computer, and concrete loading procedure and method are described in Fig. 4.After loading is finished, the scene action that comprises in this scene can be listed in the scene actions menu of text chat window, the user can select one of them scene action to carry out 124, the scene action at first can be carried out in local scene, effect can be presented in the scene of chat window 125 at once, simultaneously, can be by the text chat communication process, scene title and scene denomination of dive are transferred to the other side (user B) 128, as long as do not close text chat window with user B, user A can continue to select other scenes, perhaps carries out other actions in the scene.
Behind the text chat window of closing with user B 129, local text chat process finishes.
Fig. 6-b has described in the text chat process, as the recipient, receives the process of scene action.
With reference to figure 2, can recognize that text chat information that user A sends by the process of Network Transmission to user B, just no longer describes herein.
The information that user B receives from user A is scene title and scene denomination of dive.The text chat module of user B at first judges whether to have opened the text chat window 132 with user A, if this window is not also opened, can point out the user to open, perhaps open automatically with the chat window 133 of user A (according to the user be provided with different), after the text chat window is opened, need judge that whether the scene of user B present chatting window is with identical from the scene of user A, if scene is identical, then directly in scene, carry out the action 146 that user A sends.
The execution principle of moving in the scene is discussed referring to the detailed description of Fig. 3.
If scene is inequality, then check the scene whether user B this locality exists user A to send, concrete determination methods is, at first check under the scene catalogue of UC program installation directory whether have the catalogue of this scene title,, reexamine whether contain the scene master file that suffix is tcv under this catalogue if this catalogue is arranged, if contain, then show local this scene that exists of user B, otherwise, the scene that user B this locality does not have user A to send shown.
If the scene that user B this locality exists user A to send after then the text chat window of user B reloads this scene, is then directly carried out the action 146 that user A sends in scene.
If the scene that user B this locality does not exist user A to send, can inquire in the text chat window then whether user B agrees to receive document scene 140, the user can select by clicking " agreement " or " refusal ", because user B this locality this moment does not also have this scene, so the scene that user A sends action just can't be carried out.
If user B agree to receive document scene, then will call the subprocess 160 that receives document scene from user A, subprocess 160 turns to the inlet of Fig. 7 with follow-up flow process, and detailed document scene transmission course is referring to the process introduction of Fig. 7.
When user A sent the text chat content constantly for user B, said process can repeat, and closed text chat window with user A up to user B.
If Fig. 7 has described recipient this locality when not having scene that transmit leg transmits, receive the process of document scene by the file transfer passage from transmit leg.
In the introduction of Fig. 2, described by computer hardware, network, and software module carries out the process of file transfer, in the present invention, the transmission of scene is finished by the file transfer passage.
When user B with the text chat process of user A in, chat message or scene action that user A sends have been received, and the scene title that user A sends does not exist in this locality of user B, at this moment, user B can select directly to receive document scene itself from user A, be stored in the local computer, like this, in the chat process afterwards, oneself just can use this scene, also can send this scene to other user.
User B at first sends scene transmission request to user A, scene title and other information 150 that can comprise the transmission of asking in this request, user A receives the scene transmission request back 151 from user B, will be with all scene associated documents (the scene master files under the catalogue of scene catalogue by name, resource files such as other pictures), compress packing, become a file 152, by the file transfer passage this file is sent to user B155 subsequently, finish up to transmission, this transport process of user A finishes.
User B is by the file transfer passage, the reception that does not stop is from the file data 156 of user A, after the whole file of reception is finished, the file that receives is decompressed, be stored in the scene name and be called under the catalogue of directory name untiing All Files that the back generates, subsequently, reinform the text chat window and open the scene of having received.

Claims (8)

1. a method that realizes sight chat between the instantaneous communication system client is characterized in that two instantaneous communication system clients comprise background at the text chat window, animation, when the sight of sound is chatted, as follows:
At first, transmit leg obtains sender-selected chat scenario title, and the chat content that comprises literal, picture and animation of transmit leg input and/or selection, and these information datas packings are sent by the transmit leg computer network interface;
Through the transmission of network, read by recipient's computer network interface, after the bag data that receive were unpacked, whether the scene of judging recipient's present chatting window by both sides' chat scenario title relatively was identical with scene from transmit leg;
If scene is identical, then directly the chat content of receiving dynamically is presented in the chat content viewing area of recipient's present chatting window; If scene is inequality, then chat content dynamically is presented in the chat content viewing area of recipient's present chatting window, and in recipient's chat window, loads the scene identical with transmit leg.
2. the method for sight chat between realization instantaneous communication system client according to claim 1, it is characterized in that: the scene actions menu of showing this scene in the described text chat window, after a scene action in the described scene actions menu of sender-selected execution, described scene action dynamically is presented in the scene of local chat window at first at once, by the transmit leg network interface, scene title and scene denomination of dive are arrived the recipient by Network Transmission simultaneously;
The recipient receives scene title and scene denomination of dive by its network interface, if both sides' chat window has loaded identical scene, then recipient's scene of selecting transmit leg to send in its scene actions menu is moved so that its execution; If, then in recipient's chat window, load the scene identical earlier with transmit leg when both sides' chat window has loaded different scenes.
3. the method for sight chat is characterized in that between realization instantaneous communication system client according to claim 1 and 2, describedly loads the scene identical with transmit leg further comprise the steps: in recipient's chat window
At first, the recipient judges according to the chat scenario title in the transmit leg chat content whether recipient this locality exists this chat scenario file; If have this chat scenario file, then this chat scenario be loaded into chat window; If there is no this chat scenario file then inquires whether receive this chat scenario;
If the recipient agrees to receive, then the recipient asks transmit leg that the chat scenario file is sended over by the file transfer passage, receive described document scene after, described chat scenario is loaded into chat window; If recipient's rejection, then recipient's scene does not change.
4. the method for sight chat between realization instantaneous communication system client according to claim 3, it is characterized in that: described chat scenario file comprises resource file used in scene master file and the scene, and described each file all is stored in the computer and is called under the catalogue of directory name with scene; Described resource file comprises picture file, audio files and animation file.
5. the method for sight chat is characterized in that whether the described recipient of judgement this locality exists the chat scenario file identical with the used chat scenario of transmit leg further to comprise the steps: between realization instantaneous communication system client according to claim 4
At first check the catalogue that whether has this scene title under the scene catalogue of TALKER installation directory, if there is described catalogue, reexamine and whether contain the scene master file under the described catalogue, if contain, then show local this scene that exists of recipient, otherwise, show the local not chat scenario file identical of recipient with the used chat scenario of transmit leg.
6. the method for sight chat is characterized in that between realization instantaneous communication system client according to claim 4, and described transmit leg sends the chat scenario file and further comprises the steps: by the file transfer passage
1) transmit leg and recipient set up the interface channel of file transfer;
2) transmit leg is packaged into a file with the chat scenario master file under the described scene catalogue and all resource file compressions of scene, sends to the recipient by the file transfer passage;
3) after the recipient receives the file of described compression, decompress, in computer, create the catalogue that is called directory name with the scene name according to the title of scene, and the All Files after will decompressing is stored under this catalogue.
7. the method for sight chat between realization instantaneous communication system client according to claim 4, it is characterized in that: described chat scenario master file is the file that generates with HTML, it uses HTML that background image, the background color of chat are set, the font color of chat literal, the chat content viewing area, picture outside the chat content viewing area and animation, and/or the file that plays sound; Described scene master file utilizes the function of HTML to define scene and moves, when carrying out the scene action, and the described function of routine call, thus realize that picture changes, sound playing, and/or the function of animation demonstration.
8. the method for sight chat between realization instantaneous communication system client according to claim 1, it is characterized in that: the text chat window of described instant messaging is presented on the calculator display organization, described text chat window is made up of chat content input area and chat content viewing area, and described chat content viewing area is to utilize browser control part to show the chat content of described transmission or reception.
CNB2004100002304A 2004-01-09 2004-01-09 Method of realizing scene chat between customers in instant communication Expired - Lifetime CN1286304C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100002304A CN1286304C (en) 2004-01-09 2004-01-09 Method of realizing scene chat between customers in instant communication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100002304A CN1286304C (en) 2004-01-09 2004-01-09 Method of realizing scene chat between customers in instant communication

Publications (2)

Publication Number Publication Date
CN1556631A CN1556631A (en) 2004-12-22
CN1286304C true CN1286304C (en) 2006-11-22

Family

ID=34350377

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100002304A Expired - Lifetime CN1286304C (en) 2004-01-09 2004-01-09 Method of realizing scene chat between customers in instant communication

Country Status (1)

Country Link
CN (1) CN1286304C (en)

Families Citing this family (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100438508C (en) * 2004-12-23 2008-11-26 腾讯科技(深圳)有限公司 Method and system for implementing background of instant communication
CN100450106C (en) * 2005-08-09 2009-01-07 腾讯科技(深圳)有限公司 Method for implementing character multi-type in immediate message
AU2007314144B2 (en) * 2006-10-31 2013-04-18 Redpoint Pty Ltd Inducing B-party defined behaviours in A-party communications by distribution of user interfaces
CN101330431B (en) * 2007-06-19 2011-04-06 阿里巴巴集团控股有限公司 Method and system for storing instant information
CN101834807B (en) * 2010-04-28 2013-04-03 北京网康科技有限公司 Method for acquiring windowless RichEdit control text content and apparatus thereof
CN102184071A (en) * 2011-01-04 2011-09-14 北京开心人信息技术有限公司 Method for rapid browsing picture in instant communication tool
CN102708151A (en) * 2012-04-16 2012-10-03 广州市幻像信息科技有限公司 Method and device for realizing internet scene forum
CN104392729B (en) * 2013-11-04 2018-10-12 贵阳朗玛信息技术股份有限公司 A kind of providing method and device of animated content
CN103647990A (en) * 2013-11-15 2014-03-19 乐视致新电子科技(天津)有限公司 Video playing method, associated device and system
CN104935496B (en) * 2014-03-19 2019-08-06 腾讯科技(深圳)有限公司 Instant communicating method, system, device and instant communication terminal
KR20150109764A (en) * 2014-03-20 2015-10-02 엘지전자 주식회사 Mobile terminal and method for processing data the same
CN104391858A (en) * 2014-10-20 2015-03-04 贵阳朗玛信息技术股份有限公司 Chat background presentation method and device based on mobile terminal
KR101622872B1 (en) 2015-02-11 2016-05-19 라인 가부시키가이샤 Method, system and recording medium for providing rich menu of official account
CN104901871B (en) * 2015-06-04 2018-07-20 腾讯科技(深圳)有限公司 Instant communication method, apparatus and system
CN104967678B (en) * 2015-06-08 2019-02-12 小米科技有限责任公司 The method and device that smart machine is controlled
CN106656732A (en) * 2015-11-04 2017-05-10 陈包容 Scene information-based method and device for obtaining chat reply content
CN105847126B (en) * 2016-04-29 2019-07-09 广州灵光信息科技有限公司 A kind of chat background presentation device based on instant message applications
CN105791098B (en) * 2016-04-29 2019-04-12 广州灵光信息科技有限公司 A kind of chat background rendering method based on instant message applications
CN107612818A (en) * 2017-10-23 2018-01-19 林楚莲 The method and system of preset browsing device in instant messaging interactive interface
CN109842542B (en) * 2017-11-27 2022-04-01 腾讯数码(天津)有限公司 Instant conversation method and device, electronic equipment and storage medium
CN110391962A (en) * 2018-04-16 2019-10-29 阿里巴巴集团控股有限公司 A kind of information display method and device
CN109885367B (en) * 2019-01-31 2020-08-04 腾讯科技(深圳)有限公司 Interactive chat implementation method, device, terminal and storage medium
CN110798397B (en) * 2019-10-25 2022-11-04 维沃移动通信有限公司 File sending method and device and electronic equipment
CN111200555A (en) * 2019-12-30 2020-05-26 咪咕视讯科技有限公司 Chat message display method, electronic device and storage medium
CN116719649A (en) * 2022-09-01 2023-09-08 荣耀终端有限公司 Session notification prompting method, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN1556631A (en) 2004-12-22

Similar Documents

Publication Publication Date Title
CN1286304C (en) Method of realizing scene chat between customers in instant communication
CN1293740C (en) Video messaging
US7774412B1 (en) Methods and apparatus facilitating distribution of content
US8775662B2 (en) System and method for progressive delivery of multimedia objects
CN1269012C (en) Rich communication over internet
CN1525375B (en) Method to initiate server based collaboration on e-mail attachments
US9135740B2 (en) Animated messaging
EP1929737B1 (en) Progressive delivery of multimedia objects
JP2005530233A (en) Possible communication between users visiting the same web page
CN105637472B (en) The frame of screen content shared system with the description of broad sense screen
CN1649423A (en) Electronic message forwarding
CN105426448B (en) Interface display method, apparatus and system
CN1384445A (en) Improved network transmitting content data based on user&#39;s prescribed characteristics
CN1574870A (en) Human communication system
CN1976322A (en) Method and system for realizing multimedia immediate communicating and control flow
CN1482787A (en) Method for implementing multimedia short message intercommunion between instant communication tool and mobile phone
WO2016048992A1 (en) Live greetings
CN1553369A (en) Interdynamic method for multimedia message service, user terminal and communication system
US20030222874A1 (en) Animated character messaging system
US8725810B1 (en) Method and system for anonymous login for real time communications
CN1692662A (en) Method and system of creating and transmitting multimedia content
EP1849291A1 (en) Method for displaying text messages and programme for implementing said method
CN1805480A (en) Method of implementing view of serial pictures on mobile telephone
CN1717667B (en) 3d character mail system
KR101403226B1 (en) system and method for transferring message

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: BEIJING XUNTONG JIAWANG TECHNOLOGY CO., LTD.

Free format text: FORMER OWNER: BEIJING BRANCH OF GUIYANG LANGMA INFORMATION TEHNOLOGY CO., LTD.

Effective date: 20050304

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20050304

Address after: 100089, Beijing, Zhongguancun, Haidian District West 1 District 2, Zhongguancun ideal building, 2011 units

Applicant after: BEIJING BRANCH OF GUIYANG LANGMA INFORMATION TEHNOLOGY Co.,Ltd.

Address before: 100029 Beijing city Xicheng District Yumin Road No. 5 red building room 610

Applicant before: Guiyang Langma Information Technology Co.,Ltd. Beijing Branch

C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: SINA TECHNOLOGY (CHINA ) CO., LTD.

Free format text: FORMER OWNER: BEIJING XUNTONG JIAWANG TECHNOLOGY CO., LTD.

Effective date: 20080404

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20080404

Address after: Room 1510, ideal International Building, No. 58 West Fourth Ring Road, Beijing, Haidian District

Patentee after: Sina Technology (China) Co.,Ltd.

Address before: Beijing, Zhongguancun, Haidian District West 1 District 2, Zhongguancun ideal building, 2011 units

Patentee before: BEIJING BRANCH OF GUIYANG LANGMA INFORMATION TEHNOLOGY Co.,Ltd.

CX01 Expiry of patent term

Granted publication date: 20061122

CX01 Expiry of patent term