WO2016119453A1 - 一种在文本中***多媒体对象的方法、装置及终端 - Google Patents
一种在文本中***多媒体对象的方法、装置及终端 Download PDFInfo
- Publication number
- WO2016119453A1 WO2016119453A1 PCT/CN2015/088176 CN2015088176W WO2016119453A1 WO 2016119453 A1 WO2016119453 A1 WO 2016119453A1 CN 2015088176 W CN2015088176 W CN 2015088176W WO 2016119453 A1 WO2016119453 A1 WO 2016119453A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- user
- text
- multimedia object
- multimedia
- candidate
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
Definitions
- the present invention relates to the field of communication electronics, and in particular, to a method, an apparatus, and a terminal for inserting a multimedia object in a text.
- the above method requires multiple jumps to select the desired multimedia file, and the operation is cumbersome, and the user cannot see the text box when selecting the multimedia, and cannot directly see the display effect of the multimedia module in the text box, and also needs to be inserted after the completion of the insertion. Return to the original interface to view, the user experience is poor.
- the technical problem to be solved by the present invention is to provide a method, a device and a terminal for inserting a multimedia object in a text, which are used to solve the problem of cumbersome user experience in inserting a multimedia object into a text in the prior art.
- the present invention provides a method for inserting a multimedia object in a text, including: when a user performs text editing, displaying an alternative multimedia object on a preset position of the touch screen according to an object insertion instruction of the user. And the selected multimedia object is displayed in the same interface as the text edited by the user; the multimedia object to be inserted is selected in the candidate multimedia object according to the object selection instruction of the user; The multimedia object is inserted into the text edited by the user.
- the displaying the candidate multimedia object on the preset position of the touch screen, so that the candidate multimedia object is displayed on the same interface as the text edited by the user includes: dividing the touch screen into a text display area and an object browsing area; displaying the text edited by the user in the text display area, and displaying the candidate multimedia object in the object browsing area.
- the displaying the candidate multimedia object on the preset position of the touch screen, so that the candidate multimedia object is displayed on the same interface as the text edited by the user includes: selecting the candidate The multimedia object is displayed in a semi-transparent form on top of the text edited by the user.
- selecting the multimedia object to be inserted in the candidate multimedia object according to the object selection instruction of the user includes: selecting each of the candidate multimedia according to the first preset gesture of the user
- the objects may be overlapped display or scrollable display to enable the user to browse to all of the candidate multimedia objects; select the desired multimedia objects in the candidate multimedia objects according to the second preset gesture of the user Multimedia object.
- the method further includes: inserting into the text edited by the user according to the third preset gesture of the user.
- the multimedia object is deleted from the text.
- the present invention further provides an apparatus for inserting a multimedia object in a text, comprising: a display unit, configured to display an alternate multimedia object according to an object insertion instruction of the user when the user performs text editing In the preset position of the touch screen, the alternative multimedia object is displayed on the same interface as the text edited by the user; the selecting unit is configured to select the desired multimedia object according to the object selection instruction of the user.
- a display unit configured to display an alternate multimedia object according to an object insertion instruction of the user when the user performs text editing In the preset position of the touch screen, the alternative multimedia object is displayed on the same interface as the text edited by the user
- the selecting unit is configured to select the desired multimedia object according to the object selection instruction of the user.
- An inserted multimedia object an insertion unit that inserts the selected multimedia object into the text edited by the user.
- the display unit is specifically configured to: divide the touch screen into a text display area and an object browsing area; display the text edited by the user in the text display area, and select the candidate A multimedia object is displayed in the object browsing area.
- the display unit is specifically configured to: hover the candidate multimedia object in a semi-transparent form on top of the text edited by the user.
- the selecting unit is specifically configured to: display, or scroll display, each of the candidate multimedia objects according to a first preset gesture of the user, so that the user browses Up to all of the candidate multimedia objects; selecting the multimedia object to be inserted among the candidate multimedia objects according to the second preset gesture of the user.
- the apparatus further includes a deleting unit configured to delete the multimedia object inserted into the text edited by the user from the text according to a third preset gesture of the user.
- a mobile terminal includes a central processing unit and a touch screen, and the central processing unit is provided with a device for inserting a multimedia object in the text provided by the present invention, and the user processes the central processing through the touch screen.
- the device in the device inputs various instructions.
- the method, device, and terminal for inserting a multimedia object in a text can display an alternative multimedia object on a preset position of the touch screen according to an object insertion instruction of the user, so that the candidate multimedia object is The text edited by the user is displayed in the same interface, and the multimedia object to be inserted is selected in the candidate multimedia object according to the object selection instruction of the user, and the selected multimedia object is inserted into the text.
- the browsing, selection and insertion of the multimedia object can be completed directly on the interface of the text, without jumping to the multimedia interface to search, which simplifies the operation steps and visualizes the insertion effect. , which greatly improves the user experience.
- FIG. 1 is a flowchart of a method for inserting a multimedia object in text according to an embodiment of the present invention
- FIG. 2 is a schematic diagram of an interface for inserting a multimedia object in a text according to an embodiment of the present invention
- FIG. 3 is a schematic diagram of another interface for inserting a multimedia object in a text according to an embodiment of the present invention.
- FIG. 4 is a schematic diagram of still another interface for inserting a multimedia object in a text according to an embodiment of the present invention.
- FIG. 5 is a schematic diagram of still another interface for inserting a multimedia object in a text according to an embodiment of the present invention
- FIG. 6 is a schematic diagram of still another interface for inserting a multimedia object into a text according to an embodiment of the present invention.
- FIG. 7 is another flow chart of inserting a multimedia object in text in an embodiment of the present invention.
- FIG. 8 is a schematic diagram of an interface before deleting an object after inserting a multimedia object in the text according to an embodiment of the present invention.
- FIG. 9 is a schematic diagram of an interface after an object is deleted after inserting a multimedia object in a text according to an embodiment of the present invention.
- FIG. 10 is a schematic diagram of an interface re-entering a text editing state after inserting a multimedia object in a text according to an embodiment of the present invention.
- FIG. 11 is another schematic diagram of an interface before deleting an object after inserting a multimedia object in the text according to an embodiment of the present invention.
- FIG. 12 is another schematic diagram of an interface after an object is deleted after inserting a multimedia object in the text according to an embodiment of the present invention.
- FIG. 13 is a flow chart showing an operation of inserting a multimedia object in text in an embodiment of the present invention.
- FIG. 16 is a schematic structural diagram of an apparatus for inserting a multimedia object in a text according to an embodiment of the present invention.
- an embodiment of the present invention provides a method for inserting a multimedia object in a text, including:
- the method for inserting a multimedia object in a text can display an alternative multimedia object on a preset position of the touch screen according to an object insertion instruction of the user, so that the candidate multimedia object is edited by the user.
- the text is displayed on the same interface, and the multimedia object to be inserted is selected in the candidate multimedia object according to the user's object selection instruction, and the selected multimedia object is inserted into the text.
- step S11 when the user edits the text, the text box is in an active state, and the text can be input through the analog keyboard.
- a button for inserting a multimedia file is further provided.
- the multimedia object browsing state can be started, and the candidate multimedia object is displayed on the preset position of the touch screen,
- the candidate multimedia object is displayed on the same interface as the user-edited text, and the object browsing state (ie, the state in which the text box and the alternate multimedia object coexist) may be as shown in FIG. 3.
- the multimedia objects that need to be added in Figure 3 are directly displayed on a small screen of the current input interface.
- the multimedia objects displayed in this area are separated one by one, and the small squares 1, 2, and 3 in the figure respectively represent different multimedia objects, such as picture 1, picture 2, picture 3, and the like.
- the candidate multimedia objects may be one or more, and may be different according to user settings.
- the user can specify to display only multimedia objects in a file directory, or to specify all multimedia objects in the display terminal.
- the alternative multimedia objects can be displayed in the form of thumbnails, and the arrangement of the alternative multimedia objects can also be set as required, for example, the multimedia objects can be arranged by category (such as pictures)
- the voice, the animation, the video, and the like may be arranged according to the file name or the update date, which is not limited by the embodiment of the present invention.
- the candidate multimedia object is displayed on the preset position of the touch screen, so that the candidate multimedia object and the text edited by the user are displayed on the same interface, which may be implemented in different display manners.
- the touch screen may be divided into a text display area and an object browsing area; text edited by the user is displayed in the text display area, and an alternative multimedia object is displayed in the object browsing area.
- the state in which the multimedia object and the text edited by the user are displayed on the same interface can be as shown in FIG. 3.
- the alternative multimedia object may also be displayed in a semi-transparent form on top of the user-edited text so that the multimedia object is displayed in the same interface as the user-edited text.
- selecting the multimedia object to be inserted in the candidate multimedia object according to the object selection instruction of the user may include:
- the multimedia object to be inserted is selected among the candidate multimedia objects according to the second preset gesture of the user (such as sliding up).
- each of the alternate multimedia objects may partially overlap or overlap with each other such that more alternative multimedia objects may be displayed on the touch screen.
- each of the alternative multimedia objects can be spread out one by one, thereby facilitating the user to operate one of the alternative multimedia objects separately.
- the whole process is like a playing card or folding fan that can be unfolded and folded.
- the user can select one or several multimedia objects by long press or short press or swipe up, and insert the multimedia object selected by the user into the preset position of the text in step S13.
- the interface of the multimedia object before inserting the text and after inserting the text can be respectively as shown in FIG. 5.
- Figure 6 shows.
- Figure 7 shows a brief flow of inserting a picture type multimedia object into text.
- the user can click the insert picture button when the picture needs to be inserted, and then the terminal loads all the pictures to the current interface for the user to perform.
- the picture selection the user can slide the pictures, and then click to select the picture to be inserted, complete the picture insertion.
- the insertion of other types of multimedia objects is similar.
- the multimedia object inserted into the text edited by the user may also be selected according to the third preset gesture of the user (for example, sliding the corresponding candidate multimedia object downward)
- the text is deleted, and the interfaces before and after deletion can be as shown in FIG. 8 and FIG. 9, respectively.
- the operations in the foregoing embodiments are mainly for the state in which the candidate multimedia object is displayed on the same interface as the text edited by the user, but the present invention is not limited thereto, and after the multimedia object is inserted, the Short press the text edit box or press the back key to make the alternative multimedia object disappear from the current interface, and then re-enter the text editing state.
- the interface for re-entering the text editing state after inserting the multimedia object can be as shown in FIG.
- the function of deleting the multimedia object from the text box can be realized by directly pressing and holding the image to be deleted down under the text input box interface.
- the interface before and after deletion can be as shown in Figures 11 and 12.
- the mobile terminal can determine the gesture in response to the user's touch gesture.
- the gestures may include short press and long press. Swipe down, long press to slide left and right, etc. The specific meaning of these gestures can be defined by yourself.
- the mobile terminal After receiving the touch gesture command, the mobile terminal determines whether to respond to the gesture command according to the current state. The specific judgment is as follows: determining whether the current gesture command is sent in state 1 or state 2; wherein state 1 refers to The state of the text box, state 2 refers to the coexistence state of text and multimedia. If it is state 1, it only responds to the short press gesture; if it is state 2, it responds to the gesture command of sliding up and down and sliding left and right. After the multimedia object is operated corresponding to different states, the mobile terminal can determine the current state again and use the state as the judgment condition of the next processing.
- the specific operation flow of the mobile terminal can be as shown in FIG.
- the mobile terminal can determine the gesture as shown in FIG. 14. That is, when the gesture command of the + key is received in the state 1 state, all the multimedia objects are searched in the terminal, and the multimedia objects are arranged by category (such as pictures, voice, animation, video, etc.), and then These categories are displayed,
- state 1 will automatically change to state 2. Since the terminal display is fixed in size, the user can customize how many multimedia objects are currently available. At this time, other multimedia objects can be displayed by sliding the multimedia objects of the display area to the left and right, and these multimedia objects are placed in the cache to be called and displayed.
- the mobile terminal can respond to short presses, up and down, left and right sliding operations, and the like, and define specific operation commands for up and down sliding and left and right sliding.
- sliding left and right means that the multimedia objects in the display area can be hidden. Or display it, slide up and down to define whether to select this multimedia object to insert a text box or delete the multimedia object from the text box. If the user makes a short press on the text box at this time, then state 2 will be exited to enter state 1.
- the multimedia object and the text box can be jointly displayed to the user through the gesture operation, so that the user can directly see the scene of the multimedia object in the text box when selecting the multimedia object. It is convenient for users to operate, which simplifies the steps of human-computer interaction and makes the user's operation more smooth.
- the multimedia object includes not only the picture but also Expand to sound files, video files, and more.
- the operation gestures not only include up and down, left and right sliding, but also multi-finger touch or rotation.
- the usage scenarios include sending multimedia objects during chats such as QQ and WeChat; adding media objects to notepad notes; adding multimedia objects when writing emails, and the like.
- the method for inserting a multimedia object in a text directly presents a multimedia object in a current page of a text box, which is very intuitive to help an electronic device user to view, select, and delete a desired multimedia object, and the whole operation process is simple and clear. . It fully embodies the superiority of human-computer interaction.
- the present invention also provides an apparatus for inserting a multimedia object in a text.
- the apparatus may include:
- the display unit 91 is configured to display an alternate multimedia object on a preset position of the touch screen according to an object insertion instruction of the user when the user performs text editing, so that the candidate multimedia object and the text edited by the user are displayed. In the same interface;
- the selecting unit 92 is configured to select, according to an object selection instruction of the user, a multimedia object to be inserted in the candidate multimedia object;
- the inserting unit 93 inserts the selected multimedia object into the text edited by the user.
- the display unit 91 can display the candidate multimedia object on the preset position of the touch screen according to the object insertion instruction of the user, so that the candidate multimedia object and the candidate multimedia object are The text edited by the user is displayed on the same interface, and the selection unit 92 can select the multimedia object to be inserted in the candidate multimedia object according to the object selection instruction of the user, and insert the selected multimedia object into the In the text.
- the browsing, selection and insertion of the multimedia object can be completed directly on the interface of the text, without jumping to the multimedia interface to search, which simplifies the operation steps and visualizes the insertion effect. , which greatly improves the user experience.
- the display unit 91 can be specifically configured as:
- the text edited by the user is displayed in the text display area, and the candidate multimedia object is displayed in the object browsing area.
- the display unit 91 may also be specifically configured to display the candidate multimedia object in a semi-transparent form on top of the text edited by the user.
- the selecting unit 92 can be specifically configured as:
- the multimedia object to be inserted is selected among the candidate multimedia objects according to the second preset gesture of the user.
- the apparatus for inserting a multimedia object in a text may further include a deleting unit configured to: insert the multimedia object inserted into the text edited by the user according to a third preset gesture of the user Deleted in the text.
- an embodiment of the present invention further provides a mobile terminal, including a central processing unit and a touch screen, where the central processing unit is provided with any device for inserting a multimedia object in a text, and the user passes the The touch screen inputs various instructions to the device in the central processor.
- a method, an apparatus, and a terminal for inserting a multimedia object in a text can display an optional multimedia object on a preset position of the touch screen according to an object insertion instruction of the user, so that the The candidate multimedia object is displayed in the same interface as the user-edited text, and the multimedia object to be inserted is selected in the candidate multimedia object according to the object selection instruction of the user, and the selected multimedia object is inserted into the text. in.
- the browsing, selection and insertion of the multimedia object can be completed directly on the interface of the text, without jumping to the multimedia interface to search, which simplifies the operation steps and visualizes the insertion effect. , which greatly improves the user experience.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
一种在文本中***多媒体对象的方法、装置及终端,涉及通信电子领域,用以解决现有技术中在文本中***多媒体对象的步骤繁琐用户体验差的问题。所述方法包括:当用户进行文本编辑时,根据用户的对象***指令,将备选的多媒体对象显示在触摸屏的预设位置上,以使所述备选的多媒体对象与用户编辑的文本显示在同一界面(S11);根据用户的对象选择指令,在所述备选的多媒体对象中选中欲***的多媒体对象(S12);将所述被选中的多媒体对象***所述用户编辑的文本中(S13)。
Description
本发明涉及通讯电子技术领域,特别是涉及一种在文本中***多媒体对象的方法、装置及终端。
随着移动通信技术的发展,人们经常可以利用手机执行简单的办公任务或者制作简单的文件在网络上与人分享。当人们编辑文本文件时,常常需要通过以下操作在文本中***多媒体对象:点击添加按钮;跳入多媒体界面;选择一个多媒体对象后返回文本界面。
上述方法需要经过多次跳转才能选择到需要的多媒体文件,操作繁琐,而且用户在选择多媒体时无法看到文本框,无法直接看到多媒体模块在文本框中的显示效果,还需要***完成后返回到原先的界面才能查看,用户体验差。
发明内容
本发明要解决的技术问题是提供一种在文本中***多媒体对象的方法、装置及终端,用以解决现有技术中在文本中***多媒体对象的步骤繁琐用户体验差的问题。
在本发明实施例中,本发明提供一种在文本中***多媒体对象的方法,包括:当用户进行文本编辑时,根据用户的对象***指令,将备选的多媒体对象显示在触摸屏的预设位置上,以使所述备选的多媒体对象与用户编辑的文本显示在同一界面;根据用户的对象选择指令,在所述备选的多媒体对象中选中欲***的多媒体对象;将所述被选中的多媒体对象***所述用户编辑的文本中。
在本发明实施例中,所述将备选的多媒体对象显示在触摸屏的预设位置上,以使所述备选的多媒体对象与用户编辑的文本显示在同一界面包括:将所述触摸屏分为文本显示区和对象浏览区;将所述用户编辑的文本显示在所述文本显示区,将所述备选的多媒体对象显示在所述对象浏览区。
在本发明实施例中,所述将备选的多媒体对象显示在触摸屏的预设位置上,以使所述备选的多媒体对象与用户编辑的文本显示在同一界面包括:将所述备选的多媒体对象以半透明的形式悬浮显示在所述用户编辑的文本之上。
在本发明实施例中,所述根据用户的对象选择指令,在所述备选的多媒体对象中选中欲***的多媒体对象包括:根据用户的第一预设手势,将各所述备选的多媒体对象可相互重叠的显示或可滚动的显示,以使所述用户浏览到所有所述备选的多媒体对象;根据用户的第二预设手势,在所述备选的多媒体对象中选中欲***的多媒体对象。
进一步的,所述将所述被选中的多媒体对象显示在所述用户编辑的文本中之后,所述方法还包括:根据用户的第三预设手势,将***到所述用户编辑的文本中的所述多媒体对象从所述文本中删除。
在本发明实施例中,本发明还提供一种在文本中***多媒体对象的装置,包括:显示单元,设置为当用户进行文本编辑时,根据用户的对象***指令,将备选的多媒体对象显示在触摸屏的预设位置上,以使所述备选的多媒体对象与用户编辑的文本显示在同一界面;选择单元,设置为根据用户的对象选择指令,在所述备选的多媒体对象中选中欲***的多媒体对象;***单元,将所述被选中的多媒体对象***所述用户编辑的文本中。
在本发明实施例中,所述显示单元具体设置为:将所述触摸屏分为文本显示区和对象浏览区;将所述用户编辑的文本显示在所述文本显示区,将所述备选的多媒体对象显示在所述对象浏览区。
在本发明实施例中,所述显示单元具体设置为:将所述备选的多媒体对象以半透明的形式悬浮显示在所述用户编辑的文本之上。
在本发明实施例中,所述选择单元具体设置为:根据用户的第一预设手势,将各所述备选的多媒体对象可相互重叠的显示或可滚动的显示,以使所述用户浏览到所有所述备选的多媒体对象;根据用户的第二预设手势,在所述备选的多媒体对象中选中欲***的多媒体对象。
进一步的,该装置还包括删除单元,设置为根据用户的第三预设手势,将***到所述用户编辑的文本中的所述多媒体对象从所述文本中删除。
在本发明实施例中,一种移动终端,包括中央处理器和触摸屏,所述中央处理器中设置有本发明提供的在文本中***多媒体对象的装置,用户通过所述触摸屏向所述中央处理器中的所述装置输入各种指令。
本发明实施例提供的在文本中***多媒体对象的方法、装置及终端,能够根据用户的对象***指令,将备选的多媒体对象显示在触摸屏的预设位置上,使所述备选的多媒体对象与用户编辑的文本显示在同一界面,并且能够根据用户的对象选择指令,在备选的多媒体对象中选中欲***的多媒体对象,将被选中的所述多媒体对象***所述文本中。这样,当用户需要在文本中***多媒体对象时,直接在文本所在界面即可完成多媒体对象的浏览、选择和***,无需跳转到多媒体界面去查找,既简化了操作步骤,又使得***效果可视化,从而大大提高了用户体验。
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:
图1是本发明实施例提供的在文本中***多媒体对象的方法的一种流程图;
图2是本发明实施例中在文本中***多媒体对象的一种界面示意图;
图3是本发明实施例中在文本中***多媒体对象的另一种界面示意图;
图4是本发明实施例中在文本中***多媒体对象的又一种界面示意图;
图5是本发明实施例中在文本中***多媒体对象的再一种界面示意图;
图6是本发明实施例中在文本中***多媒体对象的再又一种界面示意图;
图7是本发明实施例中在文本中***多媒体对象的另一种流程图;
图8是本发明实施例中在文本中***多媒体对象后进行对象删除前的一种界面示意图;
图9是本发明实施例中在文本中***多媒体对象后进行对象删除后的一种界面示意图;
图10是本发明实施例中在文本中***多媒体对象后重新进入文本编辑状态的一种界面示意图;
图11是本发明实施例中在文本中***多媒体对象后进行对象删除前的另一种界面示意图;
图12是本发明实施例中在文本中***多媒体对象后进行对象删除后的另一种界面示意图;
图13是本发明实施例中在文本中***多媒体对象的一种操作流程图;
图14是本发明实施例中在文本中***多媒体对象的另一种操作流程图;
图15是本发明实施例中在文本中***多媒体对象的又一种操作流程图;
图16是本发明实施例提供的在文本中***多媒体对象的装置的一种结构示意图。
以下结合附图对本发明进行详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不限定本发明。
如图1所示,本发明实施例提供一种在文本中***多媒体对象的方法,包括:
S11,当用户进行文本编辑时,根据用户的对象***指令,将备选的多媒体对象显示在触摸屏的预设位置上,以使所述备选的多媒体对象与用户编辑的文本显示在同一界面;
S12,根据用户的对象选择指令,在所述备选的多媒体对象中选中欲***的多媒体对象;
S13,将被选中的多媒体对象***用户编辑的文本中。
本发明实施例提供的在文本中***多媒体对象的方法,能够根据用户的对象***指令,将备选的多媒体对象显示在触摸屏的预设位置上,使所述备选的多媒体对象与用户编辑的文本显示在同一界面,并且能够根据用户的对象选择指令,在备选的多媒体对象中选中欲***的多媒体对象,将被选中的多媒体对象***所述文本中。这样,当用户需要在文本中***多
媒体对象时,直接在文本所在界面即可完成多媒体对象的浏览、选择和***,无需跳转到多媒体界面去查找,既简化了操作步骤,又使得***效果可视化,从而大大提高了用户体验。
具体而言,在步骤S11中,如图2所示,当用户编辑文本时,文本框处于激活状态,可以通过模拟键盘输入文字。一般的,在文本框中或外部,还设有***多媒体文件的按钮,当用户按此按钮时,即可启动多媒体对象浏览状态,将备选的多媒体对象显示在触摸屏的预设位置上,以使所述备选的多媒体对象与用户编辑的文本显示在同一界面,对象浏览状态(即文本框与备选的多媒体对象共同存在的状态)可如图3所示。图3中所需要添加的多媒体对象会直接被显示在当前输入界面的一小块屏幕上。显示在这块区域的多媒体对象是一个个区分开的,如图中的小方块1、2、3就分别表示不同的多媒体对象,比如图片1、图片2、图片3等等。
在本发明实施例中,备选的多媒体对象可以为一个或多个,具体可以根据用户的设定而不同。例如,用户可以指定只显示某个文件目录中的多媒体对象,也可以指定显示终端中所有的多媒体对象。为了方便用户的查找,备选的多媒体对象可以以缩略图的形式显示,而且,备选的多媒体对象的排列方式也可以按需求设定,例如,可以将这些多媒体对象按类别排好(如图片、语音、动画、视频等),也可以将这些多媒体对象按照文件名或更新日期排列,本发明的实施例对此不做限定。
在本发明实施例中,将备选的多媒体对象显示在触摸屏的预设位置上,以使所述备选的多媒体对象与用户编辑的文本显示在同一界面具体可以采用不同的显示方式实现。例如,在本发明的一个实施例中,可以将所述触摸屏分为文本显示区和对象浏览区;将用户编辑的文本显示在所述文本显示区,将备选的多媒体对象显示在对象浏览区,多媒体对象与用户编辑的文本显示在同一界面的状态可如图3所示。或者,在本发明的另一个实施例中,也可以将备选的多媒体对象以半透明的形式悬浮显示在用户编辑的文本之上,以便使多媒体对象与用户编辑的文本显示在同一界面。
这些备选的多媒体对象是可以***作的,具体而言,在步骤S12中,根据用户的对象选择指令,在所述备选的多媒体对象中选中欲***的多媒体对象可包括:
根据用户的第一预设手势(如左右滑动),将各所述备选的多媒体对象可相互重叠的显示或可滚动的显示,以使所述用户浏览到所有所述备选的多媒体对象;
根据用户的第二预设手势(如向上滑动),在所述备选的多媒体对象中选中欲***的多媒体对象。
例如,如图4所示,当用户向左滑动时,各备选的多媒体对象可以彼此部分重叠或全部重叠,以使更多备选的多媒体对象可以显示在触摸屏上。当用户向右滑动时,各备选的多媒体对象又可以一一铺开,从而方便用户单独对其中一个备选的多媒体对象进行操作。整个过程犹如可以展开和合起的扑克牌或折扇。浏览完备选的多媒体对象后,用户可以通过长按或短按或向上滑动等手势选择其中的一个或几个多媒体对象,并在步骤S13中,将用户选择的多媒体对象***到文本的预设位置,多媒体对象***文本前和***文本后的界面可分别如图5
和图6所示。
图7示出了将图片类型的多媒体对象***到文本的简要流程,从用户进行文本输入开始,当需要***图片时用户可点击***图片按钮,然后终端载入所有图片到当前界面以供用户进行图片选择,用户可以对这些图片进行滑动操作,然后进行点击操作从中选出需要***的图片,完成图片***。其他类型的多媒体对象的***类似。
进一步的,如果***的多媒体对象后,效果并不理想,还可以根据用户的第三预设手势(例如向下滑动对应的备选多媒体对象),将***到用户编辑的文本中的多媒体对象从该文本中删除,删除前后的界面可分别如图8和图9所示。
需要说明的是,上述实施例中的各项操作主要是针对备选的多媒体对象与用户编辑的文本显示在同一界面的状态的,但本发明不限于此,当多媒体对象***完成后,可以通过短按文本编辑框或者按动返回键等方式,使备选的多媒体对象从当前界面上消失,进而重新进入文本编辑状态,***多媒体对象后重新进入文本编辑状态的界面可如图10所示。
在***过程已完成的情况下,即已经回到文本输入界面的情况下,可以在文本输入框界面下直接按住需要删除的图片往下滑动,来实现将多媒体对象从文本框中删除的功能,其删除前后的界面可如图11、12所示。
下面通过具体实施例对本发明提供的在文本中***多媒体对象的方法进行详细说明。
本发明的一个实施例中,当需要在文本中添加多媒体对象的时候,移动终端能够响应用户的触摸手势,判断是什么手势,在本发明实施例中,这些手势可包括短按、长按向上、向下滑动,长按向左向右滑动等,这些手势的具体含义可以自行定义。
收到触摸手势命令之后,移动终端会根据当前所处的状态来判断是否响应该手势命令,具体判断如下:判断当前的手势命令是在状态1还是状态2下发送来的;其中,状态1指的是文本框状态,状态2指的是文本和多媒体共同显示并存状态。如果是状态1,那么只响应短按手势;如果是状态2才响应上下滑动、左右滑动的手势命令。分别对应不同的状态对多媒体对象进行操作之后,移动终端可再次判断当前的状态并以该状态作为下次处理的判断条件。移动终端的具体操作流程可如图13所示。
其中,当终端处于状态1的情况下,移动终端对手势的判断可如图14所示。即,在状态1情况下收到了按+号键的手势命令时,在终端中搜索所有的多媒体对象,并将这些多媒体对象按类别排好(如图片、语音、动画、视频等),然后按照这些类别排好显示出来,
此时状态1就会自动变为状态2了。由于终端显示器大小固定,因此用户可以自定义当前最多可现实多少多媒体对象。此时可以通过左右滑动显示区域的多媒体对象实现将其他多媒体对象显示出来,这些多媒体对象放在缓存中等待被调用显示。
如图15所示,在状态2下,移动终端可以响应短按、上下、左右滑动等操作,并定义上下滑动和左右滑动的具体操作命令。如,左右滑动表示可以将显示区域内的多媒体对象隐藏
或者显示出来,上下滑动可以定义为是否选定这个多媒体对象***文本框或者从文本框中删除这个多媒体对象。如果此时用户在文本框上做短按触摸操作,那么此时将会退出状态2进入状态1。
本实施例中,当文本框需要***多媒体对象时,可以通过手势操作将多媒体对象和文本框共同显示给用户,使得用户在选择多媒体对象时能够直截了当的看到多媒体对象在文本框中的情景,方便了用户操作,简化了人机互动的步骤,使用户操作更为流畅。
文本所述的仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改的变化,例如多媒体对象不仅仅包含图片,还以扩展到声音文件、视频文件等等。操作手势不仅仅包涵上下左右滑动,也可以为多指触摸或者转动等等。使用场景包括QQ、微信等聊天时发送多媒体对象;记事本记事时添加对媒体对象;写邮件时添加多媒体对象等等场景。
本发明提供的在文本中***多媒体对象的方法,直接将多媒体对象呈现在文本框当前的页面,非常直观的帮助电子设备使用者查看、选择、删除所需要的多媒体对象,整个操作过程简洁、明了。充分体现了人机互动的优越性。
相应的,本发明还提供一种在文本中***多媒体对象的装置,如图16所示,该装置可包括:
显示单元91,设置为当用户进行文本编辑时,根据用户的对象***指令,将备选的多媒体对象显示在触摸屏的预设位置上,以使所述备选的多媒体对象与用户编辑的文本显示在同一界面;
选择单元92,设置为根据用户的对象选择指令,在所述备选的多媒体对象中选中欲***的多媒体对象;
***单元93,将被选中的多媒体对象***所述用户编辑的文本中。
本发明实施例提供的在文本中***多媒体对象的装置,显示单元91能够根据用户的对象***指令,将备选的多媒体对象显示在触摸屏的预设位置上,使所述备选的多媒体对象与用户编辑的文本显示在同一界面,选择单元92能够根据用户的对象选择指令,在备选的多媒体对象中选中欲***的多媒体对象,并通过***单元93将被选中的所述多媒体对象***所述文本中。这样,当用户需要在文本中***多媒体对象时,直接在文本所在界面即可完成多媒体对象的浏览、选择和***,无需跳转到多媒体界面去查找,既简化了操作步骤,又使得***效果可视化,从而大大提高了用户体验。
在本发明实施例中,显示单元91可具体设置为:
将所述触摸屏分为文本显示区和对象浏览区;
将用户编辑的文本显示在所述文本显示区,将所述备选的多媒体对象显示在所述对象浏览区。
在本发明实施例中,显示单元91也可具体设置为将所述备选的多媒体对象以半透明的形式悬浮显示在所述用户编辑的文本之上。
具体而言,选择单元92可具体设置为:
根据用户的第一预设手势,将各所述备选的多媒体对象可相互重叠的显示或可滚动的显示,以使所述用户浏览到所有所述备选的多媒体对象;
根据用户的第二预设手势,在所述备选的多媒体对象中选中欲***的多媒体对象。
进一步的,实施例提供的在文本中***多媒体对象的装置,还可包括删除单元,设置为根据用户的第三预设手势,将***到所述用户编辑的文本中的所述多媒体对象从所述文本中删除。
相应的,本发明的实施例还提供一种移动终端,包括中央处理器和触摸屏,所述中央处理器中设置有上述实施例中任一种在文本中***多媒体对象的装置,用户通过所述触摸屏向所述中央处理器中的所述装置输入各种指令。
由于该移动终端中设置有上述实施例中的装置,因此也能实现相应的有益技术效果,前文已经进行了详细的说明,此处不再赘述。
尽管为示例目的,已经公开了本发明的优选实施例,本领域的技术人员将意识到各种改进、增加和取代也是可能的,因此,本发明的范围应当不限于上述实施例。
基于本发明实施例提供的上述技术方案,在文本中***多媒体对象的方法、装置及终端,能够根据用户的对象***指令,将备选的多媒体对象显示在触摸屏的预设位置上,使所述备选的多媒体对象与用户编辑的文本显示在同一界面,并且能够根据用户的对象选择指令,在备选的多媒体对象中选中欲***的多媒体对象,将被选中的所述多媒体对象***所述文本中。这样,当用户需要在文本中***多媒体对象时,直接在文本所在界面即可完成多媒体对象的浏览、选择和***,无需跳转到多媒体界面去查找,既简化了操作步骤,又使得***效果可视化,从而大大提高了用户体验。
Claims (11)
- 一种在文本中***多媒体对象的方法,包括:当用户进行文本编辑时,根据用户的对象***指令,将备选的多媒体对象显示在触摸屏的预设位置上,以使所述备选的多媒体对象与用户编辑的文本显示在同一界面;根据用户的对象选择指令,在所述备选的多媒体对象中选中欲***的多媒体对象;将所述被选中的多媒体对象***所述用户编辑的文本中。
- 根据权利要求1所述的方法,其中,所述将备选的多媒体对象显示在触摸屏的预设位置上,以使所述备选的多媒体对象与用户编辑的文本显示在同一界面包括:将所述触摸屏分为文本显示区和对象浏览区;将所述用户编辑的文本显示在所述文本显示区,将所述备选的多媒体对象显示在所述对象浏览区。
- 根据权利要求1所述的方法,其中,所述将备选的多媒体对象显示在触摸屏的预设位置上,以使所述备选的多媒体对象与用户编辑的文本显示在同一界面包括:将所述备选的多媒体对象以半透明的形式悬浮显示在所述用户编辑的文本之上。
- 根据权利要求1至3中任一项所述的方法,其中,所述根据用户的对象选择指令,在所述备选的多媒体对象中选中欲***的多媒体对象包括:根据用户的第一预设手势,将各所述备选的多媒体对象可相互重叠的显示或可滚动的显示,以使所述用户浏览到所有所述备选的多媒体对象;根据用户的第二预设手势,在所述备选的多媒体对象中选中欲***的多媒体对象。
- 根据权利要求1至3中任一项所述的方法,其中,所述将所述被选中的多媒体对象显示在所述用户编辑的文本中之后,所述方法还包括:根据用户的第三预设手势,将***到所述用户编辑的文本中的所述多媒体对象从所述文本中删除。
- 一种在文本中***多媒体对象的装置,包括:显示单元,设置为当用户进行文本编辑时,根据用户的对象***指令,将备选的多媒体对象显示在触摸屏的预设位置上,以使所述备选的多媒体对象与用户编辑的文本显示在同一界面;选择单元,设置为根据用户的对象选择指令,在所述备选的多媒体对象中选中欲***的多媒体对象;***单元,将所述被选中的多媒体对象***所述用户编辑的文本中。
- 根据权利要求6所述的装置,其中,所述显示单元具体设置为:将所述触摸屏分为文本显示区和对象浏览区;将所述用户编辑的文本显示在所述文本显示区,将所述备选的多媒体对象显示在所述对象浏览区。
- 根据权利要求6所述的装置,其中,所述显示单元具体设置为:将所述备选的多媒体对象以半透明的形式悬浮显示在所述用户编辑的文本之上。
- 根据权利要求6至8中任一项所述的装置,其中,所述选择单元具体设置为:根据用户的第一预设手势,将各所述备选的多媒体对象可相互重叠的显示或可滚动的显示,以使所述用户浏览到所有所述备选的多媒体对象;根据用户的第二预设手势,在所述备选的多媒体对象中选中欲***的多媒体对象。
- 根据权利要求6至8中任一项所述的装置,其中,还包括删除单元,设置为根据用户的第三预设手势,将***到所述用户编辑的文本中的所述多媒体对象从所述文本中删除。
- 一种移动终端,包括中央处理器和触摸屏,所述中央处理器中设置有权利要求6至10中任一项所述的装置,用户通过所述触摸屏向所述中央处理器中的所述装置输入各种指令。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510040748.9 | 2015-01-27 | ||
CN201510040748.9A CN105988981A (zh) | 2015-01-27 | 2015-01-27 | 一种在文本中***多媒体对象的方法、装置及终端 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2016119453A1 true WO2016119453A1 (zh) | 2016-08-04 |
Family
ID=56542319
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2015/088176 WO2016119453A1 (zh) | 2015-01-27 | 2015-08-26 | 一种在文本中***多媒体对象的方法、装置及终端 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105988981A (zh) |
WO (1) | WO2016119453A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112036149A (zh) * | 2020-09-01 | 2020-12-04 | 珠海豹趣科技有限公司 | 一种文件编辑方法、装置、电子设备及存储介质 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005084936A (ja) * | 2003-09-08 | 2005-03-31 | Just Syst Corp | 画像レイアウト装置 |
CN101552829A (zh) * | 2008-03-31 | 2009-10-07 | 比亚迪股份有限公司 | 一种彩信的编辑方法、***及信息终端 |
CN101819566A (zh) * | 2010-04-22 | 2010-09-01 | 中兴通讯股份有限公司 | 用于多媒体消息中媒体对象的处理方法和多媒体终端 |
CN102713896A (zh) * | 2009-10-29 | 2012-10-03 | 国际商业机器公司 | 用于编辑电子文档的***、方法及程序 |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104063365B (zh) * | 2013-03-19 | 2018-08-21 | 福建福昕软件开发股份有限公司 | 在pdf文档中***对象的方法 |
KR101488595B1 (ko) * | 2013-05-31 | 2015-01-30 | 주식회사 유비온 | 위지윅 기반 html 편집기의 템플릿 구조 유지방법 및 장치 |
-
2015
- 2015-01-27 CN CN201510040748.9A patent/CN105988981A/zh active Pending
- 2015-08-26 WO PCT/CN2015/088176 patent/WO2016119453A1/zh active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005084936A (ja) * | 2003-09-08 | 2005-03-31 | Just Syst Corp | 画像レイアウト装置 |
CN101552829A (zh) * | 2008-03-31 | 2009-10-07 | 比亚迪股份有限公司 | 一种彩信的编辑方法、***及信息终端 |
CN102713896A (zh) * | 2009-10-29 | 2012-10-03 | 国际商业机器公司 | 用于编辑电子文档的***、方法及程序 |
CN101819566A (zh) * | 2010-04-22 | 2010-09-01 | 中兴通讯股份有限公司 | 用于多媒体消息中媒体对象的处理方法和多媒体终端 |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112036149A (zh) * | 2020-09-01 | 2020-12-04 | 珠海豹趣科技有限公司 | 一种文件编辑方法、装置、电子设备及存储介质 |
CN112036149B (zh) * | 2020-09-01 | 2023-10-27 | 珠海豹趣科技有限公司 | 一种文件编辑方法、装置、电子设备及存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN105988981A (zh) | 2016-10-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11947782B2 (en) | Device, method, and graphical user interface for manipulating workspace views | |
US11972104B2 (en) | Device, method, and graphical user interface for manipulating user interface objects | |
US11567656B2 (en) | Information processing device, operation input method and operation input program | |
CN111538406B (zh) | 用于计算设备的用户界面 | |
WO2019128732A1 (zh) | 一种图标管理的方法及装置 | |
TWI522889B (zh) | 管理使用者介面中之工作空間 | |
WO2022068773A1 (zh) | 桌面元素调整方法、装置和电子设备 | |
JP6434199B2 (ja) | メッセージベースの対話機能運用方法及びこれを支援する端末機 | |
US9535503B2 (en) | Methods and devices for simultaneous multi-touch input | |
TWI570580B (zh) | 巡覽一瀏覽器中之複數個內容項目的方法、電腦系統及電腦程式產品 | |
KR100984817B1 (ko) | 이동통신 단말기의 터치스크린을 이용한 사용자 인터페이스 방법 | |
KR20130024220A (ko) | 휴대단말기의 입력 장치 및 방법 | |
JP2014149833A (ja) | マルチタスキング運用のための画面表示方法及びこれをサポートする端末機 | |
KR20090081602A (ko) | 멀티포인트 스트록을 감지하기 위한 ui 제공방법 및 이를적용한 멀티미디어 기기 | |
JP2014525065A (ja) | 文書操作のためのデバイス、方法及びグラフィカルユーザインタフェース | |
US20150082211A1 (en) | Terminal and method for editing user interface | |
JP2012003508A (ja) | 情報処理装置、方法及びプログラム | |
WO2014019207A1 (zh) | Widget处理方法、装置及移动终端 | |
WO2018113065A1 (zh) | 一种信息展示方法、装置及终端设备 | |
KR20150126213A (ko) | 정보 검색 시스템 및 방법 | |
CN105393201A (zh) | 用于管理同时打开的软件应用的设备、方法和图形用户界面 | |
WO2023046068A1 (zh) | 文件处理方法及装置 | |
JP6865015B2 (ja) | 情報表示装置 | |
WO2022017090A1 (zh) | 一种信息显示方法、电子设备和存储介质 | |
CN106896995A (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: 15879651 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: 15879651 Country of ref document: EP Kind code of ref document: A1 |