Movatterモバイル変換


[0]ホーム

URL:


CN111324273A - Media display implementation method and device - Google Patents

Media display implementation method and device
Download PDF

Info

Publication number
CN111324273A
CN111324273ACN201811525649.XACN201811525649ACN111324273ACN 111324273 ACN111324273 ACN 111324273ACN 201811525649 ACN201811525649 ACN 201811525649ACN 111324273 ACN111324273 ACN 111324273A
Authority
CN
China
Prior art keywords
gesture operation
media object
operation mode
mode
media
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN201811525649.XA
Other languages
Chinese (zh)
Inventor
娄丽珠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitevision Co Ltd
Original Assignee
Hitevision Co Ltd
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 Hitevision Co LtdfiledCriticalHitevision Co Ltd
Priority to CN201811525649.XApriorityCriticalpatent/CN111324273A/en
Publication of CN111324273ApublicationCriticalpatent/CN111324273A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Classifications

Landscapes

Abstract

The invention discloses a method and a device for realizing media display, which comprises the steps of selecting a media object; adding the media object to an editing area of a media editing control; executing gesture operation on the media object in the editing area, detecting a gesture operation mode, and calculating gesture operation parameters corresponding to the gesture operation mode according to the gesture operation mode; and performing corresponding operation and display on the media object according to the gesture operation mode and the gesture operation parameters. According to the media display implementation device provided by the invention, the media object is subjected to gesture operation setting, so that the functions of moving, zooming and rotating the media object in a touch mode are realized, the traditional process of operating by using a mouse or a keyboard is simplified, the use requirements of multi-scene users are met, and the user experience effect is improved.

Description

Media display implementation method and device
Technical Field
The present invention relates to the field of electronic information technologies, and in particular, to a method and an apparatus for implementing media display.
Background
With the development of internet technology, commercial large-screen products are more and more widely applied. At present, the information input by a user is displayed in a commercial screen product, only the character input is supported by using special software, and the requirements that the user wants to display media materials, including pictures, audio, video and the like, cannot be met.
Even if part of software supports the display of media materials, the operations of zooming, rotating, moving and the like on the media materials by touching the large screen cannot be realized, so that a user is limited by functions when operating the large screen, the operation is more complicated, and the user experience is poor.
Disclosure of Invention
In view of this, an embodiment of the present invention provides a method and an apparatus for implementing media display, so as to implement functions of displaying media materials in a large-screen product and zooming, rotating, and moving the media materials.
Based on the above purpose, the media display implementation method provided by the embodiment of the present invention includes:
selecting a media object;
adding the media object to an editing area of a media editing control;
executing gesture operation on the media object in the editing area, detecting a gesture operation mode, and calculating gesture operation parameters corresponding to the gesture operation mode according to the gesture operation mode;
and performing corresponding operation and display on the media object according to the gesture operation mode and the gesture operation parameters.
Optionally, the detecting the gesture operation mode includes:
detecting the number of touch points, if the number of the touch points is one, detecting the displacement of a single-finger touch point, if the displacement is larger than zero, the gesture operation mode is a moving mode, and if the displacement is equal to zero, the gesture operation mode is a clicking mode;
if the number of the touch points is two, detecting the distance variation between the two finger touch points, and if the distance variation is larger than zero, the gesture operation mode is a zooming mode;
if the number of the touch points is two, detecting the angle variation between the two finger touch points, and if the angle variation is larger than zero, the gesture operation mode is a rotation mode.
Optionally, the calculating the gesture operation parameter corresponding to the gesture operation mode according to the gesture operation mode includes:
detecting the gesture operation mode of the media object, if the gesture operation mode is a moving mode, storing the position information of a single-finger touch point, and calculating the displacement value of the media object according to the detected displacement of the single-finger touch point;
if the gesture operation mode is a zooming mode, calculating the zooming proportion of the media object according to the detected distance variation between the two finger touch points;
if the gesture operation mode is a rotation mode, calculating the rotation angle of the media object according to the detected angle variation between the two finger touch points.
Optionally, the performing, according to the gesture operation mode and the gesture operation parameter, corresponding operation and display on the media object includes:
detecting the gesture operation mode of the media object, and if the gesture operation mode is a moving mode, moving the media object to a new position and displaying the media object according to the stored single-finger touch point position information and the calculated displacement value of the media object;
if the gesture operation mode is a zooming mode, zooming and displaying the media object according to the zoom ratio of the media object obtained through calculation;
and if the gesture operation mode is a rotation mode, rotating and displaying the media object according to the rotation angle of the media object obtained through calculation.
Optionally, the calculating a rotation angle of the media object according to the detected angle variation between the two finger touch points includes:
calculating an initial angle of the double-finger touch point relative to the horizontal direction according to a calculation method provided by an android mathematical function library;
calculating the end angle of the double-finger touch point relative to the horizontal direction after rotation according to a calculation method provided by the android mathematical function library;
and subtracting the initial angle from the ending angle to obtain the rotation angle of the media object.
Optionally, the media editing control is divided into an editing area and a non-editing area, and the editing area is used for performing gesture operation editing on the added media object and executing the edited gesture operation when the media is displayed.
In another aspect, the present invention further provides a media display implementing apparatus, including:
a selection module for selecting a media object;
the adding module is used for adding the media object to an editing area of a media editing control;
the setting module is used for executing gesture operation on the media object in the editing area, detecting a gesture operation mode and calculating gesture operation parameters corresponding to the gesture operation mode according to the gesture operation mode;
and the display module is used for carrying out corresponding operation and display on the media object according to the gesture operation mode and the gesture operation parameters.
Optionally, the setting module includes:
the touch control device comprises a touch control point detection module and an operation mode detection module;
the touch point detection module is specifically configured to:
detecting the number of touch points;
if the number of the touch points is one, detecting the displacement of a single-finger touch point, if the displacement is larger than zero, the gesture operation mode is a moving mode, and if the displacement is equal to zero, the gesture operation mode is a clicking mode;
if the number of the touch points is two, detecting the distance variation between the two finger touch points, and if the distance variation is larger than zero, the gesture operation mode is a zooming mode;
if the number of the touch points is two, detecting the angle variation between the two finger touch points, and if the angle variation is larger than zero, the gesture operation mode is a rotation mode;
the operation mode detection module is specifically configured to:
detecting the gesture operation mode of the media object;
if the gesture operation mode is a moving mode, storing the position information of the single-finger touch point, and calculating the displacement value of the media object according to the detected displacement amount of the single-finger touch point;
if the gesture operation mode is a zooming mode, calculating the zooming proportion of the media object according to the detected distance variation between the two finger touch points;
if the gesture operation mode is a rotation mode, calculating the rotation angle of the media object according to the detected angle variation between the two finger touch points.
Optionally, the operation mode detection module is further configured to:
detecting the gesture operation mode of the media object;
if the gesture operation mode is a moving mode, moving the media object to a new position and displaying according to the stored single-finger touch point position information and the calculated displacement value of the media object;
if the gesture operation mode is a zooming mode, zooming and displaying the media object according to the zoom ratio of the media object obtained through calculation;
and if the gesture operation mode is a rotation mode, rotating and displaying the media object according to the rotation angle of the media object obtained through calculation.
Optionally, the calculating a rotation angle of the media object according to the detected angle variation between the two finger touch points includes:
calculating an initial angle of the double-finger touch point relative to the horizontal direction according to a calculation method provided by an android mathematical function library;
calculating the end angle of the double-finger touch point relative to the horizontal direction after rotation according to a calculation method provided by the android mathematical function library;
and subtracting the initial angle from the ending angle to obtain the rotation angle of the media object.
As can be seen from the above, the method and the device for implementing media display provided by the embodiment of the invention add a plurality of media editing controls on large-screen software, and add different media objects in the media editing controls, so as to implement common display of a plurality of media materials on a large screen; the media object is set by gesture operation, so that the functions of moving, zooming and rotating the media object by using a touch mode are realized, the traditional process of operating by using a mouse or a keyboard is simplified, the use requirements of multi-scene users are met, and the user experience effect is greatly improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart illustrating a method for implementing a media display according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a hardware structure of an embodiment of a media display implementation apparatus according to the present invention;
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to specific embodiments and the accompanying drawings.
It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are used for distinguishing two entities with the same name but different names or different parameters, and it should be noted that "first" and "second" are merely for convenience of description and should not be construed as limitations of the embodiments of the present invention, and they are not described in any more detail in the following embodiments.
The present invention is further described with reference to the accompanying drawings, as shown in fig. 1, which is a schematic flow chart of an embodiment of a media display implementation method provided by the present invention, including:
step 101: selecting a media object;
step 102: adding the media object to an editing area of a media editing control; the media editing control is divided into an editing area and a non-editing area, and the editing area is used for performing gesture operation editing on the added media object and executing the edited gesture operation when the media is displayed.
Step 103: executing gesture operation on the media object in the editing area, detecting a gesture operation mode, and calculating gesture operation parameters corresponding to the gesture operation mode according to the gesture operation mode;
optionally, the detecting the gesture operation mode includes:
detecting the number of touch points, if the number of the touch points is one, detecting the displacement of a single-finger touch point, if the displacement is larger than zero, the gesture operation mode is a moving mode, and if the displacement is equal to zero, the gesture operation mode is a clicking mode;
if the number of the touch points is two, detecting the distance variation between the two finger touch points, and if the distance variation is larger than zero, the gesture operation mode is a zooming mode;
if the number of the touch points is two, detecting the angle variation between the two finger touch points, and if the angle variation is larger than zero, the gesture operation mode is a rotation mode.
Optionally, the calculating the gesture operation parameter corresponding to the gesture operation mode according to the gesture operation mode includes:
detecting the gesture operation mode of the media object, if the gesture operation mode is a moving mode, storing the position information of a single-finger touch point, and calculating the displacement value of the media object according to the detected displacement of the single-finger touch point;
if the gesture operation mode is a zooming mode, calculating the zooming proportion of the media object according to the detected distance variation between the two finger touch points;
if the gesture operation mode is a rotation mode, calculating a rotation angle of the media object according to the detected angle variation between the two finger touch points, wherein the range of the rotation angle is 0-360 degrees.
Optionally, the calculating a rotation angle of the media object according to the detected angle variation between the two finger touch points includes:
calculating an initial angle of the double-finger touch point relative to the horizontal direction according to a calculation method provided by an android mathematical function library;
calculating the end angle of the double-finger touch point relative to the horizontal direction after rotation according to a calculation method provided by the android mathematical function library;
and subtracting the initial angle from the ending angle to obtain the rotation angle of the media object.
Step 104: according to the gesture operation mode and the gesture operation parameters, performing corresponding operation and display on the media object;
optionally, the performing, according to the gesture operation mode and the gesture operation parameter, corresponding operation and display on the media object includes:
detecting the gesture operation mode of the media object, and if the gesture operation mode is a moving mode, moving the media object to a new position and displaying the media object according to the stored single-finger touch point position information and the calculated displacement value of the media object;
if the gesture operation mode is a zooming mode, zooming and displaying the media object according to the zoom ratio of the media object obtained through calculation;
and if the gesture operation mode is a rotation mode, rotating and displaying the media object according to the rotation angle of the media object obtained through calculation.
As can be seen from the above, the media display implementation method provided in the embodiment of the present invention adopts the method of adding a plurality of media editing controls to the large-screen software, and adding different media objects to the media editing controls, so as to implement common display of a plurality of media materials on the large screen; the media object is set by gesture operation, so that the functions of moving, zooming and rotating the media object by using a touch mode are realized, the traditional process of operating by using a mouse or a keyboard is simplified, the use requirements of multi-scene users are met, and the user experience effect is greatly improved.
Based on the above object, the present invention further provides a hardware structure diagram of an embodiment of a media display implementation apparatus, as shown in fig. 2, including:
aselection module 201 for selecting a media object;
an addingmodule 202, configured to add the media object to an editing area of a media editing control;
thesetting module 203 is configured to perform a gesture operation on the media object in the editing region, detect a gesture operation mode, and calculate a gesture operation parameter corresponding to the gesture operation mode according to the gesture operation mode;
optionally, thesetting module 203 includes:
a touchpoint detection module 2031 and an operationmode detection module 2032;
the touchpoint detection module 2031 is specifically configured to:
detecting the number of touch points;
if the number of the touch points is one, detecting the displacement of a single-finger touch point, if the displacement is larger than zero, the gesture operation mode is a moving mode, and if the displacement is equal to zero, the gesture operation mode is a clicking mode;
if the number of the touch points is two, detecting the distance variation between the two finger touch points, and if the distance variation is larger than zero, the gesture operation mode is a zooming mode;
if the number of the touch points is two, detecting the angle variation between the two finger touch points, and if the angle variation is larger than zero, the gesture operation mode is a rotation mode;
the operationmode detection module 2032 is specifically configured to:
detecting the gesture operation mode of the media object;
if the gesture operation mode is a moving mode, storing the position information of the single-finger touch point, and calculating the displacement value of the media object according to the detected displacement amount of the single-finger touch point;
if the gesture operation mode is a zooming mode, calculating the zooming proportion of the media object according to the detected distance variation between the two finger touch points;
if the gesture operation mode is a rotation mode, calculating a rotation angle of the media object according to the detected angle variation between the two finger touch points, wherein the range of the rotation angle is 0-360 degrees; the calculating the rotation angle of the media object according to the detected angle variation between the two finger touch points includes:
calculating an initial angle of the double-finger touch point relative to the horizontal direction according to a calculation method provided by an android mathematical function library; calculating the end angle of the double-finger touch point relative to the horizontal direction after rotation according to a calculation method provided by the android mathematical function library; and subtracting the initial angle from the ending angle to obtain the rotation angle of the media object.
Thedisplay module 204 is configured to perform corresponding operation and display on the media object according to the gesture operation mode and the gesture operation parameter;
optionally, the operationmode detecting module 2032 is further configured to:
detecting the gesture operation mode of the media object;
if the gesture operation mode is a moving mode, moving the media object to a new position and displaying according to the stored single-finger touch point position information and the calculated displacement value of the media object;
if the gesture operation mode is a zooming mode, zooming and displaying the media object according to the zoom ratio of the media object obtained through calculation;
and if the gesture operation mode is a rotation mode, rotating and displaying the media object according to the rotation angle of the media object obtained through calculation.
As can be seen from the above, the media display implementation apparatus provided in the embodiment of the present invention adopts the method of adding a plurality of media editing controls to the large-screen software, and adding different media objects to the media editing controls, so as to implement common display of a plurality of media materials on the large screen; the media object is set by gesture operation, so that the functions of moving, zooming and rotating the media object by using a touch mode are realized, the traditional process of operating by using a mouse or a keyboard is simplified, the use requirements of multi-scene users are met, and the user experience effect is greatly improved.
The apparatus of the foregoing embodiment is used to implement the corresponding method in the foregoing embodiment, and has the beneficial effects of the corresponding method embodiment, which are not described herein again.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, is limited to these examples; within the idea of the invention, also features in the above embodiments or in different embodiments may be combined, steps may be implemented in any order, and there are many other variations of the different aspects of the invention as described above, which are not provided in detail for the sake of brevity.
In addition, well known power/ground connections to Integrated Circuit (IC) chips and other components may or may not be shown within the provided figures for simplicity of illustration and discussion, and so as not to obscure the invention. Furthermore, devices may be shown in block diagram form in order to avoid obscuring the invention, and also in view of the fact that specifics with respect to implementation of such block diagram devices are highly dependent upon the platform within which the present invention is to be implemented (i.e., specifics should be well within purview of one skilled in the art). Where specific details (e.g., circuits) are set forth in order to describe example embodiments of the invention, it should be apparent to one skilled in the art that the invention can be practiced without, or with variation of, these specific details. Accordingly, the description is to be regarded as illustrative instead of restrictive.
While the present invention has been described in conjunction with specific embodiments thereof, many alternatives, modifications, and variations of these embodiments will be apparent to those of ordinary skill in the art in light of the foregoing description. For example, other memory architectures (e.g., dynamic ram (dram)) may use the discussed embodiments.
The embodiments of the invention are intended to embrace all such alternatives, modifications and variances that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, substitutions, improvements and the like that may be made without departing from the spirit and principles of the invention are intended to be included within the scope of the invention.

