Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention more comprehensible, with reference to the accompanying drawings and embodiments, to this
Invention is described in further detail.It should be appreciated that the specific embodiments described herein are only used to explain the present invention,
And the scope of protection of the present invention is not limited.
The flow diagram of content share method embodiment when showing video interactive of the invention in Fig. 1.Such as Fig. 1 institute
Show, the method in the present embodiment comprising steps of
Step S101: video interactive instruction is received;
Step S102: video display window is created in the first predetermined position of instant communication interface, and by the video of acquisition
Data are shown in the video display window;
Step S103: it receives contents screen and shares instruction;
Step S104: picture window is shared in the second predetermined position creation at the instant messaging interface, and by acquisition
Content share picture data is shown in the sharing picture window.
According to the scheme of embodiment present invention as described above, created respectively for video data and content share picture data
It builds different windows to be shown, consequently facilitating to the window of the video display window of video data, content share picture data
Carry out different processing respectively, avoid in the prior art video pictures with share picture integrating in one big picture and generate
The phenomenon that staying black, picture not protrude, interfere with each other, the performance of content share is carried out when optimizing video interactive.
Wherein, above-mentioned video data, may include local photographic device shoot video data, receive from network
Video data or the two combination, above content share picture data, may include local content share picture data, from
The combination of content share picture data or the two that network receives.
It is shown in the above-mentioned video display window by video data in the first predetermined position, by content share frame numbers
It, according to actual needs, can be to video display window, sharing after being shown according to the sharing picture window in the second predetermined position
The position of picture window is adjusted, for example, the position of the two is interchangeable.
Accordingly, as shown in Figure 1, method in the present embodiment can with comprising steps of
Step S105: when receiving picture position switching command, the video display window is switched to described second
The sharing picture window is switched to first predetermined position by predetermined position.
Wherein, above-mentioned picture position switching command can be and directly be provided with toggle control in instant communication interface, and
Picture position switching command is received directly from the toggle control at instant messaging interface.Be also possible to video display window,
Share the toggle control that display of floating is respectively set on picture window, picture position is received by toggle control that the floating is shown
Set switching command.It as known to those skilled in the art can be based on actual needs to the toggle control for receiving picture position switching command
Position do specific setting, herein not repeat in detail.
In addition, being needed based on practical application, above-mentioned video display window, sharing picture window can also be carried out full frame aobvious
Show.When being displayed in full screen, full frame instruction can be directly received from the full frame control (full frame button) at instant messaging interface,
It is also possible in video display window, shares and distinguish corresponding full frame space on picture window, and can be the complete of display that float
Shield control, full frame instruction is received by full frame control that the floating is shown.
It, can be directly by video communication circle when receiving full frame instruction by the full frame control on instant messaging interface
Face full screen display, and by video display window, the full screen display of sharing picture window progress equal proportion, it is also possible to directly work as
Preceding main window is shown, in embodiments of the present invention, be can be and is determined display position for main window in the window of center Screen
Mouthful, certainly, based on actual needs, main window can also be done to other settings.In addition, having video display window at the same time and dividing
In the case where enjoying picture window, it is believed that user more concerned be to share image content, therefore will can directly share picture
Window is displayed in full screen.
It is full frame being received by the full frame control on video display window, sharing picture window in another mode
In the case where instruction, directly the corresponding window of full frame control for receiving full frame instruction can be shown.That is, passing through video
When the full frame control of display window receives full frame instruction, directly video display window is displayed in full screen, is shared passing through
When the full frame control of picture window receives full frame instruction, it will directly share picture window and be displayed in full screen.In another kind side
In formula, have at the same time video display window with share picture window in the case where, it is believed that user more concerned be share picture
Face content, therefore it is full frame either can will directly to be shared by which window reception to full frame instruction for picture window progress
Display.
In addition, when carrying out concrete application, when carrying out full frame, shuangping san can also be carried out.One is shown in Fig. 2
Flow diagram when shuangping san is handled in specific example.
As shown in Fig. 2, in the specific example shuangping san processing comprising steps of
Step S201: receiving full frame instruction, which can be by the way that the full frame of video display window is arranged in
Control, be arranged in share picture window full frame control, be arranged in the full frame control of instant communication interface any one into
Row receives;
Step S202: having detected whether Biscreen display, if there is Biscreen display, enters step S203, if without double screen
Display then enters step S205;
Step S203: detect whether that exist simultaneously sharing picture window and video display window enters if existing simultaneously
Step S204 enters step S205 if not existing simultaneously;
Step S204: by video display window carry out the display launched after full frame processing into Biscreen display into
Row display will share dispensing after picture window carries out full frame processing and show to another display in Biscreen display;
Step S205: it is shown by video display window or after sharing the full frame processing of picture window progress.
Wherein, have at the same time in above-mentioned steps S204 video display window with share picture window in the case where, can be with
Think user more concerned be to share image content, therefore, video display window can be carried out launching after full frame processing to pair
Display is shown, will be shared dispensing after picture window carries out full frame processing and be shown to main display.
On the other hand, similar to the above when above-mentioned steps S202, which is detected, does not have Biscreen display, it is also possible to regard
Frequency display window shares the full screen display that picture window carries out equal proportion, or directly carries out current main window full frame aobvious
Show, or will share after picture window carries out full frame processing and show.It is not specifically limited in this embodiment in the embodiment of the present invention.
Based on thought identical with the content share method when video interactive of aforementioned present invention, the present invention also provides one kind
Instant communication client.The structural schematic diagram of instant communication client embodiment of the invention is 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, first in instant communication interface to be pre-positioned
Creation video display window is set, and the video data that video data processing element 301 obtains is shown in the video display window
Show;
Share picture data processing unit 303, for obtaining content share picture data;
Share picture display unit 304, for when receiving contents screen and sharing instruction, the of instant communication interface
Picture window, and the content share picture data that sharing picture data processing unit 303 is obtained are shared in the creation of two predetermined positions
It is shown in the sharing picture window.
According to the scheme of embodiment present invention as described above, created respectively for video data and content share picture data
It builds different windows to be shown, consequently facilitating to the window of the video display window of video data, content share picture data
Carry out different processing respectively, avoid in the prior art video pictures with share picture integrating in one big picture and generate
The phenomenon that staying black, picture not protrude, interfere with each other, the performance of content share is carried out when optimizing video interactive.
Wherein, above-mentioned video data, may include local photographic device shoot video data, receive from network
Video data or the two combination, above content share picture data, may include local content share picture data, from
The combination of content share picture data or the two that network receives.
Accordingly, as shown in figure 3, the instant communication client in the present embodiment can also include: to receive video counts from network
According to network video data receiving module 3011, obtain the local video data for the video data that local photographic device is shot
Module 3012 is obtained, the network sharing picture data receiving module 3031 for sharing picture data is received from network, obtains local point
The local picture data of sharing for enjoying picture data obtains module 3032;
At this point, above-mentioned video data processing element 301, for network video data receiving module 3011 and local video
The video data that data acquisition module 3012 obtains carries out integration processing;
Above-mentioned sharing picture data processing unit 303, for network sharing picture data receiving module 3031 and locally
Share the sharing picture data that picture data acquisition module 3032 obtains and carries out integration processing.
It is shown in the above-mentioned video display window by video data in the first predetermined position, by content share frame numbers
It, according to actual needs, can be to video display window, sharing after being shown according to the sharing picture window in the second predetermined position
The position of picture window is adjusted, for example, the position of the two is interchangeable.
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.
At this point, above-mentioned video display unit 302, is also used to receive picture position in display position switch unit 305 and cut
When changing instruction, video display window is switched to second predetermined position, above-mentioned sharing picture display unit 304 is also used to
When switch unit 305 receives picture position switching command in display position, picture sharing picture window is switched to described the
One predetermined position.
Wherein, above-mentioned display position switch unit can be the toggle control being directly arranged in instant communication interface,
The toggle control that can be display of floating on video display window is also possible to the switching of display of floating on sharing picture window
Control.And picture position switching command is received by the toggle control.It can be needed as known to those skilled in the art based on practical
Specific setting is done to the position for the toggle control for receiving picture position switching command, not repeat in detail herein.
In addition, being needed based on practical application, above-mentioned video display window, sharing picture window can also be carried out full frame aobvious
Show.
Accordingly, as shown in figure 3, the instant communication client in the present embodiment can also include for receiving full frame instruction
Full frame instruction receiving unit 306, for detecting whether there is the double screen detection unit 307 of Biscreen display;
At this point, above-mentioned video display unit 302, it is also used to receive full frame instruction, double in full frame instruction receiving unit 306
When screen detection unit 307 has detected Biscreen display, launch after video display window is carried out full frame processing to shuangping san
A display in device is shown;
Above-mentioned sharing picture display unit 304, be also used to full frame instruction receiving unit 306 receive it is full frame instruction, it is double
When screen detection unit 307 has detected Biscreen display, it will share after picture window carries out full frame processing and launch to shuangping san
Another display in device is shown.
Wherein, above-mentioned full frame instruction receiving unit 306 can be the full frame control being directly arranged in instant communication interface
(full frame button), the full frame control for the display that is also possible to float on video display window are also possible on sharing picture window
Float the full frame control shown.And full frame instruction is received by the full frame control.
Have at the same time video display window with share picture window in the case where, it is believed that user more concerned be share
Image content, therefore when double screen detection unit 307 has detected Biscreen display, can be video display unit 302 will regard
The slave display that frequency display window launch after full frame processing into Biscreen display is shown, picture display unit is shared
304, which will share slave display of the dispensing into Biscreen display after picture window carries out full frame processing, shows.
One of ordinary skill in the art will appreciate that realizing all or part in embodiments of the present invention method
Process is relevant hardware can be instructed to complete by computer program, and the program can be stored in a computer can
It reads in storage medium, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, described to deposit
Storage media can be magnetic disk, CD, read-only memory (Read-Only Memory, ROM) or random access memory
(Random Access Memory, RAM) etc..Therefore, according to embodiments of the present invention scheme, the present invention also provides a kind of packets
Storage medium containing computer-readable program may be implemented above-mentioned when the computer-readable program in the storage medium executes
Content share method when video interactive of the invention in any method.
The method of embodiment present invention as described above, can be installed in the form of software in corresponding machinery equipment,
And in software operation by control content share process to complete above-mentioned video interactive when of relevant processing equipment or
Person's instant messaging process.Correspondingly, above-mentioned instant communication client can be setting and be mounted on corresponding terminal device, can also
To be corresponding terminal device itself, terminal device here can be mobile phone, tablet computer, PDA (Personal Digital
Assistant, personal digital assistant), any terminal device such as vehicle-mounted computer.
Accordingly, based on the scheme of aforementioned present invention, the present invention also provides a kind of terminal device, which can be hand
Machine, tablet computer, PDA (Personal Digital Assistant, personal digital assistant), vehicle-mounted computer, server etc. are appointed
One kind of anticipating can carry out the terminal device of instant messaging.
Accordingly, the part-structure block diagram of the terminal device is shown below by taking one of terminal device as an example, in Fig. 4.
With reference to Fig. 4, which includes: memory 410, input unit 420, display unit 430, processor 440, communication module
450 equal components.It will be understood by those skilled in the art that structure shown in Fig. 4, only related to the embodiment of the present invention
Part-structure block diagram, do not constitute the restriction of the corresponding terminal device being used in the present invention program, specific terminal device
It may include perhaps combining certain components or different component layouts than more or fewer components in diagram.
It is specifically introduced below with reference to each component parts of the Fig. 4 to the terminal device.
Memory 410 can be used for storing software program and module, and processor 440 is stored in memory 410 by operation
Software program and module, thereby executing various function application relevant to the terminal device and data processing.Memory
410 can mainly include storing program area and storage data area, wherein storing program area can storage program area, at least one function
Application program needed for energy (such as sound-playing function, image player function etc.) etc.;Storage data area can be stored according to terminal
Equipment uses created data etc..In addition, memory 410 may include high-speed random access memory, can also include
Nonvolatile memory, for example, at least a disk memory, flush memory device or other volatile solid-state parts.
Input unit 420 can be used for receiving number, character or the other information of input, and generate and terminal device
User setting and the related key signals input of function control.
Specifically, by taking terminal device is mobile phone as an example, which may include that touch panel and other inputs are set
It is standby.Touch panel, also referred to as touch screen, collect user on it or nearby touch operation (such as user using finger, touching
The operations of any suitable object or attachment on touch panel or near touch panel such as pen), and according to preset
Formula drives corresponding attachment device.Optionally, touch panel may include both touch detecting apparatus and touch controller.
Wherein, the touch orientation of touch detecting apparatus detection user, and touch operation bring signal is detected, transmit a signal to touch
Controller;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processing
Device 440, and order that processor 440 is sent can be received and executed.Furthermore, it is possible to using resistance-type, condenser type, infrared ray
And the multiple types such as surface acoustic wave realize touch panel.In addition to touch panel, input unit 420 can also include other inputs
Equipment.Specifically, other input equipments can include but is not limited to physical keyboard, function key (such as volume control button, switch
Key etc.), trace ball, mouse, one of operating stick etc. or a variety of.
Display unit 430 can be used for showing information input by user or be supplied to user information and various menus.
Display unit 430 may include display panel, optionally, can using liquid crystal display (Liquid Crystal Display,
LCD), the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) configure display panel.Tool
Body, can be by display unit 430 to instant messaging interface, video display window, sharing picture in the scheme of inventive embodiments
Face-port mouth etc. is shown.
The communication between other equipment may be implemented by communication module 450 in terminal device, which can be with
It is realized using any possible mode, such as WiFi module, Bluetooth communication, fiber optic communication etc., is realized by communication module 550
Communication between terminal device and other equipment.
Processor 440 is the control centre of terminal device, utilizes each of various interfaces and the entire terminal device of connection
A part by running or execute the software program and/or module that are stored in memory 410, and calls and is stored in storage
Data in device 410 execute the various functions and data processing of terminal device, to carry out integral monitoring to terminal device.It can
Choosing, processor 440 may include one or more processing units.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously
Limitations on the scope of the patent of the present invention therefore cannot be interpreted as.It should be pointed out that for those of ordinary skill in the art
For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to guarantor of the invention
Protect range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.