WO2024078516A1 - 媒体内容展示方法、装置、设备及存储介质 - Google Patents
媒体内容展示方法、装置、设备及存储介质 Download PDFInfo
- Publication number
- WO2024078516A1 WO2024078516A1 PCT/CN2023/123890 CN2023123890W WO2024078516A1 WO 2024078516 A1 WO2024078516 A1 WO 2024078516A1 CN 2023123890 W CN2023123890 W CN 2023123890W WO 2024078516 A1 WO2024078516 A1 WO 2024078516A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- shared
- preset
- media
- content
- shared media
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 70
- 230000003993 interaction Effects 0.000 claims abstract description 53
- 230000004044 response Effects 0.000 claims abstract description 48
- 238000004590 computer program Methods 0.000 claims description 17
- 238000010586 diagram Methods 0.000 description 21
- 230000006870 function Effects 0.000 description 15
- 230000008901 benefit Effects 0.000 description 11
- 238000012545 processing Methods 0.000 description 8
- 238000004891 communication Methods 0.000 description 7
- 230000003287 optical effect Effects 0.000 description 6
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 4
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 238000007667 floating Methods 0.000 description 4
- 230000002452 interceptive effect Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 101000827703 Homo sapiens Polyphosphoinositide phosphatase Proteins 0.000 description 3
- 102100023591 Polyphosphoinositide phosphatase Human genes 0.000 description 3
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 3
- 238000013475 authorization Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 239000000463 material Substances 0.000 description 3
- 230000001960 triggered effect Effects 0.000 description 3
- 239000013307 optical fiber Substances 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- HVCNNTAUBZIYCG-UHFFFAOYSA-N ethyl 2-[4-[(6-chloro-1,3-benzothiazol-2-yl)oxy]phenoxy]propanoate Chemical compound C1=CC(OC(C)C(=O)OCC)=CC=C1OC1=NC2=CC=C(Cl)C=C2S1 HVCNNTAUBZIYCG-UHFFFAOYSA-N 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 238000013396 workstream Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/4302—Content synchronisation processes, e.g. decoder synchronisation
- H04N21/4307—Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
- H04N21/43076—Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen of the same content streams on multiple devices, e.g. when family members are watching the same movie on different devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/07—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
- H04L51/10—Multimedia information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4312—Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
Definitions
- the present disclosure relates to the field of Internet technology, for example, to a media content display method, device, equipment and storage medium.
- the present disclosure provides a media content display method, apparatus, storage medium and device, which can optimize the media content display solution.
- the present disclosure provides a method for displaying media content, comprising:
- the shared media stream includes a media stream corresponding to a shared interaction between the first user and at least one second user, and the first shared media stream includes shared media content in a first type of preset media format;
- the target page switches from displaying the first shared media stream to displaying a second shared media stream, wherein the second shared media stream includes shared media content in a second type of preset media format, and the second type of preset media format is different from the first type of preset media format.
- the present disclosure further provides a media content display device, including:
- a shared media stream display module configured to display a first shared media stream in a target page, wherein the shared media stream includes a media stream corresponding to a shared interaction between a first user and at least one second user, and the first shared media stream includes shared media content in a first type of preset media format;
- the shared media stream switching module is configured to switch, in response to a preset type switching operation, from displaying the first shared media stream to displaying the second shared media stream in the target page, wherein the second shared media stream contains shared media content in a second type of preset media format, and the second type of preset media The format is different from the first type of preset media format.
- the present disclosure further provides an electronic device, the electronic device comprising:
- processors one or more processors
- a storage device configured to store one or more programs
- the one or more processors When the one or more programs are executed by the one or more processors, the one or more processors implement the above-mentioned media content display method.
- the present disclosure further provides a storage medium comprising computer executable instructions, wherein the computer executable instructions are used to execute the above-mentioned media content display method when executed by a computer processor.
- the present disclosure further provides a computer program product, including a computer program carried on a non-transitory computer-readable medium, wherein the computer program contains program codes for executing the above-mentioned media content display method.
- FIG1 is a scenario architecture diagram of an application scenario applicable to a media content display method provided by an embodiment of the present disclosure
- FIG2 is a schematic diagram of a flow chart of a media content display method provided by an embodiment of the present disclosure
- FIG3 is a schematic diagram of an interface interaction provided by an embodiment of the present disclosure.
- FIG4 is another schematic diagram of an interface interaction provided by an embodiment of the present disclosure.
- FIG5 is a schematic diagram of another interface interaction provided by an embodiment of the present disclosure.
- FIG6 is a schematic diagram of a flow chart of another media content display method provided by an embodiment of the present disclosure.
- FIG7 is a schematic diagram of another interface interaction provided by an embodiment of the present disclosure.
- FIG8 is a schematic diagram of the structure of a media content display device provided by an embodiment of the present disclosure.
- FIG. 9 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure.
- the term “including” and its variations are open inclusions, i.e., “comprising”.
- the term “based on” means “based at least in part on”.
- the term “one embodiment” means “at least one embodiment”; the term “another embodiment” means “at least one additional embodiment”; the term “some embodiments” means “at least some embodiments”.
- the relevant definitions of other terms will be given in the following description.
- the types, scope of use, usage scenarios, etc. of the personal information involved in this disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
- a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information.
- the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.
- the prompt information in response to receiving an active request from the user, may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form.
- the pop-up window may also carry a selection control for the user to choose "agree” or “disagree” to provide personal information to the electronic device.
- the data involved in this technical solution shall comply with the requirements of relevant laws, regulations and relevant provisions.
- FIG1 is a scenario architecture diagram of an application scenario applicable to a media content display method provided by an embodiment of the present disclosure.
- the application scenario may include a server 100, a first electronic device 101, and a second electronic device 102.
- the number of electronic devices may be greater, and the number of electronic devices is not limited.
- FIG1 is only used as a schematic illustration. Multiple electronic devices establish communication connections with the server to achieve information exchange.
- the electronic device may be a mobile device such as a mobile phone, a smart watch, a tablet computer, and a personal digital assistant; it may also be other devices such as a desktop computer. Users of electronic devices can communicate with each other through the electronic device.
- the installed preset applications can be used for real-time calls, content sharing, and message interactions, etc.
- Content sharing may include media stream sharing (hereinafter referred to as shared interaction).
- the server can provide support for preset applications.
- preset applications when multiple users are sharing and interacting, each user can control the current shared video stream, such as switching to the previous video or the next video.
- the type of preset application is not limited, for example, it can be a video application, a live broadcast application, an information application, etc., and can also be other types of applications.
- FIG2 is a flow chart of a media content display method provided by an embodiment of the present disclosure.
- the present disclosure embodiment is applicable to the case of displaying shared media content.
- the method can be executed by a media content display device, which can be implemented in the form of software and/or hardware, for example, by an electronic device. As shown in FIG2 , the method includes:
- Step 201 Display a first shared media stream in a target page, wherein the shared media stream includes a media stream corresponding to a shared interaction between a first user and at least one second user, and the first shared media stream includes shared media content in a first type of preset media format.
- the first user is the user currently using the preset application, that is, the local user, which can be understood as the account currently logged in in the preset application is the account of the first user.
- the target page can be a page in the preset application that has the ability to display shared media streams, and the type of the target page is not limited.
- two or more users can be supported to share a media stream in real time.
- the second user can be a user who participates in the current media stream sharing with the first user, that is, a peer user.
- the number of second users can be one or more, and the number of second users is not limited.
- the shared media stream includes a media stream corresponding to the shared interaction between the first user and at least one second user, that is, each user who participates in the shared interaction can watch the shared media stream through the electronic device used by the user.
- the source of the shared media stream is not limited.
- the preset media forms can be divided according to the format of the media data, for example, media forms such as audio, picture and video.
- the first type of preset media form can be any of the above media forms.
- the shared media content can be the media content in the shared media stream, corresponding to the media form, such as audio content, picture content and video content.
- the display method of shared media content in different media forms can be different.
- the display of shared media content in audio form can include playing the shared audio content, and can also include displaying the associated information of the shared audio content, and the associated information can include, for example, the song name, singer, album name or lyrics;
- the display of shared media content in video form can include playing the sound in the shared video content, and displaying the video image of the shared video content.
- the preset media formats may also be divided according to the source of the shared media content, for example, may include content from a work recommendation stream, a live video stream, and a collection of work libraries.
- the preset media forms can also be divided according to the format of the media data and the source of the shared media content.
- shared media content with the same format but different sources can correspond to different preset media forms
- shared media content with the same source but different formats can also correspond to different preset media forms.
- the first shared media stream includes shared media content in a first preset media format. All or part of the shared media content included in the first shared media stream may be in the first preset media format.
- the proportion of shared media content of the first type of preset media form in the first shared media stream is greater than or equal to the first preset ratio value.
- the first preset ratio value can be set according to actual conditions, and the first preset ratio value can be greater than 50%.
- the first preset ratio value can be 100% or 95%, etc. Assuming that the preset media form with the highest proportion of corresponding shared media content in the shared media stream is recorded as the core media form in the shared media stream, the first type of preset media form can be considered as the core media form in the first shared media stream.
- a proportion of shared media content in the first preset media format is greater than a proportion of shared media content in the second preset media format.
- a preset application can pull one or more shared media contents belonging to the shared media stream from the corresponding server at a preset frequency, and the shared media contents pulled by the preset number of pulls can be used as a content set to determine the proportion of shared media contents of different preset media forms in the content set. For example, for the first shared media stream, 5 shared media contents are pulled each time, and the preset number of pulls is 4.
- the first preset ratio value is 95%
- there are 19 shared media contents of the first category of preset media forms for another example, in the content set, there are 18 shared media contents of the first category of preset media forms and 2 shared media contents of the second category of preset media forms, or there are 20 shared media contents of the first category of preset media forms and 0 shared media contents of the second category of preset media forms, then in the first shared media stream, the proportion of shared media contents of the first category of preset media forms is greater than the proportion of shared media contents of the second category of preset media forms.
- Step 202 In response to a preset type switching operation, the target page switches from displaying the first shared media stream to displaying a second shared media stream, wherein the second shared media stream includes shared media content in a second type of preset media format, and the second type of preset media format is different from the first type of preset media format.
- the second type of preset media format may be any of the above media formats that are different from the first type of preset media format.
- the first type of preset media format is an audio format
- the second type of preset media format may be a picture format or a video format
- the first type of preset media format is a video format
- the second type of preset media format may be an audio format or a picture format, etc.
- the second shared media stream includes shared media content in the second type of preset media format, and all or part of the shared media content included in the second shared media stream may be in the second type of preset media format.
- the proportion of shared media content of the second type of preset media format in the second shared media stream is greater than or equal to the second preset ratio value.
- the second preset ratio value can be set according to actual conditions, and the second preset ratio value can be greater than 50%.
- the second preset ratio value can be 100% or 95%, etc., so that the second type of preset media format becomes the core media format in the second shared media stream.
- the first preset ratio value and the second preset ratio value can be equal or different.
- a proportion of shared media content in the second preset media format is greater than a proportion of shared media content in the first preset media format.
- switching between shared media streams containing shared media content in different media formats can be supported, and the user can switch by inputting a preset type switching operation.
- the form of the preset type switching operation is not limited, for example, it can be a trigger operation based on a preset switching control, or a preset gesture operation, such as a double-click operation, a single-finger sliding operation, or a multi-finger sliding operation, or a voice command, etc.
- the shared media content in the first shared media stream currently being displayed in the target page can be switched to the shared media content in the second shared media stream for display, and can be switched to the shared media content of the second type of preset media format in the second shared media stream for display.
- the first type of preset media format is an audio format
- the second type of preset media format can be a video format.
- the target page 301 the first shared media stream is displayed.
- the associated information 302 of the song 1 such as the song icon, song name, and dynamic audio waveform, etc.
- the target page 301 is switched to display the second shared media stream, such as switching from displaying song 1 to displaying the clown video 303 in the second shared media stream.
- the media content display method displays a first shared media stream in a target page, wherein the shared media stream includes a media stream corresponding to a shared interaction between a first user and at least one second user, and the first shared media stream includes shared media content in a first type of preset media format.
- the target page switches from displaying the first shared media stream to displaying the second shared media stream, wherein the second shared media stream includes shared media content in a second type of preset media format, and the second type of preset media format is different from the first type of preset media format.
- switching from displaying the first shared media stream to displaying the second shared media stream in the target page includes: displaying a preset switching control corresponding to the second shared media stream in the target page; in response to a triggering operation of a preset switching control corresponding to the second shared media stream, switching from displaying the first shared media stream to displaying the second shared media stream in the target page; The media stream is switched to display the second shared media stream.
- the preset switching control may be a permanent control in the target page, or may be displayed when a preset display condition is met.
- the preset display condition may be automatically triggered by a preset application, or may be triggered by a user's operation.
- the displaying of the preset switching control corresponding to the second shared media stream in the target page includes: in response to a media type switching operation, displaying a media type switching area in the target page, and displaying, in the media type switching area, a preset switching control associated with a content identifier of the shared media content of the second type of preset media format in the second shared media stream.
- the form of the media type switching operation is not limited, for example, it can be a trigger operation based on a preset media switching control, or a preset gesture operation, such as a double-click operation, a single-finger sliding operation, or a multi-finger sliding operation, or a voice command, etc.
- a media type switching area is displayed, in which a content identifier of a shared media content of the second type of preset media format can be displayed, and the content identifier can be reused as an associated preset switching control, and an associated preset switching control can also be displayed in an associated area of the content identifier.
- FIG4 is another interface interaction diagram provided by an embodiment of the present disclosure.
- the first type of preset media form is a video form
- the second type of preset media form may be an audio form.
- a preset media switching control 402 is displayed.
- a media type switching area 403 is displayed, and a content identifier 404 of the shared media content (song) in audio form is displayed therein.
- the content identifier may be, for example, a song name, and an associated preset switching control 405 is displayed in the associated area of the content identifier 404 (as shown on the right side of the figure).
- the content identifier 404 may also be reused as a preset switching control to improve the utilization rate of the page display space.
- the preset switching control associated with the content identifier of the shared media content of the second type of preset media form in the second shared media stream is displayed in the media type switching area, including: displaying media type options corresponding to multiple shared media streams in the media type switching area, wherein the media type options corresponding to the multiple shared media streams include the media type option corresponding to the second shared media stream; in response to a trigger operation on the media type option corresponding to the second shared media stream, displaying the associated area of the media type option corresponding to the second shared media stream.
- the method further includes: displaying a preset switching control associated with the content identifier of the shared media content of the second type of preset media format in the second shared media stream in the associated area.
- the core media formats corresponding to multiple shared media streams may be different, and the text of the media type options may be set according to the corresponding core media formats, so that the user can quickly distinguish them.
- the associated areas of different media type options may be the same or different. If the associated areas of different media type options are the same, the content identifier displayed in the associated area may be updated when the selected media type option changes. For different media type options, the display method of the content identifier in the associated area may be different, and may be set according to the corresponding preset media format.
- FIG5 is another interface interaction schematic diagram provided by an embodiment of the present disclosure.
- a media type switching area 502 is displayed.
- the media type switching area 502 may include two sub-areas, one of which is used to display media type options 503, such as "recommendation", "collection” and "music” in the figure, and the other sub-area is an associated area 504 of media type options. Different media type options may share the associated area 504.
- the first media type option may be set to a selected state by default, such as "recommendation" in the figure.
- a content identifier 505 of a recommended work in the recommended work stream may be displayed, which may be a cover image or video screenshot of the recommended work.
- the user wants to select a shared media stream with music as the core media form, he may click "music" to change the associated area 504 to display the content identifier 506 of the music in the shared media stream.
- the content identifier 506 of the music may be different from the content identifier 505 of the recommended work.
- the content identifier 506 of the music may include a song icon, a song name, a singer name, and a song duration.
- the target page in response to a triggering operation of a preset switching control corresponding to the second shared media stream, switches from displaying the first shared media stream to displaying the second shared media stream, including: in response to a triggering operation of a preset switching control associated with a target content identifier, the target page switches from displaying the first shared media stream to displaying the shared media content corresponding to the target content identifier in the second shared media stream.
- the first shared media stream includes at least two media content groups of the first preset media format, a single media content group includes at least two consecutive shared media content of the first preset media format, and there is at least one shared media content of the second preset media format between every two adjacent media content groups.
- the target page switches from displaying the first shared media stream to displaying the second shared media stream, including: in the case where the target page currently displays the shared media content of the second preset media format in the first shared media stream, in response to the preset type switching operation, the target page switches from displaying the first shared media stream to displaying the second shared media stream.
- the advantage of such a setting is that shared media content of other preset media formats can be inserted between consecutive shared media content of the same preset media format, which can play a certain prompting role for the user, prompting the user to share more media formats by switching shared media streams, and the shared media content currently viewed by the user corresponds to the core media format of the second shared media stream to be switched, which can reduce the user's shared media stream selection operation.
- the number of shared media contents of at least two consecutive first-category preset media formats included in a single media content group can be pre-set, such as 10.
- the 1st to 10th shared media contents and the 12th to 21st shared media contents are shared video contents
- the 11th shared media content is shared audio content.
- the target page currently displays the media content of the first type of preset media format in the first shared media stream
- it is also allowed to switch to the second shared media stream, and different shared media stream switching modes can be set according to the different preset media formats of the media content in the first shared media stream currently displayed.
- the target page in response to the first preset type switching operation, switches from displaying the first shared media stream to displaying the second shared media stream; in the case where the target page currently displays the shared media content of the first type of preset media format in the first shared media stream, in response to the second preset type switching operation, the target page switches from displaying the first shared media stream to displaying the second shared media stream.
- the first preset type switching operation and the second preset type switching operation are different.
- the first preset type switching operation can be a gesture operation such as a long press or a double click
- the second preset type switching operation can be a triggering operation of a preset switching control corresponding to the second shared media stream.
- the second shared media stream may also include a media content group, and the media content group in the first shared media stream is recorded as the first media content group.
- the second shared media stream includes at least two second media content groups in a second type of preset media format, a single second media content group includes at least two consecutive shared media content in the second type of preset media format, and at least one shared media content in the first type of preset media format exists between every two adjacent second media content groups.
- the preset application has a work publishing function, and users can use the work publishing function to publish their own works, such as video works.
- the preset media form includes an audio form
- the shared media content includes shared audio content
- the shared audio content includes the original audio in the video work published by the user.
- the advantage of this setting is that it can enrich the source of shared audio content and the display form of video works.
- users who publish video works can edit or mix audio materials with the full authorization of the audio material holder, and use the processed audio as the background music in their own video works, that is, the original audio. Displaying the original audio in the video work as shared audio content is the independent choice of the publisher of the video work.
- the preset media form includes an audio form
- the shared media content includes shared audio content
- the method further includes: updating the background of the target page according to the preset associated image of the shared audio content currently displayed in the target page.
- the preset associated images may include, for example, album covers of shared audio content, singer photos, cover images of related video works, or video screenshots, etc.
- the background of the target page may be directly replaced with the preset associated image; at least one image processing operation of cropping, resizing, color adjustment, and transparency adjustment may be performed on the preset associated image to replace the background of the target page with the image obtained after the above image processing.
- the shared audio content includes the original audio in the video work released by the user and/or the music in the preset music library; wherein, the background of the target page is updated according to the preset associated image of the shared audio content currently displayed in the target page, including: when the shared audio content currently displayed in the target page includes the original audio, the first background of the target page is displayed in a first preset display method, wherein the first background contains the first preset associated image of the original audio; when the shared audio content currently displayed in the target page does not include the user's original audio but is only the music in the library, the second background of the target page is displayed in a second preset display method, wherein the second background contains the second preset associated image of the music in the library.
- the advantage of such a setting is that for shared audio content from different sources, different display methods are used to update the background of the target page, enriching the background display method, and facilitating users to easily distinguish the source of the current shared audio content.
- the preset music library may include music published by professionals (such as singers, musicians or record companies, etc.) for which the preset application has acquired the copyright.
- This type of music is referred to as in-library music in the present embodiment, and the in-library music can be used as the audio material described above.
- the difference between the first preset display mode and the second preset display mode can be reflected in the following aspects:
- the first preset associated image can be the video frame of the video work to which it belongs, and the video frame can be displayed dynamically, such as playing the video work to which the original audio belongs in the first background, and the size of the first background is smaller than the screen size;
- the second preset associated image can be the album cover, and the size of the second background can be equal to the screen size.
- the page content in the message interaction page may include the message content and the associated content of the message content, and the associated content may be the object identifier of the message interaction object (such as the user name or user avatar, etc.).
- the user can view the preset associated image of the shared audio content in full screen (when the target page is in full screen display state) while sending and receiving messages, taking into account both the message interaction and audio sharing functions.
- the preset media format includes an audio format
- the shared media content includes shared audio content
- displaying the shared audio content in the target page includes: displaying the associated information of the shared audio content in a preset control in the target page, and playing the shared audio content in the target page.
- the preset control may be a preset floating control
- the floating control may be a control in the form of a floating box.
- the properties of the preset floating control such as shape, size, color, transparency, and display position, may be set according to actual needs.
- the preset control may also be a preset strip control, for example, at least one boundary of the preset strip control overlaps with the boundary of the target page to reduce interference with other content in the target page.
- the preset control can also display shared interactive messages, which can include text messages and picture messages, such as emoticon messages.
- shared interactive messages can include text messages and picture messages, such as emoticon messages.
- the first user can view the interactive messages sent by the second user in a timely manner while browsing the target page.
- the target page at this time can be a preset page, which can include pages other than message interaction pages, such as information pages, product details pages, or personal homepages.
- FIG6 is a flow chart of another media content display method provided by an embodiment of the present disclosure.
- the present disclosure embodiment is described based on the scheme in the above embodiment.
- the first shared media stream represented as shared
- the proportion of shared audio content in the first shared media stream is greater than the proportion of shared video content
- the proportion of shared video content in the second shared media stream is greater than the proportion of shared audio content.
- the method comprises the following steps:
- Step 601 Receive a trigger operation of a shared interaction in audio format input by a first user based on a first target page.
- the first target page is a message interaction page.
- the triggering operation of the sharing interaction may be sending an invitation to the second user for audio sharing interaction, or may be accepting the invitation to the second user for audio sharing interaction.
- Figure 7 is another interface interaction diagram provided by an embodiment of the present disclosure. As shown in Figure 7, assuming that the first user is user A and the second user is user B, user B sends an invitation to user A for audio sharing interaction. In the message interaction page 701 on the user A side, an invitation control 702 is displayed. After user A clicks the invitation control 702, the audio sharing interaction (also known as listening together) can be entered.
- Step 602 Display the association information of the current shared media content in the shared audio stream between the first user and the second user in a preset control in the first target page, play the current shared media content in the first target page, and update the background of the first target page according to the preset associated image of the current shared audio content.
- the associated information of the currently displayed song 1 can be displayed in the play bar control 703 (preset control) in the first target page, and the associated information includes the song icon, song name, and play control buttons (such as previous song, pause, and next song) in the figure, and the sound of song 1 is played in the first target page.
- the video cover or video screenshot of the video work (such as the landscape image in FIG7 ) can be used as the preset associated image of song 1, and the landscape image is used to replace the original background of the first target page, that is, the landscape image becomes the new current background of the first target page, and the message content and avatars of users A and B are displayed on the upper layer of the landscape image, ensuring the normal message interaction between users A and B, and taking into account the message interaction and audio sharing effects.
- User B can input the preset type switching operation by triggering the preset control in a first preset triggering manner (for example, the preset control can be reused as a preset switching control), thereby switching from displaying a shared audio stream to displaying a shared video stream in the first target page.
- a first preset triggering manner for example, the preset control can be reused as a preset switching control
- User B can input the media type switching operation by triggering the preset control in the second preset trigger mode, displaying the media type switching area in the first target page, and displaying the preset switching control associated with the content identifier of the shared video content in the shared video stream in the media type switching area.
- Step 603 In response to a preset trigger operation for a preset control, switching to displaying the shared audio content in the shared audio stream in the second target page, and displaying the first user and the second user in the second target page.
- the first preset switching control corresponding to the user's shared video stream.
- the display of song 1 continues to be switched to the second target page 704.
- the second target page may be a shared page with another type of shared interaction.
- the user IDs of users participating in the shared interaction such as the avatars of user A and user B, may be displayed on the second target page.
- Associated information of the shared audio content such as the song name, may be displayed.
- the preset associated image of the current shared audio content may also be used as the background of the second target page.
- the shared media content can be switched by inputting a specified gesture operation, such as a swipe up operation corresponding to switching to the next shared media content, and a swipe down operation corresponding to switching to the previous shared media content.
- a specified gesture operation such as a swipe up operation corresponding to switching to the next shared media content, and a swipe down operation corresponding to switching to the previous shared media content.
- the first preset switch control 705 corresponding to the shared video stream can also be displayed.
- User A can switch from displaying song 1 to displaying the shared video content in the shared video stream in the second target page by triggering the first preset switch control 705, such as the character video 708 in FIG. 7 .
- the first preset switching control 705 can be replaced with a preset media switching control.
- User A can input a media type switching operation by triggering the preset media switching control, and then can select and switch shared media streams corresponding to more media forms.
- a media type switching operation by triggering the preset media switching control, and then can select and switch shared media streams corresponding to more media forms.
- Step 604 When the preset switching control is not triggered, continue to display the shared audio content in the shared audio stream in the second target page.
- the shared audio stream includes multiple audio content groups, a single audio content group includes a preset number (denoted as N) of continuous shared audio content, and there is a shared video content between every two adjacent audio content groups.
- Step 605 After displaying a preset number of shared audio contents in the shared audio stream in the second target page, display the shared video contents in the shared audio stream, and display a second preset switching control corresponding to the shared video stream in the second target page.
- the current audio content group is played, and the second target page is automatically switched to play the shared video content in the shared audio stream, such as the clown video 706 in FIG7, and the second preset switching control 707 corresponding to the shared video stream is displayed in the second target page.
- the texts corresponding to the first preset switching control 705 and the second preset switching control 707 can be the same or different.
- the texts corresponding to the first preset switching control 705 and the second preset switching control 707 can be different, which are "More Sharing Types" and "Switch to Watch Together", respectively.
- Step 606 In response to the triggering operation on the second preset switching control, in the second target page, Display the shared audio stream and switch to display the shared video stream.
- the display of the clown video 706 in the shared audio stream can be switched to the display of the character video 708 in the shared video stream, thereby achieving the switch from the shared audio stream to the shared video stream.
- the first preset switching control may continue to be displayed in the second target page so that user A can switch back to the shared audio stream.
- the media content display method provided by the embodiment of the present disclosure can provide two different target pages for displaying shared media content for a shared media stream.
- Different target pages can correspond to different display methods.
- the user can flexibly switch from displaying shared media content of different preset media forms in a shared media stream mainly in one media form to displaying a shared media stream mainly in another media form, and provide a variety of switching methods.
- the page background can be adaptively adjusted in the target page according to the associated image of the currently displayed shared audio content.
- FIG8 is a schematic diagram of the structure of a media content display device provided by an embodiment of the present disclosure. As shown in FIG8 , the device includes: a shared media stream display module 801 and a shared media stream switching module 802 .
- a shared media stream display module 801 is configured to display a first shared media stream in a target page, wherein the shared media stream includes a media stream corresponding to a shared interaction between a first user and at least one second user, and the first shared media stream includes shared media content in a first type of preset media format;
- a shared media stream switching module 802 is configured to switch from displaying the first shared media stream to displaying a second shared media stream in the target page in response to a preset type switching operation, wherein the second shared media stream includes shared media content in a second type of preset media format, and the second type of preset media format is different from the first type of preset media format.
- the media content display device displays a first shared media stream in a target page, wherein the shared media stream includes a media stream corresponding to a shared interaction between a first user and at least one second user, and the first shared media stream includes shared media content in a first type of preset media format.
- the target page switches from displaying the first shared media stream to displaying the second shared media stream, wherein the second shared media stream includes shared media content in a second type of preset media format, and the second type of preset media format is different from the first type of preset media format.
- the proportion of shared media content in the first preset media format is greater than the proportion of shared media content in the second preset media format; in the second shared media stream, the proportion of shared media content in the second preset media format is greater than the proportion of shared media content in the first preset media format.
- the shared media stream switching module 802 includes:
- a switching control display unit is configured to display a preset switching control corresponding to the second shared media stream in the target page; a switching unit is configured to switch from displaying the first shared media stream to displaying the second shared media stream in the target page in response to a triggering operation of the preset switching control corresponding to the second shared media stream.
- the switching control display unit includes:
- the area display subunit is configured to display a media type switching area in the target page in response to a media type switching operation; the switching control display subunit is configured to display a preset switching control associated with the content identifier of the shared media content of the second type of preset media form in the second shared media stream in the media type switching area.
- the switch control display subunit is set to:
- media type options corresponding to multiple shared media streams are displayed, wherein the media type options corresponding to the multiple shared media streams include the media type option corresponding to the second shared media stream; in response to a triggering operation on the media type option corresponding to the second shared media stream, an associated area for the media type option corresponding to the second shared media stream is displayed.
- the switching control display subunit is further configured to display, in the associated area, a preset switching control associated with the content identifier of the shared media content of the second preset media format in the second shared media stream.
- the response switching unit is configured as follows:
- the target page switches from displaying the first shared media stream to displaying the shared media content corresponding to the target content identifier in a second shared media stream.
- the first shared media stream includes at least two media content groups in a first preset media format, a single media content group includes at least two consecutive shared media content in the first preset media format, and there is at least one shared media content in the second preset media format between every two adjacent media content groups.
- the shared media stream switching module 802 is configured as follows:
- the target page When the target page currently displays the shared media content of the second preset media type in the first shared media stream, in response to a preset type switching operation, the target page switches from displaying the first shared media stream to displaying the second shared media stream.
- the preset media form includes an audio form, and the shared media content includes shared audio content; the device further includes:
- the background updating module is configured to update the background of the target page according to a preset associated image of the shared audio content currently displayed in the target page.
- the target page includes a message interaction page;
- the background update module includes:
- a background determination unit is configured to determine a target background image based on a preset associated image of the shared audio content currently displayed in the target page; a background replacement unit is configured to replace the current background of the target page with the target background image so that the page content of the message interaction page is displayed on an upper layer of the target background image, wherein the page content includes message content and/or associated content of the message content.
- the preset media format includes an audio format, and the shared media content includes shared audio content; wherein, when the shared media stream display module performs the operation of displaying the shared audio content in the target page, it is configured to: display the associated information of the shared audio content in a preset control in the target page, and play the shared audio content in the target page.
- the preset media format includes an audio format
- the shared media content includes shared audio content
- the shared audio content includes the original audio in the video work released by the user.
- the shared audio content includes the original audio in the video work released by the user and/or the music in the preset music library; wherein the background update module includes:
- the first background updating unit is configured to display the first background of the target page in a first preset display mode when the shared audio content currently displayed in the target page includes the original audio, wherein the first background includes a first preset associated image of the original audio; and the second background updating unit is configured to display the second background of the target page in a second preset display mode when the shared audio content currently displayed in the target page is the music in the library, wherein the second background includes a second preset associated image of the music in the library.
- the media content display device provided in the embodiments of the present disclosure can execute the media content display method provided in any embodiment of the present disclosure, and has functional modules and effects corresponding to the execution method.
- the multiple units and modules included in the above-mentioned device are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be realized; in addition, the names of multiple functional units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present disclosure.
- FIG9 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure.
- a schematic diagram of the structure of an electronic device e.g., a terminal device or server in FIG9
- the terminal device in the embodiment of the present disclosure may include mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, personal digital assistants (PDA), tablet computers (Portable Android Device, PAD), portable multimedia players (PMP), vehicle-mounted terminals (e.g., vehicle-mounted navigation terminals), etc., and fixed terminals such as digital televisions (TV), desktop computers, etc.
- PDA personal digital assistants
- PAD Portable Android Device
- PMP portable multimedia players
- vehicle-mounted terminals e.g., vehicle-mounted navigation terminals
- fixed terminals such as digital televisions (TV), desktop computers, etc.
- TV digital televisions
- the electronic device 900 shown in FIG9 is merely an example and should not bring any limitations to the functions and scope of use of the embodiments of the present disclosure.
- the electronic device 900 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 901, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 902 or a program loaded from a storage device 908 to a random access memory (RAM) 903.
- a processing device e.g., a central processing unit, a graphics processing unit, etc.
- RAM random access memory
- various programs and data required for the operation of the electronic device 900 are also stored.
- the processing device 901, the ROM 902, and the RAM 903 are connected to each other via a bus 904.
- An input/output (I/O) interface 905 is also connected to the bus 904.
- the following devices may be connected to the I/O interface 905: input devices 906 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 907 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 908 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 909.
- the communication device 909 may allow the electronic device 900 to communicate with other devices wirelessly or by wire to exchange data.
- FIG. 9 shows an electronic device 900 having a variety of devices, it is not required to implement or have all of the devices shown. More or fewer devices may be implemented or have alternatively.
- an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart.
- the computer program can be downloaded and installed from a network through a communication device 909, or installed from a storage device 908, or installed from a ROM 902.
- the processing device 901 the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
- the electronic device provided by the embodiment of the present disclosure and the media content display method provided by the above embodiment belong to the same concept.
- the technical details not fully described in this embodiment can be referred to the above embodiment, and this embodiment has the same effect as the above embodiment.
- the embodiments of the present disclosure provide a computer storage medium on which a computer program is stored.
- the program is executed by a processor, the media content display method provided in the above embodiments is implemented.
- the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two.
- the computer-readable storage medium may be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above.
- Examples of computer-readable storage media may include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a RAM, a ROM, an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
- a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in conjunction with an instruction execution system, device or device.
- a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. Such propagated data signals may take a variety of forms, including electromagnetic signals, optical signals, or any suitable combination of the above.
- Computer readable signal media may also be any computer readable medium other than computer readable storage media, which can send, propagate or transmit programs for use by or in conjunction with an instruction execution system, apparatus or device.
- the program code contained on the computer readable medium may be transmitted using any appropriate medium, including: wires, optical cables, radio frequency (RF), etc., or any suitable combination of the above.
- the client and the server may communicate using any currently known or future developed network protocol, such as HyperText Transfer Protocol (HTTP), and may be interconnected with any form or medium of digital data communication (e.g., a communication network).
- HTTP HyperText Transfer Protocol
- Examples of communication networks include a local area network (LAN), a wide area network (WAN), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
- the computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
- the computer-readable medium carries one or more programs.
- the electronic device displays a first shared media stream in a target page, wherein the shared media stream includes a media stream corresponding to a shared interaction between a first user and at least one second user, and the first shared media stream includes shared media content in a first type of preset media format; in response to a preset type switching operation, the target page switches from displaying the first shared media stream to displaying a second shared media stream, wherein the second shared media stream includes shared media content in a second type of preset media format, and the second type of preset media format is different from the first type of preset media format.
- the media formats are different.
- Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages.
- the program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server.
- the remote computer may be connected to the user's computer through any type of network, including a LAN or WAN, or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
- each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function.
- the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved.
- each square box in the block diagram and/or flow chart, and the combination of the square boxes in the block diagram and/or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
- the units involved in the embodiments described in the present disclosure may be implemented by software or by hardware.
- the name of the module does not limit the module itself in one case.
- the shared media stream display module may also be described as "displaying a first shared media stream module in a target page, wherein the shared media stream includes a media stream corresponding to a shared interaction between a first user and at least one second user, and the first shared media stream includes shared media content in a first type of preset media format".
- FPGA Field Programmable Gate Array
- ASIC Application Specific Integrated Circuit
- ASSP Application Specific Standard Parts
- SOC System on Chip
- CPLD Complex Programming Logic Device
- a machine-readable medium may be a tangible medium that can contain or store information for use by or in connection with an instruction execution system, apparatus, or device.
- the machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
- the machine-readable medium may include an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or apparatus, or any suitable combination of the foregoing.
- Examples of machine-readable storage media may include an electrical connection based on one or more wires, a portable computer disk, a hard disk, RAM, ROM, EPROM or flash memory, optical fiber, CD-ROM, an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
- a media content display method including:
- the shared media stream includes a media stream corresponding to a shared interaction between the first user and at least one second user, and the first shared media stream includes shared media content in a first type of preset media format;
- the target page switches from displaying the first shared media stream to displaying a second shared media stream, wherein the second shared media stream includes shared media content in a second type of preset media format, and the second type of preset media format is different from the first type of preset media format.
- the proportion of shared media content in the first preset media form is greater than the proportion of shared media content in the second preset media form; in the second shared media stream, the proportion of shared media content in the second preset media form is greater than the proportion of shared media content in the first preset media form.
- switching from displaying the first shared media stream to displaying the second shared media stream in the target page includes:
- the target page switches from displaying the first shared media stream to displaying the second shared media stream.
- displaying a preset switching control corresponding to the second shared media stream in the target page includes:
- a media type switching area is displayed in the target page, and a preset switching control associated with the content identifier of the shared media content of the second preset media format in the second shared media stream is displayed in the media type switching area.
- displaying, in the media type switching area, a preset switching control associated with a content identifier of the shared media content of the second type of preset media format in the second shared media stream includes:
- media type options corresponding to multiple shared media streams are displayed.
- the media type options corresponding to the multiple shared media streams include a media type option corresponding to the second shared media stream;
- an associated area of the media type option corresponding to the second shared media stream is displayed.
- the present invention further includes:
- a preset switching control associated with the content identifier of the shared media content of the second preset media format in the second shared media stream is displayed in the associated area.
- switching from displaying the first shared media stream to displaying the second shared media stream in the target page includes:
- the target page switches from displaying the first shared media stream to displaying the shared media content corresponding to the target content identifier in a second shared media stream.
- the first shared media stream includes at least two media content groups of the first preset media format, a single media content group includes at least two consecutive shared media content of the first preset media format, and there is at least one shared media content of the second preset media format between every two adjacent media content groups.
- switching from displaying the first shared media stream to displaying the second shared media stream in the target page includes:
- the target page When the target page currently displays the shared media content of the second preset media type in the first shared media stream, in response to a preset type switching operation, the target page switches from displaying the first shared media stream to displaying the second shared media stream.
- the preset media form includes an audio form, and the shared media content includes shared audio content; the method further includes:
- the background of the target page is updated according to a preset associated image of the shared audio content currently displayed in the target page.
- the target page includes a message interaction page; and updating the background of the target page according to a preset associated image of the shared audio content currently displayed in the target page includes:
- the page content of the page is displayed on the upper layer of the target background image, wherein the page content includes message content and/or associated content of the message content.
- the preset media form includes an audio form, and the shared media content includes shared audio content;
- the step of displaying the shared audio content in the target page includes:
- the associated information of the shared audio content is displayed in a preset control in the target page, and the shared audio content is played in the target page.
- the preset media form includes an audio form
- the shared media content includes shared audio content
- the shared audio content includes background music in a video work published by a user.
- the shared audio content includes the original audio in the video work released by the user and the music in the preset music library
- updating the background of the target page according to the preset associated image of the shared audio content currently displayed in the target page includes:
- a first background of the target page is displayed in a first preset display manner, wherein the first background includes a first preset associated image of the original audio;
- a second background of the target page is displayed in a second preset display manner, wherein the second background includes a second preset associated image of the music in the library.
- a media content presentation device including:
- a shared media stream display module configured to display a first shared media stream in a target page, wherein the shared media stream includes a media stream corresponding to a shared interaction between a first user and at least one second user, and the first shared media stream includes shared media content in a first type of preset media format;
- the shared media stream switching module is configured to switch from displaying the first shared media stream to displaying the second shared media stream in the target page in response to a preset type switching operation, wherein the second shared media stream contains shared media content in a second type of preset media format, and the second type of preset media format is different from the first type of preset media format.
- an electronic device comprising:
- processors one or more processors
- a storage device configured to store one or more programs
- the one or more processors When the one or more programs are executed by the one or more processors, the one or more processors implement the media content display method provided by the embodiment of the present disclosure.
- a storage medium containing computer executable instructions is provided.
- the computer executable instructions are executed by a computer processor, they are used to execute the media content presentation method provided by the embodiments of the present disclosure.
- a computer program product including a computer program carried on a non-transitory computer-readable medium, wherein the computer program contains program code for executing the media content presentation method provided by the embodiments of the present disclosure.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Information Transfer Between Computers (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
媒体内容展示方法、装置、设备及存储介质。该媒体内容展示方法包括:在目标页面中展示第一共享媒体流,其中,所述共享媒体流包括用于在第一用户和至少一个第二用户之间进行的共享互动对应的媒体流,所述第一共享媒体流中包含第一类预设媒体形式的共享媒体内容(201);响应于预设类型切换操作,在目标页面中由展示所述第一共享媒体流,切换为展示第二共享媒体流,其中,所述第二共享媒体流中包含第二类预设媒体形式的共享媒体内容,所述第二类预设媒体形式与所述第一类预设媒体形式不同(202)。
Description
本申请要求在2022年10月13日提交中国专利局、申请号为202211254768.2的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。
本公开涉及互联网技术领域,例如涉及媒体内容展示方法、装置、设备及存储介质。
随着互联网技术和终端技术的快速发展,用户之间的交互越来越便利,多个用户之间可以共享同一媒体流内容,从而实现基于共享媒体内容的共享互动。
发明内容
本公开提供了媒体内容展示方法、装置、存储介质及设备,可以优化媒体内容展示方案。
第一方面,本公开提供了媒体内容展示方法,包括:
在目标页面中展示第一共享媒体流,其中,所述共享媒体流包括用于在第一用户和至少一个第二用户之间进行的共享互动对应的媒体流,所述第一共享媒体流中包含第一类预设媒体形式的共享媒体内容;
响应于预设类型切换操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示第二共享媒体流,其中,所述第二共享媒体流中包含第二类预设媒体形式的共享媒体内容,所述第二类预设媒体形式与所述第一类预设媒体形式不同。
第二方面,本公开还提供了媒体内容展示装置,包括:
共享媒体流展示模块,设置为在目标页面中展示第一共享媒体流,其中,所述共享媒体流包括用于在第一用户和至少一个第二用户之间进行的共享互动对应的媒体流,所述第一共享媒体流中包含第一类预设媒体形式的共享媒体内容;
共享媒体流切换模块,设置为响应于预设类型切换操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示第二共享媒体流,其中,所述第二共享媒体流中包含第二类预设媒体形式的共享媒体内容,所述第二类预设媒体
形式与所述第一类预设媒体形式不同。
第三方面,本公开还提供了一种电子设备,所述电子设备包括:
一个或多个处理器;
存储装置,设置为存储一个或多个程序;
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现上述的媒体内容展示方法。
第四方面,本公开还提供了一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行上述的媒体内容展示方法。
第五方面,本公开还提供了一种计算机程序产品,包括承载在非暂态计算机可读介质上的计算机程序,所述计算机程序包含用于执行上述的媒体内容展示方法的程序代码。
图1为本公开实施例提供的一种媒体内容展示方法所适用的应用场景的场景架构图;
图2为本公开实施例所提供的一种媒体内容展示方法的流程示意图;
图3为本公开实施例所提供的一种界面交互示意图;
图4为本公开实施例所提供的另一种界面交互示意图;
图5为本公开实施例所提供的又一种界面交互示意图;
图6为本公开实施例所提供的另一种媒体内容展示方法的流程示意图;
图7为本公开实施例所提供的再一种界面交互示意图;
图8为本公开实施例所提供的一种媒体内容展示装置的结构示意图;
图9为本公开实施例所提供的一种电子设备的结构示意图。
下面将参照附图描述本公开的实施例。虽然附图中显示了本公开的一些实施例,本公开可以通过多种形式来实现,提供这些实施例是为了理解本公开。本公开的附图及实施例仅用于示例性作用。
本公开的方法实施方式中记载的多个步骤可以按照不同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。
本公开的范围在此方面不受限制。
本文使用的术语“包括”及其变形是开放性包括,即“包括”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。
本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。
本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。
本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。
在使用本公开实施例公开的技术方案之前,均应当依据相关法律法规通过恰当的方式对本公开所涉及个人信息的类型、使用范围、使用场景等告知用户并获得用户的授权。
例如,在响应于接收到用户的主动请求时,向用户发送提示信息,以明确地提示用户,其请求执行的操作将需要获取和使用到用户的个人信息。从而,使得用户可以根据提示信息来自主地选择是否向执行本公开技术方案的操作的电子设备、应用程序、服务器或存储介质等软件或硬件提供个人信息。
作为一种实现方式,响应于接收到用户的主动请求,向用户发送提示信息的方式例如可以是弹窗的方式,弹窗中可以以文字的方式呈现提示信息。此外,弹窗中还可以承载供用户选择“同意”或者“不同意”向电子设备提供个人信息的选择控件。
上述通知和获取用户授权过程仅是示意性的,不对本公开的实现方式构成限定,其它满足相关法律法规的方式也可应用于本公开的实现方式中。
本技术方案所涉及的数据(包括数据本身、数据的获取或使用)应当遵循相应法律法规及相关规定的要求。
图1为本公开实施例所提供的一种媒体内容展示方法所适用的应用场景的场景架构图。参考图1,该应用场景中可以包括服务器100、第一电子设备101和第二电子设备102。电子设备的数量可以更多,对电子设备的数量不做限定,图1仅作为示意性说明。多个电子设备与服务器建立通信连接,实现信息交互。所述电子设备可以为手机、智能手表、平板电脑以及个人数字助理等移动设备;也可为台式计算机等其他设备。使用电子设备的用户之间可以通过电子设备上
安装的预设应用程序进行实时通话、内容共享以及消息交互等,内容共享可包括媒体流共享(以下简称共享互动)。其中,服务器可以为预设应用程序提供支持。示例性的,多个用户进行共享互动时,每个用户可对当前的共享视频流进行控制,例如切换上一个视频或下一个视频等。本公开实施例中,对预设应用程序的类型不做限定,例如可以是视频类应用程序、直播类应用程序或资讯类应用程序等,还可以是其他类型的应用程序。
图2为本公开实施例所提供的一种媒体内容展示方法的流程示意图,本公开实施例适用于对共享媒体内容进行展示的情形,该方法可以由媒体内容展示装置来执行,该装置可以通过软件和/或硬件的形式实现,例如,通过电子设备来实现。如图2所示,所述方法包括:
步骤201、在目标页面中展示第一共享媒体流,其中,所述共享媒体流包括用于在第一用户和至少一个第二用户之间进行的共享互动对应的媒体流,所述第一共享媒体流中包含第一类预设媒体形式的共享媒体内容。
本公开实施例中,第一用户为当前使用预设应用程序的用户,也即本端用户,可理解为该预设应用程序中当前处于登录状态的账号为第一用户的账号。目标页面可以为预设应用程序中具备展示共享媒体流能力的页面,对目标页面的类型不做限定。
在本公开实施例中,可以支持两个或更多用户进行实时的媒体流共享,第二用户可以为与第一用户共同参与当前媒体流共享的用户,也即对端用户,第二用户的数量可以是一个或多个,对第二用户的数量不做限定。共享媒体流包括用于在第一用户和至少一个第二用户之间进行的共享互动对应的媒体流,也即,对于参与共享互动的每个用户来说,能够通过自己使用的电子设备来观看共享媒体流。其中,对共享媒体流的来源不做限定。
在本公开实施例中,预设媒体形式可依据媒体数据的格式进行划分,例如可以包括音频、图片以及视频等媒体形式。第一类预设媒体形式可以是上述任意一种媒体形式。共享媒体内容可以为共享媒体流中的媒体内容,与媒体形式相对应,如音频内容、图片内容和视频内容等。不同媒体形式的共享媒体内容的展示方式可以不同。如音频形式的共享媒体内容的展示,可以包括播放共享音频内容,还可以包括显示共享音频内容的关联信息,关联信息例如可包括歌曲名称、歌手、专辑名称或歌词等;又如视频形式的共享媒体内容的展示,可以包括播放共享视频内容中的声音,以及显示共享视频内容的视频图像。
在本公开实施例中,预设媒体形式还可依据共享媒体内容的来源进行划分,例如可以包括来自作品推荐流、来自视频直播流以及来自收藏作品库等。
预设媒体形式还可依据媒体数据的格式以及共享媒体内容的来源划分,例如,同一格式不同来源的共享媒体内容可以对应不同的预设媒体形式,同一来源不同格式的共享媒体内容也可以对应不同的预设媒体形式。
第一共享媒体流中包含第一类预设媒体形式的共享媒体内容,可以为第一共享媒体流中包含的全部或部分的共享媒体内容为第一类预设媒体形式。
第一共享媒体流中第一类预设媒体形式的共享媒体内容的占比大于或等于第一预设比例值。其中,第一预设比例值可根据实际情况设置,第一预设比例值可以大于50%,例如,第一预设比例值可以是100%或95%等,假设将共享媒体流中对应共享媒体内容占比最高的预设媒体形式记为该共享媒体流中的核心媒体形式,则可以认为第一类预设媒体形式为第一共享媒体流中的核心媒体形式。
所述第一共享媒体流中,第一类预设媒体形式的共享媒体内容的占比,大于第二类预设媒体形式的共享媒体内容的占比。
示例性的,针对一个共享媒体流,预设应用程序可以预设频率从对应的服务端拉取属于该共享媒体流的一个或多个共享媒体内容,可将预设拉取次数所拉取到的共享媒体内容作为一个内容集合,来确定不同预设媒体形式的共享媒体内容在该内容集合中的占比。例如,针对第一共享媒体流,每次拉取5个共享媒体内容,预设拉取次数为4,则该内容集合中有20个共享媒体内容,第一预设比例值为95%,则第一类预设媒体形式的共享媒体内容为19个;又如,该内容集合中,第一类预设媒体形式的共享媒体内容为18个,第二类预设媒体形式的共享媒体内容为2个,或者,第一类预设媒体形式的共享媒体内容为20个,第二类预设媒体形式的共享媒体内容为0个,则第一共享媒体流中,第一类预设媒体形式的共享媒体内容的占比大于第二类预设媒体形式的共享媒体内容的占比。
步骤202、响应于预设类型切换操作,在目标页面中由展示所述第一共享媒体流,切换为展示第二共享媒体流,其中,所述第二共享媒体流中包含第二类预设媒体形式的共享媒体内容,所述第二类预设媒体形式与所述第一类预设媒体形式不同。
示例性的,第二类预设媒体形式可以是上述任意一种与第一类预设媒体形式不同的媒体形式。例如,第一类预设媒体形式为音频形式,第二类预设媒体形式可以是图片形式或视频形式;又如,第一类预设媒体形式为视频形式,第二类预设媒体形式可以是音频形式或图片形式等。第二共享媒体流中包含第二类预设媒体形式的共享媒体内容,可以为第二共享媒体流中包含的全部或部分的共享媒体内容为第二类预设媒体形式。
所述第二共享媒体流中第二类预设媒体形式的共享媒体内容的占比大于或等于第二预设比例值。其中,第二预设比例值可根据实际情况设置,第二预设比例值可以大于50%,例如,第二预设比例值可以是100%或95%等,使得第二类预设媒体形式成为第二共享媒体流中的核心媒体形式。第一预设比例值和第二预设比例值可以相等或不等。
所述第二共享媒体流中,第二类预设媒体形式的共享媒体内容的占比,大于第一类预设媒体形式的共享媒体内容的占比。
本公开实施例中,可以支持包含不同媒体形式的共享媒体内容的共享媒体流之间的切换,用户可以通过输入预设类型切换操作来进行切换。对预设类型切换操作的形式不做限定,例如可以是基于预设切换控件的触发操作,还可以是预设手势操作,如双击操作、单指滑动操作或多指滑动操作等,还可以是语音指令等。在接收到预设类型切换操作后,可以将目标页面中当前正在展示的第一共享媒体流中的共享媒体内容,切换为第二共享媒体流中的共享媒体内容进行展示,可以切换为第二共享媒体流中的第二类预设媒体形式的共享媒体内容进行展示。
图3为本公开实施例所提供的一种界面交互示意图。例如,第一类预设媒体形式为音频形式,第二类预设媒体形式可以是视频形式,在目标页面301中,展示第一共享媒体流,假设当前正在展示的为第一共享媒体流中的歌曲1,可以在目标页面301中的预设区域显示歌曲1的关联信息302,如歌曲图标、歌曲名称以及动态音频波形图等,同时通过扬声器或听筒等声音播放器件播放歌曲1的声音,在接收到预设类型切换操作后,在目标页面301中切换为展示第二共享媒体流,如由展示歌曲1切换为展示第二共享媒体流中的小丑视频303。
本公开实施例提供的媒体内容展示方法,在目标页面中展示第一共享媒体流,其中,共享媒体流包括用于在第一用户和至少一个第二用户之间进行的共享互动对应的媒体流,第一共享媒体流中包含第一类预设媒体形式的共享媒体内容,响应于预设类型切换操作,在目标页面中由展示第一共享媒体流,切换为展示第二共享媒体流,其中,第二共享媒体流中包含第二类预设媒体形式的共享媒体内容,第二类预设媒体形式与第一类预设媒体形式不同。通过采用上述技术方案,可以为用户提供不同媒体形式的共享媒体流的展示功能,并可灵活地在不同媒体形式的共享媒体流之间进行展示的切换。
在一些实施例中,所述响应于预设类型切换操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示第二共享媒体流,包括:在所述目标页面中显示所述第二共享媒体流对应的预设切换控件;响应于针对所述第二共享媒体流对应的预设切换控件的触发操作,在所述目标页面中由展示所述第一共享
媒体流,切换为展示第二共享媒体流。这样设置的好处在于,通过对目标页面中显示的预设切换控件的触发,可以便捷地实现不同媒体形式的共享媒体流之间进行展示的切换。
示例性的,预设切换控件可以是目标页面中的常驻控件,还可以是在满足预设显示条件的情况下进行显示,该预设显示条件可以由预设应用程序自动触发,也可以在用户的操作下触发。
在一些实施例中,所述在所述目标页面中显示所述第二共享媒体流对应的预设切换控件,包括:响应于媒体类型切换操作,在所述目标页面中显示媒体类型切换区域,并在所述媒体类型切换区域中,显示与所述第二共享媒体流中的所述第二类预设媒体形式的共享媒体内容的内容标识相关联的预设切换控件。这样设置的好处在于,将预设切换控件与第二共享媒体流中的第二类预设媒体形式的共享媒体内容的内容标识相关联,可以让用户更加直观地查看若切换至第二共享媒体流,可以展示哪些共享媒体内容,方便用户根据自身意愿决定是否进行共享媒体流的切换。
示例性的,对媒体类型切换操作的形式不做限定,例如可以是基于预设媒体切换控件的触发操作,还可以是预设手势操作,如双击操作、单指滑动操作或多指滑动操作等,还可以是语音指令等。在接收到媒体类型切换操作后,显示媒体类型切换区域,该区域中可以显示第二类预设媒体形式的共享媒体内容的内容标识,可以将该内容标识复用为相关联的预设切换控件,还可以在内容标识的关联区域显示相关联的预设切换控件。
图4为本公开实施例所提供的另一种界面交互示意图,例如,第一类预设媒体形式为视频形式,第二类预设媒体形式可以是音频形式,如图4所示,在目标页面401中播放小丑视频的过程中,显示预设媒体切换控件402,用户点击预设媒体切换控件402后,显示媒体类型切换区域403,并在其中显示音频形式的共享媒体内容(歌曲)的内容标识404,内容标识例如可以是歌曲名称,并在内容标识404的关联区域(如图中的右侧)显示相关联的预设切换控件405。也可将内容标识404复用为预设切换控件,提高页面显示空间的利用率。
在一些实施例中,所述在所述媒体类型切换区域中,显示与所述第二共享媒体流中的所述第二类预设媒体形式的共享媒体内容的内容标识相关联的预设切换控件,包括:在所述媒体类型切换区域中,显示多个共享媒体流对应的媒体类型选项,其中,所述多个共享媒体流对应的媒体类型选项中包括所述第二共享媒体流对应的媒体类型选项;响应于针对所述第二共享媒体流对应的媒体类型选项的触发操作,显示所述第二共享媒体流对应的媒体类型选项的关联区域。这样设置的好处在于,可以提供更多的共享媒体流供用户选择,提升共享
媒体流切换的灵活性。
在一些实施例中,还包括:在所述关联区域显示与所述第二共享媒体流中的所述第二类预设媒体形式的共享媒体内容的内容标识相关联的预设切换控件。这样设置的好处在于,对同一媒体类型选项对应的与内容标识相关联的预设切换控件在关联区域中集中显示,方便用户快速找到想要切换的共享媒体内容,进而触发切换。
示例性的,多个共享媒体流对应的核心媒体形式可以各不相同,媒体类型选项的文案可以根据对应的核心媒体形式来设定,以便于用户快速进行区分。不同媒体类型选项的关联区域可以相同或不同,若不同媒体类型选项的关联区域相同,则可以在处于选中状态的媒体类型选项发生变化时,更新关联区域中显示的内容标识。对于不同媒体类型选项,关联区域中的内容标识的显示方式可以不同,可以根据对应的预设媒体形式设定。
图5为本公开实施例所提供的又一种界面交互示意图,如图5所示,用户点击预设媒体切换控件501后,显示媒体类型切换区域502,媒体类型切换区域502可以包含两个子区域,一个子区域用于显示媒体类型选项503,如图中的“推荐”、“收藏”和“音乐”,另一个子区域为媒体类型选项的关联区域504,不同媒体类型选项可以共用该关联区域504。在初始显示媒体类型切换区域502时,可以默认将第一个媒体类型选项设定为选中状态,如图中的“推荐”,在关联区域504中可以显示推荐作品流中的推荐作品的内容标识505,可以是推荐作品的封面图或视频截图等。当用户想要选择音乐为核心媒体形式的共享媒体流时,可以点击“音乐”,在关联区域504中变更为显示该共享媒体流中的音乐的内容标识506,如图5中,音乐的内容标识506与推荐作品的内容标识505可以不同,音乐的内容标识506可以包括歌曲图标、歌曲名称、歌手名称以及歌曲时长等。
在一些实施例中,所述响应于针对所述第二共享媒体流对应的预设切换控件的触发操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示第二共享媒体流,包括:响应于针对与目标内容标识相关联的预设切换控件的触发操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示第二共享媒体流中所述目标内容标识对应的共享媒体内容。这样设置的好处在于,用户可以通过触发与目标内容标识相关联的预设切换控件的方式,便捷地选择切换后的第二共享媒体流中首个展示的共享媒体内容,提升共享媒体流切换的灵活性。
如图5所示,假设将音乐的内容标识506复用为关联的预设切换控件,若用户想要切换至歌曲2,则可以通过点击歌曲2的内容标识的方式,切换至音频为核心媒体形式的共享媒体流,并直接展示歌曲2。
在一些实施例中,所述第一共享媒体流中包括至少两个第一类预设媒体形式的媒体内容组,单个媒体内容组中包括至少两个连续的所述第一类预设媒体形式的共享媒体内容,每两个相邻的媒体内容组之间存在至少一个所述第二类预设媒体形式的共享媒体内容。其中,所述响应于预设类型切换操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示第二共享媒体流,包括:在所述目标页面中当前展示所述第一共享媒体流中的所述第二类预设媒体形式的共享媒体内容的情况下,响应于预设类型切换操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示第二共享媒体流。这样设置的好处在于,可以在连续的同一预设媒体形式的共享媒体内容之间***其他预设媒体形式的共享媒体内容,可以对用户起到一定的提示作用,提示用户可以通过切换共享媒体流来共享更多媒体形式的内容,且当前用户所查看的共享媒体内容对应于即将切换的第二共享媒体流的核心媒体形式,可减少用户的共享媒体流选择操作。
示例性的,单个媒体内容组中包括的至少两个连续的第一类预设媒体形式的共享媒体内容的数量可以预先设定,如10个,例如21个共享媒体内容中,第1至第10个共享媒体内容、以及第12至第21个共享媒体内容为共享视频内容,第11个共享媒体内容为共享音频内容。
在目标页面中当前展示第一共享媒体流中的第一类预设媒体形式的媒体内容的情况下,也可以允许切换至第二共享媒体流,可以根据当前展示的第一共享媒体流中的媒体内容的预设媒体形式的不同,而设定不同的共享媒体流切换方式。例如,在所述目标页面中当前展示所述第一共享媒体流中的所述第二类预设媒体形式的共享媒体内容的情况下,响应于第一预设类型切换操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示第二共享媒体流;在所述目标页面中当前展示所述第一共享媒体流中的所述第一类预设媒体形式的共享媒体内容的情况下,响应于第二预设类型切换操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示第二共享媒体流。其中,第一预设类型切换操作和第二预设类型切换操作不同,例如第一预设类型切换操作可以是长按或者双击等手势操作,第二预设类型切换操作可以是对第二共享媒体流对应的预设切换控件的触发操作。
在一些实施例中,第二共享媒体流中也可包括媒体内容组,将第一共享媒体流中的媒体内容组记为第一媒体内容组。所述第二共享媒体流中包括至少两个第二类预设媒体形式的第二媒体内容组,单个第二媒体内容组中包括至少两个连续的所述第二类预设媒体形式的共享媒体内容,每两个相邻的第二媒体内容组之间存在至少一个所述第一类预设媒体形式的共享媒体内容。
在一些实施例中,预设应用程序中具备作品发布功能,用户可以通过作品发布功能来发布自己创作的作品,如视频作品。所述预设媒体形式包括音频形式,所述共享媒体内容包括共享音频内容,所述共享音频内容包括用户发布的视频作品中的原声音频。这样设置的好处在于,可以丰富共享音频内容的来源,也可丰富视频作品的展示形式。发布视频作品的用户,在创作视频作品时,可以在得到音频素材持有者的充分授权的情况下,对音频素材进行剪辑或混编等处理,将处理后得到的音频作为自己视频作品中的背景音乐,也即原声音频。将视频作品中的原声音频作为共享音频内容进行展示是视频作品的发布者自主选择的。
在一些实施例中,所述预设媒体形式包括音频形式,所述共享媒体内容包括共享音频内容;所述方法还包括:根据所述目标页面中当前展示的共享音频内容的预设关联图像,更新所述目标页面的背景。这样设置的好处在于,对于共享音频内容,可以动态地根据当前播放音频的关联图像有针对性地更新目标页面的背景,使得用户查看到的背景与音频更加匹配。
预设关联图像例如可以包括共享音频内容的专辑封面、歌手照片、所属视频作品的封面图或视频截图等。可以直接将目标页面的背景更换为预设关联图像;还可以在预设关联图像基础上进行裁剪、尺寸比例调整、色彩调整、以及透明度调整中的至少一项图像处理操作,将目标页面的背景更换为上述图像处理后得到的图像。
在一些实施例中,所述共享音频内容包括用户发布的视频作品中的原声音频和/或预设曲库中的库内音乐;其中,所述根据所述目标页面中当前展示的共享音频内容的预设关联图像,更新所述目标页面的背景,包括:在所述目标页面中当前展示的共享音频内容包括所述原声音频的情况下,采用第一预设展示方式展示所述目标页面的第一背景,其中,所述第一背景中包含所述原声音频的第一预设关联图像;在所述目标页面中当前展示的共享音频内容不包含用户原声、仅为所述库内音乐的情况下,采用第二预设展示方式展示所述目标页面的第二背景,其中,所述第二背景中包含所述库内音乐的第二预设关联图像。这样设置的好处在于,对于不同来源的共享音频内容,采用不同的展示方式进行目标页面的背景更新,丰富背景展示方式,且方便用户便捷地区分当前的共享音频内容的来源。
示例性的,预设曲库中可以包括预设应用程序已获取到版权的由专业人员(如歌手、音乐人或唱片公司等)发表的音乐,这类音乐在本公开实施例中称为库内音乐,库内音乐可以作为上文所述的音频素材。
示例性的,第一预设展示方式和第二预设展示方式的不同可以体现于如背
景尺寸、背景透明度和背景亮度等等。例如,对于原声音频,第一预设关联图像可以为所属视频作品的视频帧,可以动态展示视频帧,如在第一背景中播放原声音频所属的视频作品,第一背景的尺寸小于屏幕尺寸;对于库内音乐,第二预设关联图像可以为专辑封面,第二背景的尺寸可以等于屏幕尺寸。
在一些实施例中,所述目标页面包括消息交互页面;所述根据所述目标页面中当前展示的共享音频内容的预设关联图像,更新所述目标页面的背景,包括:根据所述目标页面中当前展示的共享音频内容的预设关联图像,确定目标背景图像;将所述目标页面的当前背景替换为所述目标背景图像,以使所述消息交互页面的页面内容显示于所述目标背景图像的上层,其中,所述页面内容包括消息内容和/或所述消息内容的关联内容。这样设置的好处在于,可以使用户在消息交互页面中获得更加沉浸的音频共享互动效果。
示例性的,消息交互页面中的页面内容可以包括消息内容以及消息内容的关联内容,关联内容可以是消息交互对象的对象标识(如用户名称或用户头像等)等。这样,用户可以边收发消息边全屏(目标页面处于全屏显示状态的情况)查看共享音频内容的预设关联图像,兼顾消息交互和音频共享功能。
在一些实施例中,所述预设媒体形式包括音频形式,所述共享媒体内容包括共享音频内容;其中,在所述目标页面中展示共享音频内容,包括:在所述目标页面中的预设控件中显示所述共享音频内容的关联信息,并在所述目标页面中播放所述共享音频内容。这样设置的好处在于,将共享音频内容的关联信息显示于预设控件中,减少关联信息对目标页面的显示空间的占用,使用户可以获得更加沉浸的音频共享互动效果。
示例性的,预设控件可以是预设悬浮控件,悬浮控件可以是悬浮框形态的控件,预设悬浮控件的属性,如形状、尺寸、颜色、透明度以及显示位置等,可根据实际需求设置。预设控件还可以是预设条状控件,例如该预设条状控件的至少一个边界与目标页面的边界重合,以减少对目标页面中的其他内容的干扰。
预设控件中还可以显示共享交互消息,该共享交互消息中可以包括文字类消息,还可以包括图片类消息,如表情类消息等。这样,第一用户在浏览目标页面的过程中,还可以及时查看第二用户发送的交互消息。其中,此时的目标页面可以是预设页面,预设页面可包括消息交互页面之外的页面,如资讯类页面、商品详情页或个人主页等。
图6为本公开实施例所提供的另一种媒体内容展示方法的流程示意图,本公开实施例以上述实施例中的方案为基础进行说明,以第一类预设媒体形式为音频形式,第二类预设媒体形式为视频形式为例,第一共享媒体流(记为共享
音频流)中的共享音频内容的占比大于共享视频内容的占比,第二共享媒体流(记为共享视频流)中的共享视频内容的占比大于共享音频内容的占比。
该方法包括如下步骤:
步骤601、接收第一用户基于第一目标页面输入的音频形式的共享互动的触发操作。
示例性的,以第一目标页面为消息交互页面。共享互动的触发操作可以是向第二用户发出音频共享互动的邀请,也可以是接受第二用户发出的音频共享互动的邀请。
图7为本公开实施例所提供的再一种界面交互示意图,如图7所示,假设第一用户为用户A,第二用户为用户B,用户B向用户A发出音频共享互动的邀请,在用户A侧的消息交互页面701中,显示邀请控件702,用户A点击邀请控件702之后,可进入音频共享互动(也可称为一起听)。
步骤602、在第一目标页面中预设控件中,显示第一用户与第二用户的共享音频流中的当前共享媒体内容的关联信息,在第一目标页面中播放当前共享媒体内容,并根据当前共享音频内容的预设关联图像,更新第一目标页面的背景。
如图7所示,在进入音频共享互动后,可以在第一目标页面中的播放条控件703(预设控件)中显示当前展示的歌曲1(共享音频内容)的关联信息,关联信息如图中的歌曲图标、歌曲名称以及播放控制按钮(如上一曲、暂停以及下一曲),并在第一目标页面中播放歌曲1的声音。假设歌曲1是一个用户发布的视频作品中的背景音乐,可以将该视频作品的视频封面或视频截图(如图7中的风景图像)作为歌曲1的预设关联图像,并采用该风景图像替换第一目标页面的原背景,也即该风景图像成为第一目标页面的新的当前背景,并将用户A和用户B的消息内容以及头像等关联内容显示于风景图像的上层,保证用户A和用户B之间的正常消息交互,兼顾消息交互和音频共享效果。
用户B可以通过以第一预设触发方式触发预设控件的方式(例如可以将预设控件复用为预设切换控件),实现预设类型切换操作的输入,从而可以在第一目标页面中由展示共享音频流切换为展示共享视频流。
用户B可以通过以第二预设触发方式触发预设控件的方式输入媒体类型切换操作,在第一目标页面中显示媒体类型切换区域,并在媒体类型切换区域中显示与共享视频流中的共享视频内容的内容标识相关联的预设切换控件,细节可参考图4和图5的相关描述,此处不再赘述。
步骤603、响应于针对预设控件的预设触发操作,切换至在第二目标页面中展示共享音频流中的共享音频内容,并在第二目标页面中显示第一用户与第二
用户的共享视频流对应的第一预设切换控件。
示例性的,如图7所示,当用户A针对播放条控件703输入长按或点击等预设触发操作后,切换至第二目标页面704中继续展示歌曲1,第二目标页面可以为具备另一种共享互动的共享页面,在第二目标页面中可以显示参与共享互动的用户的用户标识,如用户A和用户B的头像,可以显示共享音频内容的关联信息,如歌曲名称等,也可以将当前共享音频内容的预设关联图像作为第二目标页面的背景。
在第二目标页面中,可以通过输入指定手势操作来实现共享媒体内容的切换,如向上滑动操作对应切换下一个共享媒体内容,向下滑动操作对应切换上一个共享媒体内容。
示例性的,如图7所示,在第二目标页面中,还可显示共享视频流对应的第一预设切换控件705,用户A可以通过触发第一预设切换控件705的方式在第二目标页面中由展示歌曲1切换为展示共享视频流中的共享视频内容,如图7中的人物视频708。
可以将第一预设切换控件705替换为预设媒体切换控件,用户A可以通过触发预设媒体切换控件来输入媒体类型切换操作,进而可以进行对应更多媒体形式的共享媒体流的选择和切换,细节可参考前文中图4和图5的相关描述,此处不再赘述。
步骤604、在预设切换控件未被触发的情况下,继续在第二目标页面中展示共享音频流中的共享音频内容。
示例性的,共享音频流中包括多个音频内容组,单个音频内容组中包括预设数量(记为N)个连续的共享音频内容,每两个相邻的音频内容组之间存在一个共享视频内容。
步骤605、在第二目标页面中展示共享音频流中预设数量的共享音频内容之后,展示共享音频流中的共享视频内容,并在第二目标页面中显示共享视频流对应的第二预设切换控件。
如图7所示,在连续播放N个共享音频内容后,当前音频内容组播放完毕,在第二目标页面中自动切换为播放共享音频流中的共享视频内容,如图7中的小丑视频706,并且,在第二目标页面中显示共享视频流对应的第二预设切换控件707。其中,第一预设切换控件705和第二预设切换控件707对应的文案可以相同或不同,如图7所示,第一预设切换控件705和第二预设切换控件707对应的文案可以不同,分别为“更多共享类型”和“切换一起看”。
步骤606、响应于针对第二预设切换控件的触发操作,在第二目标页面中由
展示共享音频流,切换为展示共享视频流。
示例性的,如图7所示,当用户A触发第二预设切换控件707后,可以由展示共享音频流中的小丑视频706切换至展示共享视频流中的人物视频708,从而实现从共享音频流到共享视频流的切换。
在第二目标页面中切换至共享视频流后,还可以在第二目标页面中继续显示第一预设切换控件,以便用户A切换回共享音频流。
示例性的,如图7所示,若在播放小丑视频706时,用户A仍然想要继续共享音频,可以通过输入向上滑动操作来切换至展示下一个音频内容组,如歌曲N+1,并且,第二目标页面中的背景可以切换为歌曲N+1的预设关联图像,如图中的星星图片。
本公开实施例提供的媒体内容展示方法,对于共享媒体流可以提供两种不同的用于展示共享媒体内容的目标页面,不同目标页面可以对应不同的展示方式,在目标页面中可以允许用户在展示以一媒体形式为主的共享媒体流中的不同预设媒体形式的共享媒体内容的情况下,灵活地切换至以另一媒体形式为主的共享媒体流的展示,并提供多样的切换方式,并且,在展示共享音频内容时,在目标页面中可以根据当前展示的共享音频内容的关联图像适应性地调整页面背景。
图8为本公开实施例所提供的一种媒体内容展示装置的结构示意图,如图8所示,所述装置包括:共享媒体流展示模块801以及共享媒体流切换模块802。
共享媒体流展示模块801,设置为在目标页面中展示第一共享媒体流,其中,所述共享媒体流包括用于在第一用户和至少一个第二用户之间进行的共享互动对应的媒体流,所述第一共享媒体流中包含第一类预设媒体形式的共享媒体内容;共享媒体流切换模块802,设置为响应于预设类型切换操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示第二共享媒体流,其中,所述第二共享媒体流中包含第二类预设媒体形式的共享媒体内容,所述第二类预设媒体形式与所述第一类预设媒体形式不同。
本公开实施例所提供的媒体内容展示装置,在目标页面中展示第一共享媒体流,其中,共享媒体流包括用于在第一用户和至少一个第二用户之间进行的共享互动对应的媒体流,第一共享媒体流中包含第一类预设媒体形式的共享媒体内容,响应于预设类型切换操作,在目标页面中由展示第一共享媒体流,切换为展示第二共享媒体流,其中,第二共享媒体流中包含第二类预设媒体形式的共享媒体内容,第二类预设媒体形式与第一类预设媒体形式不同。通过采用上述技术方案,可以为用户提供不同媒体形式的共享媒体流的展示功能,并可
灵活地在不同媒体形式的共享媒体流之间进行展示的切换。
所述第一共享媒体流中,第一类预设媒体形式的共享媒体内容的占比,大于第二类预设媒体形式的共享媒体内容的占比;所述第二共享媒体流中,第二类预设媒体形式的共享媒体内容的占比,大于第一类预设媒体形式的共享媒体内容的占比。
所述共享媒体流切换模块802包括:
切换控件显示单元,设置为在所述目标页面中显示所述第二共享媒体流对应的预设切换控件;切换单元,设置为响应于针对所述第二共享媒体流对应的预设切换控件的触发操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示第二共享媒体流。
所述切换控件显示单元包括:
区域显示子单元,设置为响应于媒体类型切换操作,在所述目标页面中显示媒体类型切换区域;切换控件显示子单元,设置为在所述媒体类型切换区域中,显示与所述第二共享媒体流中的所述第二类预设媒体形式的共享媒体内容的内容标识相关联的预设切换控件。
所述切换控件显示子单元设置为:
在所述媒体类型切换区域中,显示多个共享媒体流对应的媒体类型选项,其中,所述多个共享媒体流对应的媒体类型选项中包括所述第二共享媒体流对应的媒体类型选项;响应于针对所述第二共享媒体流对应的媒体类型选项的触发操作,显示所述第二共享媒体流对应的媒体类型选项的关联区域。
所述切换控件显示子单元还设置为:在所述关联区域显示与所述第二共享媒体流中的所述第二类预设媒体形式的共享媒体内容的内容标识相关联的预设切换控件。
所述响切换单元设置为:
响应于针对与目标内容标识相关联的预设切换控件的触发操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示第二共享媒体流中所述目标内容标识对应的共享媒体内容。
所述第一共享媒体流中包括至少两个第一类预设媒体形式的媒体内容组,单个媒体内容组中包括至少两个连续的所述第一类预设媒体形式的共享媒体内容,每两个相邻的媒体内容组之间存在至少一个所述第二类预设媒体形式的共享媒体内容。
所述共享媒体流切换模块802设置为:
在所述目标页面中当前展示所述第一共享媒体流中的所述第二类预设媒体形式的共享媒体内容的情况下,响应于预设类型切换操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示第二共享媒体流。
所述预设媒体形式包括音频形式,所述共享媒体内容包括共享音频内容;所述装置还包括:
背景更新模块,设置为根据所述目标页面中当前展示的共享音频内容的预设关联图像,更新所述目标页面的背景。
所述目标页面包括消息交互页面;所述背景更新模块包括:
背景确定单元,设置为根据所述目标页面中当前展示的共享音频内容的预设关联图像,确定目标背景图像;背景替换单元,设置为将所述目标页面的当前背景替换为所述目标背景图像,以使所述消息交互页面的页面内容显示于所述目标背景图像的上层,其中,所述页面内容包括消息内容和/或所述消息内容的关联内容。
所述预设媒体形式包括音频形式,所述共享媒体内容包括共享音频内容;其中,共享媒体流展示模块执行在所述目标页面中展示共享音频内容的操作时,设置为:在所述目标页面中的预设控件中显示所述共享音频内容的关联信息,并在所述目标页面中播放所述共享音频内容。
所述预设媒体形式包括音频形式,所述共享媒体内容包括共享音频内容,所述共享音频内容包括用户发布的视频作品中的原声音频。
所述共享音频内容包括用户发布的视频作品中的原声音频和/或预设曲库中的库内音乐;其中,背景更新模块,包括:
第一背景更新单元,设置为在所述目标页面中当前展示的共享音频内容包括所述原声音频的情况下,采用第一预设展示方式展示所述目标页面的第一背景,其中,所述第一背景中包含所述原声音频的第一预设关联图像;第二背景更新单元,设置为在所述目标页面中当前展示的共享音频内容为所述库内音乐的情况下,采用第二预设展示方式展示所述目标页面的第二背景,其中,所述第二背景中包含所述库内音乐的第二预设关联图像。
本公开实施例所提供的媒体内容展示装置可执行本公开任意实施例所提供的媒体内容展示方法,具备执行方法相应的功能模块和效果。
上述装置所包括的多个单元和模块只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,多个功能单元的名称也只是为了便于相互区分,并不用于限制本公开实施例的保护范围。
图9为本公开实施例所提供的一种电子设备的结构示意图。下面参考图9,其示出了适于用来实现本公开实施例的电子设备(例如图9中的终端设备或服务器)900的结构示意图。本公开实施例中的终端设备可以包括诸如移动电话、笔记本电脑、数字广播接收器、个人数字助理(Personal Digital Assistant,PDA)、平板电脑(Portable Android Device,PAD)、便携式多媒体播放器(Portable Media Player,PMP)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字电视(Television,TV)、台式计算机等等的固定终端。图9示出的电子设备900仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。
如图9所示,电子设备900可以包括处理装置(例如中央处理器、图形处理器等)901,其可以根据存储在只读存储器(Read-Only Memory,ROM)902中的程序或者从存储装置908加载到随机访问存储器(Random Access Memory,RAM)903中的程序而执行多种适当的动作和处理。在RAM 903中,还存储有电子设备900操作所需的多种程序和数据。处理装置901、ROM 902以及RAM 903通过总线904彼此相连。输入/输出(Input/Output,I/O)接口905也连接至总线904。
通常,以下装置可以连接至I/O接口905:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置906;包括例如液晶显示器(Liquid Crystal Display,LCD)、扬声器、振动器等的输出装置907;包括例如磁带、硬盘等的存储装置908;以及通信装置909。通信装置909可以允许电子设备900与其他设备进行无线或有线通信以交换数据。虽然图9示出了具有多种装置的电子设备900,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。
根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置909从网络上被下载和安装,或者从存储装置908被安装,或者从ROM 902被安装。在该计算机程序被处理装置901执行时,执行本公开实施例的方法中限定的上述功能。
本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。
本公开实施例提供的电子设备与上述实施例提供的媒体内容展示方法属于同一构思,未在本实施例中详尽描述的技术细节可参见上述实施例,并且本实施例与上述实施例具有相同的效果。
本公开实施例提供了一种计算机存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述实施例所提供的媒体内容展示方法。
本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是电、磁、光、电磁、红外线、或半导体的***、装置或器件,或者任意以上的组合。计算机可读存储介质的例子可以包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、RAM、ROM、可擦式可编程只读存储器(Erasable Programmable Read-Only Memory,EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行***、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行***、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括:电线、光缆、射频(Radio Frequency,RF)等等,或者上述的任意合适的组合。
在一些实施方式中,客户端、服务器可以利用诸如超文本传输协议(HyperText Transfer Protocol,HTTP)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(Local Area Network,LAN),广域网(Wide Area Network,WAN),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:在目标页面中展示第一共享媒体流,其中,所述共享媒体流包括用于在第一用户和至少一个第二用户之间进行的共享互动对应的媒体流,所述第一共享媒体流中包含第一类预设媒体形式的共享媒体内容;响应于预设类型切换操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示第二共享媒体流,其中,所述第二共享媒体流中包含第二类预设媒体形式的共享媒体内容,所述第二类预设媒体形式与所述第一类预设
媒体形式不同。
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括LAN或WAN—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
附图中的流程图和框图,图示了按照本公开多种实施例的***、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的***来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,模块的名称在一种情况下并不构成对该模块本身的限定,例如,共享媒体流展示模块还可以被描述为“在目标页面中展示第一共享媒体流模块,其中,所述共享媒体流包括用于在第一用户和至少一个第二用户之间进行的共享互动对应的媒体流,所述第一共享媒体流中包含第一类预设媒体形式的共享媒体内容”。
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(Field Programmable Gate Array,FPGA)、专用集成电路(Application Specific Integrated Circuit,ASIC)、专用标准产品(Application Specific Standard Parts,ASSP)、片上***(System on Chip,SOC)、复杂可编程逻辑设备(Complex Programming Logic Device,CPLD)等等。
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行***、装置或设备使用或与指令执行***、装置或设备结合地
使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括电子的、磁性的、光学的、电磁的、红外的、或半导体***、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、RAM、ROM、EPROM或快闪存储器、光纤、CD-ROM、光学储存设备、磁储存设备、或上述内容的任何合适组合。
根据本公开的一个或多个实施例,提供了一种媒体内容展示方法,包括:
在目标页面中展示第一共享媒体流,其中,所述共享媒体流包括用于在第一用户和至少一个第二用户之间进行的共享互动对应的媒体流,所述第一共享媒体流中包含第一类预设媒体形式的共享媒体内容;
响应于预设类型切换操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示第二共享媒体流,其中,所述第二共享媒体流中包含第二类预设媒体形式的共享媒体内容,所述第二类预设媒体形式与所述第一类预设媒体形式不同。
根据本公开的一个或多个实施例,所述第一共享媒体流中,第一类预设媒体形式的共享媒体内容的占比,大于第二类预设媒体形式的共享媒体内容的占比;所述第二共享媒体流中,第二类预设媒体形式的共享媒体内容的占比,大于第一类预设媒体形式的共享媒体内容的占比。
根据本公开的一个或多个实施例,所述响应于预设类型切换操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示第二共享媒体流,包括:
在所述目标页面中显示所述第二共享媒体流对应的预设切换控件;
响应于针对所述第二共享媒体流对应的预设切换控件的触发操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示第二共享媒体流。
根据本公开的一个或多个实施例,所述在所述目标页面中显示所述第二共享媒体流对应的预设切换控件,包括:
响应于媒体类型切换操作,在所述目标页面中显示媒体类型切换区域,并在所述媒体类型切换区域中,显示与所述第二共享媒体流中的所述第二类预设媒体形式的共享媒体内容的内容标识相关联的预设切换控件。
根据本公开的一个或多个实施例,所述在所述媒体类型切换区域中,显示与所述第二共享媒体流中的所述第二类预设媒体形式的共享媒体内容的内容标识相关联的预设切换控件,包括:
在所述媒体类型切换区域中,显示多个共享媒体流对应的媒体类型选项,
其中,所述多个共享媒体流对应的媒体类型选项中包括所述第二共享媒体流对应的媒体类型选项;
响应于针对所述第二共享媒体流对应的媒体类型选项的触发操作,显示所述第二共享媒体流对应的媒体类型选项的关联区域。
根据本公开的一个或多个实施例,还包括:
在所述关联区域显示与所述第二共享媒体流中的所述第二类预设媒体形式的共享媒体内容的内容标识相关联的预设切换控件。
根据本公开的一个或多个实施例,所述响应于针对所述第二共享媒体流对应的预设切换控件的触发操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示第二共享媒体流,包括:
响应于针对与目标内容标识相关联的预设切换控件的触发操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示第二共享媒体流中所述目标内容标识对应的共享媒体内容。
根据本公开的一个或多个实施例,所述第一共享媒体流中包括至少两个第一类预设媒体形式的媒体内容组,单个媒体内容组中包括至少两个连续的所述第一类预设媒体形式的共享媒体内容,每两个相邻的媒体内容组之间存在至少一个所述第二类预设媒体形式的共享媒体内容。
根据本公开的一个或多个实施例,所述响应于预设类型切换操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示第二共享媒体流,包括:
在所述目标页面中当前展示所述第一共享媒体流中的所述第二类预设媒体形式的共享媒体内容的情况下,响应于预设类型切换操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示第二共享媒体流。
根据本公开的一个或多个实施例,所述预设媒体形式包括音频形式,所述共享媒体内容包括共享音频内容;所述方法还包括:
根据所述目标页面中当前展示的共享音频内容的预设关联图像,更新所述目标页面的背景。
根据本公开的一个或多个实施例,所述目标页面包括消息交互页面;所述根据所述目标页面中当前展示的共享音频内容的预设关联图像,更新所述目标页面的背景,包括:
根据所述目标页面中当前展示的共享音频内容的预设关联图像,确定目标背景图像;
将所述目标页面的当前背景替换为所述目标背景图像,以使所述消息交互
页面的页面内容显示于所述目标背景图像的上层,其中,所述页面内容包括消息内容和/或所述消息内容的关联内容。
根据本公开的一个或多个实施例,所述预设媒体形式包括音频形式,所述共享媒体内容包括共享音频内容;
其中,在所述目标页面中展示共享音频内容,包括:
在所述目标页面中的预设控件中显示所述共享音频内容的关联信息,并在所述目标页面中播放所述共享音频内容。
根据本公开的一个或多个实施例,所述预设媒体形式包括音频形式,所述共享媒体内容包括共享音频内容,所述共享音频内容包括用户发布的视频作品中的背景音乐。
根据本公开的一个或多个实施例,所述共享音频内容包括用户发布的视频作品中的原声音频和预设曲库中的库内音乐;
其中,所述根据所述目标页面中当前展示的共享音频内容的预设关联图像,更新所述目标页面的背景,包括:
在所述目标页面中当前展示的共享音频内容包括所述原声音频的情况下,采用第一预设展示方式展示所述目标页面的第一背景,其中,所述第一背景中包含所述原声音频的第一预设关联图像;
在所述目标页面中当前展示的共享音频内容为所述库内音乐的情况下,采用第二预设展示方式展示所述目标页面的第二背景,其中,所述第二背景中包含所述库内音乐的第二预设关联图像。
根据本公开的一个或多个实施例,提供了媒体内容展示装置,包括:
共享媒体流展示模块,设置为在目标页面中展示第一共享媒体流,其中,所述共享媒体流包括用于在第一用户和至少一个第二用户之间进行的共享互动对应的媒体流,所述第一共享媒体流中包含第一类预设媒体形式的共享媒体内容;
共享媒体流切换模块,设置为响应于预设类型切换操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示第二共享媒体流,其中,所述第二共享媒体流中包含第二类预设媒体形式的共享媒体内容,所述第二类预设媒体形式与所述第一类预设媒体形式不同。
根据本公开的一个或多个实施例,提供了一种电子设备,所述电子设备包括:
一个或多个处理器;
存储装置,设置为存储一个或多个程序;
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现本公开实施例提供的媒体内容展示方法。
根据本公开的一个或多个实施例,提供了一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行本公开实施例提供的媒体内容展示方法。
根据本公开的一个或多个实施例,提供了一种计算机程序产品,包括承载在非暂态计算机可读介质上的计算机程序,所述计算机程序包含用于执行本公开实施例提供的媒体内容展示方法的程序代码。
此外,虽然采用特定次序描绘了多个操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了多个实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的一些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的多种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。
Claims (19)
- 一种媒体内容展示方法,包括:在目标页面中展示第一共享媒体流,其中,共享媒体流包括用于在第一用户和至少一个第二用户之间进行的共享互动对应的媒体流,所述第一共享媒体流中包含第一类预设媒体形式的共享媒体内容;响应于预设类型切换操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示第二共享媒体流,其中,所述第二共享媒体流中包含第二类预设媒体形式的共享媒体内容,所述第二类预设媒体形式与所述第一类预设媒体形式不同。
- 根据权利要求1所述的方法,其中,所述第一共享媒体流中,所述第一类预设媒体形式的共享媒体内容的占比,大于所述第二类预设媒体形式的共享媒体内容的占比;所述第二共享媒体流中,所述第二类预设媒体形式的共享媒体内容的占比,大于所述第一类预设媒体形式的共享媒体内容的占比。
- 根据权利要求1所述的方法,其中,所述响应于预设类型切换操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示第二共享媒体流,包括:在所述目标页面中显示所述第二共享媒体流对应的预设切换控件;响应于针对所述第二共享媒体流对应的预设切换控件的触发操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示所述第二共享媒体流。
- 根据权利要求3所述的方法,其中,所述在所述目标页面中显示所述第二共享媒体流对应的预设切换控件,包括:响应于媒体类型切换操作,在所述目标页面中显示媒体类型切换区域,并在所述媒体类型切换区域中,显示与所述第二共享媒体流中的所述第二类预设媒体形式的共享媒体内容的内容标识相关联的预设切换控件。
- 根据权利要求4所述的方法,其中,所述在所述媒体类型切换区域中,显示与所述第二共享媒体流中的所述第二类预设媒体形式的共享媒体内容的内容标识相关联的预设切换控件,包括:在所述媒体类型切换区域中,显示多个共享媒体流对应的媒体类型选项,其中,所述多个共享媒体流对应的媒体类型选项中包括所述第二共享媒体流对应的媒体类型选项;响应于针对所述第二共享媒体流对应的媒体类型选项的触发操作,显示所述第二共享媒体流对应的媒体类型选项的关联区域。
- 根据权利要求5所述的方法,还包括:在所述关联区域显示与所述第二共享媒体流中的所述第二类预设媒体形式的共享媒体内容的内容标识相关联的预设切换控件。
- 根据权利要求4所述的方法,其中,所述响应于针对所述第二共享媒体流对应的预设切换控件的触发操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示所述第二共享媒体流,包括:响应于针对与目标内容标识相关联的预设切换控件的触发操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示所述第二共享媒体流中所述目标内容标识对应的共享媒体内容。
- 根据权利要求1所述的方法,其中,所述第一共享媒体流中包括至少两个第一类预设媒体形式的媒体内容组,单个媒体内容组中包括至少两个连续的第一类预设媒体形式的共享媒体内容,每两个相邻的媒体内容组之间存在至少一个第二类预设媒体形式的共享媒体内容。
- 根据权利要求8所述的方法,其中,所述响应于预设类型切换操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示第二共享媒体流,包括:在所述目标页面中当前展示所述第一共享媒体流中的所述第二类预设媒体形式的共享媒体内容的情况下,响应于所述预设类型切换操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示所述第二共享媒体流。
- 根据权利要求1所述的方法,其中,预设媒体形式包括音频形式,所述共享媒体内容包括共享音频内容;所述方法还包括:根据所述目标页面中当前展示的共享音频内容的预设关联图像,更新所述目标页面的背景。
- 根据权利要求10所述的方法,其中,所述目标页面包括消息交互页面;所述根据所述目标页面中当前展示的共享音频内容的预设关联图像,更新所述目标页面的背景,包括:根据所述目标页面中当前展示的共享音频内容的预设关联图像,确定目标背景图像;将所述目标页面的当前背景替换为所述目标背景图像,以使所述消息交互页面的页面内容显示于所述目标背景图像的上层,其中,所述页面内容包括消息内容和所述消息内容的关联内容中的至少之一。
- 根据权利要求1所述的方法,其中,预设媒体形式包括音频形式,所 述共享媒体内容包括共享音频内容;在所述目标页面中展示共享音频内容,包括:在所述目标页面中的预设控件中显示所述共享音频内容的关联信息,并在所述目标页面中播放所述共享音频内容。
- 根据权利要求1所述的方法,其中,预设媒体形式包括音频形式,所述共享媒体内容包括共享音频内容,所述共享音频内容包括用户发布的视频作品中的原声音频。
- 根据权利要求10所述的方法,其中,所述共享音频内容包括用户发布的视频作品中的原声音频和预设曲库中的库内音乐中的至少之一;所述根据所述目标页面中当前展示的共享音频内容的预设关联图像,更新所述目标页面的背景,包括:在所述目标页面中当前展示的共享音频内容包括所述原声音频的情况下,采用第一预设展示方式展示所述目标页面的第一背景,其中,所述第一背景中包含所述原声音频的第一预设关联图像;在所述目标页面中当前展示的共享音频内容为所述库内音乐的情况下,采用第二预设展示方式展示所述目标页面的第二背景,其中,所述第二背景中包含所述库内音乐的第二预设关联图像。
- 一种媒体内容展示装置,包括:共享媒体流展示模块,设置为在目标页面中展示第一共享媒体流,其中,共享媒体流包括用于在第一用户和至少一个第二用户之间进行的共享互动对应的媒体流,所述第一共享媒体流中包含第一类预设媒体形式的共享媒体内容;共享媒体流切换模块,设置为响应于预设类型切换操作,在所述目标页面中由展示所述第一共享媒体流,切换为展示第二共享媒体流,其中,所述第二共享媒体流中包含第二类预设媒体形式的共享媒体内容,所述第二类预设媒体形式与所述第一类预设媒体形式不同。
- 根据权利要求15所述的装置,还包括:设置为执行如权利要求2-14任一项所述的方法的模块。
- 一种电子设备,包括:至少一个处理器;存储装置,设置为存储至少一个程序;当所述至少一个程序被所述至少一个处理器执行,使得所述至少一个处理 器实现如权利要求1-14中任一所述的媒体内容展示方法。
- 一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行如权利要求1-14中任一所述的媒体内容展示方法。
- 一种计算机程序产品,包括承载在非暂态计算机可读介质上的计算机程序,所述计算机程序包含用于执行如权利要求1-14中任一所述的媒体内容展示方法的程序代码。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211254768.2A CN115633206A (zh) | 2022-10-13 | 2022-10-13 | 媒体内容展示方法、装置、设备及存储介质 |
CN202211254768.2 | 2022-10-13 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2024078516A1 true WO2024078516A1 (zh) | 2024-04-18 |
Family
ID=84905126
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2023/123890 WO2024078516A1 (zh) | 2022-10-13 | 2023-10-11 | 媒体内容展示方法、装置、设备及存储介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN115633206A (zh) |
WO (1) | WO2024078516A1 (zh) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115633206A (zh) * | 2022-10-13 | 2023-01-20 | 北京字跳网络技术有限公司 | 媒体内容展示方法、装置、设备及存储介质 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160381106A1 (en) * | 2015-06-24 | 2016-12-29 | Spotify Ab | Method and an electronic device for performing playback and sharing of streamed media |
CN112417182A (zh) * | 2019-08-23 | 2021-02-26 | 阿里巴巴集团控股有限公司 | 交互方法、装置、电子设备及计算机存储介质 |
CN113721810A (zh) * | 2021-09-08 | 2021-11-30 | 北京字跳网络技术有限公司 | 显示方法、装置、设备及存储介质 |
CN114911399A (zh) * | 2022-05-06 | 2022-08-16 | 北京字跳网络技术有限公司 | 信息展示方法、装置、设备及存储介质 |
CN115113790A (zh) * | 2022-07-15 | 2022-09-27 | 北京字跳网络技术有限公司 | 一种交互方法、装置、电子设备和存储介质 |
CN115633206A (zh) * | 2022-10-13 | 2023-01-20 | 北京字跳网络技术有限公司 | 媒体内容展示方法、装置、设备及存储介质 |
-
2022
- 2022-10-13 CN CN202211254768.2A patent/CN115633206A/zh active Pending
-
2023
- 2023-10-11 WO PCT/CN2023/123890 patent/WO2024078516A1/zh unknown
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160381106A1 (en) * | 2015-06-24 | 2016-12-29 | Spotify Ab | Method and an electronic device for performing playback and sharing of streamed media |
CN112417182A (zh) * | 2019-08-23 | 2021-02-26 | 阿里巴巴集团控股有限公司 | 交互方法、装置、电子设备及计算机存储介质 |
CN113721810A (zh) * | 2021-09-08 | 2021-11-30 | 北京字跳网络技术有限公司 | 显示方法、装置、设备及存储介质 |
CN114911399A (zh) * | 2022-05-06 | 2022-08-16 | 北京字跳网络技术有限公司 | 信息展示方法、装置、设备及存储介质 |
CN115113790A (zh) * | 2022-07-15 | 2022-09-27 | 北京字跳网络技术有限公司 | 一种交互方法、装置、电子设备和存储介质 |
CN115633206A (zh) * | 2022-10-13 | 2023-01-20 | 北京字跳网络技术有限公司 | 媒体内容展示方法、装置、设备及存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN115633206A (zh) | 2023-01-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP4343514A1 (en) | Display method and apparatus, and device and storage medium | |
WO2022007722A1 (zh) | 显示方法、装置、设备及存储介质 | |
WO2023011181A1 (zh) | 横屏交互方法、装置、电子设备及存储介质 | |
WO2020259130A1 (zh) | 精选片段处理方法、装置、电子设备及可读介质 | |
EP4124052A1 (en) | Video production method and apparatus, and device and storage medium | |
WO2023061230A1 (zh) | 内容展示方法、装置、设备及存储介质 | |
WO2021218555A1 (zh) | 信息展示方法、装置和电子设备 | |
US11652763B2 (en) | Information display method and apparatus, and electronic device | |
WO2020220773A1 (zh) | 图片预览信息的显示方法、装置、电子设备及计算机可读存储介质 | |
WO2020220776A1 (zh) | 图片类评论数据的展示方法、装置、设备及介质 | |
WO2024078516A1 (zh) | 媒体内容展示方法、装置、设备及存储介质 | |
WO2022193867A1 (zh) | 一种视频处理方法、装置、电子设备及存储介质 | |
WO2024078486A1 (zh) | 内容展示方法、装置、设备及存储介质 | |
WO2023051293A1 (zh) | 一种音频处理方法、装置、电子设备和存储介质 | |
WO2023116479A1 (zh) | 视频的发布方法、装置、电子设备、存储介质和程序产品 | |
WO2024002120A1 (zh) | 媒体内容展示方法、装置、设备及存储介质 | |
WO2023216936A1 (zh) | 视频播放方法、装置、电子设备、存储介质和程序产品 | |
WO2024094130A1 (zh) | 内容分享方法、装置、设备、计算机可读存储介质及产品 | |
WO2023030287A1 (zh) | 信息发布方法、信息的展示方法、装置、电子设备及介质 | |
WO2023116480A1 (zh) | 多媒体内容的发布方法、装置、设备、介质和程序产品 | |
WO2023226623A1 (zh) | 媒体内容播放方法、装置、设备、存储介质及产品 | |
WO2023143299A1 (zh) | 消息展示方法、装置、设备及存储介质 | |
CN112000267A (zh) | 信息显示方法、装置、设备及存储介质 | |
WO2024099275A1 (zh) | 媒体内容处理方法、装置、设备、可读存储介质及产品 | |
WO2024114513A1 (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: 23876717 Country of ref document: EP Kind code of ref document: A1 |