Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, below in conjunction with embodiment and accompanying drawing, the present invention is described in more detail.
The present invention is in order to carry out the instruction interaction based on virtual figure image in Same Scene, make same room carry out each terminal loads Same Scene of instant messaging, then, terminal request side sends good friend's selection instruction to server first, transmit the video interactive instruction by server to the terminal reciever again, the terminal reciever is carried out the video interactive instruction based on virtual figure image.Referring to Fig. 1, for the present invention is based on the instant communication method indicative flowchart of virtual figure image, in the method, carry out each terminal loads Same Scene of instant messaging at same room, and showing each virtual figure image that adds this room, described terminal comprises terminal request side and terminal reciever.
Described each terminal loads Same Scene of carrying out instant messaging at same room, and show each virtual figure image that adds this room, specifically comprise:
Create terminal scene set and the virtual figure image in room, room number, scene identity and virtual figure image sign are reported server; The terminal to server that needs to add described room reports the virtual figure image sign that self arranges, and obtains corresponding scene identity and virtual figure image sign by room number from server, and loading scenario also shows virtual figure image; Server will add the virtual figure image sign notice in described room to other each terminals that add described room.Terminal just can extract from this locality corresponding contextual data and virtual figure image data after knowing scene identity and virtual figure image sign, by the contextual data loading scenario, and shows virtual figure image by the virtual figure image data in scene.
The flow process of Fig. 1 may further comprise the steps:
Step 101, terminal request direction server sends good friend's selection instruction, and described good friend's selection instruction has been indicated at least one the good friend who carries out the virtual figure image instant messaging.
In the instant messaging based on virtual figure image, when needs carry out the instruction interaction, the good friend that the instruction interaction is carried out in the selection of terminal request side, send good friend's selection instruction to server, described good friend's selection instruction can be indicated a good friend, also the multidigit good friend can be indicated, all good friends can also be indicated.
Step 102, terminal request direction server sends the video interactive instruction of user's input, and carries out the video interactive instruction based on virtual figure image.
Described video interactive instruction is that described at least one the good friend of terminal request direction carries out the instruction of video interactive, cheers such as the good friend who serves a fresh flower for a terminal request direction good friend, sing for performance etc.During specific implementation, can in scene interface or certain sub-menu option, increase the interaction function button, the user clicks this button when needed, terminal request side shows each video interactive instruction, user selection is also clicked wherein a certain video interactive instruction, and terminal request is convenient to send the video interactive instruction that the user chooses to server.
The corresponding animation data bag of each video interactive instruction.Serve a fresh flower as example take the video interactive instruction as user A to good friend B, operation animation data bag at fresh flower of on hand demonstration of user A virtual figure image, and is transferred to user B virtual figure image on hand; The flow process that this animation data contracted affreightment is capable comprises: obtain the coordinate position of user A virtual figure image hand on picture, be made as M, obtain again the coordinate position of user B virtual figure image hand on picture, be made as N, a fresh flower is presented at the M position, and is transferred to the N position along certain curvilinear path.
The animation data bag is predeterminable in end side, particularly, when instant communication client is installed, just is installed in the lump on the terminal; Correspondingly, the described terminal request side of this step carries out the video interactive instruction based on virtual figure image and comprises: obtain the default animation data bag corresponding with the video interactive instruction from this locality, operation animation data bag.
All right, the animation data bag is placed on the server, terminal is obtained from server request when needed; Correspondingly, the described terminal request side of this step carries out the video interactive instruction based on virtual figure image and comprises: send the packet request that comprises the video interactive instruction to server, the animation data bag of reception server feedback, operation animation data.
Step 103, server sends the video interactive instruction to terminal reciever corresponding to the described good friend ofstep 101.
Here good friend's selection instruction has indicated two good friends as example in thestep 101, and terminal request direction server sends the good friend's selection instruction that comprises two good friends' signs; Server can know just that by good friend's sign the good friend logins the terminal reciever address of use, then, sends the video interactive instruction to two terminal recievers corresponding to good friend.
Step 104, the terminal reciever is carried out the video interactive instruction based on virtual figure image.
Be preset in the situation of end side for the animation data bag, this step specifically comprises: obtain the default animation data bag corresponding with the video interactive instruction from this locality, operation animation data bag.
Place the situation of server for the animation data bag, this step specifically comprises: send the packet request that comprises the video interactive instruction to server, the animation data bag of reception server feedback, operation animation data.
Below by Fig. 2, the instant communication method that the present invention is based on virtual figure image is illustrated, in this example, instant messaging based on virtual figure image is the Avatar instant messaging, the scene that creates is the KTV scene, the user who carries out the virtual figure image instant messaging is three: user A, user B and user C, the video interactive instruction is that user B initiates " cheer " instruction to user A, C.
The flow process of Fig. 2 may further comprise the steps:
Step 201, user A creates the room.
User A creates the room, scene set and virtual figure image, and room number, scene identity and user A virtual figure image sign reported server, server receives response to user A feedback; User A loads the scene that arranges, and shows the virtual figure image of oneself.
Step 202, user B arranges virtual figure image, and room number and user B virtual figure image sign that request is added report server.
Step 203, server is to user B feedback scene identity and the user A virtual figure image sign corresponding with room number.
Step 204, server send the interpolation notice that comprises user B virtual figure image sign to user A.
Step 205, user A shows user B virtual figure image; User B loading scenario, and the virtual figure image of demonstration user A and B.
Tostep 205, user B adds the room that access customer A creates by step 202.
Step 206, user C arranges virtual figure image, and room number and user C virtual figure image sign are reported server.
Step 207, server is to user B feedback scene identity and user A and the B virtual figure image sign corresponding with room number.
Step 208, server sends respectively the interpolation notice that comprises user C virtual figure image sign to user A and B.
Step 209, user A shows user C virtual figure image, user B shows user C virtual figure image; User C loading scenario, and the virtual figure image of demonstration user A, B and C.
Tostep 209, user C adds the room that access customer A creates bystep 206.
Afterwards, just can carry out voice and expression transmission between the user.Particularly, terminal is obtained user's picture by 3D body sense video camera first, identify again the facial expressions such as eyes of user, the shape of the mouth as one speaks, eyebrow, and it is transformed in the individual character animation image of user selection, the animation head portrait can follow user's action to make living reaction, carries out virtual network online chatting.The facial expression that identifies comprises:
A) eyes: the action of opening eyes, close one's eyes;
B) shape of the mouth as one speaks: face opening and closing, and corners of the mouth direction;
C) eyebrow: rapidly up and down variation of eyebrow.
Step 210, user B sends good friend's selection instruction to server, and this good friend's selection instruction has been indicated all good friends that carry out instant messaging.
Step 211, user B sends " cheer " instruction to server.
In this example, described " cheer " instruction is specially user B initiates " cheer " to user A and C instruction.
During specific implementation, can the stage property whistle be set in the KTV scene, the user clicks the whistle of interface display, just triggers " cheer " instruction.
Step 212, server sends " cheer " instruction to user A and user C.
Step 213, user A, B and C obtain respectively the default animation data bag corresponding with " cheer " instruction from this locality, operation animation data bag.
The flow process that this animation data contracted affreightment is capable comprises: make user A virtual figure image show the expression of hailing, and send cheer, and make user B and C virtual figure image show the expression of smiling.Make virtual figure image show that as required certain expression is prior art, does not give unnecessary details here.
Adopt the present invention program, by integrated various instructions in virtual environment, can allow the user obtain many-sided perception such as vision, the sense of hearing; Simultaneously the user can with scene in the personage carry out alternately, allow the user can experience a kind of main body and exist and feel and feeling of immersion.
When creating the room, predeterminable theme background, with the Environmental re-appearing in the real life on computers.By Internet Transmission, scene is generated on each terminal in real time shows, for the user provides one with the chat environment of real environment sense.Comprise scene background, virtual figure image and stage property in the room that creates.
Scene background: make virtual scene according to real-life, the usefulness that participates in this scene shows Same Scene per family in real time, as builds a KTV subject scenes, needs from vision or acoustically build atmosphere.
Virtual figure image: two kinds of vivid set-up modes are specifically arranged: the self-defined head portrait of stage property such as the skin of a kind of user of being by presetting, clothes, ornaments; Another kind is by camera, uses recognition technology, recommends the image similar to user self to use to it.Customer requirements enters Same Scene, and after user's bit selecting, program is discharged figure image.
Hot-zone/stage property: intend the stage property of materialization, trigger the video interactive command operating with this, be used for cheering as needing default whistle in the KTV scene, the user can click and carry out interaction.
Among the present invention, carry out each terminal loads Same Scene of instant messaging at same room, and show each virtual figure image that adds this room; Then, terminal request side sends good friend's selection instruction to server first, sends the video interactive instruction to server again, and server sends the video interactive instruction to terminal reciever corresponding to good friend, and the terminal reciever is carried out the video interactive instruction based on virtual figure image.Adopt the present invention program, can not only transmit in real time voice and expression, can also in Same Scene, carry out the instruction interaction based on virtual figure image, satisfied user's request.
And for the Avatar video communication, prior art is obtained user's picture by 3D body sense video camera, can also adopt the 2D camera to obtain user's picture among the present invention, like this, can reduce cost, uses convenient.
Referring to Fig. 3, for the present invention is based on the instant communicating system structural representation of virtual figure image, this system comprises terminal and server, carries out each terminal loads Same Scene of instant messaging at same room, and shows each virtual figure image that adds this room; Described terminal comprises terminal request side and terminal reciever;
Described terminal request is put, and is used for sending good friend's selection instruction to server, and described good friend's selection instruction has been indicated at least one the good friend who carries out the virtual figure image instant messaging; Also be used for sending to server the video interactive instruction of user's input, and carry out the video interactive instruction based on virtual figure image, described video interactive instruction is that described at least one the good friend of terminal request direction carries out the instruction of video interactive;
Described server is used for receiving good friend's selection instruction and video interactive instruction from server request side, and the terminal reciever corresponding to described at least one good friend sends the video interactive instruction;
Described terminal reciever is used for receiving the video interactive instruction from server, carries out the video interactive instruction based on virtual figure image.
Alternatively, described terminal comprises the terminal that creates the room and the terminal of asking to add described room;
Create terminal scene set and the virtual figure image in room, room number, scene identity and virtual figure image sign are reported server;
The terminal to server that needs to add described room reports the virtual figure image sign that self arranges, and obtains corresponding scene identity and virtual figure image sign by room number from server, and loading scenario also shows virtual figure image;
Server will add the virtual figure image sign notice in described room to other each terminals that add described room.
Alternatively, described terminal request side comprises the first instruction execution unit, is used for obtaining the default animation data bag corresponding with the video interactive instruction from this locality, moves the animation data bag;
Described terminal reciever comprises the second instruction execution unit, is used for obtaining the default animation data bag corresponding with the video interactive instruction from this locality, moves the animation data bag.
Alternatively, described terminal request side comprises the 3rd instruction execution unit, is used for sending the packet request that comprises the video interactive instruction to server the animation data bag of reception server feedback, operation animation data;
Described terminal reciever comprises the 4th instruction execution unit, is used for sending the packet request that comprises the video interactive instruction to server the animation data bag of reception server feedback, operation animation data;
Described server also is used for receiving the packet request from terminal request side, and requesting party's packet that will be corresponding with the video interactive instruction feeds back to terminal request side; Also be used for receiving the packet request of self terminal reciever, reciever packet that will be corresponding with the video interactive instruction feeds back to the terminal reciever.
Terminal request side of the present invention and terminal reciever can be specially PC, portable terminal etc.
The above only is preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of making, is equal to replacement, improvement etc., all should be included within the scope of protection of the invention.