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 through following steps:
At first in immediate communication tool, add: 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 immediate communication tool at place, add a video frame (below be called 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 of the dynamic intercepting the other side of ICapturePos 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 through this immediate communication tool and obtain size and set button, can regulate the size of the other side, and " resuming default setting " option is provided the screen video that obtains;
(7) screen that exchanges in the interface through 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 through dragging and stretching;
(8), exchange the color adjustment button in interface, can realize adjusting, to adapt to different network speeds and machine to the screen video color that is obtained through this immediate communication tool;
(9), through in this immediate communication tool loyal number regulate the interface, can be directed against different network speed and machines, with loyal number adjusting;
(10), in the interchange interface of this immediate communication tool; The function that has Video chat; Both sides can carry out Video chat through 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 the video exchange button in interface, can the position of real video and screen video be exchanged through this immediate communication tool;
(12), exchange the record button in the interface through this immediate communication tool; 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 through server forwards it through the reservation in this immediate communication tool;
(14), agree exchange to invite like 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, it is characterized in that, in step (1) through being presented at the method and the auxiliary interchange measure thereof of this machine screen behind the convergent-divergent; In the Video show interface of immediate communication tool, added the screen video frame; Size when both sides begin Video show, can be presented at the screen content that obtains on the other side's machine for 640*480 (this big I changes with development from now on) in the screen video frame.
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, through in camera and Mike's voice-enabled chat or the transmission short message; Can see the content of the other side's screen through 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 carry out dynamic intercepting to 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), call AVReceuve the screen picture that captures is compressed; 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 through the length and the wide size of catching frame of setting of input capture frame; Simultaneously can through " resuming 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, it is characterized in that through being presented at the method and the auxiliary interchange measure thereof of this machine screen behind the convergent-divergent; 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.Through pulling and stretching to seizure screen display frame; Can realize catching the change of screen size and position; Realize that simultaneously this process is accomplished through calling DlgDummy Videoset module to letting 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, it is characterized in that through being presented at the method and the auxiliary interchange measure thereof of this machine screen behind the convergent-divergent; 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 to various network conditions.
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, it is characterized in that, in step (9) through being presented at the method and the auxiliary interchange measure thereof of this machine screen behind the convergent-divergent; 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 to various network conditions.
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 accomplished through 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 the content of the other side's screen video frame is recorded a video, can record simultaneously to the other side's audio frequency, the video of promptly 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 screen video frame institute content displayed 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, it is characterized in that through being presented at the method and the auxiliary interchange measure thereof of this machine screen behind the convergent-divergent, step (13) and. in (14); For the user provides reservation and writing function; The user can when needs exchange with much human, can utilize this function as memorandum by the interchange date and time of this function management oneself; According to the interchange date and time that subscription list write down, arrange exchange activity and routine work and the life-time of oneself.
Embodiment of 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 in Video chat, carry out interchange further, more convenient and quicker share the thing on others' computer; Two people also can utilize this invention to carry out some cooperation on the internet more easily; And, can also the other side's sound and screen 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 to different network speeds, to adapt to the various network environment; 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, and it is professional to be widely used in multiple long-range interchange, like telecommunication, long-range interchange, long-distance education etc.
Embodiment
According to accompanying drawing and instance the present invention is further described 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 through being given to the other side in the instant communication server; Agree like 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, promptly real video and screen are looked screen, and 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 through 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 through data reception module AVReceive.
7, compressed video that receives and audio frequency are 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 through length and wide its size of setting of entr screen video acquisition frame, press when definite when import; 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; Show the size and the position of 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 the zone of being caught accordingly, 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 accomplished through 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, selects the back by confirming key; System writes this numerical value among the loyal number adjustment module CDLGSavesetting, when next Video show begins, calls the numerical value of this module.
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 then and send; This message is received after this information for the other side, the other side through transit server as is clicked refusal, sends refusal information then for this machine, accepts like 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.
Through above flow process; Can carry out more deep exchanges and cooperation on the net between two users; Can regulate the loyal number of different color adapting to various network conditions to screen video to different network speeds, and can record a video, can also look back afterwards and browse the other side's screen video; Can also pass through reservation function, prevent the exchange activity of being scheduled to.