CN106844705B - Method and apparatus for displaying multimedia content - Google Patents

Method and apparatus for displaying multimedia content Download PDF

Info

Publication number
CN106844705B
CN106844705B CN201710065572.1A CN201710065572A CN106844705B CN 106844705 B CN106844705 B CN 106844705B CN 201710065572 A CN201710065572 A CN 201710065572A CN 106844705 B CN106844705 B CN 106844705B
Authority
CN
China
Prior art keywords
multimedia content
editing window
option
video
link
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.)
Active
Application number
CN201710065572.1A
Other languages
Chinese (zh)
Other versions
CN106844705A (en
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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201710065572.1A priority Critical patent/CN106844705B/en
Publication of CN106844705A publication Critical patent/CN106844705A/en
Application granted granted Critical
Publication of CN106844705B publication Critical patent/CN106844705B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/43Querying
    • G06F16/438Presentation of query results

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

Methods and apparatus for displaying multimedia content are disclosed. One embodiment of the above method comprises: detecting an operation acting on an editing window, wherein the editing window is a window for editing multimedia content; responding to the detected operation for triggering the issuing instruction, and acquiring data in a preset format related to the multimedia content currently contained in the editing window; analyzing the data to determine a display template; and displaying the multimedia content currently contained in the editing window by using the display template. This embodiment reduces the time cost for the user to edit the multimedia content.

Description

Method and apparatus for displaying multimedia content
Technical Field
The present application relates to the field of computer technologies, and in particular, to the field of internet technologies, and in particular, to a method and an apparatus for displaying multimedia content.
Background
Multimedia (Multimedia) is a composite of multiple media, generally including multiple media forms such as text, sound, and images. With the development of computer technology, the display of multimedia content can be controlled to realize rich display modes. However, how to realize rich multimedia content display modes on the basis of reducing the time cost for users to edit multimedia content is a problem worthy of research.
Disclosure of Invention
It is an object of the present application to propose an improved method and apparatus for displaying multimedia content to solve the technical problems mentioned in the background section above.
In a first aspect, the present application provides a method for displaying multimedia content, the method comprising: detecting an operation acting on an editing window, wherein the editing window is a window for editing multimedia content; responding to the detected operation for triggering the issuing instruction, and acquiring data in a preset format related to the multimedia content currently contained in the editing window; analyzing the data to determine a display template; and displaying the multimedia content currently contained in the editing window by using the display template.
In some embodiments, the acquiring data in a preset format related to the multimedia content currently contained in the editing window includes: determining whether the multimedia content currently contained in the editing window comprises locally acquired multimedia content or remotely acquired multimedia content; in response to the fact that the multimedia content currently contained in the editing window comprises locally acquired multimedia content, sending the locally acquired multimedia content to a connected server so that the server generates data in a preset format related to the locally acquired multimedia content and returns a Uniform Resource Locator (URL) of the generated data in the preset format; and acquiring data in a preset format related to the locally acquired multimedia content according to the URL.
In some embodiments, the acquiring data in a preset format related to the multimedia content currently contained in the editing window includes: in response to the fact that the multimedia content currently contained in the editing window comprises the remotely acquired multimedia content, analyzing the remotely acquired multimedia content to obtain an identifier of the remotely acquired multimedia content, searching a first identifier which is the same as the identifier from a prestored information list, and acquiring data in a preset format related to the remotely acquired multimedia content according to a URL (uniform resource locator) indicated by the first identifier, wherein each piece of information in the information list comprises the first identifier and the URL indicated by the first identifier.
In some embodiments, the editing window includes at least one option for adding different multimedia content; and after the detecting the operation on the editing window, the method further comprises: and responding to the detection of the selection operation of any option in the at least one option, and adding the multimedia content to the editing window according to the selection operation.
In some embodiments, the at least one option comprises at least one of: an option to add pictures, an option to add videos, an option to add links; and the adding of the multimedia content to the editing window according to the selected operation comprises: responding to the selection of the option for adding the picture, acquiring the picture submitted by the user, and displaying the acquired picture on the editing window, wherein the picture submitted by the user comprises at least one of the following items: the method comprises the steps of network pictures, pictures selected from a local picture library, and pictures shot by starting a camera.
In some embodiments, the adding multimedia content to the editing window according to the selected operation includes: responding to the selected option for adding the video, acquiring the video submitted by the user, and displaying a video cover of the acquired video on the editing window, wherein the video submitted by the user comprises at least one of the following items: the method comprises the steps of network video, video selected from a local video library, and video shot by starting a camera.
In some embodiments, the adding multimedia content to the editing window according to the selected operation includes: responding to the selection of the option for adding the link, acquiring the link submitted by the user and the link type of the link, and sending the link and the link type to the server so that the server analyzes the link and returns the analyzed content; and displaying the analyzed content in the editing window.
In some embodiments, the above method further comprises: and for the newly displayed multimedia content in the editing window, a cursor is presented behind the newly displayed multimedia content.
In some embodiments, the above method further comprises: and displaying an icon supporting a deleting function on the picture and/or the video cover displayed by the editing window.
In a second aspect, the present application provides an apparatus for displaying multimedia content, the apparatus comprising: a detection unit configured to detect an operation acting on an editing window, wherein the editing window is a window for editing multimedia content; the obtaining unit is configured to respond to the detected operation for triggering the issuing instruction, and obtain data in a preset format related to the multimedia content currently contained in the editing window; the determining unit is configured to analyze the data to determine a display template; and the display unit is configured to display the multimedia content currently contained in the editing window by using the display template.
In some embodiments, the obtaining unit includes: a determining subunit, configured to determine whether the multimedia content currently contained in the editing window includes locally acquired multimedia content or remotely acquired multimedia content; a first obtaining subunit, configured to, in response to determining that the multimedia content currently included in the editing window includes locally obtained multimedia content, send the locally obtained multimedia content to a connected server, so that the server generates data in a preset format related to the locally obtained multimedia content, and returns a uniform resource locator URL of the generated data in the preset format; and acquiring data in a preset format related to the locally acquired multimedia content according to the URL.
In some embodiments, the obtaining unit includes: the second obtaining subunit is configured to, in response to determining that the multimedia content currently included in the editing window includes remotely obtained multimedia content, analyze the remotely obtained multimedia content to obtain an identifier of the remotely obtained multimedia content; and searching a first identifier which is the same as the identifier from a pre-stored information list, and acquiring data in a preset format related to the remotely acquired multimedia content according to the URL indicated by the first identifier, wherein each piece of information in the information list comprises the first identifier and the URL indicated by the first identifier.
In some embodiments, the editing window includes at least one option for adding different multimedia content; and the above apparatus further comprises: and the adding unit is configured to respond to the detection of the selection operation of any option in the at least one option and add the multimedia content to the editing window according to the selection operation.
In some embodiments, the at least one option comprises at least one of: an option to add pictures, an option to add videos, an option to add links; and the adding unit includes: the first processing subunit is configured to, in response to the option for adding the picture being selected, acquire a picture submitted by the user, and display the acquired picture in the editing window, where the picture submitted by the user includes at least one of the following: the method comprises the steps of network pictures, pictures selected from a local picture library, and pictures shot by starting a camera.
In some embodiments, the adding unit includes: the second processing subunit is configured to, in response to the option for adding the video being selected, acquire a video submitted by the user, and display a video cover of the acquired video on the editing window, where the video submitted by the user includes at least one of: the method comprises the steps of network video, video selected from a local video library, and video shot by starting a camera.
In some embodiments, the adding unit includes: a third processing subunit, configured to, in response to the option for adding a link being selected, obtain a link submitted by a user and a link type of the link, and send the link and the link type to the server, so that the server parses the link, and returns parsed content; and a display subunit configured to display the parsed content in the editing window.
In some embodiments, the above apparatus further comprises: and the first presentation unit is configured to present a cursor behind the newly displayed multimedia content in the editing window.
In some embodiments, the above apparatus further comprises: and the second presentation unit is configured to present icons supporting the deletion function on the pictures and/or the video covers displayed by the editing window.
According to the method and the device for displaying the multimedia content, the operation of triggering the preset instruction is found by detecting the operation acting on the editing window; then when detecting the operation for triggering the issuing instruction, acquiring data in a preset format related to the multimedia content currently contained in the editing window; then analyzing the acquired data so as to determine a display template; and finally, displaying the multimedia content currently contained in the editing window by using the display template. Thereby effectively utilizing the determination of the display template and reducing the time cost for the user to edit the multimedia content.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is an exemplary system architecture diagram in which the present application may be applied;
FIG. 2 is a flow diagram of one embodiment of a method for displaying multimedia content according to the present application;
FIG. 3 is a schematic diagram of an application scenario of a method for displaying multimedia content according to the present application;
FIG. 4 is a flow diagram of yet another embodiment of a method for displaying multimedia content according to the present application;
fig. 4a shows an effect diagram of a picture adding interface corresponding to an option for adding a picture according to the present application.
Fig. 4b shows a schematic diagram of the effect of a link addition interface corresponding to an option for adding a link according to the present application.
FIG. 5 is a schematic diagram illustrating one embodiment of an apparatus for displaying multimedia content according to the present application;
fig. 6 is a schematic structural diagram of a computer system suitable for implementing a terminal device according to an embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 1 shows an exemplary system architecture 100 to which embodiments of the method for displaying multimedia content or the apparatus for displaying multimedia content of the present application may be applied.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, a network 103, and a server 104. The network 103 serves as a medium for providing communication links between the terminal devices 101, 102 and the server 104. Network 103 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102 to interact with the server 104 over the network 103 to receive or send messages or the like. Various application programs, such as an input method application, a multimedia content editing application, a camera application, a photo application, a video application, and the like, may be installed on the terminal devices 101, 102.
The terminal devices 101, 102 may be various mobile devices having a display screen, including but not limited to smart phones, tablets, and the like.
The server 104 may be a server that provides various services, such as a background server that provides data support for content displayed on the terminal devices 101, 102. The background server may analyze the received information, and feed back a processing result (e.g., content obtained by analyzing the received link) to the terminal device.
It should be noted that the method for displaying multimedia content provided in the embodiment of the present application is generally performed by the terminal device 101, 102, and accordingly, the apparatus for displaying multimedia content is generally disposed in the terminal device 101, 102.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
With continued reference to FIG. 2, a flow 200 of one embodiment of a method for displaying multimedia content in accordance with the present application is shown. The method for displaying multimedia content includes the steps of:
in step 201, an operation on an editing window is detected.
In the present embodiment, an electronic device (e.g., terminal devices 101, 102 shown in fig. 1) on which the method for displaying multimedia content operates can detect an operation acting on an editing window in real time. Wherein the editing window is a window for editing multimedia content. The multimedia content supported by the editing window includes, but is not limited to, text, pictures, video, audio, links, and the like.
In some optional implementations of this embodiment, the editing window may include a post button for posting the multimedia content, may include at least one option for adding different multimedia content, such as an option for adding a picture, and/or an option for adding a video, and/or an option for adding a link, and so on. The editing window may include a display area for displaying multimedia content, the display area may display a cursor, and a user may directly input text in the display area. The electronic device can detect the clicking operation of the user on the button or the option, the input operation of the user in the display area and the like in real time.
In response to detecting the operation for triggering the issue instruction, the method obtains data in a preset format related to the multimedia content currently contained in the editing window, step 202.
In this embodiment, the user may trigger the issue instruction by clicking the issue button. And when the electronic equipment detects the click operation on the release button, acquiring data in a preset format related to the multimedia content currently contained in the editing window in a wired connection mode or a wireless connection mode. The data in the preset format may be data in a JSON (JavaScript Object Notation) format. The data in the preset format may be stored in a server (for example, the server 104 shown in fig. 1) connected to the electronic device, or may be stored in a database communicatively connected to the electronic device and the server, respectively.
In some optional implementations of this embodiment, after the electronic device detects an operation for triggering an issue instruction, it may first determine whether multimedia content currently contained in an edit window includes locally acquired multimedia content or remotely acquired multimedia content; in response to determining that the multimedia content currently contained in the edit window includes locally-acquired multimedia content, the electronic device may send the locally-acquired multimedia content to the server, so that the server generates data in a preset format related to the locally-acquired multimedia content, and returns a URL (Uniform Resource Locator) of the generated data in the preset format; the electronic device may obtain data in a preset format related to the locally obtained multimedia content according to the URL. Wherein the locally acquired multimedia content may include at least one of the following: pictures selected from a local picture library, pictures taken by activating a camera, videos selected from a local video library, videos taken by activating a camera, text input by a user.
In some optional implementation manners of this embodiment, in response to determining that the multimedia content currently included in the editing window includes remotely acquired multimedia content, the electronic device may parse the remotely acquired multimedia content to obtain an identifier of the remotely acquired multimedia content, and then the electronic device may find a first identifier that is the same as the identifier from a pre-stored information list, and acquire data in a preset format related to the remotely acquired multimedia content according to a URL indicated by the first identifier. Each piece of information in the pre-stored information list may include a first identifier and a URL indicated by the first identifier. Here, the pre-stored information list may be stored locally in the electronic device, in the server, or in the database. Optionally, the remotely acquired multimedia content may include at least one of: network pictures and network videos.
Step 203, analyzing the acquired data to determine a display template.
In this embodiment, the data acquired in step 202 may include data defining a presentation manner of the multimedia content currently included in the editing window. The electronic device can analyze the acquired data to convert the acquired data into the display template. Here, the display template defines a presentation manner of the multimedia contents. For example, for a text whose number of characters exceeds a predetermined number, only the first predetermined number of characters of the text are displayed, the remaining characters are in a hidden state, and the hidden characters can be displayed by clicking an expansion button. Wherein, different types of multimedia contents can correspond to different display templates.
In some optional implementations of the embodiment, the electronic device may pre-define a display template corresponding to each type of multimedia content. The electronic device may first parse the types of the multimedia contents included in the acquired data, and then determine predefined display templates respectively corresponding to the parsed different types of multimedia contents.
And step 204, displaying the multimedia content currently contained in the editing window by using the display template.
In this embodiment, the electronic device may display the multimedia content currently included in the editing window on a non-editing interface (e.g., a sharing interface) by using the determined display template. Here, when the newly displayed multimedia content is displayed on the above-described non-editing interface, an option for deleting, and/or editing, and/or commenting on the newly displayed multimedia content may be simultaneously displayed.
It should be noted that, when the multimedia content currently included in the editing window is displayed by using the display template, a streaming layout may be adopted, that is, the width of the multimedia content in the non-editing page may be adaptively adjusted according to the screen width of the terminal device.
With continued reference to fig. 3, fig. 3 is a schematic diagram of an application scenario of the method for displaying multimedia content according to the present embodiment. In the application scenario of fig. 3, the editing window, as shown by reference numeral 301, includes the text "favorite movie" textbook ", do you want to go to theater and re-warm this movie, have you go? Want to be in the same row as my, please contact me auro! Address: -XXX, YYY, zone ZZZ street, AAA cinema ", a video cover of the movie" textbook ", a cancel button for closing the editing window, a publish button for publishing the multimedia content currently contained in the editing window, and options for adding multimedia content displayed at the bottom of the editing window, which options are, from left to right, an option for adding a link, an option for adding a picture, and an option for adding a video. A user can trigger a release instruction by clicking the release button; then, after detecting the click operation on the release button, the terminal device (e.g., smart phone) where the editing window is located may acquire data in a preset format related to the text and the video cover; then, the terminal device can analyze the acquired data to determine a display template; finally, the terminal device may display the text and the video cover using the determined display template, such as the "my share" interface shown as reference numeral 302. On the "my share" interface, the first line of the text is indented with two characters to the right, and part of the content of the text, namely "favorite movie church", which i want to go to the cinema to rewet "is displayed on the interface, the non-displayed content is replaced by an ellipsis" … ", and an expansion button (as shown by a reference numeral 3022) is displayed below the text, so that the user can expand the hidden text by clicking the expansion button. Also displayed on the "my share" interface is an icon, as shown at reference numeral 3021, which, when clicked by the user, may present the user with at least one of the following options: and deleting the option, editing the option and commenting the option so that the user can perform corresponding operation on the newly added multimedia content. Also, the user can click on the play icon on the video cover to play the video.
The method provided by the embodiment of the application effectively utilizes the determination of the display template, and reduces the time cost for the user to edit the multimedia content.
With further reference to fig. 4, a flow 400 of yet another embodiment of a method for displaying multimedia content is shown. The process 400 for displaying multimedia content comprises the following steps:
in step 401, an operation on an editing window is detected.
In the present embodiment, an electronic device (e.g., terminal devices 101, 102 shown in fig. 1) on which the method for displaying multimedia content operates can detect an operation acting on an editing window in real time. Wherein the editing window is a window for editing multimedia content, which may comprise at least one option for adding different multimedia content.
Step 402, in response to detecting a selection operation of any one of at least one option for adding different multimedia content, adding the multimedia content to the editing window according to the selection operation.
In this embodiment, the at least one option may include at least one of: an option to add pictures, an option to add videos, an option to add links. The electronic equipment can add the multimedia content to the editing window according to the detected selected operation of any option in the at least one option. As an example, when the electronic device detects a selection operation on any one of the at least one option, the electronic device may present an interface indicated by the selection operation to a user, so that the user selects a desired multimedia content on the interface, and then the electronic device may acquire the multimedia content selected by the user and display the multimedia content on an editing window.
In some optional implementation manners of this embodiment, in response to a selection of an option for adding a picture, the electronic device may acquire a picture submitted by a user and display the acquired picture in an editing window, where the picture submitted by the user may include at least one of the following: the method comprises the steps of network pictures, pictures selected from a local picture library, and pictures shot by starting a camera. By way of example, when the electronic device detects that an option for adding a picture is selected, the electronic device may present a picture adding interface shown in fig. 4a to a user, where fig. 4a shows an effect schematic diagram of the picture adding interface corresponding to the option for adding the picture according to the present application. The picture adding interface may include a photo taking option as shown by reference numeral 406, a network picture option as shown by reference numeral 407, and a picture in the local picture library as shown by reference numeral 408. The user can start the camera to shoot the picture by clicking the photo shooting option, can call the picture in the network picture library by clicking the network picture option, and can directly select the picture in the local picture library. The electronic device can detect the operation acting on the picture adding interface in real time. When the operation for triggering the submission instruction is detected, the electronic device may acquire the picture submitted by the user and display the acquired picture in the editing window.
In some optional implementations of this embodiment, in response to the option for adding a video being selected, the electronic device may acquire a video submitted by a user, and display a video cover of the acquired video in an editing window, where the video submitted by the user may include at least one of: the method comprises the steps of network video, video selected from a local video library, and video shot by starting a camera. As an example, the electronic device may present a video addition interface to a user when the electronic device detects that an option to add a video is selected. The video adding interface can display a shooting video option, a network video option and videos in the local video library. The user can start the camera to shoot the video by clicking the video shooting option, can call the video in the network video library by clicking the network video option, and can directly select the video in the local video library. The electronic device may detect an operation acting on the video adding interface in real time. When an operation for triggering a submission instruction is detected, the electronic device may acquire a video submitted by a user, and display a video cover of the acquired video in an editing window.
In some optional implementation manners of this embodiment, in response to the option for adding a link being selected, the electronic device may obtain a link submitted by a user and a link type of the link, and send the link and the link type of the link to a server connected to the electronic device, so that the server parses the link and returns parsed content; the electronic device may display the parsed content in an editing window. Here, the parsed content may be any one of: text, links, pictures, video, audio.
By way of example, when the electronic device detects that an option for adding a link is selected, the electronic device may present a link addition interface as shown in fig. 4b to the user, and fig. 4b is a schematic diagram illustrating an effect of the link addition interface corresponding to the option for adding the link according to the application. The link addition interface may include an option for selecting a link type as shown at reference numeral 409 (the default link type may be a cloud disk link), a text box for entering a link as shown at reference numeral 410, and a cancel button for exiting the link addition interface and a submit button for submitting a link and a link type. Here, the link type may include at least one of: a general link, a picture link, a video link, a cloud disk link, wherein a link that does not point to a video, a picture or a cloud disk may be a general link. The user may select the desired link type by clicking on the upper triangle or lower triangle icon in the above options for selecting the link type. The electronic device can receive a link input by a user through a keyboard through the text box, such as a link "http:// yunnan. xxx. com/xxx. jpg", and can also directly acquire the link copied into the clipboard by the user and display the link in the text box. When the electronic equipment detects that the submission button is clicked, the link types of 'cloud disk link' and 'http:// yunnan.xxx.com/xxx.jpg' displayed by the link adding interface can be acquired and sent to the server, so that the server analyzes the received link and returns analyzed content, such as a picture xxx.jpg pointed by the link. The electronic device may display the received picture xxx.jpg in an editing window.
In some optional implementation manners of this embodiment, the electronic device may display the multimedia content added by the user in the editing window by using predefined display templates, which correspond to different types of multimedia content respectively and are applied to the editing window. The display mode of the multimedia content in the editing window is predefined by the display template. For example, when more than one picture is added by the user, each picture is displayed in a row and in the middle according to the selection sequence of the pictures; the width of the multimedia content (such as pictures and video covers) in the editing window can be adaptively adjusted according to the screen width of the terminal equipment.
In some optional implementations of this embodiment, for the newly displayed multimedia content in the editing window, the electronic device may present a cursor behind the newly displayed multimedia content, so that the user deletes the multimedia content displayed in the editing window in order from the cursor position through a key on the keyboard that supports a delete function.
In some optional implementation manners of the embodiment, the electronic device may present an icon supporting a deletion function on the picture and/or the video cover displayed in the editing window, so that the user can delete any picture or video cover displayed in the editing window through the icon.
Step 403, in response to detecting the operation for triggering the issue instruction, acquiring data in a preset format related to the multimedia content currently contained in the editing window.
In this embodiment, the detailed processing of step 403 and the beneficial effects thereof can refer to the related description of the implementation manner of step 202 in the corresponding embodiment of fig. 2, and are not described herein again.
Step 404, parsing the acquired data to determine a display template.
In this embodiment, the detailed processing of step 404 and the beneficial effects thereof can refer to the related description of the implementation manner of step 203 in the corresponding embodiment of fig. 2, and are not described herein again.
Step 405, using the display template to display the multimedia content currently contained in the editing window.
In this embodiment, the detailed processing of step 405 and the beneficial effects thereof can refer to the related description of the implementation manner of step 204 in the corresponding embodiment of fig. 2, and are not described herein again.
As can be seen from fig. 4, the flow 400 for displaying multimedia content in the present embodiment highlights the step of adding to the multimedia content compared to the corresponding embodiment of fig. 2. Therefore, the scheme described in the embodiment can support the addition of different types of multimedia contents, thereby realizing the comprehensive addition and editing of the multimedia contents and reducing the time cost for editing the multimedia contents by a user.
With further reference to fig. 5, as an implementation of the methods shown in the above figures, the present application provides an embodiment of an apparatus for displaying multimedia content, which corresponds to the method embodiment shown in fig. 2, and which is particularly applicable to various mobile devices.
As shown in fig. 5, the apparatus 500 for displaying multimedia content of the present embodiment includes: a detection unit 501, an acquisition unit 502, a determination unit 503, and a display unit 504. The detecting unit 501 is configured to detect an operation applied to an editing window, where the editing window is a window for editing multimedia content; the obtaining unit 502 is configured to, in response to detecting an operation for triggering an issue instruction, obtain data in a preset format related to the multimedia content currently contained in the editing window; the determining unit 503 is configured to parse the data to determine a display template; the display unit 504 is configured to display the multimedia content currently contained in the editing window by using the display template.
In the present embodiment, in the apparatus 500 for displaying multimedia content: for specific processing of the detecting unit 501, the obtaining unit 502, the determining unit 503 and the displaying unit 504 and beneficial effects brought by the processing, reference may be made to related descriptions of implementation manners of step 201, step 202, step 203 and step 204 in the corresponding embodiment of fig. 2, and no further description is given here.
In some optional implementation manners of this embodiment, the obtaining unit 502 may include: a determining subunit (not shown in the figure), configured to determine whether the multimedia content currently contained in the editing window includes locally acquired multimedia content or remotely acquired multimedia content; a first obtaining subunit (not shown in the figure), configured to, in response to determining that the multimedia content currently contained in the editing window includes locally obtained multimedia content, send the locally obtained multimedia content to a connected server, so that the server generates data in a preset format related to the locally obtained multimedia content, and returns a uniform resource locator URL of the generated data in the preset format; and acquiring data in a preset format related to the locally acquired multimedia content according to the URL.
In some optional implementation manners of this embodiment, the obtaining unit 502 may include: a second obtaining subunit (not shown in the figure), configured to, in response to determining that the multimedia content currently included in the editing window includes a remotely obtained multimedia content, analyze the remotely obtained multimedia content to obtain an identifier of the remotely obtained multimedia content; and searching a first identifier which is the same as the identifier from a pre-stored information list, and acquiring data in a preset format related to the remotely acquired multimedia content according to the URL indicated by the first identifier, wherein each piece of information in the information list comprises the first identifier and the URL indicated by the first identifier.
In some optional implementations of this embodiment, the editing window may include at least one option for adding different multimedia content; and the apparatus 500 may further include: and an adding unit (not shown in the figure) configured to add multimedia content to the editing window according to a selected operation in response to detecting the selected operation on any one of the at least one option.
In some optional implementations of this embodiment, the at least one option may include at least one of: an option to add pictures, an option to add videos, an option to add links; and the adding unit may include: a first processing subunit (not shown in the figure), configured to, in response to the option for adding a picture being selected, obtain a picture submitted by the user, and display the obtained picture in the editing window, where the picture submitted by the user may include at least one of the following: the method comprises the steps of network pictures, pictures selected from a local picture library, and pictures shot by starting a camera.
In some optional implementations of this embodiment, the adding unit may include: a second processing subunit (not shown in the figure), configured to, in response to the option for adding a video being selected, obtain a video submitted by the user, and display a video cover of the obtained video on the editing window, where the video submitted by the user may include at least one of: the method comprises the steps of network video, video selected from a local video library, and video shot by starting a camera.
In some optional implementations of this embodiment, the adding unit may include: a third processing subunit (not shown in the figure), configured to, in response to the option for adding a link being selected, obtain a link submitted by a user and a link type of the link, and send the link and the link type to the server, so that the server parses the link, and returns parsed content; and a display subunit (not shown in the figure) configured to display the parsed content in the editing window.
In some optional implementations of this embodiment, the apparatus 500 may further include: and a first presentation unit (not shown in the figure) configured to present a cursor behind the newly displayed multimedia content in the editing window, with respect to the newly displayed multimedia content.
In some optional implementations of this embodiment, the apparatus 500 may further include: and a second presentation unit (not shown) configured to present an icon supporting a delete function on the picture and/or video cover displayed in the editing window.
Referring now to FIG. 6, shown is a block diagram of a computer system 600 suitable for use in implementing a terminal device of an embodiment of the present application.
As shown in fig. 6, the computer system 600 includes a Central Processing Unit (CPU)601 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage section 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data necessary for the operation of the system 600 are also stored. The CPU 601, ROM 602, and RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
The following components are connected to the I/O interface 605: an input portion 606 including a keyboard and the like; an output portion 607 including such as a display screen and a speaker; a storage section 608 including a hard disk and the like; and a communication section 609 including a network interface card such as a LAN card, a modem, or the like. The communication section 609 performs communication processing via a network such as the internet. The driver 610 is also connected to the I/O interface 605 as needed. A removable medium 611 such as a semiconductor memory or the like is mounted on the drive 610 as necessary, so that the computer program read out therefrom is mounted in the storage section 608 as necessary.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program tangibly embodied on a machine-readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 609, and/or installed from the removable medium 611. The computer program performs the above-described functions defined in the method of the present application when executed by a Central Processing Unit (CPU) 601.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software or hardware. The described units may also be provided in a processor, and may be described as: a processor includes a detection unit, an acquisition unit, a determination unit, and a display unit. Here, the names of these units do not constitute a limitation of the unit itself in some cases, and for example, the detection unit may also be described as a "unit that detects an operation acting on the editing window".
As another aspect, the present application also provides a non-volatile computer storage medium, which may be the non-volatile computer storage medium included in the apparatus in the above embodiment; or it may be a non-volatile computer storage medium that exists separately and is not incorporated into the terminal. The non-volatile computer storage medium stores one or more programs that, when executed by a device, cause the device to: detecting an operation acting on an editing window, wherein the editing window is a window for editing multimedia content; responding to the detected operation for triggering the issuing instruction, and acquiring data in a preset format related to the multimedia content currently contained in the editing window; analyzing the data to determine a display template; and displaying the multimedia content currently contained in the editing window by using the display template.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention herein disclosed is not limited to the particular combination of features described above, but also encompasses other arrangements formed by any combination of the above features or their equivalents without departing from the spirit of the invention. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (18)

1. A method for displaying multimedia content, the method comprising:
detecting an operation acting on an editing window, wherein the editing window is a window for editing multimedia content;
responding to the detected operation for triggering the issuing instruction, and acquiring data in a preset format related to the multimedia content currently contained in the editing window;
predefining display templates respectively corresponding to each type of multimedia content, analyzing the data to obtain the type of the multimedia content contained in the data, and determining the predefined display templates respectively corresponding to different types of analyzed multimedia content according to the type of the multimedia content;
displaying the multimedia content currently contained in the editing window by using the display template;
wherein the data includes data defining a presentation manner of the multimedia content currently included in the editing window.
2. The method according to claim 1, wherein the obtaining of the data in the preset format related to the multimedia content currently contained in the editing window comprises:
determining whether the multimedia content currently contained in the editing window comprises locally acquired multimedia content or remotely acquired multimedia content;
in response to determining that the multimedia content currently contained in the editing window comprises locally acquired multimedia content, sending the locally acquired multimedia content to a connected server so that the server generates data in a preset format related to the locally acquired multimedia content and returns a Uniform Resource Locator (URL) of the generated data in the preset format; and acquiring data in a preset format related to the locally acquired multimedia content according to the URL.
3. The method according to claim 2, wherein the obtaining of the data in the preset format related to the multimedia content currently contained in the editing window comprises:
in response to the fact that the multimedia content currently contained in the editing window comprises the remotely acquired multimedia content, analyzing the remotely acquired multimedia content to obtain an identifier of the remotely acquired multimedia content, searching a first identifier which is the same as the identifier from a prestored information list, and acquiring data in a preset format related to the remotely acquired multimedia content according to a URL (uniform resource locator) indicated by the first identifier, wherein each piece of information in the information list comprises the first identifier and the URL indicated by the first identifier.
4. The method of claim 2, wherein the editing window comprises at least one option for adding different multimedia content; and
after the detecting an operation on the editing window, the method further includes:
in response to detecting a selection operation of any one of the at least one option, adding multimedia content to the editing window according to the selection operation.
5. The method of claim 4, wherein the at least one option comprises at least one of: an option to add pictures, an option to add videos, an option to add links; and
adding multimedia content to the editing window according to the selected operation comprises:
in response to the option for adding the picture being selected, obtaining the picture submitted by the user, and displaying the obtained picture in the editing window, wherein the picture submitted by the user comprises at least one of the following items: the method comprises the steps of network pictures, pictures selected from a local picture library, and pictures shot by starting a camera.
6. The method of claim 5, wherein adding multimedia content to the editing window according to the selected operation comprises:
in response to the option for adding the video being selected, acquiring the video submitted by the user, and displaying a video cover of the acquired video on the editing window, wherein the video submitted by the user comprises at least one of the following items: the method comprises the steps of network video, video selected from a local video library, and video shot by starting a camera.
7. The method of claim 6, wherein adding multimedia content to the editing window according to the selected operation comprises:
responding to the selection of the option for adding the link, acquiring the link submitted by the user and the link type of the link, and sending the link and the link type to the server so that the server analyzes the link and returns the analyzed content;
and displaying the analyzed content in the editing window.
8. The method according to one of claims 4-7, characterized in that the method further comprises:
for the newly displayed multimedia content in the editing window, a cursor is presented behind the newly displayed multimedia content.
9. The method of claim 8, further comprising:
and displaying an icon supporting a deleting function on the picture and/or the video cover displayed by the editing window.
10. An apparatus for displaying multimedia content, the apparatus comprising:
a detection unit configured to detect an operation acting on an editing window, wherein the editing window is a window for editing multimedia content;
the obtaining unit is configured to respond to the detected operation for triggering the issuing instruction, and obtain data in a preset format related to the multimedia content currently contained in the editing window;
the determining unit is configured to predefine display templates respectively corresponding to each type of multimedia content, analyze the data to obtain the type of the multimedia content contained in the data, and determine the predefined display templates respectively corresponding to the analyzed different types of multimedia content according to the type of the multimedia content;
the display unit is configured to display the multimedia content currently contained in the editing window by using the display template; wherein the data includes data defining a presentation manner of the multimedia content currently included in the editing window.
11. The apparatus of claim 10, wherein the obtaining unit comprises:
a determining subunit, configured to determine whether the multimedia content currently contained in the editing window includes locally acquired multimedia content or remotely acquired multimedia content;
the editing window comprises a first obtaining subunit, configured to, in response to determining that the multimedia content currently contained in the editing window includes locally obtained multimedia content, send the locally obtained multimedia content to a connected server, so that the server generates preset format data related to the locally obtained multimedia content, and returns a Uniform Resource Locator (URL) of the generated preset format data; and acquiring data in a preset format related to the locally acquired multimedia content according to the URL.
12. The apparatus of claim 11, wherein the obtaining unit comprises:
the second obtaining subunit is configured to, in response to determining that the multimedia content currently included in the editing window includes remotely obtained multimedia content, analyze the remotely obtained multimedia content to obtain an identifier of the remotely obtained multimedia content; and searching a first identifier which is the same as the identifier from a pre-stored information list, and acquiring data in a preset format related to the remotely acquired multimedia content according to the URL indicated by the first identifier, wherein each piece of information in the information list comprises the first identifier and the URL indicated by the first identifier.
13. The apparatus of claim 11, wherein the editing window comprises at least one option for adding different multimedia content; and
the device further comprises:
the adding unit is configured to respond to the detection of the selection operation of any option in the at least one option, and add the multimedia content to the editing window according to the selection operation.
14. The apparatus of claim 13, wherein the at least one option comprises at least one of: an option to add pictures, an option to add videos, an option to add links; and
the adding unit includes:
the first processing subunit is configured to, in response to the option for adding the picture being selected, acquire a picture submitted by the user, and display the acquired picture in the editing window, where the picture submitted by the user includes at least one of: the method comprises the steps of network pictures, pictures selected from a local picture library, and pictures shot by starting a camera.
15. The apparatus according to claim 14, wherein the adding unit comprises:
the second processing subunit is configured to, in response to the option for adding the video being selected, acquire a video submitted by the user, and display a video cover of the acquired video on the editing window, where the video submitted by the user includes at least one of: the method comprises the steps of network video, video selected from a local video library, and video shot by starting a camera.
16. The apparatus of claim 15, wherein the adding unit comprises:
the third processing subunit is configured to respond to the selection of the option for adding the link, acquire the link submitted by the user and the link type of the link, and send the link and the link type to the server, so that the server analyzes the link and returns the analyzed content;
and the display subunit is configured to display the parsed content in the editing window.
17. The apparatus according to any one of claims 13-16, further comprising:
a first presentation unit configured to present a cursor behind a newly displayed multimedia content in the editing window.
18. The apparatus of claim 17, further comprising:
and the second presentation unit is configured to present icons supporting the deletion function on the pictures and/or video covers displayed by the editing window.
CN201710065572.1A 2017-02-06 2017-02-06 Method and apparatus for displaying multimedia content Active CN106844705B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710065572.1A CN106844705B (en) 2017-02-06 2017-02-06 Method and apparatus for displaying multimedia content

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710065572.1A CN106844705B (en) 2017-02-06 2017-02-06 Method and apparatus for displaying multimedia content

Publications (2)

Publication Number Publication Date
CN106844705A CN106844705A (en) 2017-06-13
CN106844705B true CN106844705B (en) 2021-01-05

Family

ID=59121923

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710065572.1A Active CN106844705B (en) 2017-02-06 2017-02-06 Method and apparatus for displaying multimedia content

Country Status (1)

Country Link
CN (1) CN106844705B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109660854B (en) * 2017-10-10 2021-08-24 腾讯科技(深圳)有限公司 Video recommendation method, device, equipment and storage medium
CN110209798B (en) * 2017-12-22 2024-05-10 北京奇虎科技有限公司 Data display method and device of redis database
CN110069758B (en) * 2018-01-19 2024-05-31 北京搜狗科技发展有限公司 Method, device and storage medium for publishing multimedia information
CN110087120B (en) * 2019-04-29 2019-12-10 掌阅科技股份有限公司 Same-window switching method of online list and local list and computing equipment
CN111901219B (en) * 2019-05-06 2021-05-18 北京仁光科技有限公司 Scene linkage method and scene linkage system
CN111243632B (en) * 2020-01-02 2022-06-24 北京达佳互联信息技术有限公司 Multimedia resource generation method, device, equipment and storage medium
CN113810537A (en) * 2021-09-10 2021-12-17 重庆思骑科技有限公司 Method and system for checking mobile phone information without taking off hand in riding process
CN116708945B (en) * 2023-04-12 2024-04-16 半月谈新媒体科技有限公司 Media editing method, device, equipment and storage medium

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060259923A1 (en) * 2005-05-12 2006-11-16 Fu-Sheng Chiu Interactive multimedia interface display
KR100772864B1 (en) * 2006-01-20 2007-11-02 삼성전자주식회사 Apparatus and method for displaying multimedia contents
KR101223692B1 (en) * 2006-06-15 2013-01-18 삼성전자주식회사 Apparatus and method for searching content in multimedia device
CN101079927B (en) * 2007-06-28 2011-03-16 中兴通讯股份有限公司 Method and system for realizing multimedia color image service in IP multimedia subsystem network
US20090099919A1 (en) * 2007-07-18 2009-04-16 Freepath, Inc. Method, system and computer program product for formatting and delivery of playlist presentation content
EP2186218A4 (en) * 2007-08-21 2012-07-11 Packetvideo Corp Mobile media router and method for using same
CN101184261B (en) * 2007-11-05 2011-04-20 中国电信股份有限公司 Multi-network oriented multimedia information providing and receiving method and system
CN101251860B (en) * 2008-03-10 2011-05-04 北京航空航天大学 Web information publish administrating system and method
CN101924791B (en) * 2010-08-06 2013-08-21 百度在线网络技术(北京)有限公司 Method, device and system for displaying multimedia information
CN103259913B (en) * 2012-02-17 2016-04-13 百度在线网络技术(北京)有限公司 For the multimedia message editing method of mobile terminal, device and mobile terminal
CN102760157B (en) * 2012-06-05 2015-09-30 百度在线网络技术(北京)有限公司 A kind of for generating the method that release news, device and the equipment corresponding with mobile terminal
CN105792003A (en) * 2014-12-19 2016-07-20 张鸿勋 Interactive multimedia production system and method
CN104598571A (en) * 2015-01-12 2015-05-06 百度在线网络技术(北京)有限公司 Method and device for playing multimedia resource
CN105975153A (en) * 2016-04-28 2016-09-28 百度在线网络技术(北京)有限公司 Mobile terminal-based image personalized processing method and apparatus

Also Published As

Publication number Publication date
CN106844705A (en) 2017-06-13

Similar Documents

Publication Publication Date Title
CN106844705B (en) Method and apparatus for displaying multimedia content
US11112942B2 (en) Providing content via multiple display devices
CN107943547B (en) Multi-service integration method and device, intelligent terminal, server and operating system
US10595089B2 (en) Information processing apparatus, information processing method, program, and information processing system
US20180143950A1 (en) Interactive communication via online video systems
US10194189B1 (en) Playback of content using multiple devices
US8943164B2 (en) Apparatus and methods for retrieving/ downloading content on a communication device
US9430448B2 (en) System and methods for the cluster of media
US20090307602A1 (en) Systems and methods for creating and sharing a presentation
CA2992484A1 (en) Video-production system with social-media features
US20140325323A1 (en) Online video playing method and apparatus and computer readable medium
CN110704647B (en) Content processing method and device
CN105786207B (en) Data inputting method and device
CN107169147B (en) Data processing method and device and electronic equipment
JP2021530070A (en) Methods for sharing personal information, devices, terminal equipment and storage media
EP4080507A1 (en) Method and apparatus for editing object, electronic device and storage medium
CN110968314B (en) Page generation method and device
CN107515870B (en) Searching method and device and searching device
CN111367447A (en) Information display method and device, electronic equipment and computer readable storage medium
CN112183045A (en) Online document processing method and device and electronic equipment
CN113986574A (en) Comment content generation method and device, electronic equipment and storage medium
CN115379136A (en) Special effect prop processing method and device, electronic equipment and storage medium
CN111310086A (en) Page jump method and device and electronic equipment
CN112016280B (en) File editing method and device and computer readable medium
CN117786159A (en) Text material acquisition method, apparatus, device, medium and program product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant