Summary of the invention
The invention provides a kind of video interactive method, can only carry out video interactive by button and voice in order to solve in the prior art, and can not carry out mutual problem by the menu item on the direct touch video pictures.
Accordingly, the present invention also provides a kind of terminal equipment and based on the menu selecting apparatus of video interactive.
The invention provides a kind of video interactive method, comprise step:
The DTMF code element information that the network side receiving terminal apparatus reports, described DTMF code element information are the DTMF code element information of terminal equipment according to the correspondence of the user touch location information translation of obtaining;
Network side is converted to corresponding touching position information with the DTMF code element information that receives; And
According to the residing menu item picture area of the touching position information after the described conversion, determine the menu item information that the user touches.
The present invention also provides a kind of terminal equipment, comprising:
Acquiring unit is used to obtain user's touching position information;
Converting unit is used for the touching position information that acquiring unit obtains is converted to corresponding DTMF code element information;
The DTMF transmitting element is used for the DTMF code element information after the converting unit conversion is reported network side.
The present invention also provides the menu selecting apparatus based on video interactive, comprising:
The DTMF unit that collects the digits is used for the DTMF code element information that receiving terminal apparatus reports;
Converting unit is used for the DTMF DTMF code element information that the unit receives that collects the digits is converted to corresponding touching position information;
Touch the menu item determining unit, be used for determining the menu item information that the user touches according to the residing menu item picture area of touching position information after the described converting unit conversion.
Adopt video interactive method provided by the invention, in video call process, can select this menu item, be not concerned about this menu item corresponding key and do not spend, thereby make operation easier by the graphics field that touches the some menu items on the video pictures.
Embodiment
Below in conjunction with Figure of description, the embodiment of the invention is described in further detail.
The embodiment of the invention provides a kind of video interactive method, and its idiographic flow comprises step as shown in Figure 1:
Step 101, after entering video call state, terminal equipment obtains user's touching position information at any time.
Step 102, terminal equipment compare user's touching position information and the outgoing position of whole video picture on terminal equipment, and whether the touch location of judging the user is in video pictures, if enter next step; Otherwise, user's touch location is considered as invalid touch location.
Step 103, terminal equipment are converted to corresponding DTMF code element information according to the transformation rule of predefined touching position information and DTMF code element information with the described touching position information of obtaining.
DTMF code element information after step 104, terminal equipment will be changed reports network side.
The DTMF code stream that step 105, network side analysing terminal equipment send judges whether current DTMF code element information meets the transformation rule of predefined touching position information and DTMF code element information, if enter next step; Otherwise, handle by normal DTMF button.
Step 106, according to the transformation rule of predefined touching position information and DTMF code element information, the DTMF code element information that terminal equipment is reported is converted to corresponding touching position information.
Step 107, judge that touching position information after the described conversion is whether in the picture area of some menu items, if enter next step; Otherwise, user's touch location is considered as invalid touch location.
Step 108, according to the residing menu item picture area of the touching position information after the described conversion, determine this menu item corresponding sequence number information;
Step 109, according to described menu item corresponding sequence number information, determine the menu item information that the user touches.
Above-mentioned video is clicked mutual principle as shown in Figure 2.As seen from the figure, though user touch location 1 drops on the screen, not in the video pictures output area, terminal equipment is considered as invalid touch location with it, does not feed back to network side; User touch location 2 is in the video pictures output area, and terminal equipment is given network side with the user touch location feedback information, and network side judges that this user touch location in the video pictures of a certain menu item, then is considered as effective touch location; User touch location 3 is in the video pictures output area, terminal equipment is given network side with the user touch location feedback information, network side is judged this user touch location not in the video pictures of any menu item, so this user touch location is considered as invalid touch location.
The embodiment of the invention provides a kind of terminal equipment, as shown in Figure 3, comprising: acquiring unit 301, touch location judging unit 302, converting unit 303 and DTMF transmitting element 304.
Acquiring unit 301 is used to obtain user's touching position information;
Touch location judging unit 302 is used to judge that touching position information that acquiring unit 301 obtains is whether in video pictures.
Converting unit 303, be used for when touch location judging unit 302 judges that touching position information that acquiring units 301 obtain is in video pictures, according to the transformation rule of predefined touching position information and DTMF code element information, the touching position information that acquiring unit 301 is obtained is converted to corresponding DTMF code element information;
DTMF transmitting element 304 is used for the DTMF code element information after converting unit 303 conversions is reported network side.
When entering video call state, acquiring unit 301 starts, and obtains user's touching position information, and this user's touching position information is put into a formation, continues to obtain user's touching position information then.The user touch location information that touch location judging unit 302 takes out in the formation, and and the outgoing position of video pictures compare, if this user touch location is in video pictures, then by the transformation rule of converting unit 303 according to predefined touching position information and DTMF code element information, this user touch location information translation is become corresponding DTMF code element information, and the DTMF code element information after calling DTMF transmitting element 304 at last and will changing reports network side; If this user touch location not in video pictures, then is considered as invalid touch location.Continuing the touching position information of taking-up user from formation afterwards analyzes.
Illustrate as followsly, the lower left corner of establishing with video pictures is initial point (0,0), and user's touch location can be shown (88,99) with the two-dimensional coordinate form shfft.The DTMF sign indicating number comprises 16 characters: digital 0-9, *, #, A, B, C, D.Suppose to preestablish with alphabetical A and represent abscissa, letter b is represented ordinate, represents side-play amount with 4 bit digital, and so Shang Mian user touch location information just can convert to: A0088B0099.
The embodiment of the invention provide based on the menu selecting apparatus of video interactive as shown in Figure 4, comprising: DTMF collect the digits unit 401, converting unit 402 and touch menu item determining unit 403.
The DTMF unit 401 that collects the digits is used for the DTMF code element information that receiving terminal apparatus reports;
Converting unit 402 is used for the transformation rule according to predefined touching position information and DTMF code element information, and the DTMF DTMF code element information that unit 401 receives that collects the digits is converted to corresponding touching position information;
Touch menu item determining unit 403, be used for determining the menu item information that the user touches according to the residing menu item picture area of touching position information after described converting unit 402 conversions.
Touch menu item determining unit 403 and also be used for touching position information after described converting unit 402 is changed not in any menu item picture area, user's touch location is considered as invalid touch location.
Described touch menu item determining unit 403 specifically comprises:
First module is used for determining the corresponding serial number information of this menu item according to the residing menu item picture area of touching position information after converting unit 402 conversions;
Unit second is used for determining the menu item information that the user touches according to menu item corresponding sequence number information.
Wherein, described converting unit 402 should judge at first whether the DTMF code element information that collects the digits DTMF unit 401 receives meets the transformation rule of predefined touching position information and DTMF code element information, if meet, converting unit 402 is converted to corresponding touching position information according to described transformation rule with the DTMF DTMF code element information that unit 401 receives that collects the digits; Otherwise, this DTMF DTMF code element information that unit 401 receives that collects the digits is handled by normal button.
Picture position information when described touch menu item determining unit 403 should be noted video menu output in advance, as the picture area of whole picture size, each menu item and size etc., and set each menu item corresponding sequence number, so that judge touching position information after converting unit 402 conversion whether in the picture area of some menu items, and determine user's touch menu item information according to the sequence number of the menu item of place menu item picture area correspondence.
Determine user's touch menu item information, user-selected menu item can have been outputed to terminal equipment.
The video interactive method that the above provides for the embodiment of the invention, in video call process, the user can touch the graphics field of the some menu items on the video pictures, terminal and network side are by changing to determine user-selected menu item mutually with user's touching position information and DTMF code element information, thereby make the user need not go to be concerned about that this menu item corresponding key can realize video interactive, make operation easier.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.