WO2017101340A1 - 多点触控调整视频窗口的方法及设备 - Google Patents

多点触控调整视频窗口的方法及设备 Download PDF

Info

Publication number
WO2017101340A1
WO2017101340A1 PCT/CN2016/088656 CN2016088656W WO2017101340A1 WO 2017101340 A1 WO2017101340 A1 WO 2017101340A1 CN 2016088656 W CN2016088656 W CN 2016088656W WO 2017101340 A1 WO2017101340 A1 WO 2017101340A1
Authority
WO
WIPO (PCT)
Prior art keywords
time
video window
touch point
distance
touch
Prior art date
Application number
PCT/CN2016/088656
Other languages
English (en)
French (fr)
Inventor
李英杰
康华
于水龙
徐珣
Original Assignee
乐视控股(北京)有限公司
乐视致新电子科技(天津)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 乐视控股(北京)有限公司, 乐视致新电子科技(天津)有限公司 filed Critical 乐视控股(北京)有限公司
Priority to US15/250,757 priority Critical patent/US20170168696A1/en
Publication of WO2017101340A1 publication Critical patent/WO2017101340A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0486Drag-and-drop

Definitions

  • the embodiments of the present invention relate to the field of human-computer interaction technologies, and in particular, to a method and a device for adjusting a video window by multi-touch.
  • Multi-touch technology is no stranger to people. Most of the bank's cash machines have touch screen functions. Many hospitals, libraries and other halls have such touch technology computers, and mobile phones, MP3s and digital cameras that support touch screens are also many. However, these existing touch screens are single-touch, which can only recognize and support the touch and click of one finger at a time. If more than two points are touched at the same time, the correct response cannot be made. Multi-touch technology can decompose tasks into two aspects: one is to collect multi-point signals at the same time, and the other is to judge the meaning of each signal, which is called gesture recognition, so as to realize five screen recognition people. Finger clicks and touch actions at the same time.
  • Touch technology enables a user interface that is friendly, intuitive, and easy to use. It has become one of the most popular human-machine interface technologies, especially touch technology that can perform multi-touch recognition.
  • the touch technology senses the touch coordinate position of the touch object (such as the user's finger) by the touch panel, and accordingly, the user's desired manipulation action is known.
  • the first thing to do is to determine whether the user's touch is a single-touch event or a multi-touch event, and then correctly follow the single-finger touch event and the multi-touch event.
  • the corresponding processing rules analyze the manipulation that the user wants to perform.
  • Touch market concept With the new wave of multi-touch technology applications in Windows 7, and the debut of touch products such as the Apple iPad, it has awakened the long-sleeved UI (user interface) market.
  • Major market research companies have a strong interest in the touch market, although their analysis of the market figures and angles are not the same, but can be seen the strong vitality of touch products.
  • touch technology is widely used in portable devices.
  • applications on portable devices will gradually support touch control.
  • users can connect to many portable products.
  • the touched image browser, web browsing and other functions are implemented based on multi-touch technology, so the video player based on multi-touch control is the best way to increase the user experience.
  • WeChat, QQ and other video call applications operate on video images, and can monitor the user's single-finger touch and move with the finger movement.
  • the inventor found that the problem of the existing solution is that the user cannot touch the finger of the user, and the size of the video is enlarged and reduced, and the human-machine interface interaction is not humanized.
  • the embodiment of the present invention provides a method and a device for adjusting a video window by using a multi-touch, which can zoom in and out or move a video display according to a user's finger touch during a video call, thereby improving the intelligence level of the human-machine interface interaction.
  • the embodiment of the present application provides a method for adjusting a video window by using a multi-touch, including:
  • Acquiring at least two different directions of touch operations performed by the user, and at least two operations in different directions include a first operation and a second operation;
  • the video window is dragged and scaled according to two different touch operations in different directions.
  • the embodiment of the present application provides a multi-touch adjustment video window device, including:
  • the receiving module is configured to receive the touch signal, determine that the touch signal is a multi-touch signal, and determine that the start position of the at least two touch signals in the multi-touch signal is located in the video window;
  • the acquiring module is configured to obtain at least two different touch operations in different directions, and the at least two operations in different directions include a first operation and a second operation;
  • the drag and zoom module is set to drag and zoom the video window according to two different directions of touch operations.
  • the embodiment of the present application also provides a computer readable recording medium on which a program for executing the above method is recorded.
  • the method and device for adjusting a video window by multi-touch in the embodiment of the present application can make the video call simpler and allow the user to follow the user's operation as desired by monitoring the touch stretching and zooming the size and position of the small window in the video call. Make more human feedback.
  • FIG. 1 is a flow chart of an embodiment of a multi-touch adjustment video window method according to the present application.
  • FIG. 2 is a flow chart of another embodiment of a multi-touch adjustment video window method according to the present application.
  • FIG. 3 is a flowchart of still another embodiment of a multi-touch adjustment video window method according to the present application.
  • FIG. 4 is a flowchart of still another embodiment of a multi-touch adjustment video window method according to the present application.
  • FIG. 5 is a flowchart of still another embodiment of a multi-touch adjustment video window method according to the present application.
  • FIG. 6 is a schematic structural diagram of an embodiment of a multi-touch adjustment video window device according to the present application.
  • FIG. 7 is a schematic structural diagram of another embodiment of a multi-touch adjustment video window device according to the present application.
  • FIG. 8 is a schematic structural diagram of still another embodiment of a multi-touch adjustment video window device according to the present application.
  • FIG. 9 is a schematic structural diagram of still another embodiment of a multi-touch adjustment video window device according to the present application.
  • FIG. 10 is a schematic structural diagram of still another embodiment of a multi-touch adjustment video window device according to the present application.
  • a multi-touch adjustment video window method includes the following steps:
  • Step 110 Receive a touch signal, determine that the touch signal is a multi-touch signal, and determine that a start position of at least two touch signals in the multi-touch signal is located in the video window;
  • a plurality of sensing electrodes are embedded in the touch panel to provide a plurality of sensing quantities (such as capacitance variation), and the touch panel receives the touch signals by sensing clicks, which can be implemented by the prior art.
  • the touch signal is determined to be multi-touch information, and the start position of at least two touch signals in the multi-touch signal is determined to be located in the video window.
  • one large video window is used to display the video information of the video call partner
  • a small video window is used to display the video signal of the video call local end.
  • the user needs to adjust the small video window the user needs to perform at least two touches in the small video window, that is, the starting position of at least two touch signals is located in the small video window.
  • the large video window can be operated through these two points.
  • Step 120 Acquire at least two touch operations in different directions performed by the user, and at least two operations in different directions include a first operation and a second operation;
  • the two touch points when there are at least two touch point signals, the two touch points respectively start to shift to form at least two different touch operations in different directions. In this step, at least two different paths are obtained by the user.
  • the touch of the direction can be operated.
  • the operations in the two different directions may be referred to as a first path operation and a second path operation.
  • the first operation and the second operation refer to the user's touch operation on the touch panel.
  • Step 130 Drag and zoom the video window according to two different touch operations in different directions.
  • the small video window area when the user places two fingers in the small video window area, and then the two fingers are respectively extended outward, the small video window area also stretches as the finger touches and stretches.
  • the two fingers are respectively contracted inward, and the small video window area also shrinks as the finger touches and shrinks.
  • the method for adjusting a video window by multi-touch in the embodiment of the present application, by monitoring the touch stretching and scaling the size and position of the small window in the video call, so that the video call is simpler, and the user can make the user's operation as desired. More humane feedback.
  • a multi-touch adjustment video window method includes the following steps:
  • Step 210 Receive a touch signal, determine that the touch signal is a multi-touch signal, and determine that a start position of at least two touch signals in the multi-touch signal is located in the video window;
  • step 110 receiving the touch signal, determining that the touch signal is a multi-touch signal, and determining more The starting position of at least two touch signals in the touch signal is located in the video window.
  • Step 220 Acquire at least two touch operations in different directions performed by the user, and at least two operations in different directions include a first operation and a second operation;
  • At least two different directions of the touch operation performed by the user are obtained, and the operation of the at least two different directions includes the first operation and the second operation.
  • the specific operations refer to the steps of the embodiment corresponding to FIG. 120.
  • Step 230 determining a first time touch point position and a second time touch point position of the first path operation, the first time is earlier than the second time;
  • a plurality of continuously changing positions of the touch points form a touch operation.
  • a plurality of consecutive touch points are actually generated.
  • the first time touch point position and the second time touch point position of the first path operation are determined, and the first time is earlier than the second time. Since the first time is earlier than the second time, the direction of the first way operation can be judged.
  • Step 240 determining a first time touch point position and a second time touch point position of the second path operation, the first time being earlier than the second time;
  • the first time touch point position and the second time touch point position of the second way operation are determined, and the first time is earlier than the second time. Since the first time is earlier than the second time, the direction of the second way operation can be judged.
  • Step 250 Determine a touch point in the first coordinate operation of the first operation and a first time on the second operation in the horizontal direction from the vertex of the video window, and the video window vertex is a video window plane. The closest point of the four points to the origin of the coordinate;
  • the first time touch point of the first operation and the first time touch point of the second operation are determined to be closer to the touch point of the video window in the abscissa direction, that is, two paths are determined.
  • the position of the touch point in the starting touch point position of the operation that is closer to the vertex of the video window.
  • the first operation and the second operation at the same time point, determine the position of the touch point closer to the apex of the video window in the two operations.
  • the video window vertex is the point closest to the coordinate origin among the four points of the video window plane.
  • the coordinate origin can be set in the upper left corner of the display screen, and the vertices of the video window are correspondingly in the upper left corner of the video window.
  • the origin of the coordinate can be set in the lower left corner of the display screen, and the vertices of the video window are correspondingly in the lower left corner of the video window.
  • the embodiments of the present application are not limited.
  • Step 260 determining a position change of the video window in the abscissa direction by a position change of the touch point that is closer to the vertex of the video window in the abscissa direction.
  • the positional change of the video window in the abscissa direction is determined by the positional change of the touch point that is closer to the vertex of the video window in the abscissa direction. That is, when a touch point that is closer to the apex of the video window in the abscissa direction moves in a certain direction, the video window also moves in the same direction. Specifically, when a touch point that is closer to the vertex of the video window in the abscissa direction moves a certain value in a certain direction, the video window also moves the same specific value in the same direction.
  • the position change of the video window in the abscissa direction may also be determined by the position change of the touch point farther from the vertex of the video window in the abscissa direction, and the two methods are similar.
  • the embodiments of the present application are not described herein.
  • FIG. 3 is a flowchart of still another embodiment of a multi-touch adjustment video window method according to the present application. As shown in FIG. 3, a multi-touch adjustment video window method according to an embodiment of the present application includes the following steps:
  • Step 310 Receive a touch signal, determine that the touch signal is a multi-touch signal, and determine that a start position of at least two touch signals in the multi-touch signal is located in the video window;
  • the touch signal is received, the touch signal is determined to be a multi-touch signal, and the start position of at least two touch signals in the multi-touch signal is determined to be located in the video window, and the specific operation may be referred to Figure 110 corresponds to step 110 of the embodiment.
  • Step 320 Acquire at least two touch operations in different directions performed by the user, and at least two operations in different directions include a first operation and a second operation;
  • At least two different directions of the touch operation performed by the user are obtained, and the operation of the at least two different directions includes the first operation and the second operation.
  • the specific operations refer to the steps of the embodiment corresponding to FIG. 120.
  • Step 330 Determine a first time touch point position and a second time touch point position of the first path operation, where the first time is earlier than the second time;
  • the first time touch point position and the second time touch point position of the first path operation are determined, and the first time is earlier than the second time.
  • the specific operation refer to step 230 of the embodiment corresponding to FIG. 2 . .
  • Step 340 determining a first time touch point position and a second time touch point position of the second path operation, the first time being earlier than the second time;
  • the first time touch point position and the second time touch point position of the second operation are determined, and the first time is earlier than the second time.
  • the specific operation refer to step 240 of the embodiment corresponding to FIG. 2 . .
  • Step 350 Determine a touch point that is closer to the vertices of the video window in the ordinate direction of the first time touch point of the first path operation and the first time touch point of the second path operation, and the video window vertex is the video window plane. The closest point of the four points to the origin of the coordinate;
  • the first time touch point of the first way operation and the first time touch point of the second way operation are determined to be closer to the touch point of the video window vertex in the ordinate direction, that is, two paths are determined.
  • the first operation and the second operation at the same time point, determine the position of the touch point closer to the apex of the video window in the two operations.
  • the video window vertex is the point closest to the coordinate origin among the four points of the video window plane.
  • the coordinate origin can be set in the upper left corner of the display screen, and the vertices of the video window are correspondingly in the upper left corner of the video window.
  • the origin of the coordinate can be set in the lower left corner of the display screen, and the vertices of the video window are correspondingly in the lower left corner of the video window.
  • the embodiments of the present application are not limited.
  • Step 360 determining a position change of the video window in the ordinate direction by a position change of the touch point that is closer to the apex of the video window in the ordinate direction.
  • the positional change of the video window in the ordinate direction is determined by the positional change of the touch point that is closer to the apex of the video window in the ordinate direction. That is, when a touch point that is closer to the apex of the video window in the ordinate direction moves in a certain direction, the video window also moves in the same direction. Specifically, when a touch point that is closer to the apex of the video window in the ordinate direction moves a certain value in a certain direction, the video window also moves the same specific value in the same direction.
  • the positional change of the video window in the ordinate direction can also be determined by the positional change of the touch point farther from the apex of the video window in the ordinate direction, and the two methods are similar.
  • the embodiments of the present application are not described herein.
  • the positional change of the video window in the ordinate direction is determined by the position change of the touch point that is closer to the apex of the video window in the ordinate direction, so that the dragging of the video window by the multi-touch is realized.
  • a multi-touch adjustment video window method according to an embodiment of the present application includes the following steps:
  • Step 410 Receive a touch signal, determine that the touch signal is a multi-touch signal, and determine that a start position of at least two touch signals in the multi-touch signal is located in the video window;
  • the touch signal is received, the touch signal is determined to be a multi-touch signal, and the start position of at least two touch signals in the multi-touch signal is determined to be located in the video window, and the specific operation may be referred to Figure 110 corresponds to step 110 of the embodiment.
  • Step 420 Acquire at least two touch operations in different directions performed by the user, and at least two operations in different directions include a first operation and a second operation;
  • At least two different directions of the touch operation performed by the user are obtained, and the operation of the at least two different directions includes the first operation and the second operation.
  • the specific operations refer to the steps of the embodiment corresponding to FIG. 120.
  • Step 430 determining a first time touch point position and a second time touch point position of the first path operation, the first time being earlier than the second time;
  • the first time touch point position and the second time touch point position of the first path operation are determined, and the first time is earlier than the second time.
  • the specific operation refer to step 230 of the embodiment corresponding to FIG. 2 . .
  • Step 440 determining a first time touch point position and a second time touch point position of the second path operation, the first time being earlier than the second time;
  • the first time touch point position and the second time touch point position of the second operation are determined, and the first time is earlier than the second time.
  • the specific operation refer to step 240 of the embodiment corresponding to FIG. 2 . .
  • Step 450 determining a first distance between the second time touch point of the first way operation and the second time touch point of the second way operation on the abscissa, and determining the first time touch point of the first way operation a second distance from the first time touch point of the second way operation on the abscissa;
  • determining a first distance between the second time touch point of the first way operation and the second time touch point of the second way operation on the abscissa it can be understood that the second operation of the first way
  • the distance between the time touch point and the second time touch point of the second operation on the abscissa is the distance of the position where the user's two fingers stay on the abscissa at the second time.
  • determining a second distance between the first time touch point of the first way operation and the first time touch point of the second way operation on the abscissa it can be understood that the first operation of the first way
  • the distance between the time touch point and the first time touch point of the second way operation on the abscissa is the distance of the position where the user's two fingers stay on the abscissa at the first time.
  • the change of the user's finger touch position is whether the video window is expected to be enlarged or reduced.
  • the user wants to enlarge the video window in the abscissa direction, and when the second distance is smaller than the first distance, the user wants to reduce the video window in the abscissa direction.
  • Step 460 determining the changed length of the video window in the abscissa direction according to the first distance and the second distance and the initial length of the video window in the abscissa direction.
  • the change of the user's finger touch position is whether the video window is expected to be enlarged or reduced. Therefore, in this step, the changed length of the video window in the abscissa direction is determined according to the first distance and the second distance and the initial length of the video window in the abscissa direction.
  • determining the changed length of the video window in the abscissa direction according to the first distance and the second distance and the initial length of the video window in the abscissa direction including:
  • the ratio of the first distance to the second distance is calculated, and the product of the ratio and the initial length of the video window in the abscissa direction is the length of the video window that is changed in the abscissa direction.
  • the ratio of the change of the video window in the abscissa direction is the ratio of the distance between the user's later two fingers and the distance between the user's initial finger.
  • determining the changed length of the video window in the abscissa direction according to the first distance and the second distance and the initial length of the video window in the abscissa direction including: calculating a difference between the first distance and the second distance, to calculate a difference
  • the sum of the value and the initial length of the video window in the abscissa direction is the length of the video window in the abscissa direction.
  • the difference in the change in the horizontal axis direction of the video window is based on the difference between the distance between the user's later two fingers and the distance between the user's initial finger.
  • FIG. 5 is a flowchart of still another embodiment of a multi-touch adjustment video window method according to the present application. As shown in FIG. 5, a multi-touch adjustment video window method according to an embodiment of the present application includes the following steps:
  • Step 510 Receive a touch signal, determine that the touch signal is a multi-touch signal, and determine that a start position of at least two touch signals in the multi-touch signal is located in the video window;
  • the touch signal is received, the touch signal is determined to be a multi-touch signal, and the start position of at least two touch signals in the multi-touch signal is determined to be located in the video window, and the specific operation may be referred to Figure 110 corresponds to step 110 of the embodiment.
  • Step 520 Acquire at least two touch operations in different directions performed by the user, and at least two operations in different directions include a first operation and a second operation;
  • At least two different directions of the touch operation performed by the user are obtained, and the operation of the at least two different directions includes the first operation and the second operation.
  • the specific operations refer to the steps of the embodiment corresponding to FIG. 120.
  • Step 530 determining a first time touch point position and a second time touch point position of the first path operation, the first time being earlier than the second time;
  • the first time touch point position and the second time touch point position of the first path operation are determined, and the first time is earlier than the second time.
  • the specific operation refer to step 230 of the embodiment corresponding to FIG. 2 . .
  • Step 540 Determine a first time touch point position and a second time touch point position of the second path operation, where the first time is earlier than the second time;
  • the first time touch point position and the second time touch point position of the second operation are determined, and the first time is earlier than the second time.
  • the specific operation refer to step 240 of the embodiment corresponding to FIG. 2 . .
  • Step 550 determining a third distance between the second time touch point of the first way operation and the second time touch point of the second way operation on the ordinate, and determining the first time touch point of the first way operation a fourth distance from the first time touch point on the ordinate with the second way operation;
  • determining a third distance between the second time touch point of the first way operation and the second time touch point of the second way operation on the ordinate it can be understood that the second operation of the first way
  • the distance between the time touch point and the second time touch point of the second operation on the ordinate is the distance on the ordinate of the position where the user's two fingers stay at the second time.
  • determining a fourth distance between the first time touch point of the first way operation and the first time touch point of the second way operation on the ordinate it can be understood that the first operation of the first way
  • the distance between the time touch point and the first time touch point of the second way operation on the ordinate is the distance on the ordinate of the position where the user's two fingers stay at the first time.
  • the user When the fourth distance is greater than the third distance, the user wants to enlarge the video window in the ordinate direction, and when the fourth distance is smaller than the third distance, the user wants to reduce the video window in the ordinate direction.
  • Step 560 determining the changed length of the video window in the ordinate direction according to the third distance and the fourth distance and the initial length of the video window in the ordinate direction.
  • the changed length of the video window in the ordinate direction is determined according to the fourth distance and the third distance and the initial length of the video window in the ordinate direction.
  • determining the changed length of the video window in the ordinate direction according to the third distance and the fourth distance and the initial length of the video window in the ordinate direction including: calculating the third distance and the first The ratio of the four distances is the product of the ratio of the ratio to the initial length of the video window in the ordinate direction as the length of the video window in the ordinate direction.
  • the ratio of the change in the ordinate direction of the video window is based on the ratio of the distance between the two fingers of the user and the distance between the user's initial finger.
  • determining the changed length of the video window in the ordinate direction according to the third distance and the fourth distance and the initial length of the video window in the ordinate direction including: calculating a difference between the third distance and the fourth distance, The sum of the value and the initial length of the video window in the ordinate direction is the length of the video window which is changed in the ordinate direction.
  • the difference in the change in the ordinate direction of the video window is based on the difference between the distance between the user's later two fingers and the distance between the user's initial finger.
  • FIG. 6 is a schematic structural diagram of an embodiment of a multi-touch adjustment video window device according to the present application.
  • the multi-touch adjustment video window device of the embodiment of the present application includes: a receiving module 610, an obtaining module 620, and a drag and zoom module 630.
  • the receiving module 610 is configured to receive the touch signal, determine that the touch signal is a multi-touch signal, and determine that the start position of the at least two touch signals in the multi-touch signal is located in the video window;
  • the operation performed by the receiving module 610 can be referred to step 110 of the embodiment corresponding to FIG. 1.
  • the obtaining module 620 is configured to obtain at least two different touch operations in different directions, and the at least two operations in different directions include a first operation and a second operation;
  • the drag and zoom module 630 is configured to drag and zoom the video window according to two different touch operations in different directions.
  • step 130 of the embodiment corresponding to FIG. 1 The operations performed by the drag and zoom module 630 can be seen in step 130 of the embodiment corresponding to FIG.
  • the method for adjusting a video window by multi-touch in the embodiment of the present application, by monitoring the touch stretching and scaling the size and position of the small window in the video call, so that the video call is simpler, and the user can make the user's operation as desired. More humane feedback.
  • FIG. 7 is a schematic structural diagram of another embodiment of a multi-touch adjustment video window device according to the present application.
  • the multi-touch adjustment video window device of the embodiment of the present application includes: a receiving module 610, an obtaining module 620, and a drag and zoom module 630, wherein the specific operations of each module in this embodiment can be seen in FIG. 6 .
  • the drag and zoom module 630 includes:
  • the first determining module 631 is configured to determine a first time touch point position and a second time touch point position of the first path operation, where the first time is earlier than the second time;
  • the operation performed by the first determining module 631 can be referred to step 230 of the embodiment corresponding to FIG. 2.
  • the second determining module 632 is configured to determine a first time touch point position and a second time touch point position of the second path operation, where the first time is earlier than the second time;
  • the operation performed by the second determining module 632 can be referred to step 240 of the embodiment corresponding to FIG. 2.
  • the third determining module 633 is configured to determine a touch point that is closer to the vertices of the video window in the horizontal coordinate direction of the first time touch point of the first road operation and the first time touch point of the second road operation, the video window The vertex is the point closest to the coordinate origin from the four points of the video window plane;
  • the operation performed by the third determining module 633 can be referred to step 250 of the embodiment corresponding to FIG. 2.
  • the fourth determining module 634 is configured to determine a position change of the video window in the abscissa direction by a position change of the touch point that is closer to the apex of the video window in the abscissa direction.
  • FIG. 8 is a schematic structural diagram of still another embodiment of a multi-touch adjustment video window device according to the present application.
  • the multi-touch adjustment video window device of the embodiment of the present application includes: a receiving module 610, The obtaining module 620, the dragging and scaling module 630, wherein the specific operations of the modules in this embodiment may refer to corresponding modules of the embodiment corresponding to FIG. 6, wherein
  • the drag and zoom module 630 includes:
  • the first determining module 631 is configured to determine a first time touch point position and a second time touch point position of the first path operation, where the first time is earlier than the second time;
  • the operation performed by the first determining module 631 can be referred to step 230 of the embodiment corresponding to FIG. 2.
  • the second determining module 632 is configured to determine a first time touch point position and a second time touch point position of the second path operation, where the first time is earlier than the second time;
  • the operation performed by the second determining module 632 can be referred to step 240 of the embodiment corresponding to FIG. 2.
  • the fifth determining module 635 is configured to determine a touch point that is closer to the vertices of the video window in the ordinate direction of the first time touch point of the first road operation and the first time touch point of the second road operation, the video window The vertex is the point closest to the coordinate origin from the four points of the video window plane;
  • the operation performed by the fifth determining module 635 can be referred to step 350 of the embodiment corresponding to FIG. 3.
  • the sixth determining module 636 is configured to determine a positional change of the video window in the ordinate direction by a position change of the touch point that is closer to the apex of the video window in the ordinate direction.
  • the positional change of the video window in the ordinate direction is determined by the position change of the touch point that is closer to the apex of the video window in the ordinate direction, so that the dragging of the video window by the multi-touch is realized.
  • FIG. 9 is a schematic structural diagram of still another embodiment of a multi-touch adjustment video window device according to the present application.
  • the multi-touch adjustment video window device of the embodiment of the present application includes: a receiving module 610, an obtaining module 620, and a drag and zoom module 630, wherein the specific operations of each module in this embodiment can be seen in FIG. 6 .
  • the drag and zoom module 630 includes:
  • the first determining module 631 is configured to determine a first time touch point position and a second time touch point position of the first path operation, where the first time is earlier than the second time;
  • the operation performed by the first determining module 631 can be referred to step 230 of the embodiment corresponding to FIG. 2.
  • the second determining module 632 is configured to determine a first time touch point position and a second time touch point position of the second path operation, where the first time is earlier than the second time;
  • the operation performed by the second determining module 632 can be referred to step 240 of the embodiment corresponding to FIG. 2.
  • the seventh determining module 637 is configured to determine a first time of the second time touch point of the first way operation and a second time touch point of the second way operation on the abscissa, and determine the first operation of the first way a second distance between the touch point and the first time touch point of the second operation on the abscissa;
  • the eighth determining module 638 is configured to determine a changed length of the video window in the abscissa direction according to the first distance and the second distance and an initial length of the video window in the abscissa direction.
  • the eighth determining module 638 includes: an abscissa change determining module configured to calculate a ratio of the first distance and the second distance, the product of the ratio and the initial length of the video window in the abscissa direction as the video window on the abscissa The direction is the length after the change; or
  • the eighth determining module 638 includes: an ordinate change determining module configured to calculate a difference between the first distance and the second distance, and the sum of the difference and the initial length of the video window in the abscissa direction as the video window in the abscissa direction Is the length after the change.
  • FIG. 10 is a schematic structural diagram of still another embodiment of a multi-touch adjustment video window device according to the present application.
  • the multi-touch adjustment video window device of the embodiment of the present application includes: a receiving module 610, an obtaining module 620, and a drag and zoom module 630, wherein the specific operations of each module in this embodiment can be seen in FIG.
  • the drag and zoom module 630 includes:
  • the first determining module 631 is configured to determine a first time touch point position and a second time touch point position of the first path operation, where the first time is earlier than the second time;
  • the operation performed by the first determining module 631 can be referred to step 230 of the embodiment corresponding to FIG. 2.
  • the second determining module 632 is configured to determine a first time touch point position and a second time touch point position of the second path operation, where the first time is earlier than the second time;
  • the operation performed by the second determining module 632 can be referred to step 240 of the embodiment corresponding to FIG. 2.
  • the ninth determining module 639 is configured to determine a third distance of the second time touch point of the first path operation and the second time touch point of the second path operation on the ordinate, and determine the first operation of the first road a fourth distance between the touch point and the first time touch point of the second way operation on the ordinate;
  • the tenth determining module 641 is configured to determine a changed length of the video window in the ordinate direction according to the third distance and the fourth distance and an initial length of the video window in the ordinate direction.
  • the tenth determining module 641 includes: a ordinate change determining module configured to calculate a ratio of the third distance and the fourth distance, the product of the ratio and the initial length of the video window in the ordinate direction as the video window on the ordinate The direction is the length after the change; or
  • the tenth determining module 641 includes: an abscissa change determining module configured to calculate a difference between the third distance and the fourth distance, and the sum of the difference and the initial length of the video window in the ordinate direction as the video window in the ordinate direction Is the length after the change.
  • the two points of the video call are in the small window video area. If the video window is not stretched and scaled in the video area of the small window, if it is in the small window video area, the movement of the two fingers is monitored.
  • Position coordinate a0 (x0, y0) pressed by A finger position coordinate b0 (x00, y00) when B finger is pressed, position coordinate a1 (x1, y1) where A finger keeps moving, position coordinate b1 where B finger moves continuously (x11, y11), position coordinate a2 (x2, y2) where A finger is raised, and position coordinate b2 (x22, y22) where B finger is raised.
  • the x, x0, and x00 are compared, the point closer to x, and the next movement changes the position of the abscissa x. (ie compare the values of x0-x and x00-x).
  • the y, y0, and y00 are compared, and the next movement of the point close to y changes the position of the ordinate y. (ie compare the values of y0-y and y00-y).
  • x00 is close to x, passing x11-x00+x as the x-axis coordinate.
  • the width is calculated by x1-x0+
  • the width is calculated by w-(x11-x00)-
  • the width is calculated by (x1-x0)-(x11-x00)+w.
  • the width is calculated by (x1-x0)-(x11-x00)+w.
  • y0 is closer to y, and y1-y0+y is used as the y-axis coordinate.
  • the height is calculated by h-(y1-y0)-
  • the height is calculated by (y11-y00)-(y1-y0)+h.
  • the height is calculated by (y11-y00)-(y1-y0)+h.
  • the video window can be drawn.
  • the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without deliberate labor.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种多点触控调整视频窗口的方法及设备,其方法,包括:接收触控信号,确定触控信号为多点触控信号,并且确定多点触控信号中至少有两点触控信号的起始位置位于视频窗口内;获取用户进行的至少两路不同方向的触控操作,至少两路不同方向的操作包括第一路操作和第二路操作;根据两路不同方向的触控操作对视频窗口进行拖曳和缩放。本申请实施例提供的多点触控调整视频窗口的方法及设备,通过监听触控拉伸和缩放视频通话中小窗的尺寸和位置,这样就让视频通话更简单,让用户随心所欲按照用户的操作做出更加人性化的反馈。

Description

多点触控调整视频窗口的方法及设备
本申请要求于2015年12月14日提交中国专利局、申请号为2015109442577,发明名称为“多点触控调整视频窗口的方法及设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请实施例涉及人机交互技术领域,尤其涉及一种多点触控调整视频窗口的方法及设备。
背景技术
触控技术人们并不陌生,银行的取款机大多有触摸屏功能,很多医院、图书馆等的大厅都有这种触控技术的电脑,支持触摸屏的手机、MP3、数码相机也很多。但是这些已经存在的触控屏幕都是单点触控,只能识别和支持每次一个手指的触控、点击,若同时有两个以上的点被触碰,就不能做出正确反应,而多点触控技术能把任务分解为两个方面的工作,一是同时采集多点信号,二是对每路信号的意义进行判断,也就是所谓的手势识别,从而实现屏幕识别人的五个手指同时做的点击、触控动作。
触控技术能实现友善、直觉、方便易用的使用者介面,已成为现今最受欢迎的人机界面技术之一,尤其是能进行多点触控辨识的触控技术。触控技术是以触控面板感测触控物(如使用者的手指)的触控坐标位置,据此得知使用者所欲进行的操控动作。要进一步实现多点触控,首要之事便是判断使用者的触控属于单指触控事件或多点触控事件,然后才能正确地依据单指触控事件与多点触控事件所分别对应的处理规则分析出使用者欲进行的操控。
多点触控的出现是鼠标出现后用户控制界面的又一次全新升级,这种全新的用户界面通过创新的软件支持和超大的多点触控屏幕,能够通过手指轻松控制一切。
触控市场概念随着Windows 7开启多点触控技术应用的新风潮,以及苹果iPad等触控产品的闪亮登场,触醒了长期沉睡的UI(用户界面)市场。各大市场调查公司都对触控市场产生了浓厚的兴趣,尽管他们对市场的分析数字与角度不尽相同,但可以看出触摸产品的旺盛生机。
目前触控技术在便捷式设备上广泛应用,将来便捷式设备上的应用程序将逐渐趋于支持触控式的控制,像目前用户在很多的便捷式产品上都可以接 触到的图片浏览器、网页浏览等功能是基于多点触控技术来实现的,因此视频播放器基于多点触摸控制是可以增加用户体验感最佳方式。
随着智能4G网络的普及和速度的提升,人与人之间的沟通越来越多的利用网络,如微信、QQ,可以发文字、发语音、甚至发视频。其中,视频通话尤其方便,可以让身处异地的人们,仿佛就在对面一般,随着时代和科技的进步移动设备网速的提升,视频通话将更加受人尊宠。所以视频通话界面与人交互的人性化就尤为重要。
目前微信,QQ等视频通话应用对视频图像的操作都是,可以监听用户单指触控,随手指移动而移动。在实现本申请过程中,发明人发现现有方案的问题是不能够随用户的手指触控,而放大缩小视频大小,人机界面交互不够人性化。
发明内容
本申请实施例提供一种多点触控调整视频窗口的方法及设备,能够在视频通话中,随用户的手指触控,放大缩小或移动视频显示,提高人机界面交互的智能程度。
本申请实施例提供一种多点触控调整视频窗口的方法,包括:
接收触控信号,确定触控信号为多点触控信号,并且确定多点触控信号中至少有两点触控信号的起始位置位于视频窗口内;
获取用户进行的至少两路不同方向的触控操作,至少两路不同方向的操作包括第一路操作和第二路操作;
根据两路不同方向的触控操作对视频窗口进行拖曳和缩放。
本申请实施例提供一种多点触控调整视频窗口设备,包括:
接收模块,设置为接收触控信号,确定触控信号为多点触控信号,并且确定多点触控信号中至少有两点触控信号的起始位置位于视频窗口内;
获取模块,设置为获取用户进行的至少两路不同方向的触控操作,至少两路不同方向的操作包括第一路操作和第二路操作;
拖曳和缩放模块,设置为根据两路不同方向的触控操作对视频窗口进行拖曳和缩放。
本申请实施例还提供一种在其上记录有用于执行上述方法的程序的计算机可读记录介质。
本申请实施例提供的多点触控调整视频窗口的方法及设备,通过监听触控拉伸和缩放视频通话中小窗的尺寸和位置,这样就让视频通话更简单,让用户随心所欲按照用户的操作做出更加人性化的反馈。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本申请多点触控调整视频窗口方法一实施例流程图;
图2为本申请多点触控调整视频窗口方法另一实施例流程图;
图3为本申请多点触控调整视频窗口方法又一实施例流程图;
图4为本申请多点触控调整视频窗口方法再一实施例流程图;
图5为本申请多点触控调整视频窗口方法再一实施例流程图;
图6为本申请多点触控调整视频窗口设备一实施例结构示意图;
图7为本申请多点触控调整视频窗口设备另一实施例结构示意图;
图8为本申请多点触控调整视频窗口设备再一实施例结构示意图;
图9为本申请多点触控调整视频窗口设备又一实施例结构示意图;
图10为本申请多点触控调整视频窗口设备又一实施例结构示意图。
具体实施方式
本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
图1为本申请多点触控调整视频窗口方法一实施例流程图。根据图1所示,本申请实施例一种多点触控调整视频窗口方法包括以下步骤:
步骤110,接收触控信号,确定触控信号为多点触控信号,并且确定多点触控信号中至少有两点触控信号的起始位置位于视频窗口内;
触控面板中埋设有多个感测电极,以提供多个感应量(如电容变化量),触控面板通过感测点击接收触控信号,这些可以通过现有技术实现。在本步 骤中,需要确定所接收的触控信号为多个,确定触控信号为多点触控信息,并且确定多点触控信号中至少有两点触控信号的起始位置位于视频窗口内。
具体而言,在触控面板中可能存在两个视频窗口,例如,一个大视频窗口用来显示视频通话对方的视频信息,一个小视频窗口用来显示视频通话本端的视频信号。当用户需要调整该小视频窗口,需要用户在该小视频窗口进行至少有两点触控,也就是有至少两点触控信号的起始位置位于小视频窗口内。当有至少两点触控信号落在大视频窗口而不在小视频窗口的范围,则可以通过这两点对大视频窗口进行操作。
步骤120,获取用户进行的至少两路不同方向的触控操作,至少两路不同方向的操作包括第一路操作和第二路操作;
可以理解的是,当有至少两个触控点信号时,这两个触控点分别开始位移而形成至少两路不同方向的触控操作,在本步骤中,获取用户进行的至少两路不同方向的触控能够操作,在本申请实施例中,为了区别说明,可以将这两路不同方向的操作称为第一路操作和第二路操作。在后续的说明中,可以理解,第一路操作和第二路操作都是指用户在触控面板上的触控操作。
步骤130,根据两路不同方向的触控操作对视频窗口进行拖曳和缩放。
根据这两路不同方向的触控操作,改变视频窗口的位置,以及对视频窗口进行缩小或放大。
例如,当用户两个手指放在小视频窗口区域内,然后两个手指分别向外伸展,小视频窗口区域也会随着手指的触碰伸展而伸展。当两个手指放在小视频窗口区域内,然后两个手指分别向内收缩,小视频窗口区域内也会随着手指的触碰收缩而收缩。
本申请实施例提供的多点触控调整视频窗口的方法,通过监听触控拉伸和缩放视频通话中小窗的尺寸和位置,这样就让视频通话更简单,让用户随心所欲按照用户的操作做出更加人性化的反馈。
图2为本申请多点触控调整视频窗口方法另一实施例流程图。根据图2所示,本申请实施例一种多点触控调整视频窗口方法包括以下步骤:
步骤210,接收触控信号,确定触控信号为多点触控信号,并且确定多点触控信号中至少有两点触控信号的起始位置位于视频窗口内;
本步骤中,接收触控信号,确定触控信号为多点触控信号,并且确定多 点触控信号中至少有两点触控信号的起始位置位于视频窗口内,具体执行的操作可以参见图1对应的实施例的步骤110。
步骤220,获取用户进行的至少两路不同方向的触控操作,至少两路不同方向的操作包括第一路操作和第二路操作;
本步骤中,获取用户进行的至少两路不同方向的触控操作,至少两路不同方向的操作包括第一路操作和第二路操作,具体执行的操作可以参见图1对应的实施例的步骤120。
步骤230,确定第一路操作的第一时间触控点位置和第二时间触控点位置,第一时间早于第二时间;
可以理解的是,多个连续变化位置的触控点形成一路触控操作。当用户手指在视频区域的滑动时,实际产生多个连续的触控点。在本步骤中,确定第一路操作的第一时间触控点位置和第二时间触控点位置,第一时间早于第二时间。由于第一时间早于第二时间因此可以判断该第一路操作的走向。
步骤240,确定第二路操作的第一时间触控点位置和第二时间触控点位置,第一时间早于第二时间;
在本步骤中,确定第二路操作的第一时间触控点位置和第二时间触控点位置,第一时间早于第二时间。由于第一时间早于第二时间因此可以判断该第二路操作的走向。
步骤250,确定第一路操作的第一时间触控点和第二路操作的第一时间触控点中在横坐标方向距离视频窗口顶点较近的触控点,视频窗口顶点为视频窗口平面的四个点中距离坐标原点最近的点;
在本步骤中,确定第一路操作的第一时间触控点和第二路操作的第一时间触控点中在横坐标方向距离视频窗口顶点较近的触控点,也就是确定两路操作的起始触控点位置中离视频窗口顶点更近的触控点的位置。或者是在第一路操作和第二路操作中,在同一个时间点上,确定两路操作中离视频窗口顶点更近的触控点的位置。可以理解的是,视频窗口顶点为视频窗口平面的四个点中距离坐标原点最近的点。具体的,可以将坐标原点设置在显示屏的左上角,此时视频窗口顶点也相应的在视频窗口的左上角。而可以将坐标原点设置在显示屏的左下角,此时视频窗口顶点也相应的在视频窗口的左下角。对此,本申请实施例不作限制。
步骤260,以在横坐标方向距离视频窗口顶点较近的触控点的位置变化确定视频窗口在横坐标方向的位置变化。
在本步骤中,以在横坐标方向距离视频窗口顶点较近的触控点的位置变化确定视频窗口在横坐标方向的位置变化。也就是,当在横坐标方向距离视频窗口顶点较近的触控点向某个方向移动,则视频窗口也向这个相同的方向移动。具体的,当在横坐标方向距离视频窗口顶点较近的触控点向某个方向移动某个具体数值,则视频窗口也向这个相同的方向移动这个相同的具体数值。可以理解的是,在本申请中,也可以以在横坐标方向距离视频窗口顶点较远的触控点的位置变化确定视频窗口在横坐标方向的位置变化,两种方式是类似的。为了说明简洁本申请实施例不做赘述。
在本申请实施例中,通过以在横坐标方向距离视频窗口顶点较近的触控点的位置变化确定视频窗口在横坐标方向的位置变化,实现了通过多点触碰对视频窗口的拖曳。
图3为本申请多点触控调整视频窗口方法又一实施例流程图。根据图3所示,本申请实施例一种多点触控调整视频窗口方法包括以下步骤:
步骤310,接收触控信号,确定触控信号为多点触控信号,并且确定多点触控信号中至少有两点触控信号的起始位置位于视频窗口内;
本步骤中,接收触控信号,确定触控信号为多点触控信号,并且确定多点触控信号中至少有两点触控信号的起始位置位于视频窗口内,具体执行的操作可以参见图1对应的实施例的步骤110。
步骤320,获取用户进行的至少两路不同方向的触控操作,至少两路不同方向的操作包括第一路操作和第二路操作;
本步骤中,获取用户进行的至少两路不同方向的触控操作,至少两路不同方向的操作包括第一路操作和第二路操作,具体执行的操作可以参见图1对应的实施例的步骤120。
步骤330,确定第一路操作的第一时间触控点位置和第二时间触控点位置,第一时间早于第二时间;
本步骤中,确定第一路操作的第一时间触控点位置和第二时间触控点位置,第一时间早于第二时间,具体执行的操作可以参见图2对应的实施例的步骤230。
步骤340,确定第二路操作的第一时间触控点位置和第二时间触控点位置,第一时间早于第二时间;
本步骤中,确定第二路操作的第一时间触控点位置和第二时间触控点位置,第一时间早于第二时间,具体执行的操作可以参见图2对应的实施例的步骤240。
步骤350,确定第一路操作的第一时间触控点和第二路操作的第一时间触控点中在纵坐标方向距离视频窗口顶点较近的触控点,视频窗口顶点为视频窗口平面的四个点中距离坐标原点最近的点;
在本步骤中,确定第一路操作的第一时间触控点和第二路操作的第一时间触控点中在纵坐标方向距离视频窗口顶点较近的触控点,也就是确定两路操作的起始触控点位置中离视频窗口顶点更近的触控点的位置。或者是在第一路操作和第二路操作中,在同一个时间点上,确定两路操作中离视频窗口顶点更近的触控点的位置。可以理解的是,视频窗口顶点为视频窗口平面的四个点中距离坐标原点最近的点。具体的,可以将坐标原点设置在显示屏的左上角,此时视频窗口顶点也相应的在视频窗口的左上角。而可以将坐标原点设置在显示屏的左下角,此时视频窗口顶点也相应的在视频窗口的左下角。对此,本申请实施例不作限制。
步骤360,以在纵坐标方向距离视频窗口顶点较近的触控点的位置变化确定视频窗口在纵坐标方向的位置变化。
在本步骤中,以在纵坐标方向距离视频窗口顶点较近的触控点的位置变化确定视频窗口在纵坐标方向的位置变化。也就是,当在纵坐标方向距离视频窗口顶点较近的触控点向某个方向移动,则视频窗口也向这个相同的方向移动。具体的,当在纵坐标方向距离视频窗口顶点较近的触控点向某个方向移动某个具体的数值,则视频窗口也向这个相同的方向移动这个相同的具体数值。可以理解的是,在本申请中,也可以以在纵坐标方向距离视频窗口顶点较远的触控点的位置变化确定视频窗口在纵坐标方向的位置变化,两种方式是类似的。为了说明简洁本申请实施例不做赘述。
在本申请实施例中,通过以在纵坐标方向距离视频窗口顶点较近的触控点的位置变化确定视频窗口在纵坐标方向的位置变化,实现了通过多点触碰对视频窗口的拖曳。
图4为本申请多点触控调整视频窗口方法再一实施例流程图。根据图4所示,本申请实施例一种多点触控调整视频窗口方法包括以下步骤:
步骤410,接收触控信号,确定触控信号为多点触控信号,并且确定多点触控信号中至少有两点触控信号的起始位置位于视频窗口内;
本步骤中,接收触控信号,确定触控信号为多点触控信号,并且确定多点触控信号中至少有两点触控信号的起始位置位于视频窗口内,具体执行的操作可以参见图1对应的实施例的步骤110。
步骤420,获取用户进行的至少两路不同方向的触控操作,至少两路不同方向的操作包括第一路操作和第二路操作;
本步骤中,获取用户进行的至少两路不同方向的触控操作,至少两路不同方向的操作包括第一路操作和第二路操作,具体执行的操作可以参见图1对应的实施例的步骤120。
步骤430,确定第一路操作的第一时间触控点位置和第二时间触控点位置,第一时间早于第二时间;
本步骤中,确定第一路操作的第一时间触控点位置和第二时间触控点位置,第一时间早于第二时间,具体执行的操作可以参见图2对应的实施例的步骤230。
步骤440,确定第二路操作的第一时间触控点位置和第二时间触控点位置,第一时间早于第二时间;
本步骤中,确定第二路操作的第一时间触控点位置和第二时间触控点位置,第一时间早于第二时间,具体执行的操作可以参见图2对应的实施例的步骤240。
步骤450,确定第一路操作的第二时间触控点与第二路操作的第二时间触控点在横坐标上的第一距离,以及,确定第一路操作的第一时间触控点与第二路操作的第一时间触控点在横坐标上的第二距离;
在本步骤中,确定第一路操作的第二时间触控点与第二路操作的第二时间触控点在横坐标上的第一距离,可以理解的是,第一路操作的第二时间触控点与第二路操作的第二时间触控点在横坐标上的距离,就是在第二时间,用户两个手指停留的位置在横坐标上的距离。
在本步骤中,确定第一路操作的第一时间触控点与第二路操作的第一时间触控点在横坐标上的第二距离,可以理解的是,第一路操作的第一时间触控点与第二路操作的第一时间触控点在横坐标上的距离,就是在第一时间,用户两个手指停留的位置在横坐标上的距离。
根据第二距离和第一距离的大小比较,可以看出用户手指触碰位置的变化,是希望视频窗口放大还是缩小。
当第二距离大于第一距离时,说明用户在横坐标方向希望放大视频窗口,而当第二距离小于第一距离时,说明用户在横坐标方向希望缩小视频窗口。
步骤460,根据第一距离和第二距离以及视频窗口在横坐标方向上的初始长度确定视频窗口在横坐标方向上的变化后长度。
根据第二距离和第一距离的大小比较,可以看出用户手指触碰位置的变化,是希望视频窗口放大还是缩小。因此,在本步骤中,根据第一距离和第二距离以及视频窗口在横坐标方向上的初始长度确定视频窗口在横坐标方向上的变化后长度。
具体的,在本实施例中,根据第一距离和第二距离以及视频窗口在横坐标方向上的初始长度确定视频窗口在横坐标方向上的变化后长度,包括:
计算第一距离和第二距离的比例,以比例与视频窗口在横坐标方向上的初始长度的乘积作为视频窗口在横坐标方向是变化后的长度。
也就是,根据用户后来两个手指之间的距离与用户在初始手指之间的距离的比例,作为视频窗口在横坐标方向的变化的比例。
或者,根据第一距离和第二距离以及视频窗口在横坐标方向上的初始长度确定视频窗口在横坐标方向上的变化后长度,包括:计算第一距离和第二距离的差值,以差值与视频窗口在横坐标方向上的初始长度的和作为视频窗口在横坐标方向是变化后的长度。
也就是,根据用户后来两个手指之间的距离与用户在初始手指之间的距离的差值,作为视频窗口在横坐标方向的变化的差值。
图5为本申请多点触控调整视频窗口方法再一实施例流程图。根据图5所示,本申请实施例一种多点触控调整视频窗口方法包括以下步骤:
步骤510,接收触控信号,确定触控信号为多点触控信号,并且确定多点触控信号中至少有两点触控信号的起始位置位于视频窗口内;
本步骤中,接收触控信号,确定触控信号为多点触控信号,并且确定多点触控信号中至少有两点触控信号的起始位置位于视频窗口内,具体执行的操作可以参见图1对应的实施例的步骤110。
步骤520,获取用户进行的至少两路不同方向的触控操作,至少两路不同方向的操作包括第一路操作和第二路操作;
本步骤中,获取用户进行的至少两路不同方向的触控操作,至少两路不同方向的操作包括第一路操作和第二路操作,具体执行的操作可以参见图1对应的实施例的步骤120。
步骤530,确定第一路操作的第一时间触控点位置和第二时间触控点位置,第一时间早于第二时间;
本步骤中,确定第一路操作的第一时间触控点位置和第二时间触控点位置,第一时间早于第二时间,具体执行的操作可以参见图2对应的实施例的步骤230。
步骤540,确定第二路操作的第一时间触控点位置和第二时间触控点位置,第一时间早于第二时间;
本步骤中,确定第二路操作的第一时间触控点位置和第二时间触控点位置,第一时间早于第二时间,具体执行的操作可以参见图2对应的实施例的步骤240。
步骤550,确定第一路操作的第二时间触控点与第二路操作的第二时间触控点在纵坐标上的第三距离,以及,确定第一路操作的第一时间触控点与第二路操作的第一时间触控点在纵坐标上的第四距离;
在本步骤中,确定第一路操作的第二时间触控点与第二路操作的第二时间触控点在纵坐标上的第三距离,可以理解的是,第一路操作的第二时间触控点与第二路操作的第二时间触控点在纵坐标上的距离,就是在第二时间,用户两个手指停留的位置在纵坐标上的距离。
在本步骤中,确定第一路操作的第一时间触控点与第二路操作的第一时间触控点在纵坐标上的第四距离,可以理解的是,第一路操作的第一时间触控点与第二路操作的第一时间触控点在纵坐标上的距离,就是在第一时间,用户两个手指停留的位置在纵坐标上的距离。
根据第四距离和第三距离的大小比较,可以看出用户手指触碰位置的变 化,是希望视频窗口放大还是缩小。
当第四距离大于第三距离时,说明用户在纵坐标方向希望放大视频窗口,而当第四距离小于第三距离时,说明用户在纵坐标方向希望缩小视频窗口。
步骤560,根据第三距离和第四距离以及视频窗口在纵坐标方向上的初始长度确定视频窗口在纵坐标方向上的变化后长度。
根据第四距离和第三距离的大小比较,可以看出用户手指触碰位置的变化,是希望视频窗口放大还是缩小。因此,在本步骤中,根据第四距离和第三距离以及视频窗口在纵坐标方向上的初始长度确定视频窗口在纵坐标方向上的变化后长度。
具体的,在本申请实施例中,根据第三距离和第四距离以及视频窗口在纵坐标方向上的初始长度确定视频窗口在纵坐标方向上的变化后长度,包括:计算第三距离和第四距离的比例,以比例与视频窗口在纵坐标方向上的初始长度的乘积作为视频窗口在纵坐标方向是变化后的长度。
也就是,根据用户后来两个手指之间的距离与用户在初始手指之间的距离的比例,作为视频窗口在纵坐标方向的变化的比例。
或者,根据第三距离和第四距离以及视频窗口在纵坐标方向上的初始长度确定视频窗口在纵坐标方向上的变化后长度,包括:计算第三距离和第四距离的差值,以差值与视频窗口在纵坐标方向上的初始长度的和作为视频窗口在纵坐标方向是变化后的长度。
也就是,根据用户后来两个手指之间的距离与用户在初始手指之间的距离的差值,作为视频窗口在纵坐标方向的变化的差值。
图6为本申请多点触控调整视频窗口设备一实施例结构示意图。根据图6所述,本申请实施例多点触控调整视频窗口设备,包括:接收模块610,获取模块620,拖曳和缩放模块630,
接收模块610,设置为接收触控信号,确定触控信号为多点触控信号,并且确定多点触控信号中至少有两点触控信号的起始位置位于视频窗口内;
接收模块610所执行的操作可以参见图1所对应的实施例的步骤110。
获取模块620,设置为获取用户进行的至少两路不同方向的触控操作,至少两路不同方向的操作包括第一路操作和第二路操作;
获取模块620所执行的操作可以参见图1所对应的实施例的步骤120。
拖曳和缩放模块630,设置为根据两路不同方向的触控操作对视频窗口进行拖曳和缩放。
拖曳和缩放模块630所执行的操作可以参见图1所对应的实施例的步骤130。
本申请实施例提供的多点触控调整视频窗口的方法,通过监听触控拉伸和缩放视频通话中小窗的尺寸和位置,这样就让视频通话更简单,让用户随心所欲按照用户的操作做出更加人性化的反馈。
图7为本申请多点触控调整视频窗口设备另一实施例结构示意图。根据图7所述,本申请实施例多点触控调整视频窗口设备,包括:接收模块610,获取模块620,拖曳和缩放模块630,其中,本实施例中的各模块具体操作可以参见图6所对应的实施例的各相应模块,其中,
拖曳和缩放模块630包括:
第一确定模块631,设置为确定第一路操作的第一时间触控点位置和第二时间触控点位置,第一时间早于第二时间;
第一确定模块631所执行的操作可以参见图2所对应的实施例的步骤230。
第二确定模块632,设置为确定第二路操作的第一时间触控点位置和第二时间触控点位置,第一时间早于第二时间;
第二确定模块632所执行的操作可以参见图2所对应的实施例的步骤240。
第三确定模块633,设置为确定第一路操作的第一时间触控点和第二路操作的第一时间触控点中在横坐标方向距离视频窗口顶点较近的触控点,视频窗口顶点为视频窗口平面的四个点中距离坐标原点最近的点;
第三确定模块633所执行的操作可以参见图2所对应的实施例的步骤250。
第四确定模块634,设置为以在横坐标方向距离视频窗口顶点较近的触控点的位置变化确定视频窗口在横坐标方向的位置变化。
第四确定模块634所执行的操作可以参见图2所对应的实施例的步骤260。
在本申请实施例中,通过以在横坐标方向距离视频窗口顶点较近的触控点的位置变化确定视频窗口在横坐标方向的位置变化,实现了通过多点触碰对视频窗口的拖曳。
图8为本申请多点触控调整视频窗口设备再一实施例结构示意图。根据图8所述,本申请实施例多点触控调整视频窗口设备,包括:接收模块610, 获取模块620,拖曳和缩放模块630,其中,本实施例中的各模块具体操作可以参见图6所对应的实施例的各相应模块,其中,
拖曳和缩放模块630包括:
第一确定模块631,设置为确定第一路操作的第一时间触控点位置和第二时间触控点位置,第一时间早于第二时间;
第一确定模块631所执行的操作可以参见图2所对应的实施例的步骤230。
第二确定模块632,设置为确定第二路操作的第一时间触控点位置和第二时间触控点位置,第一时间早于第二时间;
第二确定模块632所执行的操作可以参见图2所对应的实施例的步骤240。
第五确定模块635,设置为确定第一路操作的第一时间触控点和第二路操作的第一时间触控点中在纵坐标方向距离视频窗口顶点较近的触控点,视频窗口顶点为视频窗口平面的四个点中距离坐标原点最近的点;
第五确定模块635所执行的操作可以参见图3所对应的实施例的步骤350。
第六确定模块636,设置为以在纵坐标方向距离视频窗口顶点较近的触控点的位置变化确定视频窗口在纵坐标方向的位置变化。
第六确定模块636所执行的操作可以参见图3所对应的实施例的步骤360。
在本申请实施例中,通过以在纵坐标方向距离视频窗口顶点较近的触控点的位置变化确定视频窗口在纵坐标方向的位置变化,实现了通过多点触碰对视频窗口的拖曳。
图9为本申请多点触控调整视频窗口设备又一实施例结构示意图。根据图9所述,本申请实施例多点触控调整视频窗口设备,包括:接收模块610,获取模块620,拖曳和缩放模块630,其中,本实施例中的各模块具体操作可以参见图6所对应的实施例的各相应模块,其中,
拖曳和缩放模块630包括:
第一确定模块631,设置为确定第一路操作的第一时间触控点位置和第二时间触控点位置,第一时间早于第二时间;
第一确定模块631所执行的操作可以参见图2所对应的实施例的步骤230。
第二确定模块632,设置为确定第二路操作的第一时间触控点位置和第二时间触控点位置,第一时间早于第二时间;
第二确定模块632所执行的操作可以参见图2所对应的实施例的步骤240。
第七确定模块637,设置为确定第一路操作的第二时间触控点与第二路操作的第二时间触控点在横坐标上的第一距离,以及,确定第一路操作的第一时间触控点与第二路操作的第一时间触控点在横坐标上的第二距离;
第七确定模块637所执行的操作可以参见图4所对应的实施例的步骤450。
第八确定模块638,设置为根据第一距离和第二距离以及视频窗口在横坐标方向上的初始长度确定视频窗口在横坐标方向上的变化后长度。
第八确定模块638所执行的操作可以参见图4所对应的实施例的步骤460。
具体的,第八确定模块638包括:横坐标变化确定模块,设置为计算第一距离和第二距离的比例,以比例与视频窗口在横坐标方向上的初始长度的乘积作为视频窗口在横坐标方向是变化后的长度;或者
第八确定模块638包括:纵坐标变化确定模块,设置为计算第一距离和第二距离的差值,以差值与视频窗口在横坐标方向上的初始长度的和作为视频窗口在横坐标方向是变化后的长度。
图10为本申请多点触控调整视频窗口设备又一实施例结构示意图。根据图10所述,本申请实施例多点触控调整视频窗口设备,包括:接收模块610,获取模块620,拖曳和缩放模块630,其中,本实施例中的各模块具体操作可以参见图6所对应的实施例的各相应模块,其中,
拖曳和缩放模块630包括:
第一确定模块631,设置为确定第一路操作的第一时间触控点位置和第二时间触控点位置,第一时间早于第二时间;
第一确定模块631所执行的操作可以参见图2所对应的实施例的步骤230。
第二确定模块632,设置为确定第二路操作的第一时间触控点位置和第二时间触控点位置,第一时间早于第二时间;
第二确定模块632所执行的操作可以参见图2所对应的实施例的步骤240。
第九确定模块639,设置为确定第一路操作的第二时间触控点与第二路操作的第二时间触控点在纵坐标上的第三距离,以及,确定第一路操作的第一时间触控点与第二路操作的第一时间触控点在纵坐标上的第四距离;
第九确定模块639所执行的操作可以参见图5所对应的实施例的步骤550。
第十确定模块641,设置为根据第三距离和第四距离以及视频窗口在纵坐标方向上的初始长度确定视频窗口在纵坐标方向上的变化后长度。
第十确定模块641所执行的操作可以参见图5所对应的实施例的步骤560。
具体的,第十确定模块641包括:纵坐标变化确定模块,设置为计算第三距离和第四距离的比例,以比例与视频窗口在纵坐标方向上的初始长度的乘积作为视频窗口在纵坐标方向是变化后的长度;或者
第十确定模块641包括:横坐标变化确定模块,设置为计算第三距离和第四距离的差值,以差值与视频窗口在纵坐标方向上的初始长度的和作为视频窗口在纵坐标方向是变化后的长度。
为理解方便,本申请实施例以更具体的举例来进行说明。
首先,监听视频通话的中两个手指是否的按下点是否在小窗口视频区域内。如果在不在小窗视频区域内不对视频窗口做拉伸缩放的处理,如果在小窗视频区域内,监听两个手指的移动情况。
可以获取到的值是:
已知:原有视频小窗的坐标x,y宽度高度w,h
通过监听触控可以获取到值:
A手指按下的位置坐标a0(x0,y0),B手指按下的位置坐标b0(x00,y00),A手指不断移动的位置坐标a1(x1,y1),B手指不断移动的位置坐标b1(x11,y11),A手指抬起的位置坐标a2(x2,y2),B手指抬起的位置坐标b2(x22,y22)。
通过以上信息可以计算出:
将x、x0、x00进行比较,距离x近的点,接下来的移动改变横坐标x的位置。(即比较x0-x和x00-x的值)。
将y、y0、y00进行比较,距离y近的点接下来的移动改变纵坐标y的位置。(即比较y0-y和y00-y的值)。
假设x00距离x比较近,通过x11-x00+x作为x轴坐标。
当x11-x00<0并且x1-x0>0,通过x1-x0+|x11-x00|+w计算出宽度。
当x11-x00>0并且x1-x0<0,通过w-(x11-x00)-|x1-x0|计算出宽度。
当x11-x00>0并且x1-x0>0,通过(x1-x0)-(x11-x00)+w计算出宽度。
当x11-x00<0并且x1-x0<0,通过(x1-x0)-(x11-x00)+w计算出宽度。
假设y0距离y比较近,通过y1-y0+y作为y轴坐标。
当y1-y0<0并且y11-y00>0,通过|y1-y0|+y11-y00+h计算出高度。
当y1-y0>0并且y11-y00<0,通过h-(y1-y0)-|y11-y00|计算出高度。
当y1-y0>0并且y11-y00>0,通过(y11-y00)-(y1-y0)+h计算出高度。
当y1-y0<0并且y11-y00<0,通过(y11-y00)-(y1-y0)+h计算出高度。
按照新计算出的x、y、w、h进行绘制视频小窗即可。
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。

Claims (15)

  1. 一种多点触控调整视频窗口方法,其特征在于,包括:
    接收触控信号,确定所述触控信号为多点触控信号,并且确定所述多点触控信号中至少有两点触控信号的起始位置位于视频窗口内;
    获取用户进行的至少两路不同方向的触控操作,所述至少两路不同方向的操作包括第一路操作和第二路操作;
    根据所述两路不同方向的触控操作对所述视频窗口进行拖曳和缩放。
  2. 根据权利要求1所述的方法,其特征在于,所述根据所述两路不同方向的触控操作对所述视频窗口进行拖曳,包括:
    确定所述第一路操作的第一时间触控点位置和第二时间触控点位置,所述第一时间早于所述第二时间;
    确定所述第二路操作的第一时间触控点位置和第二时间触控点位置,所述第一时间早于所述第二时间;
    确定所述第一路操作的第一时间触控点和所述第二路操作的第一时间触控点中在横坐标方向距离所述视频窗口顶点较近的触控点,所述视频窗口顶点为所述视频窗口平面的四个点中距离坐标原点最近的点;
    以所述在横坐标方向距离视频窗口顶点较近的触控点的位置变化确定视频窗口在横坐标方向的位置变化。
  3. 根据权利要求1或2所述的方法,其特征在于,所述根据所述两路不同方向的触控操作对所述视频窗口进行拖曳,包括:
    确定所述第一路操作的第一时间触控点位置和第二时间触控点位置,所述第一时间早于所述第二时间;
    确定所述第二路操作的第一时间触控点位置和第二时间触控点位置,所述第一时间早于所述第二时间;
    确定所述第一路操作的第一时间触控点和所述第二路操作的第一时间触控点中在纵坐标方向距离所述视频窗口顶点较近的触控点,所述视频窗口顶点为所述视频窗口平面的四个点中距离坐标原点最近的点;
    以所述在纵坐标方向距离所述视频窗口顶点较近的触控点的位置变化确定视频窗口在纵坐标方向的位置变化。
  4. 根据权利要求1所述的方法,其特征在于,所述根据所述两路不同方 向的触控操作对所述视频窗口进行控制,包括:
    确定所述第一路操作的第一时间触控点位置和第二时间触控点位置,所述第一时间早于所述第二时间;
    确定所述第二路操作的第一时间触控点位置和第二时间触控点位置,所述第一时间早于所述第二时间;
    确定所述第一路操作的第二时间触控点与所述第二路操作的第二时间触控点在横坐标上的第一距离,以及,确定所述第一路操作的第一时间触控点与所述第二路操作的第一时间触控点在横坐标上的第二距离;
    根据所述第一距离和所述第二距离以及所述视频窗口在横坐标方向上的初始长度确定所述视频窗口在横坐标方向上的变化后长度。
  5. 根据权利要求4所述的方法,其特征在于,所述根据第一距离和所述第二距离以及所述视频窗口在横坐标方向上的初始长度确定所述视频窗口在横坐标方向上的变化后长度,包括:
    计算所述第一距离和所述第二距离的比例,以所述比例与所述视频窗口在横坐标方向上的初始长度的乘积作为所述视频窗口在横坐标方向是变化后的长度;或者
    计算所述第一距离和所述第二距离的差值,以所述差值与所述视频窗口在横坐标方向上的初始长度的和作为所述视频窗口在横坐标方向是变化后的长度。
  6. 根据权利要求1所述的方法,其特征在于,所述根据所述两路不同方向的触控操作对所述视频窗口进行缩放控制,包括:
    确定所述第一路操作的第一时间触控点位置和第二时间触控点位置,所述第一时间早于所述第二时间;
    确定所述第二路操作的第一时间触控点位置和第二时间触控点位置,所述第一时间早于所述第二时间;
    确定所述第一路操作的第二时间触控点与所述第二路操作的第二时间触控点在纵坐标上的第三距离,以及,确定所述第一路操作的第一时间触控点与所述第二路操作的第一时间触控点在纵坐标上的第四距离;
    根据所述第三距离和所述第四距离以及所述视频窗口在纵坐标方向上的初始长度确定所述视频窗口在纵坐标方向上的变化后长度。
  7. 根据权利要求6所述的方法,其特征在于,所述根据第三距离和所述第四距离以及所述视频窗口在纵坐标方向上的初始长度确定所述视频窗口在纵坐标方向上的变化后长度,包括:
    计算所述第三距离和所述第四距离的比例,以所述比例与所述视频窗口在纵坐标方向上的初始长度的乘积作为所述视频窗口在纵坐标方向是变化后的长度,或者
    计算所述第三距离和所述第四距离的差值,以所述差值与所述视频窗口在纵坐标方向上的初始长度的和作为所述视频窗口在纵坐标方向是变化后的长度。
  8. 一种多点触控调整视频窗口设备,其特征在于,包括:
    接收模块,设置为接收触控信号,确定所述触控信号为多点触控信号,并且确定所述多点触控信号中至少有两点触控信号的起始位置位于视频窗口内;
    获取模块,设置为获取用户进行的至少两路不同方向的触控操作,所述至少两路不同方向的操作包括第一路操作和第二路操作;
    拖曳和缩放模块,设置为根据所述两路不同方向的触控操作对所述视频窗口进行拖曳和缩放。
  9. 根据权利要求8所述的设备,其特征在于,所述拖曳和缩放模块包括:
    第一确定模块,设置为确定所述第一路操作的第一时间触控点位置和第二时间触控点位置,所述第一时间早于所述第二时间;
    第二确定模块,设置为确定所述第二路操作的第一时间触控点位置和第二时间触控点位置,所述第一时间早于所述第二时间;
    第三确定模块,设置为确定所述第一路操作的第一时间触控点和所述第二路操作的第一时间触控点中在横坐标方向距离所述视频窗口顶点较近的触控点,所述视频窗口顶点为所述视频窗口平面的四个点中距离坐标原点最近的点;
    第四确定模块,设置为以在横坐标方向距离所述视频窗口顶点较近的触控点的位置变化确定视频窗口在横坐标方向的位置变化。
  10. 根据权利要求9所述的设备,其特征在于,所述拖曳和缩放模块包括:
    所述第一确定模块,设置为确定所述第一路操作的第一时间触控点位置和第二时间触控点位置,所述第一时间早于所述第二时间;
    所述第二确定模块,设置为确定所述第二路操作的第一时间触控点位置和第二时间触控点位置,所述第一时间早于所述第二时间;
    第五确定模块,设置为确定所述第一路操作的第一时间触控点和所述第二路操作的第一时间触控点中在纵坐标方向距离所述视频窗口顶点较近的触控点,所述视频窗口顶点为所述视频窗口平面的四个点中距离坐标原点最近的点;
    第六确定模块,设置为以在纵坐标方向距离所述视频窗口顶点较近的触控点的位置变化确定视频窗口在纵坐标方向的位置变化。
  11. 根据权利要求9或10所述的设备,其特征在于,所述拖曳和缩放模块包括:
    所述第一确定模块,设置为确定所述第一路操作的第一时间触控点位置和第二时间触控点位置,所述第一时间早于所述第二时间;
    所述第二确定模块,设置为确定所述第二路操作的第一时间触控点位置和第二时间触控点位置,所述第一时间早于所述第二时间;
    第七确定模块,设置为确定所述第一路操作的第二时间触控点与所述第二路操作的第二时间触控点在横坐标上的第一距离,以及,确定所述第一路操作的第一时间触控点与所述第二路操作的第一时间触控点在横坐标上的第二距离;
    第八确定模块,设置为根据所述第一距离和所述第二距离以及所述视频窗口在横坐标方向上的初始长度确定所述视频窗口在横坐标方向上的变化后长度。
  12. 根据权利要求11所述的设备,其特征在于,所述第八确定模块包括:
    横坐标变化确定模块,设置为计算所述第一距离和所述第二距离的比例,以所述比例与所述视频窗口在横坐标方向上的初始长度的乘积作为所述视频窗口在横坐标方向是变化后的长度;或者
    纵坐标变化确定模块,设置为计算所述第一距离和所述第二距离的差值,以所述差值与所述视频窗口在横坐标方向上的初始长度的和作为所述视频窗口在横坐标方向是变化后的长度。
  13. 根据权利要求9或10所述的设备,其特征在于,所述拖曳和缩放模块包括:
    所述第一确定模块,设置为确定所述第一路操作的第一时间触控点位置和第二时间触控点位置,所述第一时间早于所述第二时间;
    所述第二确定模块,设置为确定所述第二路操作的第一时间触控点位置和第二时间触控点位置,所述第一时间早于所述第二时间;
    第九确定模块,设置为确定所述第一路操作的第二时间触控点与所述第二路操作的第二时间触控点在纵坐标上的第三距离,以及,确定所述第一路操作的第一时间触控点与所述第二路操作的第一时间触控点在纵坐标上的第四距离;
    第十确定模块,设置为根据所述第三距离和所述第四距离以及所述视频窗口在纵坐标方向上的初始长度确定所述视频窗口在纵坐标方向上的变化后长度。
  14. 根据权利要求13所述的设备,其特征在于,所述第十确定模块包括:
    纵坐标变化确定模块,设置为计算所述第三距离和所述第四距离的比例,以所述比例与所述视频窗口在纵坐标方向上的初始长度的乘积作为所述视频窗口在纵坐标方向是变化后的长度;或者
    横坐标变化确定模块,设置为计算所述第三距离和所述第四距离的差值,以所述差值与所述视频窗口在纵坐标方向上的初始长度的和作为所述视频窗口在纵坐标方向是变化后的长度。
  15. 一种在其上记录有用于执行权利要求1所述方法的程序的计算机可读记录介质。
PCT/CN2016/088656 2015-12-14 2016-07-05 多点触控调整视频窗口的方法及设备 WO2017101340A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US15/250,757 US20170168696A1 (en) 2015-12-14 2016-08-29 Method and electronic device for adjusting video window based on multi-point control

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510944257.7 2015-12-14
CN201510944257.7A CN105892845A (zh) 2015-12-14 2015-12-14 多点触控调整视频窗口的方法及设备

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/250,757 Continuation US20170168696A1 (en) 2015-12-14 2016-08-29 Method and electronic device for adjusting video window based on multi-point control

Publications (1)

Publication Number Publication Date
WO2017101340A1 true WO2017101340A1 (zh) 2017-06-22

Family

ID=57003006

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/088656 WO2017101340A1 (zh) 2015-12-14 2016-07-05 多点触控调整视频窗口的方法及设备

Country Status (2)

Country Link
CN (1) CN105892845A (zh)
WO (1) WO2017101340A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106604104A (zh) * 2016-12-22 2017-04-26 惠州Tcl移动通信有限公司 基于移动终端评论交流界面上视频移动控制方法及其系统
CN109085974B (zh) * 2018-07-17 2021-02-19 广州视源电子科技股份有限公司 一种屏幕控制方法、系统及终端设备
CN111641797B (zh) 2020-05-25 2022-02-18 北京字节跳动网络技术有限公司 视频通话界面显示控制方法、装置、存储介质及设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102193739A (zh) * 2011-06-09 2011-09-21 福州瑞芯微电子有限公司 一种基于多点触控技术的视频预览选播方法
CN102221969A (zh) * 2011-06-09 2011-10-19 福州瑞芯微电子有限公司 一种基于多点触控技术的视频缩放方法
CN102221970A (zh) * 2011-06-09 2011-10-19 福州瑞芯微电子有限公司 一种基于多点触控技术的视频停播方法
CN103530015A (zh) * 2013-10-30 2014-01-22 深圳市中兴移动通信有限公司 一种移动终端及其模式切换的方法

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8340654B2 (en) * 2009-05-26 2012-12-25 Lextech Labs Llc Apparatus and method for video display and control for portable device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102193739A (zh) * 2011-06-09 2011-09-21 福州瑞芯微电子有限公司 一种基于多点触控技术的视频预览选播方法
CN102221969A (zh) * 2011-06-09 2011-10-19 福州瑞芯微电子有限公司 一种基于多点触控技术的视频缩放方法
CN102221970A (zh) * 2011-06-09 2011-10-19 福州瑞芯微电子有限公司 一种基于多点触控技术的视频停播方法
CN103530015A (zh) * 2013-10-30 2014-01-22 深圳市中兴移动通信有限公司 一种移动终端及其模式切换的方法

Also Published As

Publication number Publication date
CN105892845A (zh) 2016-08-24

Similar Documents

Publication Publication Date Title
US11641517B2 (en) User interface for camera effects
EP2511812B1 (en) Continuous recognition method of multi-touch gestures from at least two multi-touch input devices
KR101384857B1 (ko) 연속 줌 기능을 제공하는 사용자 인터페이스 방법들
US9645733B2 (en) Mechanism for switching between document viewing windows
US8751955B2 (en) Scrollbar user interface for multitouch devices
EP3693844A1 (en) Window switching interface
JP2013539580A (ja) デバイス上の動き制御方法及び装置
US20140149945A1 (en) Electronic device and method for zooming in image
JP2016511488A (ja) センサフュージョンを介した対話式入力の拡張
WO2014000513A1 (zh) 一种触摸轨迹跟踪方法
WO2017185459A1 (zh) 一种图标移动方法以及装置
AU2014201249B2 (en) Method for controlling display function and an electronic device thereof
KR20100095987A (ko) 터치 패널 입력 장치, 방법 및 이를 이용한 모바일 기기
CN104360738A (zh) 图形用户界面的空间手势控制方法
CN106897321B (zh) 显示地图数据的方法及装置
US10042445B1 (en) Adaptive display of user interface elements based on proximity sensing
WO2017101340A1 (zh) 多点触控调整视频窗口的方法及设备
TWI543068B (zh) 以單指操作行動裝置螢幕介面方法
CN109739422B (zh) 一种窗口控制方法、装置及设备
CN104951223B (zh) 一种触摸屏实现放大镜的方法、装置及主机
KR20110006251A (ko) 터치 패널 입력장치, 방법 및 이를 이용한 모바일 기기
CN113485590A (zh) 触控操作方法及装置
US20170168696A1 (en) Method and electronic device for adjusting video window based on multi-point control
KR20100100413A (ko) 터치 기반 인터페이스 장치, 방법, 이를 이용한 모바일 기기 및 터치 패드
CN104484117A (zh) 人机交互方法及装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16874402

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16874402

Country of ref document: EP

Kind code of ref document: A1