The content of the invention
In view of this, this application provides a kind of video exhibiting method and device, can watch net in user using terminal
During network video, involved object in currently displaying frame of video can be provided the user more timely, comprehensively
Relevant information so that user can more timely, convenient and Overall Acquisition to user's content of interest relevant information.
For achieving the above object, on the one hand, this application provides a kind of video exhibiting method, including:
The associated data request that receiving terminal sends, associated data request carry that the terminal is currently playing to be regarded
The target frame number of target video frame to be played in the video labeling of frequency and the video;
Ask in response to the associated data, close according to preset video labeling, the correspondence between frame number and object
System, it is determined that at least one destination object corresponding with the video labeling, target frame number, the destination object is the target
The object having in frame of video;
According to preset object and the corresponding relation of related information, determined associated by each described destination object respectively extremely
One item missing related information;
At least one related information associated by the target video frame and each described destination object is sent to into institute
State terminal, with while the terminal shows the target video frame, show associated by the destination object it is described extremely
One item missing related information.
Optionally, the associated data request is also carried:It is used for playing the video playback of the video in the terminal
The starting point coordinate of window, width and height;
Send in described at least one related information by associated by the target video and each described destination object
Before to the terminal, also include:
According to the starting point coordinate of the video playback window, width and height, will be the video playback window corresponding
Viewing area is divided at least two pieces sub-viewing areas, obtains starting point coordinate per sub-viewing areas described in block, width and height
Degree;
Send in described at least one related information by associated by the target video and each described destination object
While to the terminal, also include:
The starting point coordinate per sub-viewing areas described in block for marking off, width and height are sent to into the terminal, with
So that the target video frame and each described related information are shown to different described sub- viewing areas by the terminal respectively
In domain.
Optionally, the video playback window corresponding viewing area is divided into at least two pieces sub-viewing areas described
Afterwards, also include:
From at least two pieces sub-viewing areas, it is determined that the target sub-viewing areas for showing the target video frame
And the corresponding sub-viewing areas of each described related information;
The starting point coordinate per sub-viewing areas described in block for marking off, width and height are sent to into the end described
While end, also include:
By the target video frame corresponding target sub-viewing areas and the corresponding sub- display of each described related information
The information in region is sent to the terminal, so that the target video frame is included viewing area sub- in the target by the terminal
Domain, and the related information is shown in the corresponding sub-viewing areas of the related information.
It is optionally, described that the video playback window corresponding viewing area is divided into at least two pieces sub-viewing areas,
Including:
The video playback window corresponding viewing area is divided into into nine pieces of sub-viewing areas;
It is then described from least two pieces sub-viewing areas, it is determined that aobvious for showing target of the target video frame
Show region and the corresponding sub-viewing areas of each described related information, including:
Sub-viewing areas in an intermediate position in nine pieces of sub-viewing areas are defined as showing the target
The target sub-viewing areas of frame of video;
In eight pieces of sub-viewing areas from outside the target sub-viewing areas, determine that each described related information is corresponding
Sub-viewing areas.
Optionally, described by the target video frame corresponding target sub-viewing areas and each described related information
After the information of corresponding sub-viewing areas is sent to the terminal, also include:
The page link request that receiving terminal sends, the page link request carry quilt in the video playback window
The coordinates of targets of click location;
In at least two pieces multiple sub-viewing areas marked off from the video playback window, determine that the target is sat
Sub-viewing areas belonging to mark;
Currently presented related information in sub-viewing areas according to belonging to the coordinates of targets, it is determined that the link page;
The terminal is given by the data is activation of the link page, with mesh described in the video playback window in the terminal
The link page is shown in sub-viewing areas belonging to mark coordinate.
On the other hand, the embodiment of the present application additionally provides a kind of video exhibiting method, including:
When detect triggering changing interface switching command when, determine the currently playing video of terminal video labeling and
The target frame number of target video frame to be played in the video;
Associated data request is sent to server, the associated data request carries the video labeling and the mesh
Mark frame number;
Obtaining server asks the target video frame for being returned and the target to regard in response to the associated data
Related information set associated by frequency frame, the related information set include:With the video labeling and target frame number pair
At least one related information associated by each destination object answered, wherein, the video labeling and target frame number correspond to
Destination object described at least one had in the target video frame;
Show the target video frame and described at least one related information associated by the destination object.
Preferably, the switching command for detecting triggering changing interface, including:
Detect specified button in the terminal touched by;
Or, receive the switching command with the remote control transmission of the terminal binding.
Preferably, at least one pass described in described display associated by the target video frame and the destination object
Before connection information, also include:
Obtain the starting point coordinate of video playback window, width and height, the video playback window is to be used in terminal
Play the window of the video;
According to the starting point coordinate of the video playback window, width and height, will be the video playback window corresponding
Viewing area is divided at least two pieces sub-viewing areas, obtains starting point coordinate, width and the height of every piece of sub-viewing areas;
It is then described to show the target video frame and described at least one related information associated by the destination object
Including:
The target video frame and the related information are shown to into institutes different in the video playback window respectively
State in sub-viewing areas.
Preferably, when the switching command of triggering changing interface is detected, also include:
Obtain the starting point coordinate of video playback window, width and height, the video playback window is to be used in terminal
Play the window of the video;
Also carry in the associated data request:It is used for playing the video playback window of the video in the terminal
Starting point coordinate, width and height;
Obtaining the target video frame and the target video returned in response to the associated data by server
While related information set associated by frame, also include:
Obtain the respective starting point coordinate of at least two pieces sub-viewing areas, height and width that video window is divided into;
It is then described to show the target video frame and described at least one related information associated by the destination object
Including:
The target video frame and the related information are shown to into institutes different in the video playback window respectively
State in sub-viewing areas.
Preferably, the target video frame and the related information are shown to into the video playback window respectively described
After in mouthful, the different sub-viewing areas are interior, also include:
When detect user click on show the sub-viewing areas of the related information when, determine the target of clicked position
Coordinate;
Page link request is sent to server, the page link request carries the coordinates of targets;
The reception server asks the link page for returning in response to the page link, and wherein described url page face is described
In sub-viewing areas of the server according to belonging to the coordinates of targets, currently presented related information is determined;
The link page is shown in the sub-viewing areas belonging to the coordinates of targets.
Preferably, the target video frame and the related information are shown to into the video playback window respectively described
After in mouthful, the different sub-viewing areas are interior, also include:
If at least two pieces sub-viewing areas of the video playback window, existing and not showing the target video frame
And the related information blank sub-viewing areas when, in the blank sub-viewing areas object output typing option;
When user's click object typing option is detected, object record is presented in the blank sub-viewing areas
Enter interface, treating for the object presented in target video frame correlation is input in order to user in the object input interface
Typing related information;
The related information to be logged of the object got from the object input interface is sent to into server, to service
The related information to be logged of user's typing is carried out corresponding storage with the target video frame by device.
Preferably, it is described when the switching command of triggering changing interface is detected, determine the currently playing video of terminal
The target frame number of target video frame to be played in video labeling and the video, including:
When the switching command of triggering changing interface is detected, control the terminal and be in multizone display pattern;
If terminal is currently at the multizone display pattern, determine the video labeling of the currently playing video of terminal with
And in the video target video frame to be played target frame number, and trigger that execution is described to send associated data to server
The operation of request.
On the other hand, the embodiment of the present application additionally provides a kind of video demonstration device, including:
Request reception unit, for the associated data request that receiving terminal sends, the associated data request is carried
State the target frame number of target video frame to be played in the video labeling and the video of the currently playing video of terminal;
Object matching unit, in response to the associated data ask, according to preset video labeling, frame number and
Corresponding relation between object, it is determined that at least one destination object corresponding with the video labeling, target frame number, the mesh
Mark object is by the object that has in the target video frame;
Data associating unit, for according to preset object and the corresponding relation of related information, determining described in each respectively
At least one related information associated by destination object;
First transmitting element, for by least one associated by the target video frame and each described destination object
Related information is sent to the terminal, while the terminal shows the target video frame, to show the target pair
At least one related information as described in associated.
Preferably, the associated data request that the request reception unit is received also is carried:Use in the terminal
Starting point coordinate, width and height in the video playback window for playing the video;
Described device also includes:
Window split cells, in first transmitting element by the target video and each described destination object
Before at least one associated related information is sent to the terminal, according to the starting point coordinate of the video playback window,
The video playback window corresponding viewing area is divided at least two pieces sub-viewing areas, is obtained per block by width and height
The starting point coordinate of the sub-viewing areas, width and height;
Second transmitting element, in first transmitting element by the target video and each described destination object
While at least one associated related information is sent to the terminal, by the rising per sub-viewing areas described in block for marking off
Initial point coordinate, width and height are sent to the terminal, so that the terminal is by described in the target video frame and each
Related information is shown in the different sub-viewing areas respectively.
On the other hand, the embodiment of the present application additionally provides a kind of video demonstration device, including:
Instruction detection unit, for detecting the switching command of triggering changing interface;
Mark acquiring unit, for when the instruction detection unit detects the switching command, determining that terminal is current
The target frame number of target video frame to be played in the video labeling of the video of broadcasting and the video;
Request transmitting unit, for sending associated data request to server, the associated data request carries described
Video labeling and the target frame number;
Data capture unit, for obtaining the target video returned in response to associated data request by server
Related information set associated by frame and the target video frame, the related information set include:With the video mark
Know and at least one related information associated by corresponding each destination object of target frame number, wherein, the video labeling and
Target frame number have in correspond to the target video frame at least one described in destination object;
Display control unit, for described in showing associated by the target video frame and the destination object at least one
Item related information.
Preferably, also include:
Parameter acquiring unit, for showing the target video frame and the destination object in the display control unit
Before associated described at least one related information, starting point coordinate, width and the height of video playback window are obtained, it is described
Video playback window is for playing the window of the video in terminal;
Window cutting unit, for the starting point coordinate according to the video playback window, width and height, regards described
The corresponding viewing area of frequency broadcast window is divided at least two pieces sub-viewing areas, and the starting point for obtaining every piece of sub-viewing areas is sat
Mark, width and height;
Then the display control unit is specifically, for showing the target video frame and the related information respectively
To in the video playback window in the different sub-viewing areas.
Understand via above-mentioned technical scheme, during terminal shows video, terminal can send to server and close
Connection request of data, treats in the video labeling and the video that carry the currently playing video of terminal in the associated data request
The target video frame target frame number of broadcasting;So, server is asked in response to the associated data, according to preset video mark
Knowledge, the corresponding relation between frame number and object, determine at least one destination object presented by the target video frame;And
According to preset object and the corresponding relation of related information, at least one the association letter associated by each destination object is determined respectively
Breath, so, after at least one related information associated by the target video frame and the destination object is sent to terminal, eventually
End while target video frame is presented can be shown in the terminal
The related information of connection so that user intuitively can comprehensively recognize the relevant information of destination object in frame of video, with
In the manual search frame of video of family, the related information of user's destination object interested is compared, can be more timely, efficiently and complete
The relevant information for providing the user content of interest in required frame of video in face.
Specific embodiment
The embodiment of the present application provides a kind of video exhibiting method and device, and the scheme of the present embodiment is applied to terminal to clothes
Business device request view data (video data of the data of single-frame imagess or continuous multiple frames image composition), and open up in terminal
In the scene of existing picture frame, and when user wishes further to understand being somebody's turn to do included in the picture frame currently represented in terminal in detail
During user's content of interest, it is only necessary to carry out shirtsleeve operation in terminal, just can get this with triggering terminal from server
Related information associated by user's content of interest, and showing in terminal so that user can it is more quick, in detail and
Fully understand the details of content of interest.
Below in conjunction with the accompanying drawing in the embodiment of the present application, the technical scheme in the embodiment of the present application is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only some embodiments of the present application, rather than the embodiment of whole.It is based on
Embodiment in the application, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of the application protection.
First the video exhibiting method of the application is introduced.
It is understood that as video is made up of continuous multiple frames frame of video, and single image can be understood as one kind
Special video, i.e., only include the video of a width frame of video, therefore, the video exhibiting method of the embodiment of the present application is applied to utilization
Terminal to server asks the view data of single-frame imagess or continuous multiple frames image, and shows the field of picture frame in terminal
Scape.Referring to Fig. 1, a kind of the be suitable for network architecture schematic diagram of the video exhibiting method of the embodiment of the present application is it illustrates.By Fig. 1
Understand, server 101 and terminal 102 in the network architecture, can be included.
Wherein, the server 101 is for the view data corresponding to storage image frame or video.
Further, in the embodiment of the present application, the server 101 is also stored with following content:
Object total collection;Wherein, the object total collection includes multiple objects, and object can be understood as being displayed in frame of video
Display object or target in (it can be appreciated that picture frame of single image), e.g., object can be institute in a frame frame of video
The personage that presents, clothes, food, place etc..Certainly, for different objects can have an object identity respectively, e.g.,
The unique name or identity number (ID, Identity) of object, to distinguish different right by different object identities
As;
Related information in object total collection corresponding to each object;Wherein, each object can be associated with one or many
Item related information.And the related information associated by different classes of object is likely to different, e.g., when object is clothes
When, the related information of the object can be:Purchase link, the brief introduction of clothes corresponding to this clothes is (such as manufacturer, the place of production
Deng) and the information such as price of clothes in one or more, or, with the purchase link of the clothes of money type, brief introduction or valency
Lattice etc.;And for example, when object is place, the related information can include the wine that the concrete introduction in the place, the place have
Shop, the air ticket for going to the place, link etc. of travel package and customization air ticket or travel package;And for example, object is certain
During star, the Products that the related information of object can be represented for the microblogging of the star, the star, the product link represented etc.
Deng;
The object subset included per frame frame of video is closed, the object subset close include in the frame of video shown by go out to
A few object, the implication of object are identical with previously described.
Optionally, in order to more preferably safeguarding the association corresponding to object and object that frame of video, frame of video included
Information, can safeguard different tables of data in server, and safeguard information different above by different tables of data.
Specifically, server can store the first tables of data, the different video that can be stored with first tables of data (or
Image) ID, the address of the video (or image), and the totalframes of the video (or image).
The second tables of data is stored in the server, the ID of video (or the image) that can be stored with second tables of data, depending on
Frequently the object identity corresponding to frame of video that the frame number of (or image) included each frame of video, and frame number is characterized, its
In, one or more objects can be included in a frame of video, accordingly, a frame number correspond to one or more objects
Object identity.
Also be stored with the 3rd tables of data in the server, and be stored with the 3rd tables of data each self-corresponding object of all objects
Mark, different object identities are associated with respective related information.
Certainly, storage video (or image) mark, frame number, object identity and object identity institute in the form of tables of data
Corresponding related information etc. is only a kind of preferred mode, stores information above by other means and is applied equally to this Shen
Please.
In the embodiment of the present application, the terminal 102, for when detect triggering changing interface switching command when, really
Determine the target frame number of target video frame to be played in the video labeling and the video of the currently playing video of terminal;To
Server sends associated data request, and the associated data request carries the video labeling and the target frame number.
The server 101, in response to the associated data ask, according to preset video labeling, frame number with
And the corresponding relation between object, it is determined that at least one destination object corresponding with the video labeling, target frame number, described
Destination object is by the object that has in the target video frame;According to preset object and the corresponding relation of related information, divide
Do not determine at least one related information associated by each described destination object;By the target video frame and each described mesh
At least one related information associated by mark object is sent to the terminal.
The terminal 102, is additionally operable to obtain the target video frame and the target video frame institute that server is returned
The related information set of association, the related information set include:Each target corresponding with video labeling and target frame number
At least one related information associated by object;Show the target video frame and associated by the destination object it is described extremely
One item missing related information.
It should be noted that figure 1 illustrates server is an independent server, but in actual applications,
Video or image can be provided by a service system, the service system can be to include the distributed of multiple servers to deposit
Storage system or centralized stores system etc..Further, service system can also include data base, and server can be by
Incidence relation storage between the related information of above mentioned picture frame, object and object is to data base, and passes through to look into
Ask data base to determine related information corresponding to object and object that picture frame is included etc..Such as, by above-mentioned three
Individual tables of data storage, to data base and is somebody's turn to do by inquiring about the object that these three tables of data determine that different video frame is included
The related information of the object association included by frame of video.
In the embodiment of the present application, the terminal 102 can be understood as carrying the terminal of player, and the such as terminal can have
There are computer, television set of player etc..Image or video that the terminal can be played to needed for server request, and in service
After device returns dependent image data, each two field picture is played in terminal successively.
It is understood that as video is made up of continuous multiple frames frame of video, and single image can be understood as one kind
Special video, i.e., only include the video of a width frame of video, therefore, play process and the single video of terminal plays of single image
The similar process of frame.For the ease of description, below by taking terminal plays video as an example, introduce during terminal plays video, be
User presents the process of the related information of the object included in video.
Further, the mode for presenting the related information of object in terminal can also have various implementations, optional
, the present embodiment is to be divided into multiple regions by the viewing area of terminal, and shows respectively and current desired be in the plurality of differentiation
The related information associated by object shown in existing frame of video and the frame of video.For the ease of description, by the aobvious of terminal
Show that region division is nine sub-viewing areas so that the viewing area of terminal is introduced as a example by presenting nine grids form.
With reference to Fig. 1, the flow process interaction that it illustrates a kind of video exhibiting method one embodiment of the application referring to Fig. 2 is illustrated
Figure, the method for the present embodiment can include:
201, terminal represents the frame of video from server request in the viewing area of video playback window.
Broadcast window of the video playback window for terminal plays video.
It is understood that before the step 201, terminal can be to send video playback request to server, to ask
The video data for asking server to play needed for returning to terminal.And, respond the playing request and return for terminal in server and be somebody's turn to do
During the corresponding each frame frame of video of video, represent the frame of video corresponding to the video successively.Certainly, terminal to server request video
And play video process and existing player in play video similar process, will not be described here.
202, terminal receives the switching command of triggering changing interface.
The switching command can be that user triggers the instruction for generating by assigned operation set in advance, and e.g., the switching refers to
Order can also be that user is triggered by specified button in terminal (can be by physical button or virtual touch key-press) by touching
The instruction of generation.And for example, when terminal is television set or other can be remotely-controlled the terminal of device control, the switching command can be
User is triggered the switching command of remote control generation by touching by specified button in the remote control in television set.
Wherein, the switching command is used for triggering terminal by the first changing interface for presenting video for including at least two
The second contact surface of sub-viewing areas.
Optionally, the present embodiment is used for request by the first changing interface as including nine sub- viewing areas with the switching command
It is introduced as a example by the second contact surface in domain.Wherein, the first interface is different from second contact surface, and second contact surface is by will be the first interface right
The viewing area answered is divided into the interface formed by nine pieces of sub-viewing areas.The second contact surface is properly termed as nine grids interface mould
Formula.
Specifically, in terminal can with the preset function for being used to determine whether to be switched to nine grids video mode, for the ease of
Distinguish, the function is become into function A.Function A one boolean shape parameter open of band, when open is true, is then switched to nine grids
Interface model, when open is false, is then switched to generic interface pattern.On the premise of terminal does not show nine grids interface, use
Specified button has been pressed at family, then the incoming true of open, now then needs to show nine grids interface model;And in nine grids interface model
Under, user has pressed the specified button, then the incoming false of open, now then needs to exit nine grids interface model.
203, terminal response in the switching command, in determining the video labeling and the video of the video played by the terminal
The target frame number of target video frame to be played.
Wherein, the target video frame is the frame of video of next frame needs broadcasting after the currently playing video of terminal, in order to
It is easy to distinguish, frame of video next frame to be played is referred to as into target video frame.
It is understood that when terminal detects the switching command of triggering changing interface, terminal can enter another kind of aobvious
Show pattern, i.e., by the first changing interface to second contact surface, and if user is not input into when terminating the instruction of second contact surface, terminal meeting
It is constantly in the state of the second contact surface.Optionally, can be with preset different display pattern, e.g., the first interface correspondence in terminal
A kind of display pattern;This second correspond to a kind of display pattern, be shown as second contact surface is actually polylith region,
Therefore, it can for the display pattern corresponding to second contact surface to become multizone display pattern, then refer to when terminal receives the switching
When making, multizone display pattern can be in control terminal;If terminal is under the multizone display pattern, terminal can be with
The step 203 and follow-up step 204 can be performed a plurality of times, so that can continuously represent the multiframe of the video in second contact surface
Frame of video and the corresponding related information of every frame frame of video.Such as, when terminal determines and is currently at multizone display pattern, can be with
In real time or every preset duration, the operation of the video and the target video frame to be played that determine currently playing is performed, and is touched
It is sent to server and sends associated data request.
Certainly, when terminal receives the command for stopping for terminating multizone display pattern, terminal can control video
Broadcast window returns to the display pattern at the first interface, in that case, terminal obtain video mode can with it is traditional
Video represents similar process, will not be described here.
204, terminal to server sends associated data request, and the associated data request carries the video labeling, the mesh
The window parameter of mark frame number and the video playback window.
Wherein, the associated data asks the association letter for the object included in the server request target video frame
Breath.
The window parameter of video playback window is characterized and represents region corresponding to the video playback window.Specifically, the window
Mouth parameter can include:The data such as the starting point coordinate of video playback window, the height of the video playback window and width.
When terminal played in full screen video, the video playback window can be understood as the display screen of terminal, and accordingly, this regards
The height and width of frequency broadcast window can be the height of display screen and width.
It should be noted that the window parameter of video playback window is optional, if not needing server to broadcast video
Put window viewing area divided in the case of, the video playback window can not also be carried in associated data request
Window parameter.
Even in addition, in the case of carrying out cutting by server to video playback window, due to video playback window
After viewing area is split, the state that video playback window is cut into polylith viewing area can be maintained to keep constant, directly
To user terminal is input into the command for stopping for terminating multizone display pattern.That is, terminal receives switching
After instruction, only when first time associated data request is sent can carry the window in associated data request and join
Number, and when subsequently retransmiting associated data request, then without the need for carry the window parameter again.
205, video labeling, corresponding relation frame number and object identity between of the server according to storage, it is determined that this regards
Frequency marking knows the destination object mark with least one destination object corresponding to target frame number.
It is understood that by the mark of object come unique mark one to as if a kind of optional mode, in reality
Using in, server can also directly store the video labeling of video, the corresponding relation between frame number and object, by inquiry
The corresponding relation, at least one destination object presented in determining the target video frame characterized by the target frame number.
206th, server determines each destination object respectively according to preset object identity and the corresponding relation of related information
At least one corresponding destination-related information of mark.
Optionally, when in the server safeguard have above-mentioned first tables of data, the second tables of data and the 3rd tables of data
In the case of, the video labeling can be the ID of video, so directly just can determine and regard by inquiring about second tables of data
The mark of corresponding at least one destination object of ID and target frame number of frequency;Then, the 3rd tables of data is inquired about, can be true
Make at least one destination-related information corresponding to the mark of each destination object.Certainly, according to the ID of the video, server
The address of the video, so, the address based on video can be inquired about from first tables of data, it may be determined that each in storage video
The storage address of frame frame of video, and obtain the data corresponding to frame of video.
Optionally, as each destination object mark can correspond to one or more destination-related information, therefore, each mesh
Destination-related information corresponding to mark object identity can be with the storage of list, and so, each destination object mark can be right
A destination-related information list is answered, be stored with the destination-related information list at least one destination-related information.
It is understood that the video labeling in server storage video, corresponding relation between frame number and object
Under the premise of, server can directly store the related information corresponding to different objects, and after destination object is determined, according to
According to object and the corresponding relation of related information, the corresponding related information of the destination object is inquired.
207th, the viewing area of video playback window is divided into nine according to the window parameter of video playback window by server
Block sub-viewing areas, obtain starting point coordinate, width and the height of every piece of sub-viewing areas.
Wherein, when the viewing area to video playback window divides, can be by the display of the video playback window
Region is divided into nine pieces of sub-viewing areas, so that video playback window presents many sub- broadcast windows of nine grids pattern.
It is understood that width and height in the starting point coordinate and video playback window of video playback window are true
In the case of fixed, it may be determined that go out the viewing area corresponding to video playback window, the viewing area is divided into nine pieces, can be with
Nine pieces of sub-viewing areas are obtained, and the starting point coordinate of every piece of sub-viewing areas, length mutually can also be should determine that with height.
Certainly, the size of the nine pieces of sub-viewing areas for marking off can also be differed, e.g., can be by nine pieces of sub- viewing areas
Area in domain in middle sub-viewing areas is set to maximum, and the area of other eight pieces of sub-viewing areas can be relatively
It is little.
After the viewing area of video playback window to be divided into nine pieces of sub-viewing areas, every piece of sub-viewing areas reality
It is exactly a sub- broadcast window to go up, and one piece of sub-viewing areas also correspond to one group of subwindow parameter respectively, the subwindow parameter bag
Include the starting point coordinate of the subwindow, the width of subwindow and height.
Wherein, can be used for playing identical or different image in the sub- broadcast window corresponding to different sub-viewing areas
Or video.
It should be noted that the present embodiment is so that the display window of video playback window is divided into nine pieces of sub-viewing areas
As a example by be introduced, but the viewing area of the video playback window can mark off any number of sub-viewing areas, and point
Starting point coordinate, width and the height of each sub-viewing areas are not determined.Such as, the viewing area of video playback window can be drawn
It is divided into four pieces of sub-viewing areas.For the feelings of the sub-viewing areas that the viewing area of video playback window is divided into other quantity
Condition, which implements process and is divided into the similar process of nine pieces of sub-viewing areas, will not be described here.
208th, nine pieces of sub-viewing areas respective starting point coordinate, width and height are sent to terminal by server.
209, server from nine pieces of sub-viewing areas, it is determined that for the target sub-viewing areas of display target frame of video,
And the sub-viewing areas corresponding to each related information.
Wherein, for the ease of distinguishing, the viewing area for display target frame of video is referred to as into target sub-viewing areas.
Optionally, video is watched for the ease of user, during general server is in arranging nine pieces of sub-viewing areas
Between position sub-viewing areas as display target frame of video target sub-viewing areas.
210, server is by least one corresponding to each destination object in the data of target video frame, target video frame
The of first corresponding relation and related information of related information, target video frame and target sub-viewing areas and sub-viewing areas
Two corresponding relations are sent to terminal.
It is understood that the step 207 is optional step to 210, its purpose is to preferably determine mesh
The display location of mark frame of video and related information.
After nine pieces of viewing areas are divided into due to the viewing area of the video playback window of terminal, if terminal does not connect
The instruction for terminating changing interface is received, then terminal can maintain nine grids video mode always, but terminal needs only to receiving
The window parameter of the video playback window during to switching command, is sent once, and server also needs only to perform once to this
The division of the viewing area of video playback window.
In addition, the embodiment of the present application is to be divided into multiple sub-viewing areas with server to the video playback window of terminal to be
Example is introduced, but it is understood that, in actual applications, server can not also carry out drawing to video playback window
Point, so, target video frame and each destination object determined directly can be identified by server after step 206
At least one corresponding destination-related information is sent to terminal, and instruction terminal is while show the target video frame, shows
Go out at least one corresponding destination-related information of each destination object mark.
Certainly, it can also be performing, specifically, eventually by end side to carry out division to the viewing area of video playback window
End in response to the switching command, can obtain starting point coordinate, width and the height of video playback window, according to video playback window
Video playback window corresponding viewing area is divided at least two pieces sub- viewing areas by the starting point coordinate of mouth, width and height
Domain, obtains starting point coordinate, width and the height of every piece of sub-viewing areas.Specifically, terminal can be by video playback window
Viewing area is divided into nine pieces of sub-viewing areas, and target video frame and each related information are respectively displayed on different sons
In viewing area.Wherein, the process divided by the viewing area of the terminal-pair video playback window, is broadcast to video with server
The similar process divided by window is put, be will not be described here.
211st, terminal is arrived the sub- viewing area of target of video playback window by the output of target video frame according to the first corresponding relation
Domain, and export each related information in sub-viewing areas corresponding with the related information according to the second corresponding relation respectively.
Wherein, in the case where video playback window is divided into nine pieces of sub-viewing areas (equivalent to nine subwindows),
One piece of sub-viewing areas is used in display target frame of video, therefore, remaining eight pieces of sub-viewing areas are then displayed for closing
Connection information.Particularly, when the item number of related information is less than eight, then the sub-viewing areas can be kept to be space state.
Certainly, when the item number of the related information is more than eight, then eight related informations can be chosen and is shown to eight respectively
In block sub-viewing areas, and remaining related information can not then show;Or, each sub-viewing areas correspond to one or
Bi directional association information, and the multinomial related information shown needed for constantly switching shows in the sub- display window.
Such as, referring to Fig. 3, the display effect schematic diagram that multiwindow in video playback window represents pattern is it illustrates, by Fig. 3
It can be seen that, the viewing area of video playback window is divided into nine pieces of sub-viewing areas so that video playback window is divided into nine
Individual sub- broadcast window, presents nine grids pattern, and wherein, in middle sub- broadcast window, (the second row second plays window
Mouthful) in output have video in be currently needed for the frame of video that shows, and other sub- broadcast windows then show and with the frame of video are in
The related information that the object for revealing is associated.
212nd, when terminal detects user's click shows the sub-viewing areas of related information, determine clicked position
Coordinate.
Wherein, for the ease of distinguishing, the coordinate of clicked position can be referred to as coordinates of targets.
213, the coordinate of clicked position is sent to server by terminal.
Optionally, terminal can send link page request to server, and the link page request is used for request and the quilt
Related information corresponding to click location has the link page of incidence relation.Wherein, the link page request carries the quilt
The coordinates of targets of click location.
214, coordinate of the server according to clicked position determines the sub-viewing areas belonging to the coordinate of clicked position.
Wherein, the sub-viewing areas that namely coordinate is located of the sub-viewing areas belonging to the coordinate of clicked position.
It is understood that after video playback window is divided into nine pieces of sub-viewing areas by server, server can be remembered
The information such as starting point, width and the height of each sub-viewing areas are recorded, so, when the clicked coordinate of video playback window determines
Afterwards, server can determine clicked position in which block sub-viewing areas.
215, server determines the interior pending related information for showing of sub-viewing areas belonging to clicked position.
Related information shown by every piece of sub-viewing areas is also fixed, after clicked sub-viewing areas determine,
Related information shown by the sub-viewing areas also mutually should determine that.
216, server determines the link page associated by pending related information.
217, server is by the data is activation of the link page to terminal.
218, terminal shows the link page in the sub-viewing areas that clicked position is located.
Wherein, the step 212 is optional step to step 218, its purpose is to be easy to user to be based further on the pass
Connection information carries out associative operation.Wherein, the data of the link page corresponding to each related information can be stored in server.
Such as, when object is certain article (such as school bag, medicated clothing, air ticket, travelling entrance ticket, Food to Go etc.), the related information is purchase
During the chained address of this article, after the chained address is shown in one piece of sub-viewing areas of video playback window,
If user clicks on the sub-viewing areas or the chained address, can be directly linked to buy the link page of the article,
So that user can directly buy the article.Certainly, the link page can also be the page that is discussed in detail of object, for example,
The concrete introduction in hotel, the concrete introduction of tourist site etc.;The link page can also be microblogging link page etc..
Further, after terminal presents the link page, if the link page is the purchase page of an article,
User is also based on terminal and carries out corresponding purchase operation on the link page, to select article and the payment that places an order, terminal
Corresponding purchase request can be sent to server by the purchase operation based on user, and server can be returned for terminal and pay page
Face, is paid in order to user.Wherein, server can fast carry out article with preset various payment interfaces in order to user
Purchase.
Further, after the step 211, if in some or multiple sub-viewing areas of video playback window not
Related information is shown, can be selected so that an object typing is presented in the blank sub-viewing areas for do not show related information
, when terminal detects user clicks on the object typing option, object typing circle is presented in the blank sub-viewing areas
Face, the pass to be logged of the object that user can be presented in the object input interface is input into currently playing target video frame
Connection information.Wherein, the related information to be logged refers to user according to the object presented in target video frame, artificial input
The user thinks and the related relevant information of the object.Terminal obtains the related information to be logged of the object of user input, and
The frame number of the related information to be logged of object and currently playing target video frame is sent to into server, so that service
Device records the corresponding relation between the related information to be logged of target frame number, object and the object, and marks correspondence pass
It is for pending nuclear state.When carrying out to the corresponding relation after examination & verification passes through through the related service personnel of server, server can
With by the corresponding relation fixed storage in the corresponding memory area of video.Such as, server can add in the 3rd tables of data
One record, remarks this be recorded as user tag, after examining through specialized department, remarks are changed to user tag-examine,
Now if other users wish the related information of the object for checking that the frame of video is included, it is possible to inquire about the record.
It should be noted that Fig. 2 embodiments are the video exhibiting method of the application to be carried out in the form of flow process interaction
Introduce, but for the operation that end side or server side are individually performed belongs to the scope protected by the application.
Referring to Fig. 4, a kind of composition structural representation of video demonstration device one embodiment of the application, this reality is it illustrates
The device for applying example can apply to server, and the device of the present embodiment can include:
Request reception unit 401, for the associated data request that receiving terminal sends, the associated data request is carried
The target frame number of target video frame to be played in the video labeling and the video of the currently playing video of the terminal;
Object matching unit 402, for asking in response to the associated data, according to preset video labeling, frame number
And the corresponding relation between object, it is determined that at least one destination object corresponding with the video labeling, target frame number, institute
Destination object is stated by the object that has in the target video frame;
Data associating unit 403, for according to preset object and the corresponding relation of related information, determining each institute respectively
State at least one related information associated by destination object;
First transmitting element 404, for by associated by the target video frame and each described destination object at least
One related information is sent to the terminal, while the terminal shows the target video frame, to show the mesh
Described at least one related information associated by mark object.
Optionally, the associated data request that the request reception unit is received also is carried:Use in the terminal
Starting point coordinate, width and height in the video playback window for playing the video;
Described device also includes:
Window split cells, in first transmitting element by the target video and each described destination object
Before at least one associated related information is sent to the terminal, according to the starting point coordinate of the video playback window,
The video playback window corresponding viewing area is divided at least two pieces sub-viewing areas, is obtained per block by width and height
The starting point coordinate of sub-viewing areas, width and height;
Second transmitting element, in first transmitting element by the target video and each described destination object
While at least one associated related information is sent to the terminal, the starting of the every piece of sub-viewing areas for marking off is sat
Mark, height and width are sent to the terminal, so that the target video frame and each described association are believed by the terminal
Breath is shown in the different sub-viewing areas respectively.
Optionally, the device of the present embodiment can also include:
Relation determination unit, for drawing the video playback window corresponding viewing area in the window split cells
After being divided at least two pieces sub-viewing areas, from least two pieces sub-viewing areas, it is determined that for showing that the target is regarded
The target sub-viewing areas of frequency frame and the corresponding sub-viewing areas of each described related information;
3rd transmitting element, for sitting the starting of the every piece of sub-viewing areas for marking off in second transmitting element
While mark, height and width are sent to the terminal, by the target video frame corresponding target sub-viewing areas and often
The information of the corresponding sub-viewing areas of the item related information is sent to the terminal, so that the target is regarded by the terminal
Frequency frame is displayed in the target sub-viewing areas, and shows the association letter in the corresponding sub-viewing areas of the related information
Breath.
Optionally, described device also includes:
Request reception unit, in first transmitting element by the target video frame corresponding target sub- viewing area
After the information of domain and the corresponding sub-viewing areas of each described related information is sent to the terminal, what receiving terminal sent
Page link is asked, and the page link request carries the coordinates of targets of clicked position in the video playback window;
Click on area determining unit, for marking off a sub- viewing area at least more than two pieces from the video playback window
In domain, the sub-viewing areas belonging to the coordinates of targets are determined;
Link units of pages, believes for association currently presented in the sub-viewing areas according to belonging to the coordinates of targets
Breath, it is determined that the link page;
4th transmitting element, for giving the terminal by the data is activation of the link page, with regarding in the terminal
The link page is shown in sub-viewing areas described in frequency broadcast window belonging to coordinates of targets.
On the other hand, the embodiment of the present application additionally provides another kind of video demonstration device.Referring to Fig. 5, this Shen is it illustrates
Please another kind of video demonstration device one embodiment composition structural representation, the video demonstration device of the present embodiment is applied to end
End, the client that the terminal can be located for player.The device of the present embodiment can include:
Instruction detection unit 501, for detecting the switching command of triggering changing interface;
Mark acquiring unit 502, for when the instruction detection unit detects the switching command, determining that terminal is worked as
The target frame number of target video frame to be played in the video labeling of the video of front broadcasting and the video;
Request transmitting unit 503, for sending associated data request to server, the associated data request is carried
State video labeling and the target frame number;
Data capture unit 504, for obtaining the target video returned in response to the associated data by server
Related information set associated by frame and the target video frame, the related information set include:With the video mark
Know and at least one related information associated by corresponding each destination object of target frame number, wherein, the video labeling and
Target frame number have in correspond to the target video frame at least one described in destination object;
Display control unit 505, for described in showing associated by the target video frame and the destination object extremely
One item missing related information.
Optionally, the instruction detection unit is specifically, for detecting that the specified button in the terminal is touched the behaviour for pressing
Make;Or, receive the switching command with the remote control transmission of the terminal binding.
Optionally, described device also includes:
Parameter acquiring unit, for showing the target video frame and the destination object in the display control unit
Before associated described at least one related information, starting point coordinate, width and the height of video playback window are obtained, it is described
Video playback window is for playing the window of the video in terminal;
Window cutting unit, for the starting point coordinate according to the video playback window, width and height, regards described
The corresponding viewing area of frequency broadcast window is divided at least two pieces sub-viewing areas, and the starting point for obtaining every piece of sub-viewing areas is sat
Mark, width and height;
Then the display control unit is specifically, for showing the target video frame and the related information respectively
To in the video playback window in the different sub-viewing areas.
Optionally, also include:
Parameter acquiring unit, for detecting when the instruction detection unit during switching command of triggering changing interface, obtains
Take starting point coordinate, width and the height of video playback window, the video playback window is for playing described regarding in terminal
The window of frequency;
Also carry in the associated data request that the request transmitting unit sends:It is used for playing institute in the terminal
State starting point coordinate, width and the height of the video playback window of video;
As a result acquiring unit, obtains the institute returned in response to the associated data by server in the data capture unit
While stating target video frame and the related information set associated by the target video frame, obtain video window and be divided into
The respective origin coordinates of at least two pieces sub-viewing areas, height and width;
The then display control unit, specifically for being shown to the target video frame and the related information respectively
In the video playback window in the different sub-viewing areas.
Optionally, described device also includes:
Monitoring unit is clicked on, for being believed the target video frame and the association in the display control unit respectively
After breath is shown in the different sub-viewing areas in the video playback window, show when having detected user and clicking on
When stating the sub-viewing areas of related information, the coordinates of targets of clicked position is determined;
Link requesting unit, for sending page link request to server, the page link request carries described
Coordinates of targets;
Page receiving unit, asks the link page for returning for the reception server in response to the page link, wherein
The link page is association letter currently presented in sub-viewing areas of the server according to belonging to the coordinates of targets
What breath was determined;
Page display unit, for showing the link page in the sub-viewing areas belonging to the coordinates of targets.
Optionally, described device also includes:
Option display unit, for believing the target video frame and the association in the display control unit respectively
After breath is shown in the different sub-viewing areas in the video playback window, if the video playback window is extremely
In few two pieces of sub-viewing areas, there are the blank sub-viewing areas for not showing the target video frame and the related information
When, in the blank sub-viewing areas object output typing option;
Data Enter unit, for when detecting user and clicking on the object typing option, in the blank sub- viewing area
Object input interface is presented in domain, is input in the target video frame in the object input interface in order to user and is presented
The related information to be logged of the object correlation for going out;
Information transmitting unit, for being sent to service by the related information of the object got from the object input interface
Device, so that the related information to be logged of server stores user typing carries out corresponding storage with the target video frame.
Optionally, the mark acquiring unit, including:
Mode controlling unit, for when the switching command of triggering changing interface is detected, controlling the terminal in many
Region display pattern;
Mark obtains subelement, if being currently at the multizone display pattern for terminal, determines that terminal is currently broadcast
The target frame number of target video frame to be played in the video labeling of the video put and the video, and it is described to trigger execution
The operation of request transmitting unit.
In this specification, each embodiment is described by the way of progressive, and what each embodiment was stressed is and other
The difference of embodiment, between each embodiment identical similar portion mutually referring to.For device disclosed in embodiment
For, as which corresponds to the method disclosed in Example, so description is fairly simple, related part is said referring to method part
It is bright.
The foregoing description of the disclosed embodiments, enables professional and technical personnel in the field to realize or use the application.
Various modifications to these embodiments will be apparent for those skilled in the art, as defined herein
General Principle can be realized in the case of without departing from spirit herein or scope in other embodiments.Therefore, the application
The embodiments shown herein is not intended to be limited to, and is to fit to and principles disclosed herein and features of novelty phase one
The most wide scope for causing.