Embodiment
For making object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is described in further detail.Should be appreciated that embodiment described herein only in order to explain the present invention, do not limit protection scope of the present invention.
The schematic flow sheet of content share method embodiment when video interactive of the present invention has been shown in Fig. 1.As shown in Figure 1, the method in the present embodiment comprises step:
Step S101: receive video interactive instruction;
Step S102: create video display window in the first precalculated position of instant communication interface, and the video data of acquisition is shown at described video display window;
Step S103: receive contents screen and share instruction;
Step S104: create in second precalculated position at described instant messaging interface and share picture window, and the content of acquisition is shared picture data and show at described picture window of sharing.
According to the scheme of the embodiment of the present invention as above, it is shared picture data for video data and creates different windows respectively and show with content, thus be convenient to video display window to video data, window that content shares picture data carries out different process respectively, avoid that video pictures in prior art is black with staying of sharing that picture integrating produces in a large picture, picture is outstanding, the phenomenon of interference mutually, carries out the performance that content is shared when optimizing video interactive.
Wherein, above-mentioned video data, can comprise local camera head take obtain video data, from network reception to video data or the combination of the two, foregoing shares picture data, can comprise local content share picture data, from network reception to content share picture data or the combination of the two.
Above-mentioned, the video display window of video data in the first precalculated position is shown, content being shared picture data shares after picture window shows in the second precalculated position, according to actual needs, can adjust video display window, the position of sharing picture window, such as, the position of the two is exchanged.
Accordingly, as shown in Figure 1, the method in the present embodiment can also comprise step:
Step S105: when receiving picture position switching command, is switched to described second precalculated position by described video display window, and described picture window of sharing is switched to described first precalculated position.
Wherein, above-mentioned picture position switching command, can be directly in instant communication interface, be provided with toggle control, and directly from this toggle control at instant messaging interface, receive picture position switching command.Also can be at video display window, share toggle control picture window being arranged respectively display of floating, the toggle control of floating display by this receives picture position switching command.Those skilled in the art know and can do concrete setting based on the position of actual needs to the toggle control receiving picture position switching command, will not repeat in detail at this.
In addition, need based on practical application, can also to above-mentioned video display window, share picture window and be displayed in full screen.When being displayed in full screen, directly can receive full frame instruction from the full frame control (full frame button) at instant messaging interface, also can be at video display window, share the corresponding full frame space of difference on picture window, and can be the full frame control shown that floats, the full frame control floating display by this receives full frame instruction.
When receiving full frame instruction by the full frame control of this on instant messaging interface, directly video communication interface can be displayed in full screen, and by video display window, share the full screen display that picture window carries out equal proportion, also can be directly current main window is shown, in embodiments of the present invention, can be that display position is defined as main window at the window of center Screen, certainly, based on actual needs, also main window can be done other setting.In addition, there is video display window at the same time with when sharing picture window, user can be thought more it is of concern that share image content, therefore can being directly displayed in full screen sharing picture window.
In another mode, when receiving full frame instruction by video display window, the full frame control shared on picture window, can directly window corresponding for the full frame control receiving full frame instruction be shown.That is, when receiving full frame instruction by the full frame control of video display window, directly video display window is displayed in full screen, when the full frame control by sharing picture window receiving full frame instruction, directly will shares picture window and being displayed in full screen.In a further mode of operation, there is video display window at the same time with when sharing picture window, user can be thought more it is of concern that share image content, no matter be therefore by which window reception to full frame instruction, can being directly displayed in full screen sharing picture window.
In addition, when carrying out embody rule, when carrying out full frame, shuangping san can also be carried out.Schematic flow sheet during shuangping san process in a concrete example has been shown in Fig. 2.
As shown in Figure 2, the shuangping san process in this concrete example comprises step:
Step S201: receive full frame instruction, this full frame instruction can be full frame control by being arranged on video display window, be arranged on share picture window full frame control, be arranged in the full frame control at instant messaging interface any one receive;
Step S202: detect whether have Biscreen display, if there is Biscreen display, enter step S203, if do not have Biscreen display, then enter step S205;
Step S203: detect to exist whether simultaneously and share picture window and video display window, if exist simultaneously, then enter step S204, if asynchronously exist, then enter step S205;
Step S204: the display rendered to after video display window is carried out full frame process in Biscreen display shows, shows sharing another display rendered in Biscreen display after picture window carries out full frame process;
Step S205: video display window or share after picture window carries out full frame process is shown.
Wherein, in above-mentioned steps S204, there is video display window at the same time with when sharing picture window, user can be thought more it is of concern that share image content, therefore, render to slave display after video display window can being carried out full frame process to show, will share and render to main display after picture window carries out full frame process and show.
On the other hand, above-mentioned steps S202 detect there is no Biscreen display time, similar to the above, also can be by video display window, share the full screen display that picture window carries out equal proportion, or directly current main window is displayed in full screen, or will shares after picture window carries out full frame process and show.In the embodiment of the present invention, this is not specifically limited.
Based on the thought that content share method during video interactive with the invention described above is identical, the present invention also provides a kind of instant communication client.The structural representation of instant communication client embodiment of the present invention has been shown in Fig. 3.
As shown in Figure 3, the instant communication client in the present embodiment, comprising:
Video data processing element 301, for obtaining video data
Video display unit 302, for when receiving video interactive instruction, create video display window, and the video data obtained by video data processing element 301 shows in the first precalculated position of instant communication interface at described video display window;
Sharing picture data processing unit 303, sharing picture data for obtaining content;
Share picture display unit 304, for when receiving contents screen and sharing instruction, create in the second precalculated position of instant communication interface and share picture window, and share picture data show sharing content that picture data processing unit 303 obtains at described picture window of sharing.
According to the scheme of the embodiment of the present invention as above, it is shared picture data for video data and creates different windows respectively and show with content, thus be convenient to video display window to video data, window that content shares picture data carries out different process respectively, avoid that video pictures in prior art is black with staying of sharing that picture integrating produces in a large picture, picture is outstanding, the phenomenon of interference mutually, carries out the performance that content is shared when optimizing video interactive.
Wherein, above-mentioned video data, can comprise local camera head take obtain video data, from network reception to video data or the combination of the two, foregoing shares picture data, can comprise local content share picture data, from network reception to content share picture data or the combination of the two.
Accordingly, as shown in Figure 3, instant communication client in the present embodiment can also comprise: from the network video data receiver module 3011 of network reception video data, obtain the local video data acquisition module 3012 that the video data obtained taken by local camera head, share the network sharing picture data receiver module 3031 of picture data from network reception, obtain local this locality of sharing picture data and share picture data acquisition module 3032;
Now, above-mentioned video data processing element 301, the video data for obtaining network video data receiver module 3011 and local video data acquisition module 3012 carries out integration process;
Above-mentionedly share picture data processing unit 303, carry out integrations process for the picture data of sharing network sharing picture data receiver module 3031 being shared with this locality to picture data acquisition module 3032 obtains.
Above-mentioned, the video display window of video data in the first precalculated position is shown, content being shared picture data shares after picture window shows in the second precalculated position, according to actual needs, can adjust video display window, the position of sharing picture window, such as, the position of the two is exchanged.
Accordingly, as shown in Figure 3, the instant communication client in the present embodiment can also include display position switch unit 305, for receiving picture position switching command.
Now, above-mentioned video display unit 302, also for when display position switch unit 305 receives picture position switching command, video display window is switched to described second precalculated position, above-mentionedly share picture display unit 304, also for when display position switch unit 305 receives picture position switching command, picture is shared picture window and be switched to described first precalculated position.
Wherein, above-mentioned display position switch unit can be the toggle control directly arranged in instant communication interface, also can be the toggle control shown that video display window floats, and also can be in the toggle control sharing floating display on picture window.And receive picture position switching command by this toggle control.Those skilled in the art know and can do concrete setting based on the position of actual needs to the toggle control receiving picture position switching command, will not repeat in detail at this.
In addition, need based on practical application, can also to above-mentioned video display window, share picture window and be displayed in full screen.
Accordingly, as shown in Figure 3, the instant communication client in the present embodiment can also comprise the full frame instruction reception unit 306 for receiving full frame instruction, for detecting the double screen detecting unit 307 whether having Biscreen display;
Now, above-mentioned video display unit 302, also for receiving full frame instruction at full frame instruction reception unit 306, double screen detecting unit 307 has been when Biscreen display having been detected, the display rendered to after video display window is carried out full frame process in Biscreen display shows;
Above-mentionedly share picture display unit 304, also for receiving full frame instruction at full frame instruction reception unit 306, double screen detecting unit 307 has been when Biscreen display having been detected, show sharing another display rendered in Biscreen display after picture window carries out full frame process.
Wherein, above-mentioned full frame instruction reception unit 306 can be the full frame control (full frame button) directly arranged in instant communication interface, also can be the full frame control shown that video display window floats, also can be at the full frame control sharing floating display on picture window.And receive full frame instruction by this full frame control.
There is video display window at the same time with when sharing picture window, user can be thought more it is of concern that share image content, therefore when double screen detecting unit 307 has detected Biscreen display, can be that after video display window is carried out full frame process by video display unit 302, the slave display rendered in Biscreen display shows, share picture display unit 304 by share picture window carry out full frame process after the slave display rendered in Biscreen display show.
What one of ordinary skill in the art will appreciate that is, realize all or part of flow process in the invention described above embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc.Therefore, according to the invention described above embodiment scheme, the present invention also provides a kind of storage medium comprising computer-readable program, when the computer-readable program in this storage medium performs, can realize the content share method during video interactive of the present invention in above-mentioned any one mode.
The method of the embodiment of the present invention as above, can be installed in the form of software in corresponding machinery equipment, and content when completing above-mentioned video interactive when this running software by the treatment facility controlling to be correlated with shares process or instant messaging process.Correspondingly, above-mentioned instant communication client can be arrange to be arranged on corresponding terminal equipment, also can be corresponding terminal equipment itself, here terminal equipment can be the terminal equipment arbitrarily such as mobile phone, panel computer, PDA (PersonalDigitalAssistant, personal digital assistant), vehicle-mounted computer.
Accordingly, based on the scheme of the invention described above, the present invention also provides a kind of terminal equipment, this terminal equipment can be mobile phone, panel computer, PDA (PersonalDigitalAssistant, personal digital assistant), vehicle-mounted computer, server etc. any one can carry out the terminal equipment of instant messaging.
Accordingly, below for wherein a kind of terminal equipment, the part-structure block diagram of this terminal equipment has been shown in Fig. 4.With reference to figure 4, this terminal equipment comprises: the parts such as memory 410, input unit 420, display unit 430, processor 440, communication module 450.It will be appreciated by those skilled in the art that, structure shown in Fig. 4, it is only the block diagram of the part-structure relevant to embodiment of the present invention scheme, do not form the restriction to the terminal equipment be applied in the present invention program, concrete terminal equipment can comprise than parts more or less in diagram, or combine some parts, or different parts are arranged.
Concrete introduction is carried out below in conjunction with Fig. 4 each component parts to this terminal equipment.
Memory 410 can be used for storing software program and module, and processor 440 is stored in software program and the module of memory 410 by running, thus the execution various functions relevant to this terminal equipment are applied and data processing.Memory 410 mainly can comprise storage program district and store data field, and wherein, storage program district can storage operation system, application program (such as sound-playing function, image player function etc.) etc. needed at least one function; Store data field and can store the data etc. created according to the use of terminal equipment.In addition, memory 410 can comprise high-speed random access memory, can also comprise nonvolatile memory, such as at least one disk memory, flush memory device or other volatile solid-state parts.
Input unit 420 can be used for receiving the numeral, character or other information that input, and generation arranges with the user of terminal equipment and function controls the input of relevant key signals.
Particularly, take terminal equipment as mobile phone be example, this input unit 420 can comprise contact panel and other input equipments.Contact panel, also referred to as touch-screen, user can be collected or neighbouring touch operation (such as user uses any applicable object or the operations of annex on contact panel or near contact panel such as finger, stylus) thereon, and drive corresponding jockey according to the formula preset.Optionally, contact panel can comprise touch detecting apparatus and touch controller two parts.Wherein, touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation brings, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 440, and the order that energy receiving processor 440 is sent also is performed.In addition, the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave can be adopted to realize contact panel.Except contact panel, input unit 420 can also comprise other input equipments.Particularly, other input equipments can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.
Display unit 430 can be used for showing the information that inputted by user or the information being supplied to user and various menu.Display unit 430 can comprise display floater, optionally, the form such as liquid crystal display (LiquidCrystalDisplay, LCD), Organic Light Emitting Diode (OrganicLight-EmittingDiode, OLED) can be adopted to configure display floater.Specifically in the scheme of inventive embodiments, can by display unit 430 pairs of instant messaging interfaces, video display window, share picture window etc. and show.
Terminal equipment can realize the communication between other equipment by communication module 450, this communication module 450 can adopt any possible mode to realize, such as WiFi module, Bluetooth communication, optical fiber communication etc., achieve the communication between terminal equipment and other equipment by communication module 550.
Processor 440 is control centres of terminal equipment, utilize the various piece of various interface and the whole terminal equipment of connection, software program in memory 410 and/or module is stored in by running or performing, and call the data be stored in memory 410, perform various function and the data processing of terminal equipment, thus integral monitoring is carried out to terminal equipment.Optionally, processor 440 can comprise one or more processing unit.
The above embodiment only have expressed several execution mode of the present invention, and it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with claims.