Claims (10)

CN201811525649.XA2018-12-132018-12-13Media display implementation method and devicePendingCN111324273A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201811525649.XACN111324273A (en)2018-12-132018-12-13Media display implementation method and device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201811525649.XACN111324273A (en)2018-12-132018-12-13Media display implementation method and device

Publications (1)

Publication NumberPublication Date
CN111324273Atrue CN111324273A (en)2020-06-23

Family

ID=71172280

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201811525649.XAPendingCN111324273A (en)2018-12-132018-12-13Media display implementation method and device

Country Status (1)

CountryLink
CN (1)CN111324273A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN112286427A (en)*2020-09-252021-01-29浪潮金融信息技术有限公司Multimedia material display and interaction method and system based on Android operating system

Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103279224A (en)*2013-05-282013-09-04Tcl集团股份有限公司Processing method and system for operations of touchpad
CN106888153A (en)*2016-06-122017-06-23阿里巴巴集团控股有限公司Displaying key element generation method, displaying key element generating means, displaying key element and bitcom
CN108304116A (en)*2018-02-272018-07-20北京酷我科技有限公司A kind of method of single finger touch-control interaction
CN108319383A (en)*2017-01-172018-07-24张锦本The clicking operation structure of Touch Screen
CN108762638A (en)*2018-05-282018-11-06浙江鸿程计算机系统有限公司A kind of secondary editing cartographic method based on Android
US10146353B1 (en)*2011-08-052018-12-04P4tents1, LLCTouch screen system, method, and computer program product

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US10146353B1 (en)*2011-08-052018-12-04P4tents1, LLCTouch screen system, method, and computer program product
CN103279224A (en)*2013-05-282013-09-04Tcl集团股份有限公司Processing method and system for operations of touchpad
CN106888153A (en)*2016-06-122017-06-23阿里巴巴集团控股有限公司Displaying key element generation method, displaying key element generating means, displaying key element and bitcom
CN108319383A (en)*2017-01-172018-07-24张锦本The clicking operation structure of Touch Screen
CN108304116A (en)*2018-02-272018-07-20北京酷我科技有限公司A kind of method of single finger touch-control interaction
CN108762638A (en)*2018-05-282018-11-06浙江鸿程计算机系统有限公司A kind of secondary editing cartographic method based on Android

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN112286427A (en)*2020-09-252021-01-29浪潮金融信息技术有限公司Multimedia material display and interaction method and system based on Android operating system

