Summary of the invention
The objective of the invention is to: will dynamically obtain the other side's screen simultaneously, and be applied in the middle of the instant messaging through the method that is presented at this machine screen behind the convergent-divergent; Solve link up on the internet, to share or the process of cooperating with each other in inconvenience.Make both sides in communication process, not only can see the other side's expression, and can see the other side's part screen simultaneously, made things convenient for the user better to link up.And the other side can regulate the screen size and the position of screen that this machine is caught, and prevents that this machine from seeing the thing that the other side should not see.
The objective of the invention is to realize by following steps:
At first add in immediate communication tool: loyal number is regulated the interface, and interface, subscription list interface are invited in reservation; Add at interchange interface at this immediate communication tool: screen obtains size setting button, screen obtains set positions button, screen color setting button, video exchange button, record button.
(1), in the Video show interface of the immediate communication tool at place, add a video frame (hereinafter referred to as the screen video frame), size is 640*480, demonstration the other side's screen in this video frame;
(2), when both sides begin to look when exchanging, both sides' immediate communication tool can call the image that ICapturePos dynamically intercepts the other side's screen, the initial screen position is full frame;
(3), then truncated picture is carried out convergent-divergent and handles, make its size remain at 640*480 (this big I changes with needs from now on);
(4), the image then convergent-divergent crossed compresses, and after the compression it is transferred to this machine;
(5), this machine decompresses to this document after receiving the video that compressed, and it is presented in the screen video frame;
(6), exchange screen in interface by this immediate communication tool and obtain size and set button, can regulate the size of the other side, and " recovery default setting " option is provided the screen video that obtains;
(7) screen that exchanges in the interface by this immediate communication tool obtains the set positions button, pop screen video capture frame when pressing, the size and the position that show the screen video that the other side catches can change the size and the position of catching frame by dragging and stretching;
(8), exchange color adjustment button in interface, can realize adjusting, to adapt to different network speeds and machine to the screen video color that is obtained by this immediate communication tool;
(9), by in this immediate communication tool loyal number regulate the interface, can loyal number be regulated at different network speeds and machine;
(10), in the interchange interface of this immediate communication tool, the function that has Video chat, both sides can carry out Video chat by earphone, microphone, camera, promptly when seeing the other side's screen, see the other side's expression, below video that camera is clapped be called real video, the video that the other side's screen change is produced is called screen video;
(11), exchange video exchange button in interface, the position of real video and screen video can be exchanged by this immediate communication tool;
(12), by the record button in this immediate communication tool interchange interface, when pressing this button, eject video recording and preserve the interface, title and path that prompting video is preserved, after filling in the click affirmation that finishes, program is recorded the content in the screen video frame in the interchange interface
Picture, and it is kept at the path of choosing in advance;
(13), invite the interface, can set the date and time of interchange, give the other side by server forwards it by the reservation in this immediate communication tool;
(14), agree exchange to invite as the other side after, system is the information of this invitation, comprises that the other side's user name, the date of interchange, the time of interchange notes, and is put in the subscription list interface, so that user's memorandum and inquiry.
To " dynamically obtain the other side's screen; " and apply in the Video show in the instant messaging and go according to of the present invention through being presented at the method and the auxiliary interchange measure thereof of this machine screen behind the convergent-divergent, it is characterized in that, in step (1), in the Video show interface of immediate communication tool, added the screen video frame, size is 640*480 (this big I changes with development from now on), when both sides begin Video show, in the screen video frame, can be presented at the screen content that obtains on the other side's machine.
To " dynamically obtain the other side's screen; " and apply in the Video show in the instant messaging and go according to of the present invention through being presented at the method and the auxiliary interchange measure thereof of this machine screen behind the convergent-divergent, it is characterized in that, utilize in the process that this immediate communication tool exchanges both sides, on the Video show platform, in by camera and Mike's voice-enabled chat or transmission short message, can see the content of the other side's screen by the screen video frame that adds at the Video show interface, and the screen that both sides obtain the other side carries out simultaneously.
To " dynamically obtain the other side's screen; " and apply in the Video show in the instant messaging and go according to of the present invention through being presented at the method and the auxiliary interchange measure thereof of this machine screen behind the convergent-divergent, it is characterized in that, in step (2), when both sides connect the beginning Video show, called the ICapturePos. program, both sides can be simultaneously dynamically intercept the other side's screen picture.
To " dynamically obtain the other side's screen; " and apply in the Video show in the instant messaging and go according to of the present invention through being presented at the method and the auxiliary interchange measure thereof of this machine screen behind the convergent-divergent, it is characterized in that, in step (3), call the IVideoWindow module screen picture that captures is carried out convergent-divergent, make its size be 640*480 (this value also can change according to development from now on).
To " dynamically obtain the other side's screen; " and apply in the Video show in the instant messaging and go according to of the present invention through being presented at the method and the auxiliary interchange measure thereof of this machine screen behind the convergent-divergent, it is characterized in that, in step (4), calling AVReceuve compresses the screen picture that captures, make it with littler amount of information transmission Hui Benji, can save Internet resources greatly like this.
To " dynamically obtain the other side's screen; " and apply in the Video show in the instant messaging and go according to of the present invention through being presented at the method and the auxiliary interchange measure thereof of this machine screen behind the convergent-divergent, it is characterized in that, in step (5), after the compressed file decompression that receives, play in the screen video frame of 640*480 in this machine size.
To " dynamically obtain the other side's screen; " according to of the present invention through being presented at the method and the auxiliary interchange measure thereof of this machine screen behind the convergent-divergent. apply in the Video show in the instant messaging and go, it is characterized in that, in step (6), on the Video show interface, set up seizure frame size to set button, when the other side presses this button, just can be by the length and the wide size of catching frame of setting of input capture frame, simultaneously can by " recovery default setting " button it be reverted to the size of initial setting up, promptly full frame grabgraf.
To " dynamically obtain the other side's screen; " and apply in the Video show in the instant messaging and go according to of the present invention through being presented at the method and the auxiliary interchange measure thereof of this machine screen behind the convergent-divergent, it is characterized in that, in step (7), on the Video show interface, set up the seizure frame to regulate button, when the other side presses this button, eject and catch the screen display frame, show the size and the position of the screen video of being caught.By pulling and stretching to seizure screen display frame, can realize catching the change of screen size and position, realize that simultaneously this process is finished by calling DlgDummy Videoset module to allowing this machine obtain the screen of any size and position.
To " dynamically obtain the other side's screen; " and apply in the Video show in the instant messaging and go according to of the present invention through being presented at the method and the auxiliary interchange measure thereof of this machine screen behind the convergent-divergent, it is characterized in that, in step (8), in this immediate communication tool, added the color adjustment function, in the time will using this function, routine call color adjustment module CorlorSetting, when this machine obtains the other side's screen, can regulate the video color figure place that is presented in the screen video frame, and provide color automatic regulatory function, can carry out the change of adaptivity at different network condition.
To " dynamically obtain the other side's screen; " and apply in the Video show in the instant messaging and go according to of the present invention through being presented at the method and the auxiliary interchange measure thereof of this machine screen behind the convergent-divergent, it is characterized in that, in step (9), in this immediate communication tool, added loyal number regulatory function, in the time will using this function, the loyal number adjustment module of routine call CDLGSavesetting, can set the loyal number of video that is presented in the screen video frame, and provide loyal number automatic regulatory function, can carry out the change of adaptivity at different network condition.
To " dynamically obtain the other side's screen; " and apply in the Video show in the instant messaging and go according to of the present invention through being presented at the method and the auxiliary interchange measure thereof of this machine screen behind the convergent-divergent, it is characterized in that, in step (11), in the Video show interface of this immediate communication tool, add a video exchange button, when pressing this button, the position of real video and screen video is exchanged (video clapped of camera is called real video, and the video that the other side's screen change is produced is called screen video).
To " dynamically obtain the other side's screen; " and apply in the Video show in the instant messaging and go according to of the present invention through being presented at the method and the auxiliary interchange measure thereof of this machine screen behind the convergent-divergent, it is characterized in that, in step (12), in the Video show interface of this immediate communication tool, add a record button, its function is the preservation of recording a video of the other side's screen video that this machine is obtained, this function is finished by the AVSource module, and the file name of preservation and storing path can freely be set by the user.
To " dynamically obtain the other side's screen; " and apply in the Video show in the instant messaging and go according to of the present invention through being presented at the method and the auxiliary interchange measure thereof of this machine screen behind the convergent-divergent, it is characterized in that, when being recorded a video, the content of the other side's screen video frame can record simultaneously to the other side's audio frequency, promptly the video of being recorded is the content of the other side's screen video frame, and the audio frequency of being recorded is the received sound of the other side Mike; And in the other side's video frame video recording, if supress the video exchange button, then the shown content of screen video frame is a real video, so the content of the recording content of real video just, sound still is the sound that the other side's microphone is gathered.
To " dynamically obtain the other side's screen; " and apply in the Video show in the instant messaging and go according to of the present invention through being presented at the method and the auxiliary interchange measure thereof of this machine screen behind the convergent-divergent, it is characterized in that, step (13) and. in (14), for the user provides reservation and writing function, the user can be by the interchange date and time of this function management oneself, when needs exchange with a lot of people, can utilize this function as memorandum, according to the interchange date and time that subscription list write down, arrange exchange activity and routine work and the life-time of oneself.
Implement the present invention, to " dynamically obtain the other side's screen; through being presented at the method and the auxiliary interchange measure thereof of this machine screen behind the convergent-divergent " applies in the Video show in the instant messaging and goes, can be in Video chat, further exchange, more convenient and quicker share thing on others' computer; Two people also can utilize this invention to carry out some cooperation on the internet more easily; And, the other side's sound and screen can also be recorded a video, convenience is listened to once more later on or is watched; Also have, you can carry out mutually deserved adjusting to the color of seizure screen with loyal number at different network speeds, to adapt to different network environments; At last, this immediate communication tool can make things convenient for the user to exchanging the management and the memorandum of date, time, object also for the user provides reservation function.In a word, the present invention has expanded the function of immediate communication tool greatly, can be widely used in multiple long-range interchange business, as telecommunication, long-range interchange, long-distance education etc.
Embodiment
The present invention is further illustrated with example with reference to the accompanying drawings below:
(video clapped of camera is called real video, and the video that the other side's screen change is produced is called screen video)
The present invention includes immediate communication tool and instant communication server.At first add at the Video show interface of immediate communication tool: screen video display box, screen video are gathered frame size adjustment button, screen video is gathered frame position adjustments button, video exchange button, record button.
As shown in Figure 2, below for setting up the initial concrete steps that connect:
1, after a side sends Video show invitation, this invites by being given to the other side in the instant communication server, agree as the other side, then server direct connection (as shown in Figure 1) for two users set up, this moment, both sides all called audio frequency and video sending module AVSender, this module management: real video acquisition module, sound collection module, screen video acquisition module, gather the other side's sound, camera video and screen video; The initial size of screen video is full frame.
2,, obtain the image of screen video by frequency according to the loyal number that sets among color adjustment module ColorSetting and the loyal number adjustment module CDLGSaveSetting; According to the loyal number that sets among the loyal number adjustment module CDLGSaveSetting, obtain the image of real video by frequency simultaneously.
3, then, call Zoom module IVideoWindow screen picture and the captured image of camera that captures carried out convergent-divergent, i.e. real video and screen screen, making the size behind its convergent-divergent all is 640*480.
4, call the AVRenderFilter module then,, reduce its transmission volume the compression of classifying of video and audio frequency.
5, the video file after will compressing by data transmission module AVSender is transferred to the other side on the net.
6, the other side receives the data that the other side transmits by data reception module AVReceive.
7, compressed video and the audio frequency that receives passed through decompress(ion) sort module AVSourceFilter, to its decompression.
8, call audio, video data administration module AVManager, file behind the decompress(ion) is play in specific broadcast frame according to correspondent frequency, and wherein the audio, video data administration module comprises: real video playing module, screen video playing module and audio playing module.
After the connection of setting up Video show, when pressing screen video collection frame size adjustment button, pop screen video acquisition frame size is set frame, can be by length and wide its size of setting of entr screen video acquisition frame, when having imported when determining, program writes screen with this numerical value and gathers big or small set positions module DlgDummyVideoset, thereby changes the size that screen video is gathered frame.
After the connection of setting up Video show, when pressing screen video collection frame position adjustments button, eject and catch the screen display frame, the size and the position that show the screen video of being caught, program is called screen simultaneously and is gathered big or small set positions module DlgDummyVideoset, when catching the screen display frame with mouse drag or stretching, screen collection size set positions module can be adjusted accordingly to the zone of being caught, and the screen message of being caught is consistent with the screen message that seizure screen display frame is surrounded.
After the connection of setting up Video show, when pressing the video exchange button, the position of real video and screen video is exchanged, show the position display screen video of real video, the position display real video of display screen video, this program is finished by the video exchange module.
After the connection of setting up Video show, when pressing record button, routine call video recording acquisition module AVSource records the screen video and the sound that receive, and is kept in the file that configures in advance, and file format is avi.
In immediate communication tool, add loyal number and regulate button, when pressing this button, just eject loyal number conditioning box, the user can regulate according to network condition, select the back by determining key, system writes this numerical value among the loyal number adjustment module CDLGSavesetting, calls the numerical value of this module when next Video show begins.
Above flow process is that real time bidirectional is dynamic, that is to say that when others was carried out this program, the other side was also carrying out this program to you.
As shown in Figure 3, in the main interface of immediate communication tool, add reservation and send button and subscription list ejector button, send button, will eject reservation interface when the other side clicks reservation, on this interface, fill in the other side's user name, the date and time of interchange, click transmission then; This message is received after this information for the other side, the other side by transit server as is clicked refusal, sends refusal information then for this machine, accepts as the other side, then sends agreement information to the other side, and with the information of this reservation, writes server.After the subscription list of clicking main interface, can eject all subscription informations, to prevent to forget predetermined exchange activity.
By above flow process, can carry out more deep exchanges and cooperation on the net between two users, can regulate the loyal number of different colors to adapt to different network condition to screen video at different network speeds, and can record a video to the other side's screen video, can also look back afterwards and browse, can also pass through reservation function, prevent the exchange activity of being scheduled to.