Similar Documents

PublicationPublication DateTitle
US20160004373A1 (en)Method for providing auxiliary information and touch control display apparatus using the same
US9612675B2 (en)Emulating pressure sensitivity on multi-touch devices
US10620821B2 (en)Page sliding method and apparatus
CN104462437B (en)The method and system of search are identified based on the multiple touch control operation of terminal interface
CN104123078A (en)Method and device for inputting information
CN112540740B (en) Split-screen display method, device, electronic device, and readable storage medium
CN103412720A (en)Method and device for processing touch-control input signals
CN106020612A (en)Data display method and mobile terminal
CN105335045A (en)Desktop icon change method and system
WO2017032078A1 (en)Interface control method and mobile terminal
CN105260103A (en)Picture scaling method and electronic device
CN112817376A (en)Information display method and device, electronic equipment and storage medium
CN107678813A (en)A kind of switching method and mobile terminal of the theme of desktop icons
WO2017101390A1 (en)Picture display method and apparatus
CN114327726A (en) Display control method, device, electronic device and storage medium
KR20130037141A (en)Method and system for controlling contents in electronic book using bezel region
CN115729412A (en)Interface display method and device
CN107454321A (en)A kind of image pickup method, mobile terminal and computer-readable recording medium
CN114860135A (en)Screenshot method and device
CN111324273A (en)Media display implementation method and device
US8698772B2 (en)Visual object manipulation
CN106775295A (en)A kind of display methods and mobile terminal based on curve screens
CN115048002B (en) A method, device, electronic device and storage medium for managing application icons
CN116501226A (en)Screenshot method and screenshot device
CN105892845A (en)Method and device for adjusting video window by multi-point touch

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication

Application publication date:20200623

RJ01Rejection of invention patent application after publication

[8]ページ先頭

©2009-2025 Movatter.jp